/* ============================================
   SUNEER HOLDINGS Ã¢â‚¬â€ Premium Theme Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --gold: #C49A6C;
    --gold-light: #D4B896;
    --gold-dark: #9A6F2E;
    --dark-bg: #0A0B0E;
    --dark-card: #13151A;
    --dark-card2: #181A20;
    --text-muted: #8B8E96;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* ---------- Global ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark-bg);
    color: #E5E6E8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

::selection {
    background: var(--gold);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 4px;
}

/* ---------- Navbar ---------- */
.nav-glass {
    background: rgba(10, 11, 14, 0.174);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-glass.scrolled {
    background: rgba(10, 11, 14, 0.107);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 154, 108, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-link-custom {
    position: relative;
    color: #cdd0d3 !important;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--gold) !important;
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
    overflow: auto;
}

.mobile-menu.open::-webkit-scrollbar {
    display: none;
}

.mobile-menu.open {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(196, 154, 108, 0.15);
    border-color: rgba(196, 154, 108, 0.3);
    transform: rotate(15deg);
}

.toggle-icon-light,
.toggle-icon-dark {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

/* Dark mode (default): show sun, hide moon */
.toggle-icon-light {
    color: var(--gold);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.toggle-icon-dark {
    color: var(--gold);
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light mode: show moon, hide sun */
body.light-mode .toggle-icon-light {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

body.light-mode .toggle-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ---------- Light Mode Overrides ---------- */
body.light-mode {
    --dark-bg: #F5F5F7;
    --dark-card: #FFFFFF;
    --dark-card2: #F0F1F3;
    --text-muted: #5A5E68;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    background: var(--dark-bg);
    color: #2D2F36;
}

/* Navbar */
body.light-mode .nav-glass {
    background: rgba(255, 255, 255, 0);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-glass.scrolled {
    background: rgba(255, 255, 255, 0.084);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-link-custom {
    color: #4A4D55 !important;
}

body.light-mode .nav-link-custom:hover,
body.light-mode .nav-link-custom.active {
    color: var(--gold-dark) !important;
}

/* Hamburger */
body.light-mode .hamburger span {
    background: #4A4D55;
}

/* Mobile Menu */
body.light-mode .mobile-menu {
    background: rgba(255, 255, 255, 0.96);
}

body.light-mode #menuOverlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Theme toggle in light mode */
body.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Hero section */
body.light-mode .hero-section {
    background:
        linear-gradient(180deg, rgba(245, 245, 247, 0.5) 0%, rgba(245, 245, 247, 0.7) 50%, rgba(245, 245, 247, 0.95) 100%),
        url('../img/logo/about-banner.avif');
    background-size: cover;
    background-position: center 60%;
}

body .hero-section {
    background:
        linear-gradient(180deg, rgba(10, 11, 14, 0.5) 0%, rgba(10, 11, 14, 0.7) 50%, rgba(10, 11, 14, 0.95) 100%),
        url('../img/logo/about-banner.avif');
    background-size: cover;
    background-position: center 60%;
}

body.light-mode .hero-particles {
    box-shadow: inset 0 0 200px 60px rgba(245, 245, 247, 0.5);
}

/* Text colors */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #1A1C22;
}

body.light-mode .text-white,
body.light-mode a {
    color: #1A1C22 !important;
}

body.light-mode .text-dark-300 {
    color: #4A4D55 !important;
}

body.light-mode .text-dark-400 {
    color: #27282b !important;
}

body.light-mode .text-dark-500 {
    color: #9CA3AF !important;
}

/* Stats section */
body.light-mode .stat-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* About section */
body.light-mode .section-alt {
    background: #EBEDF0;
}

body.light-mode .section-dark {
    background: var(--dark-bg);
}

/* Company cards */
body.light-mode .company-card-premium {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.light-mode .company-card-premium:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(196, 154, 108, 0.06);
}

body.light-mode .company-card-featured {
    background: linear-gradient(135deg, #FFFFFF, rgba(196, 154, 108, 0.04));
    border-color: rgba(196, 154, 108, 0.15);
}

/* Logo container Ã¢â‚¬â€ dark bg so white logos stay visible */
body.light-mode .logo-container {
    background: #1A1C22;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Navbar logo Ã¢â‚¬â€ invert for light backgrounds */
body.light-mode nav img[alt="Suneer Holdings"] {
    filter: brightness(0) saturate(100%) invert(10%) sepia(5%) saturate(500%) hue-rotate(200deg);
}

/* Hero logo Ã¢â‚¬â€ make it darker in light mode */
body.light-mode .hero-section img[alt="Suneer Holdings"] {
    filter: brightness(0) saturate(100%) invert(10%) sepia(5%) saturate(500%) hue-rotate(200deg);
    opacity: 0.85;
}

/* About section emblem Ã¢â‚¬â€ keep it visible on the background image */
body.light-mode img[alt="Suneer Holdings Emblem"] {
    mix-blend-mode: normal;
    filter: brightness(0) saturate(100%) invert(10%) sepia(5%) saturate(500%) hue-rotate(200deg);
    opacity: 0.6;
}

/* Footer logo Ã¢â‚¬â€ invert for light bg */
body.light-mode .footer-section img[alt="Suneer Holdings"] {
    filter: brightness(0) saturate(100%) invert(10%) sepia(5%) saturate(500%) hue-rotate(200deg);
}

/* Social buttons */
body.light-mode .social-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #6B7280;
}

body.light-mode .social-btn:hover {
    background: rgba(196, 154, 108, 0.1);
    border-color: rgba(196, 154, 108, 0.3);
    color: var(--gold-dark);
}

/* Filter buttons */
body.light-mode .filter-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #6B7280;
}

body.light-mode .filter-btn:hover {
    background: rgba(196, 154, 108, 0.08);
    color: #4A4D55;
}

body.light-mode .filter-btn.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-color: var(--gold);
    color: #fff;
}

/* Marquee gradients */
body.light-mode .marquee-wrapper::before {
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

body.light-mode .marquee-wrapper::after {
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

body.light-mode .section-alt .marquee-wrapper::before {
    background: linear-gradient(to right, #EBEDF0, transparent);
}

body.light-mode .section-alt .marquee-wrapper::after {
    background: linear-gradient(to left, #EBEDF0, transparent);
}

/* Contact section */
body.light-mode .contact-section {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

body.light-mode .contact-info-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .contact-form-card {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .form-input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1A1C22;
}

body.light-mode .form-input::placeholder {
    color: #9CA3AF;
}

body.light-mode .form-input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--gold);
}

.contact-section {
    background-attachment: fixed !important;

}

body.light-mode .contact-detail-icon {
    background: rgba(196, 154, 108, 0.08);
    border-color: rgba(196, 154, 108, 0.15);
}

body.light-mode .contact-detail-content h5 {
    color: #1A1C22;
}

/* Footer */
body.light-mode .footer-section {
    background: linear-gradient(180deg, #EBEDF0 0%, #E0E2E6 100%);
    border-top-color: rgba(0, 0, 0, 0.06);
}

/* Back to top */
body.light-mode .back-to-top {
    box-shadow: 0 8px 30px rgba(196, 154, 108, 0.2);
}

/* Stats bg */
body.light-mode .bg-dark-800 {
    background: #b98f5d9e !important;
}

/* About floating card */
body.light-mode [style*="background: linear-gradient(135deg, rgba(10,11,14"] {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Scroll indicator */
body.light-mode .border-gold-500\/30 {
    border-color: rgba(196, 154, 108, 0.4);
}

/* ---------- Hero ---------- */
.hero-section {
    background:
        linear-gradient(180deg, rgba(10, 11, 14, 0.6) 0%, rgba(10, 11, 14, 0.75) 50%, rgba(10, 11, 14, 0.95) 100%),
        url('../img/logo/banner.avif');
    background-size: cover;
    background-position: center 30%;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Animated gradient orbs */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: heroOrb1 12s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: heroOrb2 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroOrb1 {

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

    33% {
        transform: translate(80px, 40px) scale(1.1);
    }

    66% {
        transform: translate(-40px, 60px) scale(0.95);
    }
}

@keyframes heroOrb2 {

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

    33% {
        transform: translate(-60px, -30px) scale(1.15);
    }

    66% {
        transform: translate(50px, -50px) scale(0.9);
    }
}

/* Cinematic vignette overlay */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    box-shadow: inset 0 0 200px 60px rgba(10, 11, 14, 0.6);
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px 1px rgba(196, 154, 108, 0.4);
    animation: particleFade 4s ease-in-out infinite;
}

@keyframes particleFade {

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

    50% {
        opacity: 0.7;
        transform: translateY(-80px) scale(1.2);
    }
}

/* ---------- Stats ---------- */
.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(196, 154, 108, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 154, 108, 0.08);
}

/* ---------- Section Styling ---------- */
.section-dark {
    background: var(--dark-bg);
}

.section-alt {
    background: var(--dark-card);
}

.section-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* ---------- Category Icon ---------- */
.category-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(196, 154, 108, 0.15), rgba(196, 154, 108, 0.05));
    border: 1px solid rgba(196, 154, 108, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-icon-wrapper i {
    color: var(--gold);
    font-size: 1.25rem;
}

/* ---------- Company Cards ---------- */
.company-card-premium {
    background: var(--dark-card2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.company-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.company-card-premium:hover {
    border-color: rgba(196, 154, 108, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(196, 154, 108, 0.05);
}

.company-card-premium:hover::before {
    opacity: 1;
}

/* Featured card Ã¢â‚¬â€ wider layout */
.company-card-featured {
    background: linear-gradient(135deg, var(--dark-card2), rgba(196, 154, 108, 0.03));
    border: 1px solid rgba(196, 154, 108, 0.12);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.company-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
}

.company-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 50px rgba(196, 154, 108, 0.08);
}

/* Logo wrappers */
.logo-container {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-container img {
    max-width: 76px;
    max-height: 76px;
    object-fit: contain;
}

/* Company name link */
.company-name-link {
    color: #E5E6E8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-name-link:hover {
    color: var(--gold);
}

/* Contact items */
.contact-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.825rem;
    line-height: 1.5;
}

.contact-item-modern i {
    color: var(--gold);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item-modern a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-modern a:hover {
    color: var(--gold-light);
}

/* Social links */
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(196, 154, 108, 0.15);
    border-color: rgba(196, 154, 108, 0.3);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer-section {
    background: linear-gradient(180deg, var(--dark-card) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--glass-border);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(196, 154, 108, 0.25);
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 154, 108, 0.4);
}

/* ---------- Hamburger ---------- */
.hamburger {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #cdd0d3;
    border-radius: 2px;
    transition: all 0.35s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--gold);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--gold);
}

/* ---------- Glow Effects ---------- */
.glow-gold {
    box-shadow: 0 0 30px rgba(196, 154, 108, 0.12);
}

.gradient-text {
    background: linear-gradient(135deg, #8e785d, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {

    .company-card-premium,
    .company-card-featured {
        padding: 1.5rem;
    }

    .logo-container {
        width: 64px;
        height: 64px;
    }

    .logo-container img {
        max-width: 48px;
        max-height: 48px;
    }
}

/* ---------- Utility Animations ---------- */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ---------- Filter Buttons ---------- */
.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #8B8E96;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    background: rgba(196, 154, 108, 0.1);
    border-color: rgba(196, 154, 108, 0.3);
    color: #E5E6E8;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 4px 15px rgba(196, 154, 108, 0.3);
}

/* Dynamic Filter Grid Layout */
.marquee-wrapper.is-filtered {
    padding: 0;
}

.marquee-wrapper.is-filtered::before,
.marquee-wrapper.is-filtered::after {
    display: none;
}

.marquee-wrapper.is-filtered .marquee-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    animation: none !important;
    transform: none !important;
}

/* ---------- Companies Slider (Swiper Custom) ---------- */
.companies-slider-container {
    padding-bottom: 3rem;
}

.companies-swiper {
    padding: 20px 0 60px;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-pagination-bullet {
    background: rgba(196, 154, 108, 0.3);
    width: 10px;
    height: 10px;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    width: 24px;
    border-radius: 10px;
}

.swiper-pagination {
    bottom: 0 !important;
}

/* Ensure all company cards are vertical flex containers */
.company-card-premium,
.company-card-featured {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure a minimum height for visual consistency */
}

@media(min-width: 992px) {

    .company-card-premium,
    .company-card-featured {

        min-height: 490px;
        /* Ensure a minimum height for visual consistency */
    }

}

.company-card-featured .flex-col {
    flex-direction: column;
}

.company-card-featured .md\:flex-row {
    flex-direction: column !important;
    /* Force vertical layout */
}

.company-card-featured .logo-container {
    margin-bottom: 1rem;
}

.company-card-premium .flex-1,
.company-card-featured .flex-1 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.company-card-premium .flex-wrap,
.company-card-featured .flex-wrap {
    margin-top: auto;
    /* Push social links to bottom */
}


/* ---------- Contact Section ---------- */
.contact-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(rgba(10, 11, 14, 0.9), rgba(10, 11, 14, 0.9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.contact-info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    height: 100%;
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    border-color: rgba(196, 154, 108, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.825rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 108, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 154, 108, 0.4);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.btn-submit:active {
    transform: translateY(0);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(196, 154, 108, 0.1);
    border: 1px solid rgba(196, 154, 108, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-detail-content h5 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-detail-content p,
.contact-detail-content a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-content a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {

    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }

    /* Prevent horizontal scrolling globally */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Constrain hero animated orbs on mobile */
    .hero-section::before {
        width: 300px;
        height: 300px;
        top: -10%;
        left: -15%;
    }

    .hero-section::after {
        width: 250px;
        height: 250px;
        bottom: -10%;
        right: -15%;
    }

    /* Reduce hero padding */
    .hero-section {
        background-attachment: scroll;
    }

    /* Fix about section floating card overlap */
    .animate-float {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 1.5rem;
    }

    /* Constrain contact item text to prevent overflow */
    .contact-item-modern span,
    .contact-item-modern a {
        word-break: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }



    /* Contact section reduce padding and fix BG */
    .contact-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }

    /* Ensure the filtered grid doesn't overflow */
    #filtered-grid {
        grid-template-columns: 1fr !important;
    }

    #filtered-grid .company-card-premium {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Fix contact detail items on mobile */
    .contact-detail-item {
        gap: 1rem;
    }

    .contact-detail-content a {
        word-break: break-all;
    }

    /* Reduce about section decorative elements */
    .section-alt .absolute {
        display: none;
    }
}

#themeToggleMobile {
    margin-left: auto;
    margin-right: 20px;
}

.contact-button {
    border-radius: 0px !important;
}

/* ---------- Contact Form 7 Styles ---------- */
.wpcf7 form .wpcf7-response-output {
    margin: 1.5rem 0 0 0;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border-color: rgba(34, 197, 94, 0.2);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.2);
}

body.light-mode .wpcf7 form.invalid .wpcf7-response-output,
body.light-mode .wpcf7 form.unaccepted .wpcf7-response-output,
body.light-mode .wpcf7 form.payment-required .wpcf7-response-output,
body.light-mode .wpcf7 form.failed .wpcf7-response-output,
body.light-mode .wpcf7 form.aborted .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.05);
}

body.light-mode .wpcf7 form.sent .wpcf7-response-output {
    background: rgba(34, 197, 94, 0.05);
}

.max-w-7xl {
    max-width: 90rem !important;
}

.max-w-9xl {
    max-width: 110rem !important;
}

@media (max-width: 768px) {
    .company-card-premium.company-item {
        min-height: 470px;
    }
}

.nav-link-custom {
    text-transform: uppercase;
}

body.light-mode .dark-colo {
    color: #4A4D55 !important;
}

/* ---------- Careers Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-content {
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;

    background: rgba(17, 19, 23, 0.95);
    border: 1px solid rgba(196, 154, 108, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}


@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgb(165 125 69);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--gold);
    color: #fff;
    transform: rotate(90deg);
}

.form-input-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    color: #fff;
    font-size: 0.935rem;
    transition: all 0.3s ease;
}

.form-input-premium:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 108, 0.1);
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(196, 154, 108, 0.08);
    border: 2px dashed rgba(196, 154, 108, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
}

.file-upload-label:hover {
    background: rgba(196, 154, 108, 0.12);
    border-color: var(--gold);
}

body.light-mode .modal-content {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .modal-header h2 {
    color: #111;
}

body.light-mode .modal-header p {
    color: #666;
}

body.light-mode .form-label {
    color: #444 !important;
}

body.light-mode .form-input-premium {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #333;
}

body.light-mode .form-input-premium:focus {
    background: #fff;
}

/* Style CF7 controls in modal */
#careersFormWrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.25rem;
}

#careersFormWrapper p {
    margin: 0;
    padding: 0;
}

#careersFormWrapper br {
    display: none;
}

#careersFormWrapper label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

#careersFormWrapper .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    color: #fff;
    font-size: 0.935rem;
    transition: all 0.3s ease;
}

#careersFormWrapper .wpcf7-form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(196, 154, 108, 0.1);
}

/* Custom File Upload Styling for CF7 */
#careersFormWrapper .wpcf7-file {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
    background: rgba(196, 154, 108, 0.05) !important;
    border: 1px dashed rgba(196, 154, 108, 0.2) !important;
    color: var(--gold) !important;
}

#careersFormWrapper .wpcf7-file::-webkit-file-upload-button {
    background: var(--gold);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#careersFormWrapper .wpcf7-file::-webkit-file-upload-button:hover {
    background: var(--gold-dark);
}

#careersFormWrapper .wpcf7-submit {
    width: 100% !important;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark)) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 1.5rem !important;
}

#careersFormWrapper .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(196, 154, 108, 0.2);
    filter: brightness(1.1);
}

#careersFormWrapper .wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
}

/* Success Message */
#careersFormWrapper .wpcf7-form.sent .wpcf7-response-output {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #4ade80 !important;
    border-color: rgba(74, 222, 128, 0.2) !important;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

/* Error Message */
#careersFormWrapper .wpcf7-form.invalid .wpcf7-response-output,
#careersFormWrapper .wpcf7-form.failed .wpcf7-response-output,
#careersFormWrapper .wpcf7-form.spam .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #f87171 !important;
    border-color: rgba(248, 113, 113, 0.2) !important;
}

body.light-mode #careersFormWrapper .wpcf7-form.sent .wpcf7-response-output {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #10b981 !important;
}

body.light-mode #careersFormWrapper .wpcf7-form.invalid .wpcf7-response-output {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #f87171 !important;
}

body.light-mode #careersFormWrapper .wpcf7-form-control:not(.wpcf7-submit) {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #333;
}

body.light-mode #careersFormWrapper label {
    color: #444;
}

body.light-mode #careersFormWrapper .wpcf7-form-control:focus {
    background: #fff;
}

body.light-mode #careersFormWrapper .wpcf7-file {
    background: #f0f0f0 !important;
}
.swiper {
    padding-top: 20px !important;
}