/* ==========================================================================
   Lake Harbor Institute Custom Stylesheet
   Design Philosophy: Trustworthy Academic Navy (#0b2340) & Prestigious Gold (#c89d3c)
   ========================================================================== */

/* --- CSS Variables / Design System --- */
:root {
    --primary-color: #0b2340;
    --primary-light: #16365f;
    --primary-dark: #051326;
    --accent-color: #c89d3c;
    --accent-hover: #b0872f;
    --accent-light: #fdfaf2;
    --text-color: #334155;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    --shadow-sm: 0 2px 4px rgba(11, 35, 64, 0.04);
    --shadow-md: 0 10px 20px rgba(11, 35, 64, 0.06);
    --shadow-lg: 0 20px 40px rgba(11, 35, 64, 0.1);
    --shadow-gold: 0 10px 25px rgba(200, 157, 60, 0.2);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1.2rem;
}

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

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

ul {
    list-style: none;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Button Component --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background-color: rgba(11, 35, 64, 0.02);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Badge Component --- */
.badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(200, 157, 60, 0.1);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    margin-right: 8px;
    display: inline-block;
}

.badge-accent {
    background-color: rgba(11, 35, 64, 0.05);
    color: var(--primary-color);
}

/* --- Section Header Component --- */
.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-header.text-left {
    text-align: left;
}

.section-header .subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

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

.header-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.header-underline.centered {
    margin: 0 auto;
}

.header-underline.small {
    width: 40px;
    height: 3px;
    margin-top: 10px;
}

.section-description {
    max-width: 700px;
    margin: 20px auto 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Text Accent Styling --- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.fw-bold {
    font-weight: 700;
}

/* --- Header / Navigation Bar --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--text-muted);
}

.nav-menu ul {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1100;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    display: block;
    position: absolute;
    transition: var(--transition-smooth);
}

.mobile-nav-toggle .bar:nth-child(1) { top: 0; }
.mobile-nav-toggle .bar:nth-child(2) { top: 11px; }
.mobile-nav-toggle .bar:nth-child(3) { top: 22px; }

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1050;
    box-shadow: var(--shadow-lg);
    padding: 100px 40px 40px 40px;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.mobile-link:hover {
    color: var(--accent-color);
}

.mobile-drawer-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 200px 0 120px 0;
    background-color: #fafbfc;
    overflow: hidden;
}

/* Background glowing orbs & mesh */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.orb-gold {
    top: 5%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    animation: floatOrb 15s ease-in-out infinite alternate;
}

.orb-navy {
    bottom: 5%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(11, 35, 64, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 620px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    gap: 18px;
    margin-bottom: 56px;
}

/* CTA Shine effect */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.8s;
}

.shine-effect:hover::after {
    left: 125%;
}

/* Enhanced stats cards grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 620px;
}

.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 157, 60, 0.35);
    box-shadow: var(--shadow-md);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-card-content .stat-number {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-card-content .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.full-width-mobile {
    grid-column: span 2;
}

/* Globe Graphic Animation */
.hero-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(11, 35, 64, 0.05) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: 1;
}

.globe-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(11, 35, 64, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.globe-icon {
    font-size: 9rem;
    color: var(--primary-color);
    opacity: 0.08;
    animation: rotateGlobe 45s linear infinite;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(11, 35, 64, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 68%;
    height: 68%;
    animation: rotateOrbit 16s linear infinite;
}

.orbit-2 {
    width: 95%;
    height: 95%;
    animation: rotateOrbitReverse 26s linear infinite;
}

.orbit-3 {
    width: 120%;
    height: 120%;
    animation: rotateOrbit 36s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 38px;
    height: 38px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    top: 0;
    left: 50%;
    margin-left: -19px;
    margin-top: -19px;
    transition: var(--transition-fast);
}

.orbit-dot:hover {
    transform: scale(1.15);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-gold);
}

/* Floating Glass Cards */
.floating-glass-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(11, 35, 64, 0.08);
    z-index: 10;
    width: 250px;
}

.card-top-left {
    top: 5%;
    left: -40px;
    animation: floatCard 6s ease-in-out infinite;
}

.card-bottom-right {
    bottom: 5%;
    right: -40px;
    animation: floatCard 6s ease-in-out infinite 0.7s;
}

.glass-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    font-size: 1rem;
    flex-shrink: 0;
}

.glass-card-text {
    display: flex;
    flex-direction: column;
}

.glass-card-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
    color: var(--primary-color);
}

.glass-card-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 500;
}

/* Keyframe animations */
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.08); }
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes rotateGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateOrbitReverse {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Entrance Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(24px);
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content h1.animate-slide-up {
    animation-delay: 0.15s;
}

.hero-content .hero-lead.animate-slide-up {
    animation-delay: 0.3s;
}

.hero-content .hero-ctas.animate-slide-up {
    animation-delay: 0.45s;
}

.hero-content .hero-stats-grid.animate-slide-up {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Welcome Section (Founder Letter) --- */
.welcome-grid {
    align-items: flex-start;
    gap: 60px;
}

.welcome-image-wrapper {
    position: sticky;
    top: 120px;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
    margin-bottom: 24px;
}

.founder-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: brightness(0.98);
}

.founder-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 35, 64, 0.95) 0%, rgba(11, 35, 64, 0.7) 70%, rgba(11, 35, 64, 0) 100%);
    padding: 40px 30px 24px 30px;
    color: var(--text-white);
}

.founder-badge h3 {
    color: var(--text-white);
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.founder-badge p {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--accent-light);
    border: 1px solid rgba(200, 157, 60, 0.15);
    padding: 16px 24px;
    border-radius: var(--radius-md);
}

.info-card-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.info-card-text h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.info-card-text p {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0;
}

.info-card-text p a {
    color: var(--primary-color);
}

.info-card-text p a:hover {
    color: var(--accent-color);
}

.letter-body {
    font-size: 1.05rem;
    color: var(--text-color);
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.quote-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 24px 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 28px 0;
}

.quote-box p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Accordion Styling inside Letter */
.accordion-container {
    margin: 32px 0;
}

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

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    padding: 16px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.accordion-trigger:hover {
    color: var(--accent-color);
}

.accordion-trigger i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-trigger i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content p {
    padding-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.signature-block {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.sig-valediction {
    font-style: italic;
    margin-bottom: 8px;
}

.sig-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.sig-title {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- About & Vision Section --- */
.vision-banner {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.vision-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle, rgba(200, 157, 60, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.vision-content {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.vision-icon {
    font-size: 3rem;
    color: var(--accent-color);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.vision-text h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 157, 60, 0.3);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-number {
    position: absolute;
    top: 24px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(11, 35, 64, 0.04);
    line-height: 1;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-number {
    color: rgba(200, 157, 60, 0.12);
}

.pillar-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Partnerships & Representations --- */
.partners-grid {
    gap: 40px;
}

.partner-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px;
    transition: var(--transition-smooth);
}

.partner-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 35, 64, 0.1);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.partner-logo-box {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 35, 64, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.partner-title h3 {
    font-size: 1.6rem;
    font-weight: 800;
}

.partner-title span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.partner-intro {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.highlight-info-box {
    background-color: var(--accent-light);
    border: 1px dashed var(--accent-color);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
}

.highlight-info-box strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.highlight-info-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.accreditation-details h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.accreditation-details ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.accreditation-details li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.accreditation-details li i {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 4px;
}

.partner-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.partner-footer-meta p {
    margin-bottom: 0;
    max-width: 60%;
}

.partner-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.partner-link:hover {
    color: var(--accent-color);
}

/* --- Leadership Section --- */
.bios-grid {
    gap: 32px;
    margin-bottom: 80px;
}

.bio-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.bio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 35, 64, 0.08);
}

.bio-card-inner {
    padding: 48px;
}

.bio-main-info {
    margin-bottom: 24px;
}

.bio-role {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.bio-title-area h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.bio-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.bio-location i {
    color: var(--accent-color);
}

.bio-content-text p {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.bio-highlights {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 24px;
}

.highlight-stat {
    display: flex;
    flex-direction: column;
}

.highlight-stat .val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.highlight-stat .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Presidential Showcase Gallery */
.gallery-showcase {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.gallery-img-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 35, 64, 0.9);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay-content {
    text-align: center;
    color: var(--text-white);
}

.gallery-overlay-content h4 {
    color: var(--text-white);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.gallery-overlay-content p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-item:hover .gallery-img-container img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    padding: 16px 20px;
}

.gallery-caption h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-caption p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Contact Section --- */
.contact-grid {
    gap: 48px;
    align-items: flex-start;
}

.contact-form-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 48px;
}

.contact-form-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    margin-top: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group label .required {
    color: #e11d48;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.textarea-icon {
    top: 24px;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 18px 14px 46px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: #fafbfc;
    transition: var(--transition-smooth);
    outline: none;
}

.input-wrapper select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(200, 157, 60, 0.08);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
    color: var(--accent-color);
}

.form-status {
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 8px;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contact Info Panel */
.contact-info-panel {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 157, 60, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.info-block-item h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.lead-branch {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.rep-tag {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.detail-text h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-text p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.detail-text p a {
    color: var(--text-white);
}

.detail-text p a:hover {
    color: var(--accent-color);
}

.affiliation-logos {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    position: relative;
    z-index: 2;
}

.aff-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.aff-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.aff-badge span {
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px 0;
    border-top: 3px solid var(--accent-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--text-white);
}

.brand-pitch {
    max-width: 420px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-links-col h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

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

.dot-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* --- Scroll Animations Setup --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments (Media Queries) --- */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .globe-container {
        width: 320px;
        height: 320px;
    }
    
    .globe-icon {
        font-size: 6.5rem;
    }
}

@media (max-width: 900px) {
    .grid-2, .grid-2-1 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-graphics {
        display: none; /* Hide interactive globe on smaller tablet/mobile to focus on content */
    }
    
    .welcome-image-wrapper {
        position: relative;
        top: 0;
    }
    
    .founder-img {
        height: 400px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-img-container {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 36px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.25;
    }
    
    .hero-section {
        padding: 120px 0 50px 0;
    }
    
    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }
    
    .hero-lead {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .hero-stat-card {
        padding: 14px 18px;
    }
    
    /* Swap Welcomes order so letter text appears first, and portrait below it */
    .welcome-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .welcome-image-wrapper {
        position: relative;
        top: 0;
    }
    
    .founder-img {
        height: 320px;
    }
    
    .accordion-trigger {
        font-size: 0.95rem;
        padding: 14px 0;
    }
    
    .accordion-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pillar-card {
        padding: 30px 20px;
    }
    
    .partner-card {
        padding: 28px 20px;
    }
    
    .partner-header {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        margin-bottom: 24px;
        padding-bottom: 18px;
    }
    
    .partner-body {
        font-size: 0.95rem;
    }
    
    .highlight-info-box {
        padding: 16px 18px;
        margin-bottom: 20px;
    }
    
    .accreditation-details ul {
        margin-bottom: 24px;
    }
    
    .partner-footer-meta {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
        padding-top: 18px;
    }
    
    .partner-footer-meta p {
        max-width: 100%;
    }
    
    .bio-card-inner {
        padding: 28px 20px;
    }
    
    .bio-title-area h3 {
        font-size: 1.6rem;
    }
    
    .bio-content-text {
        font-size: 0.95rem;
    }
    
    .bio-highlights {
        flex-direction: column;
        gap: 14px;
        padding-top: 18px;
        margin-top: 18px;
    }
    
    .gallery-showcase {
        padding: 28px 20px;
    }
    
    .gallery-img-container {
        height: 200px;
    }
    
    .contact-form-box {
        padding: 28px 20px;
    }
    
    .contact-info-panel {
        padding: 32px 20px;
    }
    
    .affiliation-logos {
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
