/* ===== Root Variables ===== */
:root {
    --primary: #0A2540;     /* Deep Navy / Premium Corporate */
    --secondary: #1C5485;   /* Ocean Blue */
    --accent: #00D2D3;      /* Vibrant Cyan / Aqua */
    --text-main: #334155;   /* Slate Gray for Reading */
    --text-light: #64748B;
    --white: #FFFFFF;
    --light-bg: #F4F8FA;    /* Soft Coastal Gray-Blue */
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.62;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .btn, .nav-links a, .section-badge {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.pt-120 { padding-top: 120px; }
.pb-120 { padding-bottom: 120px; }
.mt-30 { margin-top: 30px; }
.mt-60 { margin-top: 60px; }
.bg-light { background-color: var(--light-bg); }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--white);
    color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 210, 211, 0.3);
}

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

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

/* Section Badges */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(28, 84, 133, 0.1);
    color: var(--secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 30px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.section-badge.center {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Header Navigation ===== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}

#main-header.scrolled {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .site-logo {
        height: 60px;
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.btn-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-contact:hover {
    background: var(--accent);
    color: var(--primary) !important;
    border-color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 200px; /* added 200px bottom padding to give space for absolute pillars */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slow-zoom 25s linear infinite alternate;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(28, 84, 133, 0.6) 100%);
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 2;
}

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

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem; /* Push the pillars down */
}

/* Pillars overlay at bottom of hero */
.pillars-wrapper {
    position: absolute;
    bottom: -100px; /* Push pillars further down */
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    z-index: 10;
}

.pillar {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.pillar:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
}

.pillar-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(10, 37, 64, 0.05);
    font-family: var(--font-heading);
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* ===== About Section ===== */
.about-section {
    position: relative;
    margin-top: 140px; /* increased offset for better separation */
}

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

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: justify;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.5rem;
    background: rgba(0, 210, 211, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-giant {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.1);
}

/* Mission & Vision Styling */
.mission-vision-container {
    padding: 40px;
    background: linear-gradient(135deg, rgba(248, 251, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 40px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.mv-card {
    background: #f8fbff;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(10, 37, 64, 0.05);
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(10, 37, 64, 0.08);
    background: var(--white);
}

.mv-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mv-icon-wrapper {
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.mv-card:hover .mv-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.mv-icon {
    font-size: 2rem;
    transition: var(--transition);
}

.mv-icon.mission {
    color: #e11d48; /* Crimson / Target center */
    animation: icon-pulse 2s infinite ease-in-out;
}

.mv-icon.vision {
    color: #0ea5e9; /* Sky blue / Earth */
    animation: icon-float 3s infinite ease-in-out;
}

.mv-card:hover .mv-icon.mission {
    transform: rotate(360deg);
}

.mv-card:hover .mv-icon.vision {
    transform: translateY(-5px) scale(1.2);
}

@keyframes icon-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes icon-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

.mv-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0;
}

.mv-card p {
    color: var(--text-main);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mv-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Activities Section ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.activity-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.activity-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card:hover .activity-img {
    transform: scale(1.1);
}

.activity-card-content {
    padding: 2rem;
}

.activity-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

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

@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Engagements Section ===== */
.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.engagement-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.engagement-card:hover .card-icon {
    transform: scale(1.1);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.1);
}

.card-icon i {
    font-size: 2.2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.engagement-card:hover .card-icon i {
    color: var(--accent);
}


/* ===== Products Section ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(20px);
    transition: var(--transition);
    font-size: 1.2rem;
}

.product-card:hover .view-btn {
    transform: translateY(0);
}

.placeholder-img {
    background: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    border: 2px dashed #cbd5e1;
}

.add-photo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.add-photo-text i {
    font-size: 2rem;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q25,25 50,50 T100,50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat;
    opacity: 0.5;
}

.cta-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Footer ===== */
.main-footer {
    background: #061525;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.brand-col p {
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.links-col ul li {
    margin-bottom: 1rem;
}

.links-col a {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent);
    margin-top: 5px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .engagements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .pillars-wrapper {
        grid-template-columns: 1fr;
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        margin-top: 4rem;
        gap: 1.5rem;
        padding-bottom: 4rem;
    }
    .hero {
        height: auto;
        padding-bottom: 0;
    }
    .about-section {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile clear */
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .engagements-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .pt-120 { padding-top: 80px; }
    .pb-120 { padding-bottom: 80px; }
}

/* ===== Animations ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Scroll Reveal Classes (added via JS) */
.scroll-reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.up { transform: translateY(50px); }
.scroll-reveal.left { transform: translateX(-50px); }
.scroll-reveal.right { transform: translateX(50px); }
.scroll-reveal.scale { transform: scale(0.9); }

.scroll-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* --- Continuous Animations --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 211, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(0, 210, 211, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 211, 0); }
}

.pulse-anim {
    animation: pulse-glow 2.5s infinite;
}

@keyframes slow-zoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}
