/* Global Styles */
:root {
    --primary-blue: #0B132B;
    --secondary-blue: #1C2541;
    --accent-yellow: #F4D35E;
    --text-white: #FFFFFF;
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-blue);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 2000;
    /* Increased to stay above all reveal elements */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    transition: all 0.4s ease;
}

.main-header.sticky {
    position: fixed;
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}



.hamburger {
    display: none;
}

.logo-container .logo {
    height: 50px;
    /* Optional: if logo has white bg, make it rounded or mix-blend */
    border-radius: 8px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-speed);
    text-shadow: var(--text-shadow);
}

.main-nav a:hover {
    color: var(--accent-yellow);
}

/* Glassmorphism Button Style */
.cta-nav,
.cta-hero {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    border-radius: 16px !important;
    /* Modern clean shape */
    transition: all var(--transition-speed);
}

.cta-nav {
    padding: 0.6rem 1.2rem;
}

.cta-nav:hover,
.cta-hero:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 10%;
    /* Left alignment as requested */
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 43, 0.4);
    /* Blue-ish tint overlay */
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.8) 0%, rgba(11, 19, 43, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    animation: fadeInSlide 1.2s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--accent-yellow);
    position: relative;
    display: inline-block;
}

/* Subtly underline highlight */
/* Subtly underline highlight */
.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(244, 211, 94, 0.6);
    z-index: -1;
}

/* Text Rotation Transition */
#hero-text {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.fade-out {
    opacity: 0 !important;
}

.cta-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Styles (Consolidated to 900px for consistency) */
@media (max-width: 900px) {
    .main-header {
        padding: 1rem 1.5rem;
    }

    .main-header.sticky {
        padding: 0.8rem 1.5rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 10001;
        /* Extremely high */
        position: relative;
    }

    .hamburger .line {
        width: 28px;
        height: 3px;
        background-color: var(--text-white);
        margin: 5px 0;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation when Active */
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .main-nav {
        display: none;
        /* Reliable hiding */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(11, 19, 43, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .main-nav.active {
        display: flex;
        opacity: 1;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        padding: 0;
    }

    .main-nav li {
        margin: 0;
    }

    .main-nav a {
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--text-white);
        display: block;
    }

    .main-nav a.cta-nav {
        margin-top: 1rem;
        padding: 1rem 2rem;
        font-size: 1.5rem;
    }
}

/* Specific Tweak for iPhone XR/Medium phones (414px width usually) and smaller */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        /* Avoids text spanning too tall */
    }

    .hero {
        padding-left: 5%;
        /* More space on small screens */
    }

    .main-header {
        padding: 1rem 1.5rem;
    }

    /* Services Grid Mobile - 1 column */
    .services-section .services-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about-section {
    padding: 6rem 3rem;
    background-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-yellow);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all var(--transition-speed);
}

.btn-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-link:hover .arrow {
    transform: translateX(5px);
}

/* Abstract Tech Visuals */
.about-visual {
    position: relative;
    height: 400px;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(244, 211, 94, 0.2);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(244, 211, 94, 0.05);
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 55%;
    left: 45%;
    transform: translate(-50%, -50%);
    border-color: rgba(255, 255, 255, 0.1);
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    height: 1px;
}

.line-1 {
    width: 200px;
    top: 30%;
    left: 10%;
    transform: rotate(45deg);
    opacity: 0.4;
}

.line-2 {
    width: 150px;
    bottom: 20%;
    right: 20%;
    transform: rotate(-30deg);
    opacity: 0.3;
}

/* Scroll Animations defaults (Visible by default) */
/* Scroll Animations defaults (Visible by default) */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 1;
    transition: all 0.8s ease-out;
}

/* JS-applied animation classes */
.js-hidden {
    opacity: 0 !important;
}

.js-left {
    transform: translateX(-50px);
}

.js-right {
    transform: translateX(50px);
}

.js-up {
    transform: translateY(50px);
}

.reveal.active {
    opacity: 1 !important;
    transform: translate(0, 0);
}

/* Services Section */
.services-section {
    padding: 6rem 3rem;
    background-color: var(--secondary-blue);
    /* Slightly lighter blue for contrast */
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Services Section - 4 columns on desktop */
.services-section .services-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(244, 211, 94, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Solutions Section */
.solutions-section {
    padding: 6rem 3rem;
    background-color: var(--primary-blue);
    /* Slightly darker to contrast with services */
}

/* Solution Card Specifics - Inherits grid from services, but custom card style */
.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(5px);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 211, 94, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.solution-img {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.solution-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.solution-card:hover .solution-img img {
    transform: scale(1.1);
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.solution-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.learn-more {
    margin-top: auto;
    /* Push to bottom */
    display: inline-flex;
    align-items: center;
    color: var(--accent-yellow);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding-top: 1rem;
}

.learn-more .arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.learn-more:hover .arrow {
    transform: translateX(4px);
}

.learn-more:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(244, 211, 94, 0.5);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
    padding: 20px;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: rgba(11, 19, 43, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    max-width: 950px;
    /* Widened for better reading of long text */
    width: 90%;
    position: relative;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    /* Flex layout regarding height */
    max-height: 90vh;
    /* Prevent checking out of screen */
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.8);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-yellow);
}

.modal-body {
    display: grid;
    grid-template-columns: 40% 60%;
    /* More space for text */
    width: 100%;
    overflow-y: auto;
    /* Allow scrolling inside if text is very long */
}

.modal-img {
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: sticky;
    top: 0;
}

.modal-img img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.modal-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

.modal-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.modal-text strong {
    color: var(--accent-yellow);
    display: inline-block;
    margin-top: 10px;
    /* Space before headers */
    font-size: 1.1rem;
}

/* Mobile Modal */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-img {
        padding: 2rem;
        height: 200px;
    }

    .modal-text {
        padding: 2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 3rem;
    background-color: var(--secondary-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--accent-yellow);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.info-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}

.map-container iframe {
    display: block;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(244, 211, 94, 0.1);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-logo {
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    opacity: 0.03;
    pointer-events: none;
    text-transform: uppercase;
}

/* Partners Slider (Infinite Scroll) */
.partners-section {
    padding: 6rem 0 3rem 0;
    overflow: hidden;
    position: relative;
}

.partners-slider {
    width: 100%;
    margin: auto;
}

.partners-track {
    display: flex;
    width: calc(400px * 18);
    /* width of one slide (400px) * total slides (18) */
    animation: scroll 40s linear infinite;
}

.slide {
    width: 400px;
    /* Reduced from 600px */
    height: 180px;
    /* Reduced from 250px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    /* Balanced padding */
}

.slide img {
    height: 100px;
    /* Reduced from 200px as requested */
    width: auto;
    object-fit: contain;
    filter: none;
    transition: all 0.4s ease;
}

.slide:hover img {
    transform: scale(1.08);
    /* Subtle scale on hover */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-400px * 9));
        /* scroll distance = half of track (9 items) */
    }
}

/* Footer Section */
.main-footer {
    background-color: var(--primary-blue);
    padding: 5rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--accent-yellow);
}

.footer-address {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-contact-links p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact-links p span {
    color: var(--accent-yellow);
    font-weight: 600;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-yellow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.bottom-content span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* Tablet/Mobile Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .about-visual {
        height: 250px;
        /* Reduced height on mobile */
    }

    .reveal-left {
        transform: translateY(30px);
    }

    .reveal-right {
        transform: translateY(30px);
    }

    /* Services Grid Responsive - Single Column for better readability */
    .services-section .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    /* Contact Section Responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    /* Partners Slider Responsive */
    .slide {
        width: 150px;
        padding: 0 20px;
    }

    .partners-track {
        width: calc(150px * 18);
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 9));
        }
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Promo Modal Styles */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Lighter to see the site behind */
    backdrop-filter: blur(5px);
    /* Subtler blur */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.promo-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.promo-card {
    position: relative;
    max-width: 950px;
    max-height: 95vh;
    width: 95%;
    background: transparent;
    /* Now transparent */
    border-radius: 15px;
    overflow: visible;
    /* Let close button float outside if needed */
    display: flex;
    flex-direction: column;
    animation: promoFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes promoFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.promo-body {
    padding: 0;
    /* Remove internal padding for transparency */
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    overflow: hidden;
}

.promo-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.promo-img {
    max-width: 100%;
    max-height: 90vh;
    /* Takes most of the viewport height */
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.close-promo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    /* Thinner and more elegant */
    color: #444;
    cursor: pointer;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    z-index: 10010;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-promo:hover {
    color: #fff;
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: scale(1.1) rotate(90deg);
}

@media (max-width: 600px) {
    .promo-card {
        max-height: 92vh;
        width: 98%;
        border-radius: 10px;
    }

    .promo-body {
        padding: 5px;
    }

    .close-promo {
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
        top: 10px;
        right: 10px;
    }
}