:root {
    --primary-color: #0a192f;
    /* Navy Blue */
    --secondary-color: #112240;
    /* Darker Navy */
    --accent-color: #53a5c4;
    /* Soft Steel Blue - Professional & Calm */
    --text-color: #8892b0;
    /* Slate Grey */
    --heading-color: #ccd6f6;
    /* Light Grey/White */
    --bg-color: #ffffff;
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* =========================================
   NEW SERVICES / ACCORDION STYLES (Merged)
   ========================================= */

/* Override Services Section for Dice 5 / 2-2-1 Grid */
/* Services Grid moved to main section below */

/* New Accordion Card Style */
.accordion-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

/* Ensure images fit well in grid cards */
.accordion-header {
    display: flex;
    /* Re-enable flex for spacing */
    flex-direction: column;
    /* Stack image and text for grid view */
    align-items: center;
    text-align: center;
    padding: 30px;
    /* Normal padding, layout handles the rest */
    cursor: pointer;
    background-color: var(--white);
    position: relative;
    user-select: none;
    height: 100%;
    justify-content: space-between;
    /* Push icon to bottom */
}

.accordion-img {
    width: 120px;
    /* Larger image for grid */
    height: 120px;
    border-radius: 50%;
    /* Circular images look friendly/scandi */
    overflow: hidden;
    margin-right: 0;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #f8fafd;
    padding: 15px;
    /* Padding for the icon feel */
}

.accordion-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure flat illustration isn't cropped */
}

.accordion-title-area {
    flex-grow: 0;
}

.accordion-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
    /* Ensure long words break */
    hyphens: auto;
    /* Enable hyphenation */
}

.accordion-desc {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Icon in normal flow now, at bottom right or centered */
.accordion-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f4f8;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 300;
    transition: var(--transition);

    /* Flex alignment */
    align-self: flex-end;
    /* Push to right */
    margin-top: 20px;
    /* Ensure space from text */
}

/* On hover, keep it there */
.accordion-card:hover .accordion-icon {
    background-color: var(--primary-color);
    color: white;
}

.accordion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* THE 2-2-1 LAYOUT LOGIC */
/* Laptop/Desktop: 2 columns */
/* Items 1,2 on Row 1 */
/* Items 3,4 on Row 2 */
/* Item 5 (Tech) on Row 3 - Full Width */

.accordion-card:nth-child(5),
#cat-tech {
    grid-column: 1 / -1 !important;
    /* Force span full width */
    width: 100%;
    margin: 0;
}

/* EXPANDED STATE LOGIC */
.accordion-card.active {
    grid-column: 1 / -1;
    /* Take full row */
    width: 100%;
    /* Reset width if it was item 3 */
    margin: 0;
    /* Reset margin */
    /* order: -1; Removed to prevent layout jumping */
    /* Optional: Move to top? No, keep position but expand */
    border-color: var(--accent-color);
}

/* Expanded state: flex row layout */
.accordion-card.active .accordion-header {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    height: auto;
    justify-content: space-between;
    /* Icon to right, content left */
    align-items: flex-start;
}

.accordion-card.active .accordion-img {
    width: 80px;
    height: 80px;
    margin-right: 25px;
    margin-bottom: 0;
    padding: 5px;
}

.accordion-card.active .accordion-icon {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: var(--white);
    margin-left: auto;
    /* Push to right in row layout */
    margin-top: 0;
    align-self: center;
    /* Center vertically in row */
}

/* Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.accordion-card.active .accordion-content {
    max-height: 3000px;
    /* Increased to prevent cut-off on mobile */
}

.product-list {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns for products within expanded card */
    gap: 20px;
    list-style: none;
    /* remove bullets */
    max-height: 600px;
    /* Fixed height for scrollable area */
    overflow-y: auto;
    /* Enable vertical scrollbar */
    padding-right: 15px;
    /* Prevent scrollbar covering content */
}

.product-item {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    transition: var(--transition);
    margin-bottom: 0;
}

.product-item:hover {
    border-color: #ccd6f6;
    background-color: #f8fafd;
}

.product-title {
    font-weight: 600;
    color: #0a192f;
}

/* Product Header & Icon */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    /* More clickable area */
    border-radius: 4px;
    cursor: pointer;
    /* Ensure pointer */
}

.product-item:hover .product-header {
    background-color: rgba(0, 0, 0, 0.02);
    /* Subtle hover */
}

/* Rename arrow to icon and style as small +/- button */
.product-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    /* Match navy instead of neon */
    font-weight: 300;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    border-radius: 50%;
    transition: var(--transition);
}

.product-item.active .product-icon {
    background-color: var(--primary-color);
    color: white;
}

/* Description inside product */
.product-description-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
}

.product-item.active {
    grid-column: 1 / -1;
    /* Expanded product takes full width of card */
    background-color: #f8fafd;
    border-color: var(--accent-color);
}

.product-item.active .product-description-container {
    max-height: 3000px;
    /* Increased to prevent cut-off on mobile */
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* =========================================
   TYPOGRAPHY & READABILITY IMPROVEMENTS
   ========================================= */

.product-description-card {
    background-color: #fff;
    /* Ensure clean white background */
    padding: 10px 10px 0 10px;
    /* Slight padding guide */
    color: #2d3748;
    /* Darker grey for better contrast/readability */
    font-size: 1rem;
    line-height: 1.75;
    /* Relaxed line height */
    max-width: 75ch;
    /* Optimal reading length */
}

/* Headings in description */
.product-description-card h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 24px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 8px;
    display: inline-block;
    width: 100%;
}

.product-description-card h4:first-child {
    margin-top: 0;
}

/* Paragraphs */
.product-description-card p {
    margin-bottom: 16px;
    color: #4a5568;
}

/* Highlighted badges (e.g. course type) */
.product-description-card .course-type {
    display: inline-block;
    background-color: #e3f2fd;
    /* Very light blue */
    color: #0d47a1;
    /* Dark blue text */
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Lists */
.product-description-card ul {
    list-style-type: none;
    /* Custom bullets */
    padding-left: 0;
    margin-bottom: 20px;
}

.product-description-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #4a5568;
}

.product-description-card ul li strong {
    color: #2d3748;
    font-weight: 600;
}

/* Custom Bullet */
.product-description-card ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 4px;
    top: -2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .accordion-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .accordion-card.active .accordion-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .accordion-card.active .accordion-img {
        display: none;
        /* Save space on mobile expand */
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Variant 5: Glassmorphism (Full Width) */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    /* Light glass */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 90px;

    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    margin-right: auto;
}

/* Nav Link Styling */
.site-header nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header nav ul li a {
    font-weight: 500;
    font-size: 1rem;
    color: #2d3748;
    text-shadow: none;
    text-decoration: none;
    transition: color 0.2s;
}

.site-header nav ul li a:hover {
    color: var(--accent-color);
}

/* Button style for Contact - Solid Primary (Dark Blue on Light Glass) */
.site-header nav ul li a.btn-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-shadow: none;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header nav ul li a.btn-header:hover {
    background-color: #0a192f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive Scaling - Trigger Scroll Earlier */
@media (max-width: 1100px) {
    .site-header .container {
        padding: 0 15px;
        justify-content: space-between;
    }

    .site-header nav {
        flex-grow: 1;
        overflow-x: auto;
        /* Enable horizontal scroll */
        -webkit-overflow-scrolling: touch;
        margin-left: 20px;
        margin-right: -15px;
        padding-right: 15px;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .site-header nav::-webkit-scrollbar {
        display: none;
    }

    .site-header nav ul {
        width: max-content;
        gap: 20px;
        padding-right: 20px;
    }

    .site-header {
        height: 70px;
    }

    .logo img {
        height: 30px !important;
    }

    .site-header nav ul li a {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .site-header nav ul li a.btn-header {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 80px;
    /* Header height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.25rem;
    color: #ccd6f6;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background-color: #0056b3;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

/* Sections General */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-sub {
    font-size: 1.1rem;
    color: #666;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 20px auto 0;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.philosophy-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    background-color: var(--light-bg);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Fixed 2 columns for 2-2-1 layout */
    gap: 20px;
    /* max-width: 1000px;  Removed to align with global container (1200px) */
    width: 100%;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
}

.service-list {
    list-style: disc;
    padding-left: 20px;
    color: #555;
}

.service-list li {
    margin-bottom: 8px;
}

/* About Section */
.about {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.about h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.detail {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-form-container {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0056b3;
}

.btn-block {
    width: 100%;
}

/* Footer */
footer {
    background-color: #050d1a;
    color: #8892b0;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
/* Responsive Global Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
        /* Reduce padding on mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .philosophy-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobile Spacing for Cards */
    .accordion-header {
        padding: 15px;
        /* Reduce padding to give text more room */
    }

    .site-header nav {
        display: none;
    }
}

/* Process Section (Timeline) */
.process {
    background-color: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* Adjust based on marker size */
    width: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
    /* Space for marker */
    cursor: pointer;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marker */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner dot for marker */
.timeline-marker::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.timeline-content {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0;
    /* Remove bottom margin when collapsed */
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-title::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.timeline-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-out;
    margin-top: 0;
    color: #555;
}

/* Active State (Expanded) */
.timeline-item.active .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
}

.timeline-item.active .timeline-marker::after {
    background-color: var(--white);
    opacity: 1;
}

.timeline-item.active .timeline-content {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.timeline-item.active .timeline-title {
    margin-bottom: 10px;
    color: #0056b3;
}

.timeline-item.active .timeline-title::after {
    content: '-';
    transform: rotate(180deg);
    background-color: var(--light-bg);
}

.timeline-item.active .timeline-desc {
    max-height: 200px;
    /* Approximate max height */
    opacity: 1;
}

/* Hover Effects */
.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    border-color: #0056b3;
}

.timeline-item:hover .timeline-title {
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 16px;
    }

    .timeline-marker {
        width: 36px;
        height: 36px;
        left: 0;
    }

    .timeline-item {
        padding-left: 50px;
    }
}

/* Price Section */
.price {
    background-color: var(--light-bg);
}

.price-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.price-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* Adjust based on marker size */
    width: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
    /* Space for marker */
    cursor: pointer;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marker */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner dot for marker */
.timeline-marker::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.timeline-content {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0;
    /* Remove bottom margin when collapsed */
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-title::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.timeline-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-out;
    margin-top: 0;
    color: #555;
}

/* Active State (Expanded) */
.timeline-item.active .timeline-marker {
    background-color: var(--primary-color);
    border-color: var(--accent-color);
}

.timeline-item.active .timeline-marker::after {
    background-color: var(--white);
    opacity: 1;
}

.timeline-item.active .timeline-content {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.timeline-item.active .timeline-title {
    margin-bottom: 10px;
    color: #0056b3;
}

.timeline-item.active .timeline-title::after {
    content: '-';
    transform: rotate(180deg);
    background-color: var(--light-bg);
}

.timeline-item.active .timeline-desc {
    max-height: 200px;
    /* Approximate max height */
    opacity: 1;
}

/* Hover Effects */
.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    border-color: #0056b3;
}

.timeline-item:hover .timeline-title {
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 16px;
    }

    .timeline-marker {
        width: 36px;
        height: 36px;
        left: 0;
    }

    .timeline-item {
        padding-left: 50px;
    }
}

/* Price Section */
.price {
    background-color: var(--light-bg);
}

.price-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.price-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

.img-placeholder {
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .price-content {
        grid-template-columns: 1fr;
    }
}

/* Price Image */
.price-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    /* height: 600px;  Removed fixed height for scaling */
    flex-shrink: 0;
    margin: 0 auto;
}

.price-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.price-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Cases Section Styles */
.cases {
    background-color: var(--white);
}

.case-item {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-item:last-child {
    margin-bottom: 0;
}

.case-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.case-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
}

.case-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.case-subtitle {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.case-intro {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.case-intro p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
}

.case-intro p:last-child {
    margin-bottom: 0;
}

.case-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.highlight-item {
    background-color: var(--light-bg);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 8px;
}

.highlight-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* Collapsible case details - Enhanced interactive styling */
.case-detail {
    margin-bottom: 20px;
}

.case-detail-title {
    font-size: 1.2rem;
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #0056b3;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.case-detail-title::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 400;
    color: #0056b3;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.case-detail-title:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-left-color: #003d82;
    color: #003d82;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.case-detail-title:hover::after {
    background-color: rgba(0, 86, 179, 0.2);
    transform: scale(1.1);
}

.case-detail-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-out;
    padding: 0 20px;
}

.case-detail-content p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.7;
}

/* Active/expanded state */
.case-detail.active .case-detail-title {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left-color: #0056b3;
    color: #0056b3;
    margin-bottom: 15px;
}

.case-detail.active .case-detail-title::after {
    content: '-';
    transform: rotate(180deg);
}

.case-detail.active .case-detail-content {
    max-height: 2000px;
    opacity: 1;
    padding: 20px;
}

/* Sub-case grid layout - text left, image right */
.sub-case-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.sub-case-grid ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style: disc;
}

.sub-case-grid ul li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

/* Image placeholders - 600x600px on the right */
.sub-case-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    /* height: 600px; Removed fixed height */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.sub-case-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.image-placeholder span {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Different colors for different placeholders */
.image-placeholder[data-case="process"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.image-placeholder[data-case="sales"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.image-placeholder[data-case="marketing"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Responsive for Cases */
@media (max-width: 1024px) {
    .sub-case-image {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .case-item {
        padding: 25px;
    }

    .sub-case-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sub-case-image {
        width: 100%;
        height: 400px;
    }

    .case-highlights {
        grid-template-columns: 1fr;
    }
}

/* TEAM SECTION STYLES */
.team-section {
    margin-top: 60px;
    text-align: center;
}

.team-section h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.team-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

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

.team-info h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
    text-align: center;
}

.team-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info p {
    color: #ccd6f6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.about-intro-text {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* AI Helper Bot "Alex" */
.ai-bot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    /* Let clicks pass through around it */
}

.ai-bot-avatar {
    width: 100px;
    height: 100px;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

.ai-bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    animation: botFloat 6s ease-in-out infinite;
}

/* Hover Effect */
.ai-bot-avatar:hover {
    transform: scale(1.1) rotate(-5deg);
}

/* Tooltip / Message Bubble */
.ai-bot-tooltip {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px;
    border-radius: 12px 12px 0 12px;
    /* Chat bubble shape */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 250px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transform-origin: bottom right;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Show tooltip on hover */
.ai-bot-container:hover .ai-bot-tooltip {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Attention Animation (Sparkle/Pulse) */
/* Runs every 12 seconds */
@keyframes attentionSeeker {

    0%,
    90% {
        transform: scale(1);
        filter: brightness(1);
    }

    92% {
        transform: scale(1.1);
        filter: brightness(1.1);
    }

    94% {
        transform: scale(0.95);
        filter: brightness(1.1);
    }

    96% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }

    98% {
        transform: scale(1.0);
        filter: brightness(1.1);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.ai-bot-avatar {
    animation: attentionSeeker 12s infinite ease-in-out;
}

/* Optional "Sparkle" Element */
.ai-sparkle {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #fff 20%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 4s infinite 2s;
    pointer-events: none;
    z-index: 2;
}

@keyframes sparkle {

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

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@media (max-width: 600px) {
    .ai-bot-avatar {
        width: 70px;
        height: 70px;
    }

    .ai-bot-container {
        bottom: 20px;
        right: 20px;
    }
}

/* AI Bot Window (Iframe Container) */
.ai-bot-window {
    position: fixed;
    bottom: 140px;
    /* Above the avatar */
    right: 30px;
    width: 380px;
    height: 600px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    /* Animation State: Hidden */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-bot-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.ai-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    color: #555;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ai-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
    color: #000;
}

/* iframe styling */
.ai-bot-window iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Window */
@media (max-width: 450px) {
    .ai-bot-window {
        right: 10px;
        left: 10px;
        bottom: 100px;
        width: auto;
        height: 70vh;
    }
}