/* =========================================
   1. Variables & Global Reset
   ========================================= */
:root {
    --primary-dark: #0a3b65;  /* Deep Corporate Blue */
    --primary-light: #4672b4; /* Steel Blue */
    --accent-gray: #f4f4f4;
    --text-dark: #333333;
    --text-light: #555555;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. Typography & Utilities
   ========================================= */
h1, h2, h3, h4 {
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--primary-dark);
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-light);
    margin: 10px auto 30px;
}

.divider-left {
    height: 3px;
    width: 60px;
    background-color: var(--primary-light);
    margin: 10px 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.bg-light { background-color: var(--accent-gray); }
.bg-dark { background-color: var(--primary-dark); color: var(--white); }

/* =========================================
   3. Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-light);
    color: var(--white);
    border: 2px solid var(--primary-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--white);
}

a.nav-link.btn-contact {
    background-color: var(--primary-dark); /* Dark Blue */
    color: var(--white) !important;       /* FORCE White Text */
    padding: 10px 25px;
    border-radius: 4px;
    border: 2px solid var(--primary-dark); /* Maintain box model */
    transition: var(--transition);
}

a.nav-link.btn-contact:hover {
    background-color: var(--primary-light); /* Steel Blue on hover */
    border-color: var(--primary-light);
    color: var(--white) !important;
    transform: translateY(-2px); /* Subtle lift effect */
    box-shadow: 0 4px 10px rgba(70, 114, 180, 0.3); /* Glow effect */
}

/* =========================================
   4. Navigation Bar
   ========================================= */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-highlight { color: var(--primary-light); }

.nav-menu { display: flex; align-items: center; }

.nav-item { position: relative; margin-left: 25px; }

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 10px 0;
}

.nav-link:hover, .nav-link.active { color: var(--primary-light); }
.nav-link i { font-size: 0.8rem; margin-left: 5px; }

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 220px;
    display: none;
    border-top: 3px solid var(--primary-light);
    z-index: 1100;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-link {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-link:hover {
    background-color: var(--accent-gray);
    color: var(--primary-light);
    padding-left: 25px;
}

/* Mobile Toggle */
.menu-toggle { display: none; cursor: pointer; }

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* =========================================
   5. Hero Sections (Slider & Static)
   ========================================= */
.hero-slider, .hero-static {
    height: 600px; 
    position: relative; /* CRITICAL */
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--primary-dark);
}

/* Static Hero Specifics */
.hero-static {
    background-size: cover;
    background-position: center;
    justify-content: center;
    text-align: center;
}

.hero-static .hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-static h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.hero-static p { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 30px; }

/* Slider Specifics */
.slide {
    position: absolute; /* CRITICAL */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 0;
}

.slide.active { opacity: 1; z-index: 1; }

.slide .hero-content {
    z-index: 2;
    transform: translateY(20px);
    transition: transform 1s ease-out;
    opacity: 0;
    max-width: 800px;
}

.slide.active .hero-content { transform: translateY(0); opacity: 1; }
.slide h1 { color: var(--white); font-size: 3rem; font-weight: 700; }
.slide p { font-size: 1.3rem; color: #f0f0f0; margin-bottom: 30px; }

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    transform: translateY(-50%);
}

.prev-slide, .next-slide {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover { background-color: var(--primary-light); }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active { background-color: var(--primary-light); transform: scale(1.2); }


/* =========================================
   6. Internal Page Header (Solutions/About)
   ========================================= */
.page-header {
    height: 400px;
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax */
    margin-bottom: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 59, 101, 0.85);
    z-index: 1;
}

.page-header .container { z-index: 2; max-width: 800px; }
.page-header h1 { color: var(--white); font-size: 3rem; margin-bottom: 15px; font-weight: 700; }
.page-header p { color: #e0e0e0; font-size: 1.3rem; font-weight: 300; }

/* =========================================
   7. General Layout Components
   ========================================= */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.card:hover { transform: translateY(-5px); border-bottom: 3px solid var(--primary-light); }
.icon-box { font-size: 2.5rem; color: var(--primary-light); margin-bottom: 20px; }
.read-more { color: var(--primary-light); font-weight: 700; font-size: 0.9rem; margin-top: 15px; display: inline-block; }
.highlight-card { border: 1px solid var(--primary-light); }

/* Industries Split Layout */
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.col-half { flex: 1; min-width: 300px; }

.industry-list { margin-top: 20px; }
.industry-list li { margin-bottom: 15px; font-size: 1.05rem; }
.industry-list i { color: var(--primary-light); margin-right: 10px; }

.fake-img {
    background-color: #ddd;
    height: 400px;
    border-radius: 5px;
    background-image: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

/* =========================================
   8. Solutions Page: Vertical Tabs
   ========================================= */
.tabs-container {
    display: flex;
    gap: 40px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    min-height: 500px;
}

.tab-buttons {
    flex: 1;
    min-width: 280px;
    max-width: 300px;
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
    padding: 30px 0;
}

.tab-btn {
    display: block;
    width: 100%;
    padding: 20px 30px;
    text-align: left;
    background: none;
    border: none;
    border-left: 4px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.tab-btn i { width: 30px; color: #ccc; transition: var(--transition); }
.tab-btn:hover { background-color: #e9ecef; color: var(--primary-dark); }
.tab-btn:hover i { color: var(--primary-light); }

.tab-btn.active {
    background-color: var(--white);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.tab-btn.active i { color: var(--primary-dark); }

.tab-content-wrapper { flex: 3; padding: 20px 0; }

.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }

.tab-content h2 { color: var(--primary-dark); margin-bottom: 10px; }

/* Subheaders within tab content */
.tab-content h3 {
    color: var(--primary-dark);
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tab-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.content-list { margin-top: 20px; }
.content-list li { margin-bottom: 15px; position: relative; padding-left: 10px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   9. Executive & Component Styles
   ========================================= */
.quote-box {
    background-color: var(--primary-dark);
    padding: 40px;
    border-radius: 4px;
    color: var(--white);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quote-box i { font-size: 2rem; color: var(--primary-light); margin-bottom: 20px; }
.quote-box p { color: var(--white); font-style: italic; font-size: 1.1rem; margin-bottom: 20px; }
.quote-box span { color: var(--primary-light); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }

.small-quote {
    padding: 20px;
    border-left: 4px solid var(--primary-light);
    background: #f9f9f9;
    box-shadow: none;
    color: var(--text-dark);
}
.small-quote p { color: var(--text-dark); margin: 0; }

/* Timeline / Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-item {
    background: var(--white);
    padding: 30px 20px;
    border: 1px solid #eee;
    transition: var(--transition);
    position: relative;
}

.process-item:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(70, 114, 180, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

/* =========================================
   10. Footer
   ========================================= */
footer {
    background-color: #052038;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { color: var(--white); margin-bottom: 20px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-light); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* =========================================
   11. Media Queries (Mobile)
   ========================================= */
@media screen and (max-width: 900px) {
    /* Responsive Tabs */
    .tabs-container { flex-direction: column; }
    .tab-buttons {
        max-width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .tab-btn {
        min-width: 200px;
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px;
        font-size: 0.9rem;
    }
    .tab-btn.active {
        border-left: none;
        border-bottom: 4px solid var(--primary-light);
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 20px 0; }
    
    /* Mobile Dropdowns */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
        display: none;
        background-color: #f9f9f9;
        border-top: none;
    }
    .dropdown.active .dropdown-menu { display: block; }

    /* Slider Mobile */
    .slider-controls { display: none; }
    .hero-slider, .hero-static { height: 500px; }
    .hero-content h1, .slide h1 { font-size: 2rem; }
}

/* --- About Page Specifics --- */

/* Leadership Grid */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.leader-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.leader-card:hover {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.leader-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.leader-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.leader-card span {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.leader-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Stats Section (Bottom Bar) */
.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item h3 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--primary-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}


/* --- Industries Page --- */

/* Sticky Sub-Navigation */
.sticky-subnav {
    position: sticky;
    top: 80px; /* Sits right below the main navbar (80px height) */
    background-color: var(--white);
    border-bottom: 1px solid #ddd;
    z-index: 900; /* Below Navbar (1000) but above content */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.subnav-container {
    display: flex;
    justify-content: center;
    overflow-x: auto; /* Scroll on mobile */
    white-space: nowrap;
}

.subnav-link {
    padding: 20px 25px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.subnav-link:hover, .subnav-link.active {
    color: var(--primary-dark);
    border-bottom: 3px solid var(--primary-light);
    background-color: #f9f9f9;
}

/* Industry Sections */
.industry-section {
    padding: 100px 0;
    overflow: hidden; /* For image overflow */
}

.industry-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.industry-row.reverse {
    flex-direction: row-reverse;
}

/* Content Side */
.industry-content {
    flex: 1;
}

.industry-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #fff;
}

.tag-blue { background-color: var(--primary-light); }
.tag-dark { background-color: var(--primary-dark); }
.tag-green { background-color: #27ae60; }
.tag-orange { background-color: #e67e22; }
.tag-gray { background-color: #7f8c8d; }

.industry-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Role Grid (The icons listing) */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.role-item {
    background: var(--white);
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.role-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-light);
}

.role-item i {
    color: var(--primary-light);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Image Side */
.industry-image {
    flex: 1;
    position: relative;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-section:hover .industry-image img {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Responsive */
@media screen and (max-width: 900px) {
    .industry-row, .industry-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .industry-image {
        width: 100%;
        height: 300px;
    }
    
    .sticky-subnav {
        top: 80px; /* Ensure it stays put */
    }
}

/* --- Contact Page --- */

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(70, 114, 180, 0.1);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form-card {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-light);
}

.contact-form-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(70, 114, 180, 0.1);
}

/* Location Cards */
.location-card {
    text-align: center;
    border-bottom: 3px solid transparent;
}

.location-card:hover {
    border-bottom: 3px solid var(--primary-light);
}

.location-card i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.location-card h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.location-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Mobile Responsive */
@media screen and (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-form-card {
        width: 100%;
    }
}

/* --- FAQ Page --- */

.faq-switcher {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.faq-btn {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
}

.faq-btn:hover, .faq-btn.active {
    background: var(--primary-light);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(70, 114, 180, 0.3);
}

.faq-group {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.faq-group.active {
    display: block;
}

.faq-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden; /* Important for accordion animation */
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
}


/* --- Support Pages (Careers, News, Privacy) --- */

/* Careers: Job List */
.job-list {
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-light);
}

.job-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.job-meta {
    display: inline-block;
    margin-right: 20px;
    font-size: 0.9rem;
    color: #777;
}

.job-meta i {
    color: var(--primary-light);
    margin-right: 5px;
}

/* News: List Items */
.news-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.news-date {
    min-width: 120px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding-top: 5px; /* Align with title */
}

.news-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.news-content p {
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 10px;
    }
}


/* --- Improved Case Grid (Less Squished) --- */

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider minimum */
    gap: 40px; /* Increased gap from 30px */
}

.case-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px; /* Softer corners */
    transition: var(--transition);
    opacity: 1;
    transform: scale(1);
    display: flex; /* Flex to stretch height */
    flex-direction: column;
    height: 100%; /* Ensures equal height in row */
}

.case-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Deeper shadow */
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.case-card.hidden {
    display: none;
}

.case-body {
    padding: 40px; /* Increased padding from 30px */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-label {
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.case-body h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.3;
    min-height: 3.9rem; /* Forces titles to align even if 1 or 2 lines */
}

.case-body p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.7; /* More breathing room for text */
    color: #666;
}

/* Push the button to the bottom */
.read-more-btn {
    display: inline-block;
    margin-top: auto; /* This pushes the button to the bottom of the card */
    padding-top: 20px;
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    align-self: flex-start;
}

.read-more-btn:hover {
    color: var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
}