/* Global Variables & Design System */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

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

.container {
    padding: 0 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    height: 70px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo .logo-for-light {
    display: none;
}

.logo .logo-for-dark {
    display: block;
}

header.scrolled .logo .logo-for-light {
    display: block;
}

header.scrolled .logo .logo-for-dark {
    display: none;
}

/* Footer logo overrides */
footer .logo .logo-for-light {
    display: none;
}

footer .logo .logo-for-dark {
    display: block;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

header.scrolled .bar {
    background-color: var(--primary);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    /* Changed to full width for better mobile experience */
    height: 100vh;
    background: linear-gradient(180deg, #000000 0%, #1e3a8a 100%);
    /* Dark background matches hero */
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1000;
}

/* Mobile Navigation Drawer Styles */
@media (max-width: 1199px) {
    .nav-menu .nav-link {
        font-size: 1.5rem;
        margin: 1.25rem 0;
        color: #ffffff !important;
        /* Force pure white */
        opacity: 0.85;
        /* High visibility for non-active */
    }

    .nav-menu .nav-link.active {
        color: #ffffff !important;
        opacity: 1;
        /* Pure white for active */
        font-weight: 700;
    }
}

.nav-menu.active {
    right: 0;
}

.nav-item {
    margin: 1rem 0;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #93c5fd;
    /* Restored original branding color */
    transition: var(--transition);
}

.nav-link.active {
    color: var(--white) !important;
    font-weight: 600;
}

header.scrolled .nav-link {
    color: var(--primary);
}

header.scrolled .nav-link.active {
    color: var(--accent) !important;
    /* Blue active link on white background */
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Quote Button */
.btn-quote {
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-quote:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

/* Desktop Styles */
@media (min-width: 1200px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        background: transparent;
        padding-top: 0;
        box-shadow: none;
    }

    .nav-item {
        margin: 0 0.85rem;
        /* Reduced margin to prevent wrapping */
    }

    .nav-link {
        font-size: 1rem;
        /* Standard readable size */
    }
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Visibility Helpers */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 1200px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: inline-block;
    }
}

/* Footer Items Upgrade */
.footer-col .logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(180deg, #000000 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
}

.page-header p {
    color: #94a3b8;
    max-width: 600px;
    margin: 1rem auto 0;
}

section {
    padding: 100px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

@media (min-width: 1200px) {
    .two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.interests-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.interest-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.interest-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.interest-card h3 {
    margin-bottom: 1rem;
}

.interest-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Methodology Page Styles */
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.methodology-card {
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: var(--transition);
    background-color: transparent;
}

.methodology-card:hover {
    border-color: var(--accent);
    background-color: #f8fafc;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.methodology-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.methodology-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonial Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--bg-alt);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2rem;
    color: #3b82f6;
    opacity: .2;
}

.manifesto-aside {
    background: #f1f5f9;
    border-left: 5px solid var(--accent);
    padding: 3rem;
    margin: 4rem 0;
    border-radius: 0 20px 20px 0;
}

.manifesto-aside h4 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.manifesto-content {
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary);
}

.manifesto-list {
    list-style: none;
    margin-bottom: 2rem;
}

.manifesto-list li {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.manifesto-footer {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1.5rem;
}

.hero {
    padding-top: 150px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #000000 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}


.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (min-width: 1200px) {
    .hero-content {
        text-align: left;
    }

    .hero-image {
        margin-top: 0;
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.hero .btn-secondary:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #000000 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 5px solid #2590a2;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    color: #3b82f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Next Page CTA */
.next-page-cta {
    padding: 80px 0;
    text-align: center;
}

.next-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.next-page-btn:hover {
    background: var(--accent);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.next-page-btn span {
    font-size: 1.5rem;
    transition: var(--transition);
}

.next-page-btn:hover span {
    transform: translateX(5px);
}

.next-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    max-width: 200px;
    height: auto;

}

.footer-logo:hover {
    opacity: 1;
}

.contact-link:hover {
    color: var(--accent) !important;
}