/* CSS Variables */
:root {
    --color-primary: #155DFC;
    --color-primary-dark: #0D4FD9;
    --color-accent: #E69700;
    --color-accent-dark: #D48A00;
    --color-text: #1A1A1A;
    --color-text-light: #6B6B6B;
    --color-bg-light: #F6F8FB;
    --color-bg-cream: #FEFBF6;
    --color-bg-white: #FFFFFF;
    --color-border: #E5E5E5;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-white);
}

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

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo:hover {
    opacity: 0.8;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    background: linear-gradient(143.872deg, rgb(22, 36, 86) 0%, rgb(28, 57, 142) 50%, rgb(25, 60, 184) 100%);
    overflow: hidden;
}

/* Decorative blur circles */
.hero::before {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    background: rgba(254, 154, 0, 0.1);
    filter: blur(64px);
    border-radius: 50%;
    right: 10%;
    top: 10%;
    pointer-events: none;
}

.hero-blur-blue {
    position: absolute;
    width: 384px;
    height: 384px;
    background: rgba(43, 127, 255, 0.2);
    filter: blur(64px);
    border-radius: 50%;
    left: -5%;
    top: 40%;
    pointer-events: none;
}

.hero-blur-gradient {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(to right, rgba(43, 127, 255, 0.05), rgba(254, 154, 0, 0.05));
    filter: blur(64px);
    border-radius: 50%;
    left: 30%;
    top: 20%;
    pointer-events: none;
}

/* Wave removed - straight edge */

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, rgb(255, 255, 255) 4.5%, rgb(219, 234, 254) 38.5%, rgb(254, 230, 133) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Orange divider */
.hero-divider {
    height: 4px;
    width: 96px;
    background: #fe9a00;
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: #bedbff;
    margin-bottom: 12px;
    line-height: 1.6;
}

.hero-link {
    font-size: 14px;
    color: #bedbff;
    text-decoration: none;
}

.hero-link:hover {
    color: #FFFFFF;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.hero-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #162456;
}

.hero-card p {
    font-size: 14px;
    color: #4a5565;
    margin-bottom: 24px;
    flex-grow: 1;
}

.hero-card .btn {
    width: 100%;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--color-bg-cream);
}

.about h2, .philosophy h2, .investors h2, .companies h2, .letters h2, .faq h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 18px;
    margin-bottom: 48px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 400px;
    border-radius: 12px;
}

.structure {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.structure h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.structure > p {
    max-width: 800px;
    margin: 0 auto 32px;
    color: var(--color-text-light);
}

.structure-image {
    display: flex;
    justify-content: center;
}

.structure-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* Investment Philosophy Section */
.philosophy {
    padding: 80px 0;
    background-color: #fefbf6;
}

.philosophy > .container > h2 {
    text-align: left;
    margin-bottom: 24px;
    color: #291a00;
}

/* Orange underline for section header */
.section-underline {
    height: 1px;
    width: 64px;
    background-color: #ffa700;
    margin-bottom: 48px;
}

.avenues {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Avenues - Two column layout */
.avenues {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.avenues-text h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.avenues-text > p {
    color: #333;
    margin-bottom: 0;
}

.avenues-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.avenue-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.avenue-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 167, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avenue-card .icon-circle img {
    width: 20px;
    height: 20px;
}

.avenue-card-content h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.avenue-card-content p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* Thesis - Same layout as Avenues (two-column with items on right) */
.thesis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 48px;
}

.thesis-text h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.thesis-tagline {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

.thesis-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.thesis-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.thesis-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 167, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thesis-card .icon-circle img {
    width: 20px;
    height: 20px;
}

.thesis-card-content h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.thesis-card-content p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* Standalone page sections */
.page-section {
    padding-top: 140px;
}

.page-section h1 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

/* For Investors Section */
.investors {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.investors.page-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

.investors-content, .companies-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.investors-text p, .companies-text p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

/* Forms */
.investor-form, .company-form {
    background-color: var(--color-bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.investor-form h3, .company-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    background-color: var(--color-bg-light);
    transition: border-color 0.3s ease;
}

.file-upload:hover .file-upload-label {
    border-color: var(--color-secondary);
}

.file-upload-label img {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}

.file-upload-label span {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 4px;
}

.file-upload-label small {
    font-size: 12px;
    color: var(--color-text-light);
}

/* Form Checkboxes */
.form-checkboxes {
    margin: 24px 0;
}

.checkbox-heading {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--color-text);
}

.checkbox-label {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-secondary);
}

.checkbox-label span {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* For Companies Section */
.companies {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.companies.page-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

/* Investor's Section (Letters) */
.letters {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.letters-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.letter-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-white);
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.letter-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.letter-info p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.letter-date {
    font-size: 12px;
    color: var(--color-text-light);
}

.letter-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.letter-download:hover {
    background-color: var(--color-border);
    color: var(--color-text);
}

.letter-download img {
    width: 20px;
    height: 20px;
}

.letters-note {
    margin-top: 32px;
    padding: 24px;
    background-color: var(--color-bg-white);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.letters-note p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family);
}

.faq-question span:first-child {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    padding-right: 24px;
}

.faq-icon {
    font-size: 24px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: #999999;
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #999999;
}

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

.footer-contact p {
    font-size: 14px;
    color: #999999;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #999999;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.sebi-reg {
    margin-top: 16px;
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.copyright {
    font-size: 14px;
    color: #999999;
}

.footer-disclaimer {
    margin-top: 32px;
}

.footer-disclaimer p {
    font-size: 12px;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-cards {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .avenues {
        grid-template-columns: 1fr;
    }

    .avenues-text {
        text-align: center;
    }

    .investors-content, .companies-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-bg-white);
        padding: 24px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-divider {
        width: 64px;
    }

    .hero::before,
    .hero-blur-blue,
    .hero-blur-gradient {
        width: 200px;
        height: 200px;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .avenues {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .avenues-text {
        text-align: center;
    }

    .avenue-card {
        justify-content: center;
    }

    .thesis {
        grid-template-columns: 1fr;
    }

    .thesis-text {
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .investor-form, .company-form {
        padding: 24px;
    }

    .letter-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .about h2, .philosophy h2, .investors h2, .companies h2, .letters h2, .faq h2 {
        font-size: 28px;
    }

    .hero-card {
        padding: 24px;
    }

    .btn {
        width: 100%;
    }

    .about-image img {
        max-width: 100%;
    }

    .structure-image img {
        max-width: 100%;
    }

    .about-text p,
    .structure > p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Global overflow fix */
html, body {
    overflow-x: hidden;
}

.container {
    overflow-x: hidden;
}
