/* --- Global Reset and Variables --- */
:root {
    /* Color Palette */
    /* Color Palette */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-blue: #e0f2fe;
    /* Light Blue */
    --color-light-blue-dark: #bae6fd;
    /* Slightly darker Light Blue for gradients */
    --color-text-main: #0f172a;
    /* Slate 900 for dark text */
    --color-text-muted: #475569;
    /* Slate 600 for softer text */
    --color-gold-start: #D4AF37;
    --color-gold-end: #F9E27E;
    --color-brand-accent: #ffe600;
    --color-black: #0a0c10;
    /* Premium deep black */
    --color-navbar-bg: rgba(22, 32, 54, 0.98);
    --color-dark-blue: #0f172a;
    /* Premium Slate Blue */

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Effects */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    overflow-x: hidden;
    max-width: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    border-top: 6px solid var(--color-dark-blue) !important;
    /* Top Border */
    border-bottom: 6px solid var(--color-dark-blue);
    /* Bottom Border */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* --- Typography & Utilities --- */
.gold-text {
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* Fallback */
    display: inline-block;
}

.bg-white {
    background-color: var(--color-white);
    color: var(--color-text-main);
}

.bg-light-blue {
    background-color: var(--color-light-blue);
    color: var(--color-text-main);
}

.section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.pb-large {
    padding-bottom: 150px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-gold-start);
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: var(--font-primary, 'Poppins', sans-serif);
}

.title-dark h2 {
    color: var(--color-gold-start);
}

.underline {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-text-main);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover,
.btn-lift:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-gold-start);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: var(--color-navbar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--color-dark-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-container {
    max-width: 1540px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.85rem;
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-right: 24px;
    text-decoration: none;
}

.nav-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 1.8vw, 30px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-links li a {
    color: var(--color-white);
    font-size: 0.88rem;
    font-weight: 500;
    font-family: var(--font-primary);
    position: relative;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
    line-height: 1.2;
    transition: color var(--transition-fast);
}

.nav-links li a:hover {
    color: var(--color-gold-start);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--color-gold-start);
    bottom: -2px;
    left: 0;
    transition: width var(--transition-fast);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links > li:last-child {
    margin-left: 10px;
}

.nav-btn {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 6px 0;
    color: var(--color-gold-start) !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none;
    transition: color var(--transition-fast);
}

.nav-btn:hover {
    background: transparent;
    color: var(--color-gold-start) !important;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

/* Replace .mobile-menu with this .hamburger block */
.hamburger {
    display: none;
    /* Hidden on desktop */
    color: var(--color-gold-start);
    /* Gold color for visibility */
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(11, 19, 43, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 260px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.nav-links li.dropdown:last-of-type .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    color: #e2e8f0 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    font-family: var(--font-primary);
    border-radius: 8px;
    border-bottom: none;
    text-transform: none;
    white-space: nowrap;
    line-height: 1.3;
    transition: all 0.2s ease;
    background: transparent;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-gold-start) !important;
    padding-left: 18px;
    transform: none;
}

.dropdown > a i,
.dropdown-toggle i {
    font-size: 0.65rem;
    margin-left: 2px;
    transition: transform 0.25s ease, color 0.25s ease;
    opacity: 0.85;
}

.dropdown:hover > a i,
.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
    color: var(--color-gold-start);
    opacity: 1;
}

/* --- Hero Slider --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    color: white;
    text-align: left;
    overflow: hidden;
    background: var(--color-black);
}

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

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

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.ey-tagline {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 25px;
    line-height: 1.1;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    border-left: 4px solid var(--color-dark-blue);
    padding-left: 20px;
}

/* --- Glassmorphism & Neo-morphism Cards --- */
.glass-card {
    border-radius: 20px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    overflow: hidden;
}

.neo-morphism-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        10px 10px 30px rgba(0, 0, 0, 0.05),
        -10px -10px 30px rgba(255, 255, 255, 0.8);
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-white) 100%);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    text-align: center;
    color: var(--color-text-main);
}

.gold-icon {
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 50px 30px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(212, 175, 55, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* --- Career Section --- */
.career-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

.career-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.career-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
}

.career-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* --- Career Simple Redesign --- */
.career-simple-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.career-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.career-benefits {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-main);
    font-weight: 600;
}

.benefit i {
    font-size: 1.8rem;
    color: var(--color-gold-start);
}

.wave-image-container {
    position: relative;
    width: 350px;
    /* Exact square width */
    height: 350px;
    /* Exact square height */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave-image-container::before,
.wave-image-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* Exact square */
    background: var(--color-gold-start);
    opacity: 0.2;
    z-index: 0;
    animation: exact-square-wave 4s ease-in-out infinite;
}

.wave-image-container::after {
    animation-delay: -2s;
    background: var(--color-gold-end);
    opacity: 0.1;
}

.wave-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* Exact square */
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 5px solid #fff;
    position: relative;
    z-index: 1;
}

@keyframes exact-square-wave {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.4;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .career-simple-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title.text-left {
        text-align: center;
    }

    .underline.left {
        margin: 0 auto;
    }

    .career-benefits {
        justify-content: center;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
}

.contact-info,
.contact-form {
    padding: 12px 18px;
    border: 1px solid var(--color-gold-start);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

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

.contact-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--color-text-main);
    font-weight: 600;
}

.contact-list i {
    color: var(--color-gold-start);
    font-size: 1.4rem;
    width: 25px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-start);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-white);
    transform: translateY(-5px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: var(--color-text-main);
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    line-height: 1.4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold-start);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    cursor: pointer;
    color: #999;
    height: 38px;
    /* Fixed height to match inputs exactly */
}

.form-group select:focus {
    color: var(--color-text-main);
}

.form-group select option {
    color: var(--color-text-main);
    background: #fff;
}

/* --- Section Divider --- */
.section-divider {
    height: 30px;
    background: var(--color-light-blue-dark);
    width: 100%;
    margin: 0;
}

/* --- Footer --- */
.footer {
    background: var(--color-dark-blue);
    /* Dark Background */
    color: var(--color-white);
    /* White Text */
    text-align: left;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 768px) {

    /* --- Your Original Layout Settings --- */
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 60px 20px;
    }

    /* --- The Menu Fixes --- */

    /* 1. Show the hamburger icon (matches your HTML ID/Class) */
    .hamburger {
        display: block;
    }

    /* 2. Format the main menu for mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-navbar-bg);
        padding: 20px 0;
        text-align: center;
        gap: 15px;
        border-bottom: 2px solid var(--color-dark-blue);
    }

    /* 3. The JS toggle state: forces the menu to show when clicked */
    .nav-links.active {
        display: flex !important;
    }

    /* 4. Format the inner dropdown menus to stack vertically */
    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-top: none;
        margin-top: 10px;
    }

    /* 5. The JS toggle state for the sub-menus */
    .dropdown-menu.show {
        display: block;
    }


    .contact-wrapper {
        grid-template-columns: 1fr;
        display: flex;
        /* Fallback */
        flex-direction: column;
        gap: 30px;
    }

    /* 2. Stack the form input rows vertically */
    .form-row {
        grid-template-columns: 1fr;
        display: flex;
        /* Fallback */
        flex-direction: column;
        gap: 0;
        /* The .form-group handles the margin */
    }

    /* 3. Reduce padding so the cards fit nicely on small phone screens */
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }

    /* 4. Center the contact info text for better mobile readability */
    .contact-info {
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

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

/* --- New Website Sections --- */

/* About Gallery Grid */
.about-gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item.main-img {
    grid-row: 1 / span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-smooth);
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    padding: 40px 20px;
    text-align: center;
}

.product-card img,
.product-card .product-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card:hover img,
.product-card:hover .product-icon {
    transform: scale(1.08);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card h3 {
    margin-bottom: 10px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--color-gold-start);
}

/* Why Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.why-card {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

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

.why-card .gold-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.4s ease;
}

.why-card:hover .gold-icon {
    transform: scale(1.1);
}

.why-card h3 {
    font-family: var(--font-primary, sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-main, #0f172a);
    margin-bottom: 15px;
}

.why-card p {
    font-family: var(--font-secondary, sans-serif);
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px 30px;
    background: var(--color-white);
}

.stars {
    color: #ffb400;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
}

.client-info h4 {
    color: var(--color-text-main);
    margin-bottom: 5px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--color-gold-start);
}

/* Media Query Updates */
@media (max-width: 768px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Sticky Contact Bar --- */
.sticky-contact-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px 0 0 15px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sticky-contact-bar.show {
    opacity: 1;
    pointer-events: auto;
}

.sticky-contact-bar .sticky-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--color-brand-accent);
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sticky-contact-bar .book-demo-icon {
    width: auto;
    border-radius: 20px;
    padding: 0 15px;
    background: var(--color-brand-accent);
    color: var(--color-dark-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
}

.sticky-contact-bar .book-demo-icon:hover {
    background: #FFB300;
    color: var(--color-dark-blue);
}

.sticky-contact-bar .whatsapp-icon {
    background: #25D366;
    color: white;
    font-size: 1.5rem;
}

.sticky-contact-bar .sticky-icon:hover {
    transform: translateX(-5px) scale(1.1);
    background: var(--color-brand-accent);
    color: white;
}

.sticky-contact-bar .whatsapp-icon:hover {
    background: #1ebd5a;
}

/* --- Footer Formatting --- */
.footer {
    background: var(--color-dark-blue);
    color: #f1f1f1;
    text-align: left;
    padding: clamp(35px, 5vw, 60px) 0 clamp(15px, 2.5vw, 25px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2.2fr 3.2fr 1.5fr;
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: clamp(20px, 3.5vw, 35px);
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
    text-align: left;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: clamp(16px, 2vw, 22px);
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
    text-align: left;
    width: 100%;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
    border-radius: 2px;
}

.footer-about-text {
    font-size: 0.85rem;
    line-height: 1.65;
    color: #94a3b8;
    font-family: var(--font-secondary);
    text-align: left;
}

.footer-gold-link {
    color: var(--color-gold-start);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-gold-link:hover {
    color: var(--color-gold-end);
    text-decoration: underline;
}

.footer-products-grid {
    column-count: 2;
    column-gap: 16px;
    font-size: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-products-grid li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.footer-services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
    line-height: 1.4;
    word-break: break-word;
}

.footer-col ul li a:hover {
    color: var(--color-gold-start);
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.footer-contact li i {
    color: var(--color-gold-start);
    font-size: 0.95rem;
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-text {
    flex: 1;
    min-width: 0;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-contact-text a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-text a:hover {
    color: var(--color-gold-start);
}

.footer-bottom {
    text-align: center;
    padding: 20px 16px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Footer Responsive Breakpoints */
@media (max-width: 1100px) and (min-width: 769px) {
    .footer-container {
        grid-template-columns: 1.3fr 1fr;
        gap: 32px 36px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .footer-col {
        text-align: left;
        align-items: flex-start;
    }

    .footer-col h4 {
        margin-bottom: 14px;
        text-align: left;
        width: 100%;
    }

    .footer-col h4::after {
        left: 0;
    }

    .footer-about-text {
        text-align: left;
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .footer-products-grid {
        column-count: 2;
        column-gap: 12px;
    }

    /* Sticky Bar on tablet/mobile */
    .sticky-contact-bar {
        transform: translateY(-50%) scale(0.85);
        transform-origin: right center;
        padding: 8px;
        gap: 8px;
    }
}

@media (max-width: 440px) {
    .footer-products-grid {
        column-count: 2;
        column-gap: 8px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }

    .sticky-contact-bar {
        transform: translateY(-50%) scale(0.78);
        padding: 5px;
    }
}

/* --- Toast Notifications (Global) --- */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999999;
    animation: slideIn 0.5s ease-out;
}

.toast-msg {
    background-color: #0f172a;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #e3c153;
    margin-bottom: 10px;
    font-weight: 600;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* --- Collaborators Marquee --- */
.marquee-container {
    overflow-x: auto;
    position: relative;
    width: 100%;
    padding: 30px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: grab;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.marquee-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.marquee-container:active {
    cursor: grabbing;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.marquee-content {
    display: flex;
    gap: 60px;
    width: max-content;
}

.collaborator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    background: transparent;
    transition: all 0.3s ease;
    min-width: 140px;
}

.collaborator-item:hover {
    color: var(--color-gold-start);
    transform: translateY(-5px);
}

.collaborator-item i {
    font-size: 2.5rem;
    color: var(--color-gold-start);
    margin-bottom: 5px;
}

/* --- Editorial News Layout --- */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* Tablet */
@media (min-width: 768px) {
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .editorial-grid {
        grid-template-columns: 450px 1fr;
        gap: 24px;
    }
}

/* Featured Post (Left Column) */
.featured-news {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .featured-news {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
    }
}

@media (min-width: 992px) {
    .featured-news {
        height: 420px;
        min-height: 420px;
        max-height: 420px;
    }
}

.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.featured-news-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news:hover .featured-news-img {
    transform: scale(1.03);
}

.featured-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.4) 50%, rgba(11, 15, 25, 0) 100%);
    z-index: 1;
}

.featured-news-content {
    position: relative;
    z-index: 2;
    padding: 20px 20px 5px 20px;
}

@media (min-width: 992px) {
    .featured-news-content {
        padding: 40px 40px 5px 40px;
    }
}

.featured-news-date {
    display: inline-block;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold-start);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
}

@media (min-width: 992px) {
    .featured-news-date {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
}

.featured-news-title {
    font-family: var(--font-primary, sans-serif);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

@media (min-width: 992px) {
    .featured-news-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
}

.featured-news-desc {
    font-family: var(--font-secondary, sans-serif);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 90%;
    transition: opacity 0.3s ease;
}

@media (min-width: 992px) {
    .featured-news-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
}

.featured-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (min-width: 992px) {
    .featured-news-link {
        font-size: 0.95rem;
        gap: 8px;
    }
}

.featured-news-link:hover {
    color: var(--color-gold-start);
}

.featured-news-link i {
    transition: transform 0.3s ease;
}

.featured-news-link:hover i {
    transform: translateX(5px);
}

/* Navigation Changing Arrows */
.featured-news-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.featured-news-arrow {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .featured-news-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

.featured-news-arrow:hover {
    background: var(--color-gold-start, #dfa938);
    border-color: var(--color-gold-start, #dfa938);
    color: #0f172a;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(223, 169, 56, 0.5);
}

.featured-news-arrow:active {
    transform: scale(0.95);
}

.featured-news-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.65);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    letter-spacing: 1px;
}

@media (min-width: 992px) {
    .featured-news-counter {
        top: 25px;
        right: 25px;
        font-size: 0.78rem;
        padding: 4px 12px;
    }
}

/* News List (Right Column) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    height: 100%;
}

@media (min-width: 992px) {
    .news-list {
        gap: 12px;
    }
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: #ffffff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 60px;
    height: auto;
    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
}

@media (min-width: 992px) {
    .news-list-item {
        gap: 14px;
        padding: 10px 12px;
        min-height: 65px;
    }
}

.news-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

.news-list-img {
    width: 60px;
    height: 55px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .news-list-img {
        width: 80px;
        height: 70px;
        border-radius: 8px;
    }
}

.news-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.news-list-date {
    font-family: var(--font-primary, sans-serif);
    font-size: 0.65rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .news-list-date {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }
}

.news-list-title {
    font-family: var(--font-primary, sans-serif);
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.35;
    margin-bottom: 0;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

@media (min-width: 992px) {
    .news-list-title {
        font-size: 0.88rem;
    }
}

.news-list-desc {
    font-family: var(--font-primary, sans-serif);
    font-size: 0.75rem;
    font-weight: 400;
    color: #333333;
    margin: 4px 0 0 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.news-list-desc strong {
    font-weight: 700;
    color: #0f172a;
}

.news-list-item:hover .news-list-title {
    color: var(--color-theme-primary);
}
/* Global Banner Title (Gold Gradient, Wide Spacing) */
.banner-title {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 4.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 15px;
    margin: 0;
    background: linear-gradient(135deg, #dfa938 0%, #f8df81 50%, #dfa938 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.title-separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #dfa938, #f8df81);
    margin: 20px auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }
}

/* ============================================
   HOME PAGE — COMPREHENSIVE MOBILE RESPONSIVE
   ============================================ */

/* --- Hero Section --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 0 6%;
        height: 100svh;
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Section Padding --- */
@media (max-width: 576px) {
    .section {
        padding: 50px 16px;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-title h2 {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
}

/* --- About Section --- */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        height: 260px;
        order: -1;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}

/* --- About Gallery Grid --- */
@media (max-width: 768px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item.main-img {
        grid-row: auto;
    }
}

/* --- Services Grid --- */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* --- Products Grid --- */
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 28px 16px;
    }
}

/* --- Why Us Grid --- */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 24px 16px;
    }

    .why-card h3 {
        font-size: 1.1rem;
    }

    .why-card p {
        font-size: 0.88rem;
    }
}

/* --- Testimonials Grid --- */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }
}

/* --- Career Section --- */
@media (max-width: 768px) {
    .career-simple-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .career-info h3 {
        font-size: 1.5rem;
    }

    .career-benefits {
        justify-content: center;
    }

    .wave-image-container {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }
}

/* --- Contact Wrapper --- */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- Collaborators / Logo Strips --- */
@media (max-width: 576px) {
    .collaborators-strip,
    .logo-strip {
        gap: 16px;
    }
}

/* --- Buttons --- */
@media (max-width: 480px) {
    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

/* --- Section Title on mobile --- */
@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
}

/* ============================================
   GLOBAL OVERFLOW SAFEGUARDS
   ============================================ */

/* Prevent any element from causing horizontal scroll */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Clamp all sections and containers */
.section,
.container,
.footer,
.navbar,
.hero-section {
    max-width: 100vw;
    box-sizing: border-box;
}

/* Coverflow gallery — fix fixed widths on mobile */
@media (max-width: 768px) {
    .coverflow-card {
        width: calc(100vw - 80px) !important;
        max-width: 260px !important;
    }

    /* Coverflow container height */
    [style*="height: 440px"] {
        height: 320px !important;
    }
}

@media (max-width: 480px) {
    .coverflow-card {
        width: calc(100vw - 60px) !important;
        max-width: 220px !important;
    }
}
