/* Color Palette */
:root {
    --deep-navy: #0D1B2A;
    --medical-teal: #4CC9C0;
    --ice-white: #F8F9FA;
    --slate-blue: #415A77;
    --text-dark: #1B263B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--ice-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--deep-navy);
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--medical-teal);
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 10px 20px;
    font-size: 0.9rem;
}

/* Hero Section - Updated for Left Alignment & Background Image */
.hero {
    background: linear-gradient(90deg, #0D1B2A 30%, rgba(27, 38, 59, 0.8) 100%),
                url('body-white.png');
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0;
    text-align: left; /* Left align text */
}

.hero-tagline {
    font-size: 1.1rem;           /* Slightly smaller than main text */
    text-transform: uppercase;   /* Adds a formal, premium feel */
    letter-spacing: 3px;         /* "Airy" spacing found in luxury brands */
    color: #666;                 /* A subtle gray to contrast with the black title */
    margin-top: -10px;           /* Pulls it closer to the main heading */
    font-weight: 500;
    font-family: 'Inter', sans-serif; /* Use a clean sans-serif */
    opacity: 0.8;                /* Softens the look */
    text-align: center;
}

.hero-tagline::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #007bff; /* Or your primary brand color */
    margin: 15px 0;
}

.hero-content > * {
    max-width: 800px;
    width: 100%; /* Ensures they stay responsive on smaller screens */
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero h2 {
    color: var(--medical-teal);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    color: #A0ADBA;
    margin: 0 0 30px 0; /* Removed auto margin to keep it left-aligned */
}

.trust-bar-mini {
    margin-top: 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medical-teal);
    opacity: 0.8;
}

/* Ensure mobile looks good */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        /* background: linear-gradient(180deg, #0D1B2A 60%, rgba(27, 38, 59, 0.9) 100%); */
        padding: 80px 0;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-content { margin: 0 auto; }
}

/* Buttons */
.btn-primary {
    background-color: var(--medical-teal);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-secondary {
    padding: 2px 9px;
}

.trust-badge {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--medical-teal);
}

/* Container for the Modules */
.modules-section {
    padding: 60px 0;
    background-color: #F8F9FA; /* Light gray background to make white cards pop */
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
    color: var(--deep-navy);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Individual Card Styling */
.module-card {
    background: #FFFFFF;
    border: 1px solid #E0E4E8;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hover Effect: Lifts card and adds a teal glow */
.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.08);
    border-color: var(--medical-teal);
}

/* Subtle background number */
.module-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(76, 201, 192, 0.05); /* Very faint teal */
    z-index: 1;
}

.module-content {
    position: relative;
    z-index: 2;
}

.module-tag {
    display: inline-block;
    background: rgba(76, 201, 192, 0.1);
    color: var(--medical-teal);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.module-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.module-card p {
    font-size: 0.95rem;
    color: var(--slate-blue);
    line-height: 1.6;
}

/* Special styling for the main method card */
.active-border {
    border: 2px solid var(--medical-teal);
}

/* Feature Cards */
.features {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--deep-navy);
}

/* Quick Exit Button */
.quick-exit {
    visibility: hidden;
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #E0E1DD;
    color: #415A77;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.quick-exit:hover {
    background: #d1d1cc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
}

/* --- Desktop Settings (Default) --- */
.mobile-only {
    display: none; /* Hide the pP logo by default */
}

.desktop-only {
    display: block;
}

.logo {
    color: #FFFFFF; /* White for the 'p' and 'PHALLO' */
    font-weight: bold;
    font-family: sans-serif;
    text-decoration: none;
    font-size: 24px;
}

.logo span {
    color: #008080; /* Teal for the 'P' and 'PHYSICS' */
}

.bigger {
    font-size: 1.4rem; /* Makes the capital P stand out */
}

/* --- Mobile Settings (Screens smaller than 768px) --- */
@media (max-width: 768px) {
    .desktop-only {
        display: none; /* Hide full text on mobile */
    }

    .mobile-only {
        display: block; /* Show pP logo on mobile */
    }
    
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}


