* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

:root {
    /* Borewell Brand Theme */
    --header-height: 116px;
    --primary-color: #0F3D5E;
    --primary-light: #1E6F78;
    --primary-dark: #0B1F33;
    --secondary-color: #1E6F78;
    --accent-color: #3FC1C9;
    --accent-dark: #1E6F78;
    --accent-light: #D9F2F4;
    --cta-color: #566082;
    --success-color: #4caf50;
    --info-color: #2196f3;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --text-dark: #0B1F33;
    --text-medium: #5F6C7B;
    --text-light: #5F6C7B;
    --text-lighter: #CBD5E1;
    --bg-white: #FFFFFF;
    --bg-light: #F4F7FA;
    --bg-lighter: #F4F7FA;
    --bg-dark: #0B1F33;
    --border-color: #DCE3EA;
    --border-light: #DCE3EA;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    max-width: 100%;
    overflow-x: hidden;
}

body {
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #1A0B3D 0%, #2D1B69 50%, #1F0954 100%);
    padding: 18px 0;
    color: var(--bg-white);
    box-shadow: 0 4px 30px rgba(31, 9, 84, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(63, 193, 201, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.header:hover::before {
    opacity: 1;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 8px 40px rgba(31, 9, 84, 0.5);
    background: linear-gradient(135deg, rgba(26, 11, 61, 0.98) 0%, rgba(45, 27, 105, 0.98) 50%, rgba(31, 9, 84, 0.98) 100%);
    border-bottom: 1px solid rgba(63, 193, 201, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    z-index: 10;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.logo img {
    height: 80px;
     width: auto;
    border-radius: 12px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(63, 193, 201, 0.3);
    color: var(--bg-white);
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, #D9F2F4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo a:hover .logo-text h1 {
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(63, 193, 201, 0.6);
}

.logo-text p {
    font-size: 24px;
    margin: 0;
    opacity: 0.88;
    font-weight: 900;
    color: var(--accent-light);
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
}

.logo a:hover .logo-text p {
    opacity: 1;
    color: var(--accent-color);
}

/* ===== NAVIGATION ===== */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-link {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 900;
    font-size: 24px;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    letter-spacing: 0.4px;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(63, 193, 201, 0.6);
}


.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    inset: 0;
    animation: shimmer 2s infinite;
}

/* Hover state */
.nav-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(63, 193, 201, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63, 193, 201, 0.2);
}

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

/* Contact button */
.btn-contact {
    background: linear-gradient(135deg, #5a6fa8 0%, var(--cta-color) 50%, #4a5572 100%);
    color: var(--bg-white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    margin-left: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(86, 96, 130, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0f8ff 100%);
    color: var(--cta-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(86, 96, 130, 0.5), inset 0 1px 2px rgba(63, 193, 201, 0.3);
    border-color: var(--accent-color);
}

.btn-contact.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    box-shadow: 0 6px 25px rgba(63, 193, 201, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-light);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 300px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(31, 9, 84, 0.3), 0 0 0 1px rgba(63, 193, 201, 0.1);
    animation: dropdownSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
    border: 2px solid rgba(63, 193, 201, 0.15);
    margin-top: 12px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 25px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(217, 242, 244, 0.95));
    transform: rotate(45deg);
    border-left: 2px solid rgba(63, 193, 201, 0.2);
    border-top: 2px solid rgba(63, 193, 201, 0.2);
    box-shadow: -2px -2px 8px rgba(31, 9, 84, 0.1);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14.5px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '→';
    position: absolute;
    left: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-color);
    font-weight: 700;
}

.dropdown-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    transform: translateX(8px);
    padding-left: 30px;
    box-shadow: 0 4px 15px rgba(15, 61, 94, 0.3);
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 993px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Hamburger menu */
/* ===== HAMBURGER BUTTON ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5.5px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(63, 193, 201, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

/* Radial glow layer */
.hamburger::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(63, 193, 201, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hamburger:hover::before { opacity: 1; }

.hamburger:hover {
    border-color: var(--accent-color);
    background: rgba(63, 193, 201, 0.14);
    box-shadow: 0 0 0 4px rgba(63, 193, 201, 0.12),
                0 6px 22px rgba(63, 193, 201, 0.28);
    transform: scale(1.07);
}

/* The three bars */
.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 4px;
    transition: transform  0.42s cubic-bezier(0.68, -0.6, 0.32, 1.6),
                opacity    0.3s  ease,
                width      0.3s  ease,
                background 0.3s  ease;
    transform-origin: center;
    will-change: transform;
}

/* Middle bar shortens on hover — stylistic touch */
.hamburger:hover span:nth-child(2) {
    width: 14px;
    background: var(--accent-color);
}

.hamburger:hover span:nth-child(1),
.hamburger:hover span:nth-child(3) {
    background: var(--accent-light);
}

/* ── Active state: animated X ── */
.hamburger.active {
    background: rgba(63, 193, 201, 0.18);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(63, 193, 201, 0.12),
                0 8px 28px rgba(63, 193, 201, 0.35);
}

.hamburger.active::before { opacity: 1; }

.hamburger.active span {
    background: var(--accent-color);
}

/* Top bar rotates +45° downward to center */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* Middle bar collapses to nothing */
.hamburger.active span:nth-child(2) {
    width: 0;
    opacity: 0;
    transform: scaleX(0);
}

/* Bottom bar rotates –45° upward to center */
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== NAV BACKDROP OVERLAY ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 51, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero.jpg') center/cover;
    opacity: 0.3;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 60px 80px;
    color: var(--bg-white);
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    color: var(--bg-white);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--accent-light);
}

/* ===== IMAGE SLIDER ===== */
.image-slider-section {
    padding: 0;
    background: var(--bg-dark);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: var(--bg-dark);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 6s ease;
}

.slide.active img {
    transform: scale(1.08);
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 31, 51, 0.1) 0%, rgba(11, 31, 51, 0.7) 80%);
}

.slide-overlay {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 2;
    color: var(--bg-white);
    max-width: 70%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.slide.active .slide-overlay {
    opacity: 1;
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.slide-overlay p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(15, 61, 94, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.slider-btn::after {
    content: '';
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.slider-btn::before {
    content: '‹';
    font-size: 28px;
    line-height: 1;
}

.slider-btn.next::before {
    content: '›';
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 30px rgba(15, 61, 94, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
}

.slider-btn:hover::after {
    opacity: 1;
}

.slider-btn.prev {
    left: 18px;
}

.slider-btn.next {
    right: 18px;
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--cta-color);
    padding: 12px 28px;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: var(--transition-slow);
    border: 2px solid var(--cta-color);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(86, 96, 130, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: var(--bg-white);
    color: var(--cta-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(86, 96, 130, 0.4);
}

.btn-primary {
    background: var(--cta-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

/* CTA Button Variant */
.btn-main {
    background: var(--cta-color);
    color: var(--bg-white);
    border: 2px solid var(--cta-color);
    border-radius: 8px;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: var(--bg-white);
    color: var(--cta-color);
}

/* Premium Button */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 16px 48px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(15, 61, 94, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(63, 193, 201, 0.5);
}

.cta-wrapper {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.cta-subtext {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.services-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: floatRotate 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-top: 15px;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-white);
    padding: 42px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
}

.premium-card {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: var(--animation-delay);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(63, 193, 201, 0.06), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

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

.card-glow {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(63, 193, 201, 0.4);
}

.service-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-light) 100%);
    animation: none;
}

.service-icon {
    font-size: 46px;
    display: inline-block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 10px 18px rgba(63, 193, 201, 0.3));
}

.service-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
    transform: none;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-dark);
}

.card-stats {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: var(--bg-light);
    border-radius: 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .stat-badge {
    background: rgba(63, 193, 201, 0.12);
    color: var(--primary-color);
    transform: none;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 15px;
}

.card-link:hover {
    gap: 10px;
    color: var(--primary-color);
    transform: translateX(3px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: #2b1a66;
    padding: 100px 0;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(63, 193, 201, 0.12);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 22px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* ===== SERVICES PAGE ===== */
.services-page {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-lighter) 0%, var(--bg-white) 50%, var(--bg-lighter) 100%);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.service-card-item {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
}

.service-card-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 0.9;
}

.service-card-item:hover .service-image img {
    transform: scale(1.1);
    opacity: 1;
}

.service-icon-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.service-link:hover {
    color: var(--accent-dark);
    gap: 12px;
}

/* Old service-item styles for backward compatibility */
.service-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.service-icon-lg {
    font-size: 72px;
    min-width: 100px;
    text-align: center;
}

/* ===== CLIENT LOGOS ===== */
.client-logos {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.client-logos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--primary-color), var(--accent-color), transparent);
    opacity: 0.6;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-white), rgba(255, 255, 255, 0));
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-white), rgba(255, 255, 255, 0));
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: logoScroll 22s linear infinite;
}

.logo-marquee.reverse .logo-track {
    animation-direction: reverse;
    animation-duration: 26s;
}

.logo-item {
    flex: 0 0 auto;
    width: 180px;
    height: 90px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(63, 193, 201, 0.12);
    box-shadow: 0 8px 25px rgba(15, 61, 94, 0.08);
    transition: all 0.4s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.logo-item img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

.logo-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 35px rgba(15, 61, 94, 0.15);
    filter: grayscale(0%);
    opacity: 1;
    border-color: rgba(63, 193, 201, 0.4);
}

@keyframes logoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== GALLERY ===== */
.gallery-page {
    padding: 80px 0;
    background: var(--bg-white);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 61, 94, 0.12);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--bg-light);
    border: 2px solid rgba(63, 193, 201, 0.12);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(15, 61, 94, 0.22);
    border-color: rgba(63, 193, 201, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: saturate(1.1) contrast(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11, 31, 51, 0.92), rgba(11, 31, 51, 0.2), transparent);
    padding: 28px;
    color: var(--bg-white);
    transform: translateY(60%);
    transition: all 0.5s ease;
    backdrop-filter: blur(6px);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 21px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.gallery-item:hover::after {
    transform: translateX(100%);
}

/* ===== ABOUT PAGE ===== */
.about-page {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.about-tagline {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-values {
    margin-top: 40px;
}

.about-values h3,
.services-offered h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.about-values h3::before,
.services-offered h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 3px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid var(--border-light);
    font-weight: 500;
}

.feature-item:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
}

.feature-item:hover .feature-icon {
    color: var(--bg-white);
}

.services-offered {
    margin-top: 40px;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.expertise-list li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.expertise-list li:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: #2b1a66;
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item h4 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--accent-light);
}

.stat-item p {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A0B3D 0%, #2D1B69 50%, #1F0954 100%);
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(63, 193, 201, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.contact-page::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #3FC1C9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    color: var(--accent-light);
    margin-bottom: 35px;
    line-height: 1.8;
    font-size: 16px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 193, 201, 0.2), transparent);
    transition: left 0.6s ease;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    background: rgba(63, 193, 201, 0.15);
    color: var(--bg-white);
    transform: translateX(8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(63, 193, 201, 0.3);
}

.info-icon {
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    border-radius: var(--radius-md);
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 20px rgba(63, 193, 201, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-item:hover .info-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(63, 193, 201, 0.5);
}

.info-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bg-white);
    letter-spacing: 0.5px;
}

.info-content p {
    margin: 0;
    font-size: 15px;
    color: var(--accent-light);
    transition: var(--transition);
}

.info-item:hover .info-content p {
    color: var(--bg-white);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--bg-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(63, 193, 201, 0.15);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    width: 100%;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(63, 193, 201, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-send::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-send:hover::before {
    width: 400px;
    height: 400px;
}

.btn-send:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(63, 193, 201, 0.5);
}

.btn-send:active {
    transform: translateY(-1px);
}

.btn-send i {
    margin-right: 10px;
    transition: transform 0.4s ease;
}

.btn-send:hover i {
    transform: translateX(5px);
}

/* Alert Messages */
.alert-message {
    padding: 20px 0;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease;
}

.alert-message .container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow-md);
}

.alert-message.success .container {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    border: 2px solid #4caf50;
}

.alert-message.error .container {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
    border: 2px solid #f44336;
}

.alert-message i {
    font-size: 24px;
}

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

/* ===== ERROR PAGE ===== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 50%, var(--accent-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(63, 193, 201, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.error-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(15, 61, 94, 0.08);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-light);
}

.error-title {
    font-size: 180px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 5px 5px 0px rgba(63, 193, 201, 0.3);
    line-height: 1;
    animation: rotatePulse 3s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-animation {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.water-drop {
    font-size: 48px;
    animation: float 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(63, 193, 201, 0.3));
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== FOOTER ===== */
.footer {
    background: #0F3D5E;
    color: var(--text-lighter);
    padding: 70px 0 0;
    margin-top: 80px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(63, 193, 201, 0.08), transparent 60%);
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(63, 193, 201, 0.2);
}

.footer-logo h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--bg-white);
}

.footer-logo p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--accent-light);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-lighter);
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social i {
    font-size: 18px;
    line-height: 1;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 30px rgba(63, 193, 201, 0.4);
}

.footer-links h4,
.footer-contact h4,
.footer-map h4 {
    font-size: 16px;
    color: var(--bg-white);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
    padding-left: 6px;
}

.footer-contact p {
    margin: 0 0 10px;
    font-size: 14px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    color: var(--accent-light);
}

.map-embed {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(63, 193, 201, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-embed iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0 24px;
    background: rgba(0, 0, 0, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* ===== ULTRA PRO MAX ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(63, 193, 201, 0.4);
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 0 20px rgba(63, 193, 201, 0);
    }
}

@keyframes floatRotate {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(0, -40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(270deg);
    }
}

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotatePulse {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.2) translate(-5%, -5%);
    }
}

/* Apply animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.animate-slide-down {
    animation: slideDown 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-zoom {
    animation: zoomIn 0.6s ease-out;
    animation-fill-mode: both;
}

/* ===== RESPONSIVE DESIGN ===== */

/* ── TABLET  ( ≤ 992px ) ────────────────────────────────── */
@media (max-width: 992px) {

    :root {
        --header-height: 96px;
    }

    /* --- Hamburger reveal --- */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* --- Mobile nav drawer --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        max-width: 100vw;
        height: 100dvh;
        background: linear-gradient(160deg,
            #1A0B3D 0%,
            #2D1B69 45%,
            #0F3D5E 100%);
        flex-direction: column;
        padding: 86px 0 0;
        gap: 0;
        transform: translateX(105%);
        transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.45);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1000;
        border-left: 1px solid rgba(63, 193, 201, 0.18);
    }

    /* Top decorative strip */
    .nav-links::before {
        content: '';
        display: none;
        height: 4px;
        background: linear-gradient(90deg,
            var(--accent-color),
            var(--primary-light),
            var(--accent-color));
        background-size: 200% 100%;
        flex-shrink: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Staggered slide-in for each item */
    .nav-links > li {
        width: 100%;
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.active > li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active > li:nth-child(1) { transition-delay: 0.07s; }
    .nav-links.active > li:nth-child(2) { transition-delay: 0.12s; }
    .nav-links.active > li:nth-child(3) { transition-delay: 0.17s; }
    .nav-links.active > li:nth-child(4) { transition-delay: 0.22s; }
    .nav-links.active > li:nth-child(5) { transition-delay: 0.27s; }

    .nav-link {
        width: 100%;
        padding: 15px 28px;
        display: flex;
        align-items: center;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 0;
        letter-spacing: 0.3px;
        gap: 10px;
    }

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

    .nav-link.active,
    .nav-link:hover {
        background: rgba(63, 193, 201, 0.14);
        padding-left: 36px;
        transform: none;
        box-shadow: inset 3px 0 0 var(--accent-color);
    }

    .btn-contact {
        margin: 16px 20px 8px !important;
        border-radius: 30px !important;
        text-align: center;
        justify-content: center;
        width: calc(100% - 40px) !important;
        box-shadow: 0 4px 18px rgba(86, 96, 130, 0.4);
    }

    /* --- In-drawer dropdown --- */
    .dropdown-menu {
        position: static;
        display: block;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.22);
        padding: 0;
        margin: 0;
        animation: none;
        min-width: unset;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        font-size: 13.5px;
        padding: 10px 28px 10px 42px;
        border-radius: 0;
        color: var(--accent-light);
    }

    .dropdown-menu a:hover {
        background: rgba(63, 193, 201, 0.15);
        color: #fff;
        transform: none;
        padding-left: 50px;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 540px;
        opacity: 1;
        visibility: visible;
        padding: 6px 0 10px;
    }

    /* Dropdown chevron arrow indicator */
    .dropdown > .nav-link::before {
        content: '›';
        position: static;
        display: inline-block;
        font-size: 18px;
        line-height: 1;
        margin-left: auto;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
        color: var(--accent-color);
        background: none;
        width: auto;
        height: auto;
        border-radius: 0;
        animation: none;
    }

    .dropdown.active > .nav-link::before {
        transform: rotate(90deg);
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    /* --- Page header --- */
    .page-header {
        padding: 80px 0;
    }

    .page-title {
        font-size: 44px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    /* --- Layouts --- */
    .about-content {
        gap: 40px;
    }

    .contact-wrapper {
        gap: 40px;
    }

    .stats-box {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* --- Sections padding --- */
    .about-page,
    .contact-page,
    .services-page,
    .gallery-page {
        padding: 60px 0;
    }

    .client-logos {
        padding: 70px 0 50px;
    }
}

/* ── MOBILE  ( ≤ 768px ) ────────────────────────────────── */
@media (max-width: 768px) {

    :root {
        --header-height: 84px;
    }

    /* --- Container --- */
    .container {
        width: 92%;
    }

    /* --- Mobile nav full-screen polish --- */
    .header-container {
        width: 94%;
    }

    .nav-links {
        width: 100vw;
        max-width: 100vw;
        border-left: 0;
        box-shadow: none;
        padding-top: 82px;
        background: linear-gradient(180deg, #1f0d52 0%, #2b1a66 48%, #153b69 100%);
    }

    .nav-links > li {
        transform: translateX(14px);
    }

    .nav-link {
        padding: 16px 22px;
        font-size: 14px !important;
    }

    .nav-link.active,
    .nav-link:hover {
        padding-left: 28px;
    }

    .dropdown-menu a {
        padding: 10px 24px 10px 36px;
    }

    .btn-contact {
        width: calc(100% - 28px) !important;
        margin: 14px !important;
    }

    .nav-overlay {
        background: rgba(8, 16, 36, 0.62);
    }

    /* --- Page header --- */
    .page-header {
        padding: 60px 0;
    }

    .page-title {
        font-size: 32px;
        letter-spacing: -0.2px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    /* --- Hero / Slider --- */
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-content {
        padding: 36px 24px;
    }

    .image-slider-section {
        height: 100svh;
    }

    .slider-container {
        height: 100%;
    }

    .slide-overlay {
        left: 18px;
        bottom: 18px;
        max-width: 88%;
    }

    .slide-overlay h3 {
        font-size: 20px;
    }

    /* --- Error page --- */
    .error-title {
        font-size: 110px;
    }

    .error-content {
        padding: 36px 22px;
    }

    .error-content h2 {
        font-size: 26px;
    }

    .error-content p {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .error-actions {
        flex-direction: column;
        gap: 14px;
    }

    .error-actions .btn {
        width: 100%;
    }

    .water-drop {
        font-size: 36px;
    }

    /* --- Services preview grid (home page) --- */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* --- About page --- */
    .about-page,
    .contact-page,
    .services-page,
    .gallery-page {
        padding: 50px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        position: static;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-tagline {
        font-size: 16px;
    }

    .about-values h3,
    .services-offered h3 {
        font-size: 22px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 14px;
        font-size: 14px;
    }

    .stats-box {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-item {
        padding: 18px 12px;
    }

    .stat-item h4 {
        font-size: 26px;
    }

    .stat-item p {
        font-size: 12px;
    }

    /* --- Contact page --- */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 30px 22px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .info-icon {
        min-width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .btn-send {
        width: 100%;
        padding: 15px 24px;
        font-size: 15px;
    }

    /* --- Services page --- */
    .service-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-image {
        height: 210px;
    }

    .service-content {
        padding: 22px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* --- Gallery --- */
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-item img {
        height: 200px;
    }

    /* --- Client logos --- */
    .client-logos {
        padding: 60px 0 40px;
    }

    .logo-item {
        width: 140px;
        height: 70px;
    }

    .logo-item img {
        max-width: 90px;
        max-height: 40px;
    }

    .logo-marquee::before,
    .logo-marquee::after {
        width: 60px;
    }

    /* --- Footer --- */
    .footer {
        padding: 50px 0 0;
        margin-top: 50px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* --- Alert --- */
    .alert-message .container {
        padding: 14px 18px;
        font-size: 14px;
    }
}

/* ── SMALL MOBILE  ( ≤ 480px ) ──────────────────────────── */
@media (max-width: 480px) {

    /* --- Container --- */
    .container {
        width: 94%;
    }

    /* --- Page header --- */
    .page-header {
        padding: 50px 0;
    }

    .page-title {
        font-size: 26px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    /* --- About page --- */
    .features {
        grid-template-columns: 1fr;
    }

    .stats-box {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-item h4 {
        font-size: 24px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    /* --- Services (home) grid --- */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* --- Gallery --- */
    .gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item img {
        height: 220px;
    }

    /* --- Error page --- */
    .error-title {
        font-size: 90px;
    }

    .error-content {
        padding: 28px 18px;
    }

    .error-content h2 {
        font-size: 22px;
    }

    .water-drop {
        font-size: 28px;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .slide-overlay h3 {
        font-size: 17px;
    }

    /* --- Services page --- */
    .service-image {
        height: 180px;
    }

    .service-content h3 {
        font-size: 18px;
    }

    /* --- Footer --- */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* --- Contact --- */
    .contact-form {
        padding: 24px 16px;
    }

    .contact-info h2 {
        font-size: 24px;
    }

    /* --- Logo marquee --- */
    .logo-item {
        width: 110px;
        height: 60px;
    }

    .logo-item img {
        max-width: 75px;
        max-height: 35px;
    }
}
