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

:root {
    --primary-color: #2c5f8d;
    --primary-dark: #1e4263;
    --primary-light: #3d7bb3;
    --secondary-color: #4a90a4;
    --accent-color: #6bb6d6;
    --accent-light: #a8d5e8;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-lighter: #95a5a6;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --lighter-bg: #fafbfc;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(44, 95, 141, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
        background-size: 140%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.6) 0%, rgba(74, 144, 164, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
    word-break: keep-all;
    width: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-title-accent {
    color: var(--accent-light);
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85em;
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Hero Social Proof */
.hero-social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.stars {
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.stars i {
    color: #ffd700;
}

.proof-text {
    font-size: 0.95rem;
    color: var(--white);
}

.proof-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
}

.proof-icon {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.proof-icon i {
    color: var(--accent-light);
}

.social-proof-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

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

/* Hero Trust Indicator */
.hero-trust {
    font-size: 1rem;
    margin-top: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.8s both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-trust i {
    color: var(--accent-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
    margin-top: 0.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.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;
}

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

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25), 
                0 0 0 0 rgba(255, 255, 255, 0.7),
                0 0 40px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: visible;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1);
    animation: pulse-glow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35),
                0 0 0 4px rgba(255, 255, 255, 0.5),
                0 0 60px rgba(255, 255, 255, 0.5);
    background: var(--white);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-large {
    padding: 1.4rem 3rem;
    font-size: 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
                0 0 0 0 rgba(255, 255, 255, 0.8),
                0 0 50px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-large::after {
    animation: pulse-glow-large 2.5s ease-in-out infinite;
}

@keyframes pulse-glow-large {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.btn-large span {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.btn-large small {
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.95;
    letter-spacing: 0.3px;
}

.btn-large:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 0 5px rgba(255, 255, 255, 0.6),
                0 0 80px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-large small {
    display: block;
    margin-top: 0.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator span {
        width: 25px;
        height: 40px;
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

.section-subtitle i {
    color: #ffd700;
    margin: 0 0.2rem;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    flex-grow: 1;
}

.services-slider-controls {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

    .slider-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
        background: var(--white);
        color: var(--primary-color);
        font-size: 1.8rem;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow);
        font-weight: 300;
        line-height: 1;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .slider-btn:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: scale(1.1);
        box-shadow: var(--shadow-md);
    }

    .slider-btn:active {
        transform: scale(0.95);
    }

    @media (max-width: 768px) {
        .slider-btn {
            width: 45px;
            height: 45px;
            font-size: 1.6rem;
        }
    }

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--white);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-text .section-title {
    margin-bottom: 0.75rem;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    position: relative;
    padding-left: 1rem;
}

.about-text .lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.875rem 1.125rem;
    background: var(--lighter-bg);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(44, 95, 141, 0.08);
    transform: translateX(3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 95, 141, 0.1);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 0.85rem;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 200px;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-image:nth-child(3) {
    grid-column: 1 / -1;
    height: 180px;
}

.about-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2.5rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.about-image:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.about-image img {
    cursor: pointer;
    transition: filter 0.3s ease;
}

.about-image:hover img {
    filter: brightness(0.7);
}

/* ============================================
   Lightbox Styles
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: block;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(20, 30, 50, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.4s ease;
}

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

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
    animation: fadeInContent 0.5s ease 0.1s both;
}

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

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: zoomIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.lightbox-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-image:hover::before {
    opacity: 1;
}

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

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    line-height: 1;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 0 4px rgba(255, 255, 255, 0.1);
}

.lightbox-close:active {
    transform: rotate(90deg) scale(0.95);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    line-height: 1;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 0 4px rgba(255, 255, 255, 0.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-5px) scale(1.15);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(5px) scale(1.15);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--light-bg);
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
}

.testimonial-card {
    min-width: 100%;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.testimonial-rating {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.3rem;
    align-items: center;
    justify-content: center;
}

.testimonial-rating i {
    color: #ffd700;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-details a {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.contact-details a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-details p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.contact-form-container {
    background: var(--lighter-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, var(--text-dark) 100%);
    color: var(--white);
    padding: 4.5rem 0 1.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    position: relative;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo img {
    height: 70px;
    width: auto;
    filter: brightness(1.1);
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-section:first-child p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(44, 95, 141, 0.3);
}

.footer-icon i {
    font-size: 0.85rem;
}

.footer-section:first-child p:last-child {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-light);
    font-size: 1rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-color);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-section p a {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-section p a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(44, 95, 141, 0.4);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* ============================================
   Mobile Responsive Styles
   ============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 0.5rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: left;
        border-radius: var(--border-radius);
        margin-bottom: 0.5rem;
        display: block;
        -webkit-tap-highlight-color: transparent;
    }

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

    .nav-link:hover,
    .nav-link.active {
        background: rgba(44, 95, 141, 0.1);
        color: var(--primary-color);
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding-top: 70px;
    }

    .hero-content {
        padding: 4rem 1rem 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        word-wrap: break-word;
    }

    .hero-badge {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: block;
    }

    .hero-title-accent {
        font-size: 0.75em;
        margin-top: 0.75rem;
        display: block;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
        line-height: 1.6;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
        border-radius: 20px;
        margin-bottom: 2rem;
    }

    .social-proof-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .social-proof-divider {
        width: 60%;
        height: 1px;
        margin: 0.5rem 0;
    }

    .hero-trust {
        font-size: 0.9rem;
        margin-top: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .btn-large {
        padding: 1.2rem 2.25rem;
        font-size: 1.05rem;
    }

    .btn-large span {
        font-size: 1.1rem;
    }

    .btn-large small {
        margin-top: 0;
        font-size: 0.85rem;
    }

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.01);
    }

    /* Services */
    .services {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1.5rem;
        gap: 1.5rem;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) var(--light-bg);
    }

    .services-grid::-webkit-scrollbar {
        height: 6px;
    }

    .services-grid::-webkit-scrollbar-track {
        background: var(--light-bg);
        border-radius: 10px;
    }

    .services-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .service-card {
        min-width: 90%;
        scroll-snap-align: start;
        margin-right: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .service-image {
        height: 220px;
    }

    .services-slider-controls {
        display: flex;
        margin-top: 1.5rem;
    }

    /* About */
    .about {
        padding: 3rem 0;
    }

    .about {
        padding: 3.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-text {
        order: 2;
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
        margin-bottom: 1rem;
    }

    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text .lead {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        padding-left: 0;
        text-align: center;
        display: inline-block;
        width: 100%;
    }

    .about-text .lead::before {
        display: none;
    }

    .about-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.8;
        text-align: left;
        padding: 0 0.5rem;
    }

    .about-images {
        grid-template-columns: 1fr;
        order: 1;
        gap: 1rem;
    }

    .about-image {
        height: 220px;
    }

    .about-image:nth-child(3) {
        grid-column: 1;
        height: 200px;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-content {
        padding: 1rem;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 85vh;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .feature-item {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        text-align: left;
    }

    .feature-item:hover {
        background: rgba(44, 95, 141, 0.08);
        transform: translateX(3px);
    }

    /* Contact */
    .contact {
        padding: 4rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-container {
        order: 1;
        padding: 2rem 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
        background: var(--lighter-bg);
        border-radius: var(--border-radius);
        border-left: 4px solid var(--primary-color);
        transition: var(--transition);
    }

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

    .contact-icon {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section:first-child p {
        justify-content: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section ul li a::before {
        display: none;
    }

    .footer-section ul li a:hover {
        padding-left: 0;
        color: var(--accent-light);
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }

    /* Testimonials */
    .testimonials {
        padding: 4rem 0;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: block;
    }

    .hero-title-accent {
        font-size: 0.7em;
        display: block;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-top: 0.5rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-social-proof {
        padding: 0.875rem 1.25rem;
    }

    .proof-text {
        font-size: 0.85rem;
    }

    .proof-number {
        font-size: 1.3rem;
    }

    .btn-large {
        padding: 1.1rem 2rem;
    }

    .btn-large span {
        font-size: 1rem;
    }

    .btn-primary:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                    0 0 0 3px rgba(255, 255, 255, 0.4),
                    0 0 50px rgba(255, 255, 255, 0.4);
    }

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

    .section-title::after {
        width: 50px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-image {
        height: 200px;
    }

    .contact-form-container {
        padding: 1.5rem 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about-content {
        gap: 2rem;
    }

    .about-text .lead {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
    }

    .about-description {
        font-size: 0.95rem;
        line-height: 1.75;
        padding: 0;
        margin-bottom: 1.75rem;
    }

    .about-features {
        gap: 0.875rem;
        margin-top: 1.25rem;
    }

    .feature-item {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .about-image {
        height: 180px;
    }

    .about-image:nth-child(3) {
        height: 160px;
    }

    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-image {
        max-width: 98%;
        max-height: 80vh;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .footer {
        padding: 3rem 0 1.25rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-section h3 {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
    }

    .footer-section:first-child p {
        font-size: 0.9rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .footer-social svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 2rem;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection styling */
::selection {
    background: var(--accent-light);
    color: var(--text-dark);
}

::-moz-selection {
    background: var(--accent-light);
    color: var(--text-dark);
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

