@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --axis-blue: #0d47a1;
    --axis-blue-hover: #0a3578;
    --axis-light-blue: #e3f2fd;
    --axis-dark-blue: #092c63;
    --axis-deep-slate: #0b1329;
    --axis-slate-blue: #1e293b;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 104px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-sans); color: var(--text-main); background-color: var(--bg-white); line-height: 1.6; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ==========================================================================
   Header Layout Controls
   ========================================================================== */
.site-header.pinned-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 0.85) 90%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.015);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.nav-logo {
    height: 84px;
    width: auto;
    display: block;
    filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.12));
}

.header-left { display: flex; align-items: center; gap: 30px; }
.header-social-icons { display: flex; align-items: center; gap: 15px; }
.social-icon-link { color: var(--axis-blue); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth); border-radius: 50%; background: var(--axis-light-blue); padding: 7px; }
.social-icon-link:hover { background-color: var(--axis-blue); color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2); }
.social-icon-link svg { width: 100%; height: 100%; }

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-smooth);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--axis-blue);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--axis-blue);
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.page-opener {
    position: relative;
    height: 60vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--bg-white);
}

.opener-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.opener-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.8) 100%), 
                linear-gradient(to top, rgba(9, 44, 99, 0.5) 0%, transparent 100%);
    z-index: 2;
}

.opener-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 32px;
    animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.opener-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.opener-content p {
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #cbd5e1;
}

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
main {
    padding-top: 0;
    padding-bottom: 0;
    animation: contentFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--axis-dark-blue);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.section-tagline {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--axis-blue);
    margin-bottom: 12px;
}

.section-lead {
    font-size: 1.35rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 900px;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.about-section {
    padding: 80px 0;
}

.about-section > p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    line-height: 1.75;
}

.about-section h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--axis-dark-blue);
    margin: 80px 0 40px 0;
    letter-spacing: -0.02em;
}

/* Values Grid Cards */
.values-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.values-grid li {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-left: 5px solid var(--axis-blue);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.01);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.values-grid li:hover {
    transform: translateY(-4px);
    border-left-color: #38bdf8;
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.08);
}

.values-grid li strong {
    display: block;
    font-size: 1.3rem;
    color: var(--axis-blue);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.values-grid li p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Capabilities List */
.capabilities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.capabilities-list li {
    background-color: var(--bg-light);
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--axis-blue);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.capabilities-list li:hover {
    background-color: var(--axis-light-blue);
    transform: translateX(6px);
}

/* ==========================================================================
   Facebook Feed Section
   ========================================================================== */
.facebook-feed-section {
    background-color: var(--bg-white);
}

.facebook-feed-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.facebook-feed-wrapper .fb-page {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    transition: var(--transition-smooth);
}

.facebook-feed-wrapper .fb-page:hover {
    box-shadow: 0 20px 60px rgba(13, 71, 161, 0.12);
}

/* Responsive Facebook Feed */
@media (max-width: 768px) {
    .facebook-feed-wrapper .fb-page {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Directional Scroll Reveal
   ========================================================================== */
.direction-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.direction-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--axis-blue);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.15);
}

.btn-primary:hover {
    background-color: var(--axis-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.25);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--text-muted);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: var(--text-main);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section with Standard Animation
   ========================================================================== */
.opener-content {
    animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes heroEntrance {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Animations */
.direction-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.direction-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Section Title - Standard Styling */
.about-section .section-title {
    opacity: 1;
    transform: translateX(0);
    letter-spacing: -0.03em;
}

/* Tagline - Standard Styling */
.about-section .section-tagline {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Values Grid Cards - Standard Styling */
.values-grid li {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Capabilities List - Standard Styling */
.capabilities-list li {
    opacity: 1;
    transform: translateX(0);
    transition: var(--transition-smooth);
}

/* Vision Section - Standard Styling */
.about-section[style*="background-color: #051d45"] {
    opacity: 1;
    transform: translateY(0);
}

/* Button - Standard Styling */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Section Lead - Standard Styling */
.section-lead {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top - Standard Styling */
.back-to-top {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Mini Facebook Feed Styles
   ========================================================================== */
.mini-facebook-feed {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

/* Facebook Page Header */
.fb-page-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.fb-page-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.fb-page-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-page-info {
    padding: 24px;
    background-color: var(--bg-white);
}

.fb-page-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--axis-dark-blue);
    margin: 0 0 4px 0;
}

.fb-page-category {
    color: var(--axis-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 16px 0;
}

.fb-page-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.fb-page-details a {
    color: var(--axis-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.fb-page-details a:hover {
    text-decoration: underline;
    color: var(--axis-blue-hover);
}

.fb-visit-btn {
    display: inline-block;
    background-color: var(--axis-blue);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.fb-visit-btn:hover {
    background-color: var(--axis-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

/* Posts Container */
.fb-posts-container {
    padding: 0;
}

.fb-posts-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 16px 24px;
    margin: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    background-color: var(--bg-light);
}

/* Individual Post */
.fb-post {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.fb-post:last-child {
    border-bottom: none;
}

.fb-post:hover {
    background-color: rgba(13, 71, 161, 0.02);
}

/* Post Header */
.fb-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.fb-post-author {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.fb-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--axis-blue), #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.fb-post-author strong {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.fb-post-time {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

/* Post Content */
.fb-post-content {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.fb-post-content p {
    margin: 0;
}

/* Post Actions */
.fb-post-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.fb-action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background-color: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-align: center;
}

.fb-action-btn:hover {
    background-color: var(--bg-light);
    color: var(--axis-blue);
}

/* CTA Footer */
.fb-cta-footer {
    padding: 24px;
    background-color: var(--bg-light);
    text-align: center;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.fb-cta-footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.fb-follow-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--axis-blue), #38bdf8);
    color: var(--bg-white);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.15);
}

.fb-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.25);
}

/* Mini Feed - Standard Styling */
.mini-facebook-feed {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   PREMIUM SIGNATURE BLUE FOOTER
   ========================================================================== */
.site-footer { 
    background-color: #051d45; 
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 60px 0; 
    color: #ffffff;
}

.footer-container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 32px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 40px;
}

.footer-left p { 
    color: #94a3b8; 
    font-size: 0.95rem; 
}

.footer-middle {
    text-align: center;
}

.license-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: inline-block;
}

.footer-right {
    display: flex;
    align-items: center;
}

.back-to-top { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    gap: 20px; 
    transition: var(--transition-smooth);
}

.back-to-top .back-text {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.back-to-top:hover .back-text {
    color: #38bdf8;
}

.footer-logo { 
    height: 90px; 
    width: auto; 
    display: block;
    max-width: 100%;
    background-color: #ffffff;
    padding: 10px 14px;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    opacity: 0.95;
    transition: var(--transition-smooth);
}

.back-to-top:hover .footer-logo {
    opacity: 1;
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
    .section-title { font-size: 2rem; }
    .opener-content h1 { font-size: 2.5rem; }
    .values-grid { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; gap: 32px; text-align: center; }
    .back-to-top { align-items: center; }
    
    .facebook-feed-wrapper {
        padding: 0 16px;
    }
    
    .mini-facebook-feed {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 24px; }
    .header-container { flex-direction: column; gap: 20px; }
    .main-nav ul { gap: 20px; font-size: 0.95rem; }
    .opener-content h1 { font-size: 2rem; }
    .opener-content p { font-size: 1.1rem; }
    .section-title { font-size: 1.75rem; }
    .section-padding { padding: 60px 0; }
    
    .facebook-feed-wrapper {
        padding: 0;
    }
    
    .facebook-feed-wrapper .fb-page {
        width: 100%;
        max-width: 100%;
    }
    
    .mini-facebook-feed {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .fb-page-cover {
        height: 150px;
    }
    
    .fb-page-info {
        padding: 16px;
    }
    
    .fb-page-info h3 {
        font-size: 1.5rem;
    }
    
    .fb-post {
        padding: 12px 16px;
    }
    
    .fb-cta-footer {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .opener-content h1 { font-size: 1.75rem; }
    .opener-content p { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-padding { padding: 40px 0; }
    .header-social-icons { gap: 10px; }
    .social-icon-link { width: 28px; height: 28px; }
    
    .mini-facebook-feed {
        border-radius: 6px;
    }
    
    .fb-page-cover {
        height: 120px;
    }
    
    .fb-page-info h3 {
        font-size: 1.25rem;
    }
    
    .fb-page-category {
        font-size: 0.8rem;
    }
    
    .fb-page-details {
        font-size: 0.85rem;
        gap: 6px;
    }
    
    .fb-posts-title {
        font-size: 1rem;
        padding: 12px 16px;
    }
    
    .fb-post {
        padding: 12px 16px;
    }
    
    .fb-author-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .fb-post-author strong {
        font-size: 0.9rem;
    }
    
    .fb-post-content {
        font-size: 0.9rem;
    }
    
    .fb-action-btn {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
    
    .fb-cta-footer {
        padding: 12px 16px;
    }
    
    .fb-cta-footer p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .fb-follow-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
