/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overscroll-behavior: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    overscroll-behavior: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===================================
   PREMIUM NAVIGATION STYLES
   =================================== */

:root {
    --nav-bg: rgba(15, 23, 42, 0.85);
    --nav-border: rgba(96, 165, 250, 0.25);
    --nav-text: #e2e8f0;
    --nav-text-hover: #ffffff;
    --nav-accent: #60a5fa;
    --nav-primary: #1e293b;
    --nav-shadow: 0 10px 40px rgba(96, 165, 250, 0.15);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-pill {
    width: min(1400px, calc(100% - 24px));
    margin: 14px auto 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--nav-border);
    border-radius: 999px;
    box-shadow: var(--nav-shadow), 0 0 60px rgba(96, 165, 250, 0.08);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    animation: pillGlow 4s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pillGlow {
    0%, 100% {
        box-shadow: var(--nav-shadow), 0 0 60px rgba(96, 165, 250, 0.08);
    }
    50% {
        box-shadow: var(--nav-shadow), 0 0 80px rgba(96, 165, 250, 0.15);
    }
}

.header-pill::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    animation: rotateGlow 8s linear infinite;
    pointer-events: none;
}

.header-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(96, 165, 250, 0.1) 40%, 
        rgba(96, 165, 250, 0.3) 50%, 
        rgba(96, 165, 250, 0.1) 60%, 
        transparent 100%);
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
}

.header-inner {
    height: 68px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.brand {
    justify-self: start;
    font-weight: 900;
    letter-spacing: 1.5px;
    font-size: 24px;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--nav-accent);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.brand-text {
    position: relative;
    z-index: 2;
}

.brand-text-secondary {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 600;
    margin-left: 0;
    opacity: 0.95;
    transition: all 0.3s ease;
    font-size: inherit;
}

.brand-glow {
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 70%);
    border-radius: 12px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.brand:hover .brand-glow {
    opacity: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

.brand:hover .brand-text-secondary {
    opacity: 1;
    color: #f8fafc;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.brand:hover {
    transform: translateY(-2px);
    color: #93c5fd;
}

.brand:focus-visible,
.nav-link:focus-visible,
.btn-contact:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.5);
    outline-offset: 2px;
}

.nav {
    justify-self: center;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--nav-text);
    padding: 8px 4px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nav-accent), #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--nav-accent);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--nav-text-hover);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Premium Letter Animation Styles */
.nav-anim {
    display: inline-flex;
    align-items: flex-start;
}

.nav-letter {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    overflow: hidden;
}

.nav-letter-inner {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--i) * 25ms);
}

.nav-letter-top,
.nav-letter-bottom {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.nav-letter-top {
    color: var(--nav-text);
}

.nav-letter-bottom {
    color: var(--nav-text-hover);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.nav-link:hover .nav-letter-inner,
.nav-link:focus-visible .nav-letter-inner {
    transform: translateY(-24px);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 50px;
    padding: 0 16px 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: var(--nav-text-hover);
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(59, 130, 246, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    padding: 0 24px 0 22px;
    gap: 16px;
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-contact:hover::before {
    opacity: 1;
}

.btn-contact:active {
    transform: translateY(0);
}

.btn-contact > * {
    position: relative;
    z-index: 1;
}

.contact-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--nav-accent);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2), 0 0 12px rgba(96, 165, 250, 0.8);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2), 0 0 12px rgba(96, 165, 250, 0.8);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.3), 0 0 20px rgba(96, 165, 250, 1);
    }
}

.btn-contact:hover .contact-dot {
    background: #93c5fd;
    box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.3), 0 0 20px rgba(96, 165, 250, 1);
    animation: none;
}

.contact-label {
    white-space: nowrap;
    font-weight: 700;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nav-accent) 0%, #3b82f6 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
    transition: all 0.3s ease;
}

.btn-contact:hover .contact-icon {
    background: linear-gradient(135deg, #93c5fd 0%, var(--nav-accent) 100%);
    box-shadow: 0 0 25px rgba(96, 165, 250, 0.9);
    transform: rotate(45deg);
}

.contact-arrow {
    width: 18px;
    height: 18px;
    overflow: hidden;
    display: inline-block;
}

.contact-arrow-inner {
    display: flex;
    flex-direction: column;
    width: 18px;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-arrow-top,
.contact-arrow-bottom {
    display: block;
    color: #fff;
}

.btn-contact:hover .contact-arrow-inner {
    transform: translateY(-18px);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
}

@keyframes rippleAnimation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.1);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    transform: scale(1.05);
}

.menu-toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--nav-accent);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
}

.mobile-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    display: grid;
    gap: 12px;
}

.mobile-nav .nav-link {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.05);
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    display: block;
}

.mobile-nav .nav-link:hover {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(5px);
}

.mobile-nav .btn-contact {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

.mobile-nav .nav-link::after {
    display: none;
}

/* Mobile Menu Slide-in Animation */
.mobile-menu:not([hidden]) {
    animation: slideInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav .nav-link,
.mobile-nav .btn-contact {
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.mobile-nav .nav-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav .nav-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav .nav-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav .nav-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav .btn-contact { animation-delay: 0.25s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   SERVICE IMAGE HOVER EFFECTS
   =================================== */

.service-card .rounded-2xl {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card .rounded-2xl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(59, 130, 246, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card .rounded-2xl::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(96, 165, 250, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-card .rounded-2xl:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.3), 0 0 40px rgba(96, 165, 250, 0.2);
}

.service-card .rounded-2xl:hover::before {
    opacity: 1;
}

.service-card .rounded-2xl:hover::after {
    opacity: 1;
}

.service-card .rounded-2xl img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.service-card .rounded-2xl:hover img {
    transform: scale(1.08);
    filter: brightness(1.03) contrast(1.02);
}

/* ===================================
   GALLERY WORK CARDS WITH OVERLAYS
   =================================== */

.horizontal-gallery {
    padding-top: 5rem !important;
    padding-bottom: 0 !important;
}

.horizontal-gallery .text-center {
    margin-bottom: 3rem !important;
}

.gallery-work-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(-18vh);
}

.gallery-main-img {
    width: 100%;
    height: 65vh;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(96, 165, 250, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-work-card:hover .gallery-main-img {
    transform: scale(0.98);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(96, 165, 250, 0.25);
}

.gallery-overlay {
    position: absolute;
    width: 220px;
    opacity: 0;
    transform: translateY(20px);
    animation: overlayFadeIn 0.6s ease-out forwards;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay:hover {
    transform: translateY(-8px) scale(1.05);
}

.gallery-overlay:hover img {
    border-color: rgba(96, 165, 250, 0.7);
    box-shadow: 0 12px 32px rgba(96, 165, 250, 0.4), 0 0 30px rgba(96, 165, 250, 0.3);
}

.overlay-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay:hover .overlay-label {
    opacity: 1;
}

/* Positioning for different overlay placements */
.overlay-1 {
    top: 5%;
    left: -12%;
    animation-delay: 0.3s;
}

.overlay-2 {
    bottom: 8%;
    right: -10%;
    animation-delay: 0.5s;
}

.overlay-3 {
    top: 8%;
    right: -12%;
    animation-delay: 0.3s;
}

.overlay-4 {
    bottom: 5%;
    left: -10%;
    animation-delay: 0.5s;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect to slightly rotate overlays */
.overlay-1:hover {
    transform: translateY(-8px) rotate(-2deg) scale(1.05);
}

.overlay-2:hover {
    transform: translateY(-8px) rotate(2deg) scale(1.05);
}

.overlay-3:hover {
    transform: translateY(-8px) rotate(2deg) scale(1.05);
}

.overlay-4:hover {
    transform: translateY(-8px) rotate(-2deg) scale(1.05);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .gallery-overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-pill {
        margin: 12px auto 0;
        padding: 0 12px;
    }
    
    .header-inner {
        height: 60px;
        gap: 16px;
        padding: 0 16px;
    }
    
    .brand {
        font-size: 20px;
        padding: 10px 14px;
    }
    
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .btn-contact {
        display: none;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

/* Custom Marker */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Animations */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
    }
}

@keyframes floatMenu {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Horizontal Gallery */
.horizontal-gallery {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(17, 24, 39, 0.85) 25%, rgba(20, 30, 48, 0.9) 50%, rgba(15, 20, 35, 0.92) 75%, rgba(10, 15, 30, 0.95) 100%);
}

.horizontal-wrapper {
    display: flex;
    will-change: transform;
}

@media (max-width: 768px) {
    .horizontal-wrapper {
        display: none !important;
    }
}

.gallery-panel {
    flex-shrink: 0;
}

/* Unified Background for Main Sections */
#our-services,
#horizontal-gallery,
#about-us,
#contact,
footer {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.98) 0%, 
        rgba(10, 15, 25, 0.96) 15%,
        rgba(15, 20, 35, 0.94) 30%,
        rgba(17, 24, 39, 0.92) 45%,
        rgba(15, 20, 35, 0.94) 60%,
        rgba(10, 15, 25, 0.96) 75%,
        rgba(5, 10, 20, 0.97) 90%,
        rgba(0, 0, 0, 0.98) 100%) !important;
}

/* Scroll margin for fixed header - ensures sections aren't covered by navigation */
section[id] {
    scroll-margin-top: 100px;
}

/* Location Map Container - Borderless Design */
.location-map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
}

#map {
    width: 100%;
    height: 100%;
    opacity: 0.75;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, 
        black 0%, 
        black 25%, 
        rgba(0, 0, 0, 0.8) 40%, 
        rgba(0, 0, 0, 0.6) 55%, 
        rgba(0, 0, 0, 0.35) 70%, 
        rgba(0, 0, 0, 0.15) 82%, 
        transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, 
        black 0%, 
        black 25%, 
        rgba(0, 0, 0, 0.8) 40%, 
        rgba(0, 0, 0, 0.6) 55%, 
        rgba(0, 0, 0, 0.35) 70%, 
        rgba(0, 0, 0, 0.15) 82%, 
        transparent 95%);
}

.directions-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #2563eb;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    z-index: 1000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.directions-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* Map Overlay - Click to Activate */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: inherit;
}

.map-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.map-overlay-content {
    text-align: center;
    color: white;
    pointer-events: none;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.map-overlay:hover .map-overlay-content {
    transform: translateY(-5px);
}

.map-overlay-content svg {
    margin: 0 auto 16px;
    color: #60a5fa;
    filter: drop-shadow(0 4px 12px rgba(96, 165, 250, 0.4));
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.map-overlay-text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.map-overlay-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}


/* Global Particles */
.global-particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(96, 165, 250, 0.6);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.8;
    }
}

/* About Us Section */
.about-us-section {
    position: relative;
    min-height: 200vh;
    display: flex;
    overflow: hidden;
}

.left-panel {
    position: relative;
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.left-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.title-accent {
    color: #60a5fa;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.story-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #d1d5db;
}

.orange-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(60px);
}

.right-panel {
    width: 50%;
    padding: 4rem 2rem;
    overflow-y: auto;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 16px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(96, 165, 250, 0.2);
}

.card-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(96, 165, 250, 0.03) 10px, rgba(96, 165, 250, 0.03) 20px);
    border-radius: 16px;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.card-underline {
    width: 60px;
    height: 3px;
    background: #60a5fa;
    margin-bottom: 1rem;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #9ca3af;
}

.card-shadow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

/* Service Cards */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.service-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

#hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Mobile Services Section Improvements */
@media (max-width: 768px) {
    #our-services {
        padding: 3rem 0;
    }
    
    #our-services .max-w-7xl {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    #our-services .text-center {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    #our-services h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    #our-services .text-center p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .service-card .space-y-4 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .service-card .space-y-4 p:first-child {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .service-card .space-y-4 h3 {
        font-size: 2.4rem;
        text-align: center;
        margin: 0.4rem 0;
    }
    
    .service-card .space-y-4 p:last-child {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    
    .service-card .md\\:text-right {
        text-align: center !important;
    }
    
    .service-card img {
        height: 200px;
        width: 80%;
        object-fit: cover;
        border-radius: 0.8rem;
        margin: 0 auto;
        display: block;
    }
    
    .service-card .rounded-2xl {
        display: flex;
        justify-content: center;
    }
    
    /* Gallery Section Mobile Styles - 20% smaller */
    #horizontal-gallery h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    #horizontal-gallery p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        max-width: 90%;
        margin: 0 auto 2rem;
        padding: 0 0.5rem;
    }
    
    .horizontal-gallery img {
        height: 50vh !important;
        width: 80% !important;
        margin: 0 auto;
        display: block;
        border-radius: 1rem;
    }
    
    .horizontal-gallery .text-center {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .horizontal-gallery .grid {
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Mobile Hero Background Images - Override for mobile only */
@media (max-width: 768px) {
    #hero {
        position: relative;
    }
    
    #hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background-image: url('./images/mobilehero/mobilehero1.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        animation: mobileHeroSlideshow 12s infinite;
        transition: transform 0.3s ease-in-out;
    }
    
    #hero::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.6) 100%
        );
    }
    
    /* Better mobile viewport handling */
    #hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }
    
    /* Hide desktop hero images on mobile */
    #hero .hero-image {
        display: none;
    }
    
    /* Ensure content is above mobile backgrounds */
    #hero-content {
        z-index: 10;
        position: relative;
    }
}

/* Mobile hero slideshow animation */
@keyframes mobileHeroSlideshow {
    0%, 33% {
        background-image: url('./images/mobilehero/mobilehero1.jpg');
        background-position: center center;
    }
    34%, 66% {
        background-image: url('./images/mobilehero/mobilehero2.jpg');
        background-position: center center;
    }
    67%, 100% {
        background-image: url('./images/mobilehero/mobilehero3.jpg');
        background-position: center center;
    }
}

#scroll-indicator {
    animation: fadeIn 1.2s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-container:hover .logo-glow {
    opacity: 1;
}

.scroll-mouse {
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-dot {
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

.menu-item {
    opacity: 0;
    transform: translateX(100px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-us-section {
        flex-direction: column;
        min-height: auto;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        height: auto;
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .story-text {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.25rem;
    }
}
