:root {
    --primary: #f57e20;
    --primary-dark: #d96d1c;
    --accent: #00F5FF;
    --bg-dark: #0F1218;
    --bg-card: #1A1E26;
    --text-main: #FFFFFF;
    --text-dim: #D1D5DB;
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1,
h2,
h3,
.logo {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.accent {
    color: var(--primary);
}

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: #000;
    /* Texto preto no botão laranja como na foto */
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #d96d1c;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

.btn-primary.full {
    width: 100%;
    text-align: center;
}

/* Navbar Over Photo */
.navbar {
    height: 120px;
    /* Increased height for two rows */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: none;
    transition: var(--transition);
}

.navbar.scrolled {
    position: fixed;
    background: rgba(15, 18, 24, 0.95);
    backdrop-filter: blur(20px);
    height: 90px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.nav-social {
    display: flex;
    gap: 20px;
    margin-right: 10px;
}

.nav-social a {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-social a:hover {
    transform: scale(1.2);
}

.logo {
    width: 65px;
    height: 65px;
    background-color: #fff;
    /* White background to make the black logo visible */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
    padding: 8px;
    /* Slightly more padding for the logo */
}

.logo:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

body {
    padding-left: 0;
}


/* Hero Section - Fullscreen Cinematic */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    animation: slideAnimate 18s linear infinite;
    display: flex;
    align-items: center;
}

@keyframes slideAnimate {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    5% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    33% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 6s;
}

.slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 18, 24, 0.85) 0%, rgba(15, 18, 24, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
}

.hero h1 .accent {
    font-family: 'Orbitron', sans-serif;
    font-size: 6.5rem;
    color: var(--primary);
    display: block;
    margin-top: -5px;
    /* Mais colado como na foto */
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 40px;
    max-width: 600px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-image-box {
    margin: 35px 0;
    max-width: 550px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.hero-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-box:hover .hero-img {
    transform: scale(1.03);
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dim);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

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

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


/* Countdown & Particles */
.hero-countdown {
    background-color: #0A0A0A;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    from {
        transform: translateY(100px);
    }

    to {
        transform: translateY(-300px);
    }
}

.countdown-container {
    text-align: center;
    background: linear-gradient(145deg, #141414, #0F0F0F);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(245, 126, 32, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 1);
}

.countdown-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.time-block {
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.time-block span {
    font-size: 3.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 20px rgba(245, 126, 32, 0.4);
}

.time-block small {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-top: 10px;
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

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

.special-programs {
    grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
    justify-content: center;
}

.service-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: 400px;
    /* Fixed portrait height */
    position: relative;
    background: transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(15, 18, 24, 0.95) 0%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-overlay h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
}

.price-minimal {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.price-minimal small {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.add-to-cart-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.form-only-notice {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.btn-form-link {
    display: block;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.service-card:hover .price-minimal,
.service-card:hover .add-to-cart-btn,
.service-card:hover .form-only-notice,
.service-card:hover .btn-form-link {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart-btn,
.btn-form-link {
    display: block;
    width: 100%;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.add-to-cart-btn:hover,
.btn-form-link:hover {
    background: #fff;
    transform: scale(1.02);
}

.add-to-cart-btn.added {
    background: #fff;
    color: #000;
}

/* Floating Checkout Bar */
.checkout-bar {
    position: fixed;
    bottom: -100px;
    /* Hidden by default */
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary);
    padding: 20px 0;
    z-index: 1001;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.7);
}

.checkout-bar.active {
    bottom: 0;
}

.checkout-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-info {
    display: flex;
    flex-direction: column;
}

.checkout-count {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.checkout-total {
    font-size: 1.4rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
}

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .special-programs {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 350px;
    }
}

/* Infinite Marquee */
.marquee {
    background-color: var(--primary);
    color: #000;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    padding-left: 100%;
}

.marquee span {
    font-size: 1.2rem;
    margin-right: 50px;
    display: inline-block;
    vertical-align: middle;
}

.marquee .dot {
    width: 8px;
    height: 8px;
    background-color: #000;
    border-radius: 50%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* About */
.about {
    padding: 100px 0;
    background-color: #0F0F0F;
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--bg-dark);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 1s ease;
}

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

.about-content {
    flex: 1;
    padding-left: 20px;
    z-index: 2;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    color: var(--text-dim);
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.features-list {
    margin-top: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.features-list span {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .about-content h2.left::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Contact */
.contact {
    padding: 100px 0;
    background: linear-gradient(to bottom, #0F0F0F, #0A0A0A);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--primary);
}

.contact-card p {
    margin-bottom: 20px;
    color: var(--text-dim);
}

.contact-location {
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.contact-location p {
    margin-bottom: 10px !important;
    color: var(--text-main) !important;
    font-weight: 600;
}

.map-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.map-wrapper {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrapper iframe {
    width: 100%;
    filter: grayscale(1) invert(0.9) contrast(1.2) brightness(0.8);
    transition: filter 0.5s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0) invert(0) contrast(1) brightness(1);
}

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

input,
select {
    width: 100%;
    padding: 15px;
    background-color: #1A1A1A;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus {
    border-color: var(--primary);
}

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-dim);
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-address,
.footer-email {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.copyright {
    font-size: 0.9rem;
    color: #555;
}


/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1002;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.pulse {
    animation: waPulse 2.5s infinite;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .contact-flex-layout {
        flex-direction: column;
        gap: 60px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-content {
        padding-left: 0;
    }
}

.contact-flex-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info-col {
    flex: 1;
}

.contact-info-col h2 {
    margin-bottom: 25px !important;
}

.contact-info-col p {
    margin-bottom: 40px;
    color: var(--text-dim);
    font-size: 1.1rem;
}

.contact-map-col {
    flex: 1.2;
}

.contact-location-info {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.contact-location-info p {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
}

.map-wrapper {
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
}

.map-link-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.map-link-overlay:hover {
    background: #fff;
    transform: translateY(-3px);
}

.map-wrapper iframe {
    width: 100%;
    filter: grayscale(1) invert(0.9) contrast(1.2) brightness(0.8);
    transition: var(--transition);
}

.map-wrapper:hover iframe {
    filter: grayscale(0) invert(0) contrast(1) brightness(1);
}

@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }

    .navbar.scrolled {
        height: 70px;
    }

    .nav-social {
        display: none;
        /* Hide on mobile navbar to save space */
    }

    .nav-right {
        gap: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        padding: 60px 0;
        transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 2100;
    }

    .nav-links.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Final Midnight Slate Overrides for a Lighter Feel */
.contact {
    background-color: #0C0F16;
}

.footer {
    background-color: #080A0E;
}

.about {
    background-color: var(--bg-dark);
}

.services {
    background-color: #12151C;
}

/* Modals & Login */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(15px);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.modal-content label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    font-size: 0.85rem;
}

.modal-footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.modal-footer a:hover {
    color: var(--primary);
}

.modal-footer span {
    color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 40px 25px;
    }
}

/* Elite & Global Section */
.elite-impact {
    padding: 120px 0;
    background-color: #050608;
    position: relative;
    overflow: hidden;
}

.elite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.elite-card {
    position: relative;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.elite-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.elite-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.elite-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* 2 Slides */
.slides-2 .elite-slide {
    animation: eliteSlideAnim2 8s infinite;
}

.slides-2 .elite-slide:nth-child(2) {
    animation-delay: 4s;
}

/* 3 Slides */
.slides-3 .elite-slide {
    animation: eliteSlideAnim3 12s infinite;
}

.slides-3 .elite-slide:nth-child(2) {
    animation-delay: 4s;
}

.slides-3 .elite-slide:nth-child(3) {
    animation-delay: 8s;
}

/* 4 Slides */
.slides-4 .elite-slide {
    animation: eliteSlideAnim4 16s infinite;
}

.slides-4 .elite-slide:nth-child(2) {
    animation-delay: 4s;
}

.slides-4 .elite-slide:nth-child(3) {
    animation-delay: 8s;
}

.slides-4 .elite-slide:nth-child(4) {
    animation-delay: 12s;
}

/* 5 Slides */
.slides-5 .elite-slide {
    animation: eliteSlideAnim5 20s infinite;
}

.slides-5 .elite-slide:nth-child(2) {
    animation-delay: 4s;
}

.slides-5 .elite-slide:nth-child(3) {
    animation-delay: 8s;
}

.slides-5 .elite-slide:nth-child(4) {
    animation-delay: 12s;
}

.slides-5 .elite-slide:nth-child(5) {
    animation-delay: 16s;
}

/* 6 Slides */
.slides-6 .elite-slide {
    animation: eliteSlideAnim6 24s infinite;
}

.slides-6 .elite-slide:nth-child(2) {
    animation-delay: 4s;
}

.slides-6 .elite-slide:nth-child(3) {
    animation-delay: 8s;
}

.slides-6 .elite-slide:nth-child(4) {
    animation-delay: 12s;
}

.slides-6 .elite-slide:nth-child(5) {
    animation-delay: 16s;
}

.slides-6 .elite-slide:nth-child(6) {
    animation-delay: 20s;
}

@keyframes eliteSlideAnim2 {

    0%,
    50% {
        opacity: 0;
        transform: scale(1.1);
    }

    5%,
    45% {
        opacity: 0.4;
    }

    50% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes eliteSlideAnim3 {

    0%,
    33.33% {
        opacity: 0;
        transform: scale(1.1);
    }

    5%,
    28% {
        opacity: 0.4;
    }

    33.33% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes eliteSlideAnim4 {

    0%,
    25% {
        opacity: 0;
        transform: scale(1.1);
    }

    5%,
    20% {
        opacity: 0.4;
    }

    25% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes eliteSlideAnim5 {

    0%,
    20% {
        opacity: 0;
        transform: scale(1.1);
    }

    4%,
    16% {
        opacity: 0.4;
    }

    20% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes eliteSlideAnim6 {

    0%,
    16.66% {
        opacity: 0;
        transform: scale(1.1);
    }

    3%,
    13% {
        opacity: 0.4;
    }

    16.66% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

.elite-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 50px 40px;
    background: linear-gradient(to top, rgba(10, 12, 16, 0.7) 30%, rgba(10, 12, 16, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.elite-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(245, 126, 32, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--primary);
    border: 1px solid rgba(245, 126, 32, 0.6);
}

.elite-card:hover .elite-icon-box {
    background: var(--primary);
    color: #000;
}

.elite-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
}

.elite-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.elite-card .badge {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 7px 15px;
    background: var(--primary);
    color: #000;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

/* Social Links */
/* Premium Social Icons */
.social-links-minimal {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
    width: 100%;
}

.social-links-minimal a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-links-minimal a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: transparent;
}

/* Hover Colors with Background Fill */
.social-links-minimal a:hover .fa-facebook-f {
    color: #fff;
}

.social-links-minimal a:has(.fa-facebook-f):hover {
    background: #1877F2;
}

.social-links-minimal a:has(.fa-instagram) {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff !important;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
}

.social-links-minimal a:has(.fa-instagram):hover {
    transform: scale(1.1);
}

.social-links-minimal a:hover .fa-envelope {
    color: #fff;
}

.social-links-minimal a:has(.fa-envelope):hover {
    background: var(--primary);
}

.nav-social a:hover .fa-facebook-f,
.footer-links a:hover .fa-facebook-f,
.mobile-social a:hover .fa-facebook-f,
.social-links-minimal a:hover .fa-facebook-f {
    color: #1877F2;
}

.nav-social a:hover .fa-instagram,
.footer-links a:hover .fa-instagram,
.mobile-social a:hover .fa-instagram,
.social-links-minimal a:hover .fa-instagram {
    color: #E4405F;
}

.nav-social a:hover .fa-envelope,
.footer-links a:hover .fa-envelope,
.mobile-social a:hover .fa-envelope,
.social-links-minimal a:hover .fa-envelope {
    color: #D44638;
}

.nav-social a:hover,
.social-links-minimal a:hover {
    transform: scale(1.2) translateY(-2px);
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Social Icons */
.mobile-social {
    display: none;
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.mobile-social a {
    font-size: 1.5rem !important;
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .mobile-social {
        display: flex;
    }
}

/* Instagram Mockup Modal */
.instagram-mockup {
    max-width: 500px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
    /* Mimic real Instagram white theme */
    color: #000 !important;
}

/* Instagram Web UI Header */
.insta-web-header {
    display: flex;
    padding: 25px 20px;
    gap: 30px;
    background: #fff;
    border-bottom: 1px solid #efefef;
    align-items: flex-start;
}

.insta-web-avatar {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #dbdbdb;
    overflow: hidden;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insta-web-avatar img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.insta-web-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #262626;
}

.insta-web-username-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.insta-web-username-row h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 1.25rem;
    font-weight: 400;
    color: #262626;
}

.insta-more-icon {
    font-size: 1.2rem;
    color: #262626;
    letter-spacing: 2px;
}

.insta-web-stats {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    color: #262626;
}

.insta-web-stats strong {
    font-weight: 600;
}

.insta-web-name {
    font-weight: 600;
    font-size: 1rem;
}

.insta-web-bio {
    font-size: 0.95rem;
    line-height: 1.5;
}

.insta-web-link {
    display: block;
    color: #00376b;
    font-weight: 600;
    text-decoration: none;
    margin-top: 5px;
}

.insta-web-link i {
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Instagram Feed Live */
.insta-feed-container {
    width: 100%;
    height: 480px;
    /* Adjusted height */
    overflow: hidden;
    /* This hides the scrollbar and any overflow */
    background: #fff;
    position: relative;
}

.insta-iframe {
    width: 100%;
    height: 1500px;
    border: none;
    margin-top: -160px;
    /* Precise cut based on measurement */
}

/* Instagram Modal Footer (Follow Button) */
.modal-footer-follow {
    padding: 15px 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #efefef;
    text-align: center;
}

.btn-insta-follow-large {
    display: block;
    width: 100%;
    background: #0095f6;
    color: #fff !important;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-insta-follow-large:hover {
    background: #1877f2;
}

.close-insta-btn-minimal {
    background: transparent;
    border: none;
    color: #8e8e8e;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

/* Responsive Modal Size */
.instagram-mockup {
    max-width: 600px !important;
}

@media (max-width: 600px) {
    .insta-web-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .insta-web-avatar {
        width: 80px;
        height: 80px;
    }

    .insta-web-stats {
        justify-content: center;
        font-size: 0.9rem;
    }

    .instagram-mockup {
        width: 95% !important;
        max-height: 95vh;
    }
}

/* Instagram Section Styles */
.instagram-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.inline-mockup {
    margin: 40px auto 0;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    max-width: 600px !important;
}

.inline-mockup .close-modal,
.inline-mockup .modal-footer-minimal {
    display: none;
}

/* Fix modal close button for light theme */
.instagram-mockup .close-modal {
    color: #000;
    z-index: 10;
}
