/* Performance Optimizations */
.service-card,
.stat-card,
.info-card,
.btn,
.nav-link,
.social-link {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero,
.services,
.about,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #38bdf8;
    --background: #020617;
    --surface: #0f172a;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Modal Base Styles - Optimized for Performance */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.99);
    /* Solid dark for performance */
    backdrop-filter: none;
    /* REMOVED for maximum FPS */
    padding: 20px;
    align-items: flex-start;
    /* Start from top to prevent clipping on mobile */
    justify-content: center;
    /* Horizontal Center */
    overflow-y: auto;
    /* Allow scrolling if content is too tall */
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    width: 100%;
    /* Use full width container */
    max-width: 1240px;
    margin: 0 auto;
    background: transparent;
    position: relative;
    /* Faster, snappier animation */
    animation: slideUp 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}


.close-modal {
    width: auto;
    height: auto;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    /* Subtle initial color */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    /* Slightly larger for visibility without background */
    cursor: pointer;
    position: fixed;
    top: 40px;
    right: 80px;
    /* Desktop position */
    z-index: 9999;
    transition: all 0.3s ease;
    border: none;
    padding: 10px;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        font-size: 32px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .service-modal-image {
        height: 300px;
        border-radius: 12px 12px 0 0;
    }

    .service-modal-info {
        padding: 30px 20px;
    }

    .service-modal-info h2 {
        font-size: 1.8rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .slider-dots {
        bottom: 15px;
    }
}

.close-modal:hover {
    transform: scale(1.2);
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}



.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.highlight {
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

html {
    scroll-behavior: smooth;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.full-width {
    width: 100%;
    margin-top: 25px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
}

/* Hero Section - Full Screen Refinement */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align content to the left */
    overflow: hidden;
    padding-left: 5%;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: 50% 30%;
    background-attachment: fixed;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.55));
}

.hero-slide.active {
    opacity: 1;
}

/* Base backgrounds for the two slots */
.hero-slide:nth-child(1) {
    background-image: url('assets/img/hero-final-v4.jpg');
}

.hero-slide:nth-child(2) {
    /* Initially same or blank, will be updated by JS */
    background-image: url('assets/img/hero-main-final.jpg');
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--background), transparent);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.hero-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.hero-content-wrapper {
    max-width: 850px;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    max-width: 650px;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }
}

/* Hover/Interactive State handled by JS, but default transition needed */
/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        height: 70vh;
        padding: 60px 20px 40px;
        padding-left: 5%;
    }

    .hero-slide {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-dots {
        bottom: 15px;
        gap: 8px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services Grid 3-2 Implementation */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.service-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Top Row (Cards 1, 2, 3) */
.service-card:nth-child(-n+3) {
    grid-column: span 2;
}

/* Bottom Row (Cards 4, 5) */
.service-card:nth-child(4) {
    grid-column: 2 / span 2;
    /* Center by starting at column 2 */
}

.service-card:nth-child(5) {
    grid-column: 4 / span 2;
    /* Side by side with the 4th card */
}


.service-card.featured {
    border: 1px solid var(--primary);
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.05) 0%, rgba(15, 23, 42, 0.4) 100%);
}


.service-card.featured::before {
    content: 'Servicio Popular';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card.featured:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

/* Responsive Services */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.featured,
    .service-card {
        grid-column: span 1;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .service-card,
    .service-card.featured,
    .service-card:nth-child(-n+3),
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: 1 / -1 !important;
        max-width: 100%;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }
}

/* Service Card Images */
.service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 24px;
    flex: 1;
}

/* Removed old .service-icon styles as we are using images now */

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
    z-index: 1000;
    font-weight: 600;
    transition: width 0.3s ease-out, background-color 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    animation: pulse-blue 2s infinite;
    overflow: hidden;
    white-space: nowrap;
}

.floating-contact-btn span {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    transition: all 0.3s ease-out;
}

.floating-contact-btn:hover {
    width: 220px;
    border-radius: 30px;
    background: var(--primary-dark);
    justify-content: center;
    padding: 0 20px;
    /* Stop pulse on hover to focus on content */
    animation: none;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.7);
}

.floating-contact-btn:hover span {
    max-width: 200px;
    opacity: 1;
    margin-left: 10px;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.floating-contact-btn svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    /* Prevent shrinking */
}

@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 20px;
        left: 20px;
        /* Keep it circular on mobile usually, or expand? User request implies hover, touch devices tricky. 
           Let's keep behaviour but maybe smaller initial size if needed (current 60px is fine for touch) */
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-list {
        display: none;
        /* Add JS toggle logic later */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--surface);
        padding: 20px;
    }
}

/* Header Actions & Lang Switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    position: relative;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-current i:first-child {
    color: var(--primary);
    font-size: 0.9rem;
}

.lang-current span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.lang-current i:last-child {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.lang-switcher.expanded .lang-current i:last-child {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    display: none;
    flex-direction: row;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    list-style: none;
}

.lang-switcher.expanded .lang-dropdown {
    display: flex;
}

.lang-btn {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .lang-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Service Detail Modal Styles */
.service-detail-content {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px !important;
    padding: 0;
    overflow: hidden;
    margin-top: 50px;
}

.service-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 500px;
    width: 100%;
}

.service-modal-image,
.service-modal-info {
    min-width: 0;
}

#modal-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    transition: opacity 0.3s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#modal-service-img.social-crop {
    object-position: center 40%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.service-modal-image {
    width: 100%;
    height: 100%;
}

.service-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-modal-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-modal-info h2 {
    font-size: 2.5rem;
    color: var(--white);
}

.service-modal-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-benefits h4,
.service-examples h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-benefits ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.service-benefits li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.modal-actions {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .service-modal-grid {
        grid-template-columns: 1fr;
    }

    .service-modal-image {
        height: 300px;
    }

    .service-modal-info {
        padding: 30px;
    }

    .service-benefits ul {
        grid-template-columns: 1fr;
    }
}

/* About Us Section */
/* About Us Section Professional Redesign */
.about {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Section Separator */
}

/* Add a glowing separator line before the section */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    box-shadow: 0 0 15px var(--primary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 40px;
    /* Space after centered header */
}

/* Left Image Column */
.about-image-col {
    position: relative;
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.image-frame {
    position: relative;
    border-radius: 24px;
    z-index: 1;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--primary);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease;
}

.image-frame:hover .about-img {
    transform: scale(1.02);
}

/* Right Content Column */
.about-content-col {
    display: flex;
    flex-direction: column;
}

@keyframes pulse-tag {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.section-tag {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    animation: pulse-tag 2s infinite;
}

.about-content-col h2.section-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 35px;
    line-height: 1;
    letter-spacing: -1.5px;
    color: var(--white);
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.5));
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    color: var(--accent);
    filter: drop-shadow(0 0 12px var(--accent));
}

.stat-card h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img {
        height: 350px;
    }

    .exp-badge {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }

    .exp-number {
        font-size: 2rem;
    }

    .about-title {
        font-size: 2.2rem;
    }
}

/* Detailed Footer */
.footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-column ul li:hover {
    color: var(--primary);
    cursor: default;
}

.contact-info p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

.hero-img-main {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Section Divider */
.section-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: var(--surface);
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.section-divider .shape-fill {
    fill: var(--background);
}

/* Contact Section & Form */
.contact-section {
    padding: 120px 0;
    background: var(--background);
    border-top: none;
}

/* Contact Section & Form */
.contact-section {
    padding: 120px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
    border-top: none;
}

/* Background Glow Effect */
.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 1;
}

.section-header.left-align {
    text-align: left;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateX(10px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.info-content h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
    resize: none;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .info-card:hover {
        transform: none;
    }
}

/* Social Connect Section */
.social-connect {
    padding: 60px 0;
    background: linear-gradient(145deg, var(--background) 0%, var(--surface) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.social-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

.social-text p {
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.4);
}

@media (max-width: 768px) {
    .social-container {
        flex-direction: column;
        text-align: center;
    }
}

.footer {
    padding: 80px 0 40px;
    background: var(--background);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}