/* Global Styles */
:root {
    --primary: #e5252a;
    --dark: #000000;
    --light: #ffffff;
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.site-header {
    background: transparent;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(243, 244, 246, 0.85);
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.75rem;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link[aria-expanded="true"]::after {
    width: 100%;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background: rgba(229, 37, 42, 0.8);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-more::after {
    content: '›';
    font-size: 1.1rem;
}

.link-more:hover {
    color: rgba(229, 37, 42, 0.8);
}

.mobile-link {
    display: block;
    font-size: 1rem;
    color: rgba(243, 244, 246, 0.85);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary);
}

.mega-menu-wrapper {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mega-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.submenu-link {
    display: block;
    font-size: 0.95rem;
    color: rgba(243, 244, 246, 0.8);
    transition: color 0.3s ease;
}

.submenu-link:hover {
    color: var(--primary);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.slider-control {
    height: 3rem;
    width: 3rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slider-control:hover {
    background: var(--primary);
}

.slider-dots button {
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: background 0.3s ease;
}

.slider-dots button.active {
    background: var(--primary);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.section-description {
    margin: 1rem auto 0;
    color: rgba(209, 213, 219, 0.8);
    max-width: 48rem;
}

.card,
.service-card,
.solution-card,
.insight-card,
.news-card,
.feature-panel,
.stat-card,
.lead-card,
.approach-step {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, border 0.3s ease;
}

.card:hover,
.service-card:hover,
.insight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 37, 42, 0.5);
}

.card-title,
.service-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-text,
.service-text {
    color: rgba(209, 213, 219, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-panel,
.stat-card {
    background: #111111;
}

.lead-card {
    overflow: hidden;
    padding: 0;
}

.lead-photo {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.lead-card .p-6 {
    padding: 1.5rem;
}

.approach-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.approach-step .step-index {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.service-icon {
    height: 3rem;
    width: 3rem;
    border-radius: 9999px;
    background: rgba(229, 37, 42, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.solution-list {
    list-style: disc;
    padding-left: 1rem;
    color: rgba(209, 213, 219, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.solution-highlight {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
}

.insight-card {
    overflow: hidden;
}

.insight-image {
    width: 100%;
    height: 13rem;
    object-fit: cover;
}

.news-card {
    background: #111111;
}

.contact-icon {
    font-size: 1.3rem;
}

.form-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.5rem;
}

.form-input,
.form-input:focus,
.form-input:active,
form select,
form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.6);
    color: var(--light);
    outline: none;
    transition: border 0.3s ease;
}

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

.social-link {
    color: rgba(209, 213, 219, 0.7);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

.footer-title {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(209, 213, 219, 0.8);
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(209, 213, 219, 0.85);
    transition: color 0.3s ease;
}

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

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeInUp 1.2s ease forwards;
}

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

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .mega-menu-wrapper {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 80vh;
    }
}
/* Mobile Menu Fixes */
#mobile-menu {
    z-index: 9999;
}

#mobile-menu-close {
    position: relative;
    z-index: 10000;
    cursor: pointer;
    padding: 0.5rem;
    margin: -0.5rem;
}

#mobile-menu-close:active {
    transform: scale(0.95);
}

/* Fix logo size in mobile menu */
#mobile-menu .h-10 {
    height: 2.5rem !important;
}

/* Ensure proper spacing in mobile header */
@media (max-width: 768px) {
    .site-header .h-12 {
        height: 2.5rem;
    }
}
/* Mobile Menu Dropdown Styles */
.mobile-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-toggle {
    background: transparent;
    transition: background 0.3s ease;
    border-radius: 8px;
    font-size: 1rem;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-toggle:active {
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.dropdown-icon.rotate-180 {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 0.5rem 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-dropdown-content.hidden {
    display: none;
}

.mobile-dropdown-content .mobile-link {
    padding: 0.75rem 2rem;
    display: block;
    font-size: 0.95rem;
    color: rgba(243, 244, 246, 0.85);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-content .mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
}

/* Smooth scrolling for mobile menu */
#mobile-menu > div {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

#mobile-menu > div::-webkit-scrollbar {
    width: 6px;
}

#mobile-menu > div::-webkit-scrollbar-track {
    background: transparent;
}

#mobile-menu > div::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
/* Enhanced Logo Sizes - Add this at the end of style.css */
/* Desktop Logo */
.site-header img[alt*="logo"] {
    height: 4.5rem !important; /* Much bigger - 88px */
    width: auto;
    transition: height 0.3s ease;
}
/* Logo when scrolled */
/* Logo when scrolled */
.site-header.scrolled img[alt*="logo"] {
    height: 4.5rem !important; /* 72px when scrolled */
}
/* Mobile Logo in Header */
@media (max-width: 1024px) {
    .site-header img[alt*="logo"] {
        height: 4rem !important; /* 64px for tablet/mobile */
    }
    
    .site-header.scrolled img[alt*="logo"] {
        height: 3.5rem !important;
    }
}

/* Mobile Menu Logo - Make it bigger */
#mobile-menu img[alt*="logo"] {
    height: 4.5rem !important; /* 72px in mobile menu */
}

/* Footer Logo - Also make it bigger */
/* Footer Logo - Much bigger */
footer img[alt*="logo"] {
    height: 6rem !important; /* 96px in footer */
}


/* Adjust text next to logo */
.site-header .text-xl {
    font-size: 1.75rem !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .site-header .text-xl {
        font-size: 1.35rem !important;
    }
}
/* Adjust header height for much bigger logo */
.site-header > div > div {
    min-height: 7rem !important; /* Increased for bigger logo */
    height: auto;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.site-header.scrolled > div > div {
    min-height: 5.5rem !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
/* Ensure proper alignment */
.site-header a.flex {
    align-items: center;
}

/* Adjust mega menu position for bigger header */
.mega-menu {
    top: 7.5rem !important; /* Adjust based on new header height */
}
.site-header.scrolled .mega-menu {
    top: 6rem !important;
}
/* Make sure the footer logo class applies */
.h-14 {
    height: 6rem !important; /* Override Tailwind class in footer */
}