/* --- CSS VARIABLES --- */
:root {
    --bg-color: #f0edff;           /* Light Lavender */
    --text-color: #412d53;         /* Dark Purple */
    --accent-color-1: #804c9a;     /* Medium Purple */
    --accent-color-2: #c23b71;     /* Deep Rose */
    --hover-color: #a72f5f;
    
    /* Complementary Colors */
    --card-bg: #ffffff;            /* Clean white for content readability */
    --footer-bg: #2a1d35;          /* Extra dark purple for footer contrast */
    --white: #ffffff;
}

/* --- GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--accent-color-2);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-1);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: var(--card-bg);
    padding: 20px 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color-1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--accent-color-2);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--accent-color-1), var(--text-color));
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--bg-color);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

.cta-buttons .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin: 0 10px;
}

.btn-primary {
    background-color: var(--accent-color-2);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--accent-color-1);
}

/* --- MEDIA SECTION (VIDEOS) --- */
.media-section {
    padding: 60px 0;
}

.video-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.video-container h3 {
    color: var(--accent-color-1);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.video-container p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- FOOTER & RUBRIC MAP --- */
footer {
    background-color: var(--footer-bg);
    color: var(--bg-color);
    padding: 40px 20px;
    text-align: center;
}

.footer-content h4 {
    color: var(--accent-color-2);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.rubric-map {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-align: left;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
}

.rubric-map li {
    margin-bottom: 10px;
}

.rubric-map a {
    color: var(--accent-color-2);
    text-decoration: underline;
}

.rubric-map a:hover {
    color: var(--white);
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- LOGO IMAGE UPDATE --- */
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px; /* Adjust this value to make your logo bigger/smaller */
    width: auto;
    display: block;
}

/* --- PURPOSE PAGE STYLES --- */
.content-section {
    padding: 60px 0;
}

.info-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-color-1);
}

.info-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-card p {
    font-size: 1.1rem;
    color: #555;
}

.double-column {
    display: flex;
    gap: 30px;
    border-left: none;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}
/*for staging*/

.double-column .column {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-color-2);
}

.personal-story {
    background-color: var(--bg-color);
    border: 2px dashed var(--accent-color-1);
    border-left: 2px dashed var(--accent-color-1);
    text-align: center;
}

.personal-story h3 {
    color: var(--accent-color-1);
}

/* Responsive for double column */
@media (max-width: 768px) {
    .double-column {
        flex-direction: column;
    }
}

/* --- PRODUCT PAGE STYLES --- */
.product-feature {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-feature.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    color: var(--accent-color-1);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-text p {
    color: #555;
    font-size: 1.1rem;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Placeholder box for missing images */
.placeholder-box {
    background-color: #e2dcf2;
    border: 2px dashed var(--accent-color-1);
    border-radius: 8px;
    height: 250px;
    width: 100%;
    color: var(--accent-color-1);
    font-weight: bold;
}

.ui-list {
    margin-top: 15px;
    padding-left: 20px;
}

.ui-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Responsive for Product Features */
@media (max-width: 768px) {
    .product-feature, .product-feature.reverse {
        flex-direction: column;
        text-align: center;
    }
}

/* --- BUSINESS PAGE STYLES --- */

/* Stats Grid for TAM/SAM/SOM */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--accent-color-1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h4 {
    color: var(--accent-color-1);
    font-size: 2.5rem;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-box p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Timeline Layout */
.timeline {
    margin-top: 25px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--bg-color);
}

.timeline-step {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.step-marker {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color-2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 1;
    border: 4px solid var(--card-bg);
}

.step-content {
    margin-left: 20px;
    padding-top: 5px;
}

.step-content h4 {
    color: var(--accent-color-2);
    margin-bottom: 5px;
}

/* --- UPDATED COMPETITOR TABLE STYLES --- */

.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

.competitor-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

/* Base styling for all cells */
.competitor-table th, 
.competitor-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Header Row (Medium Purple) */
.competitor-table th {
    background-color: var(--bg-color); /* Light Lavender */
    color: var(--accent-color-1);     /* Medium Purple */
    font-weight: bold;
    font-size: 1.5rem;
}

/* 1. Icon Cell Base Styling (Dark Purple Default) */
.yes-no-cell {
    font-size: 3rem;
    text-align: center;
    vertical-align: middle;
    line-height: 1;
    padding: 10px;
    color: #6b6565 !important; /* Light gray for default "no" state */
}

/* 2. PROMPTly Column Highlight (Medium Purple Override) */
.competitor-table td.highlight.yes-no-cell {
    color: var(--accent-color-1) !important; /* #804c9a */
}

/* 3. Highlight Column Box & Border Styling */
.competitor-table td.highlight {
    background-color: rgba(128, 76, 154, 0.05); /* Very light tint of Medium Purple */
    border-left: 2px solid var(--accent-color-1);
    border-right: 2px solid var(--accent-color-1);
}

/* Connect the Highlight Borders Vertically */
.competitor-table tbody tr:first-child td.highlight {
    border-top: 2px solid var(--accent-color-1);
}

.competitor-table tbody tr:last-child td.highlight {
    border-bottom: 2px solid var(--accent-color-1);
}

/* Center logos in headers */
.center-header {
    text-align: center !important;
}

.competitor-logo {
    max-height: 40px;
    width: auto;
    max-width: 120px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CONTACT PAGE STYLES --- */

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-color-1);
    transition: transform 0.3s ease;
}

.team-card:nth-child(even) {
    border-top: 5px solid var(--accent-color-2);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 150px;       /* Increased from 80px */
    height: 150px;      /* Increased from 80px */
    background-color: var(--bg-color);
    color: var(--accent-color-1);
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;  /* Made initials bigger just in case any photos are missing */
    font-weight: bold;
    border: 3px solid var(--accent-color-1); /* Made the border slightly thicker */
    object-fit: cover;  /* Ensures real photos don't stretch or warp */
}

.team-card:nth-child(even) .team-avatar {
    color: var(--accent-color-2);
    border: 2px solid var(--accent-color-2);
}

.team-card h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--accent-color-1);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.team-card:nth-child(even) .team-role {
    color: var(--accent-color-2);
}

.team-bullets {
    text-align: left;
    font-size: 0.9rem;
    color: #555;
    padding-left: 20px;
}

.team-bullets li {
    margin-bottom: 8px;
}

/* Mentors Section */
.mentors-section {
    background-color: var(--bg-color);
    border: 2px dashed var(--accent-color-1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.mentors-section h3 {
    color: var(--accent-color-1);
    margin-bottom: 10px;
}

.mentor-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.mentor-list p {
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Contact Form Layout */
.contact-container {
    display: flex;
    gap: 40px;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--accent-color-2);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-form {
    flex: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color-2);
    box-shadow: 0 0 5px rgba(0, 151, 178, 0.3);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .mentor-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}
/* --- HOMEPAGE SPECIFIC STYLES --- */

/* Parallax Section */
.parallax-section {
    height: 500px; /* Adjust this to make the image taller or shorter */
    background-image: url('assets/layers.png'); /* ADD YOUR IMAGE URL HERE */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 5px solid var(--accent-color-2);
}

/* Overview Section */
.overview-section {
    padding: 60px 0 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    color: var(--text-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-heading p {
    color: #555;
    font-size: 1.1rem;
}

/* Full-Width Alternating Rows */
.summary-rows {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.summary-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    gap: 40px;
    border-left: 5px solid var(--accent-color-2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card.row-reverse {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 5px solid var(--accent-color-2);
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Card Images */
.card-image {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures image fills the box without stretching */
}

/* Card Text */
.card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.summary-card.row-reverse .card-text {
    align-items: flex-end;
    text-align: right;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card-text h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.card-text p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Button Variants */
.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--accent-color-2);
    color: var(--accent-color-2);
    border-radius: 30px;
    font-weight: bold;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--accent-color-2);
    color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .summary-card, .summary-card.row-reverse {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-right: none;
        border-top: 5px solid var(--accent-color-2);
    }
    
    .summary-card.row-reverse .card-text, .card-text {
        align-items: center;
        text-align: center;
    }

    .card-image {
        flex: 1 1 auto;
        width: 100%;
        height: 200px;
    }
    
    .parallax-section {
        background-attachment: scroll; /* Disables parallax on mobile to prevent scrolling glitches */
    }
}

/* --- PURPOSE PAGE IMAGE STYLES --- */
.card-image-full {
    margin-top: 25px;
    text-align: center;
}

.card-image-full img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-row-side-by-side {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.image-row-side-by-side img {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Make side-by-side images stack vertically on mobile screens */
@media (max-width: 768px) {
    .image-row-side-by-side {
        flex-direction: column;
        align-items: center;
    }
    
    .image-row-side-by-side img {
        width: 100%;
    }
}

/* --- SIZING FOR SPECIFIC IMAGES --- */
.card-image-medium {
    margin-top: 25px;
    text-align: center;
}

.card-image-medium img {
    max-width: 50%; /* Shrinks the image to half the container width */
    min-width: 250px; /* Ensures it doesn't get too tiny on mobile */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- MENTOR CARDS FOR CONTACT PAGE --- */
.mentor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.mentor-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    width: 250px;
}

.mentor-avatar {
    width: 150px;       /* Increased from 100px */
    height: 150px;      /* Increased from 100px */
    border-radius: 50%;
    object-fit: cover; 
    margin-bottom: 15px;
    border: 3px solid var(--accent-color-1);
}

.mentor-card h4 {
    color: var(--text-color);
    margin-bottom: 5px;
}

/* --- CONTACT FORM BUTTON STYLES --- */
.contact-form .btn-primary {
    padding: 16px 32px;      /* Increases height and internal spacing */
    font-size: 1.2rem;       /* Makes the text larger */
    border-radius: 50px;     /* Creates the fully rounded "pill" ends */
    border: none;            /* Removes default browser borders */
    cursor: pointer;         /* Changes cursor to a hand on hover */
    margin-top: 10px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: var(--accent-color-1); /* Swaps color on hover for a nice effect */
    transform: translateY(-2px);             /* Gives a slight "lift" effect */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Adds a shadow on hover */
}

/* --- SUB-BULLET INDENTATION --- */
.ui-list ul {
    padding-left: 25px; /* Adjust this value to increase/decrease the indent */
    margin-top: 5px;    /* Adds a little breathing room above the sub-bullets */
    list-style-type: circle; /* Changes the sub-bullet style so it looks different from the main bullet */
}

.ui-list ul li {
    font-size: 1rem; /* Makes the sub-bullets slightly smaller than the main text */
    margin-bottom: 5px; /* Tighter spacing between sub-bullets */
}


/*
@media (max-width: 480px) {
    .hero h1 { 
        font-size: 1.8rem; 
    }
    
    .navbar { 
        padding: 10px; 
    }
    
    .container {
        padding: 0 15px;
        max-width: 100vw;
        overflow-wrap: break-word; 
    }
}
    */

.menu-toggle, .hamburger {
    display: none;
}

/* --- 2. Mobile Logic (Small Screens) --- */
@media (max-width: 768px) {
    /* Show the hamburger icon */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Transform nav-links into a hidden dropdown menu */
    .nav-links {
        display: none; /* Hide by default */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on your navbar height */
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        text-align: center;
    }

    /* THE MAGIC: If checkbox is checked, show the menu */
    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    /* Optional: Change hamburger to an 'X' when checked */
    .menu-toggle:checked + .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked + .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
}

/* --- IMAGE ATTRIBUTION STYLES --- */
figcaption.attribution {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
    font-style: italic;
    text-align: center;
    line-height: 1.2;
}

/* --- LARGE DOWNLOAD BUTTON --- */
.btn-large {
    padding: 16px 32px !important;
    font-size: 1.2rem !important;
    border-radius: 50px !important;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-large:hover {
    background-color: var(--accent-color-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- FINANCIAL TABLE HIGHLIGHTS --- */
.bold-row td {
    font-weight: bold;
    color: var(--accent-color-2); /* Uses your Deep Rose color to make them pop! */
    background-color: rgba(194, 59, 113, 0.05); /* Very light background tint */
}