@font-face {
    font-family: 'Mon1';
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 500;
}



/* ==============================
   NAVBAR — full definition here
   so home.css doesn't get
   overridden incorrectly
   ============================== */
.navbar {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    box-shadow: 0 2px 12px rgba(4, 26, 113, 0.08);
    /* These 4 lines were MISSING — causing broken layout */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}

.logo {
    height: 40px;
    width: 150px;
    background-image: url("../images/Logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    cursor: pointer;
    font-size: 22px;
    font-weight: 800;
    color: #041A71;
    display: flex;
    align-items: center;
}

/* shared.js injects .menu (not .nav-menu), target both */
.menu,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.menu a,
.nav-menu a {
    color: #041A71;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.menu a:hover,
.nav-menu a:hover {
    opacity: 0.65;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: transparent;
    color: #041A71;
    border: 2px solid #041A71;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-login:hover {
    background: #041A71;
    color: white;
}

.auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;

}

.cart-icon,
.user-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: #0a1f66;
    transition: color 0.3s;
}

.cart-icon:hover,
.user-icon:hover {
    color: #3498db;
}



/* ==============================
   CART SIDEBAR
   ============================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

/* ==============================
   PROFILE DROPDOWN
   ============================== */
.profile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 160px;
    z-index: 999;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown a,
.profile-dropdown button {
    padding: 10px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

.profile-dropdown button:hover,
.profile-dropdown a:hover {
    background: #f5f5f5;
}

/* ==============================
   MODAL BACKDROP
   ============================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    height: 280px;
    background: url('../images/Rectangle.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e3a8a;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: #1e3a8a;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(10, 116, 98, 0.05);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(219, 22, 22, 0.03);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

/* ==============================
   INTRO SECTION
   ============================== */
.intro-section {
    background-color: #081b6b;
    padding: 60px 20px;
    color: white;
}

.intro-text {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* ==============================
   STORY SECTION
   ============================== */
.story-section {
    background-color: #081b6b;
    padding: 80px 20px;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
}

.section-title.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.story-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.story-content.animate {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.story-card {
    background-color: #081b6b;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    animation: slideInLeft 1s ease-out 0.4s backwards;
}

.story-image-placeholder {
    width: 290px;
    height: 180px;
    background-color: #b8b8b8;
    border-radius: 8px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover .story-image-placeholder {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(26, 59, 140, 0.2);
}

.story-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.story-designation {
    font-size: 14px;
    color: #ffffff;
}

.story-text {
    font-size: 17px;
    line-height: 1.8;
    animation: slideInRight 1s ease-out 0.6s backwards;
}

.beliefs-section {
    background-color: #081b6b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.beliefs-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 450px;
    margin: 0 auto;
}

.center-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 420px;
    height: 250px;
    background: linear-gradient(180deg, #c9c4ff 0%, #f7b5d8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    transition: box-shadow 0.3s ease;
}

.beliefs-wrapper.animate .center-box {
    animation: scaleIn 0.6s ease-out 0.3s forwards;
}

.center-box h2 {
    font-size: 34px;
    font-weight: 700;
    color: #081b6b;
    text-align: center;
}

.icon-circle {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-circle img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.belief-item:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.belief-label {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.belief-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 2;
    opacity: 0;
}

.belief-item.top {
    top: 0;
    left: 50%;
    flex-direction: column;
    gap: 20px;
    transform: translateX(-50%) translateY(-30px);
}

.beliefs-wrapper.animate .belief-item.top {
    animation: fadeInDown 0.6s ease-out 0.5s forwards;
}

.belief-item.bottom {
    bottom: 0;
    left: 42%;
    flex-direction: column;
    gap: 20px;
    transform: translateX(-50%) translateY(30px);
}

.beliefs-wrapper.animate .belief-item.bottom {
    animation: fadeInUp 0.6s ease-out 0.9s forwards;
}

.belief-item.left {
    left: 15px;
    top: 50%;
    flex-direction: row;
    gap: 30px;
    transform: translateY(-50%) translateX(-30px);
}

.beliefs-wrapper.animate .belief-item.left {
    animation: fadeInLeft 0.6s ease-out 0.7s forwards;
}

.belief-item.right {
    right: 10px;
    top: 50%;
    flex-direction: row;
    gap: 30px;
    transform: translateY(-50%) translateX(30px);
}

.beliefs-wrapper.animate .belief-item.right {
    animation: fadeInRight 0.6s ease-out 1.1s forwards;
}



.beliefs-wrapper {
    opacity: 0;
}

.beliefs-wrapper.animate {
    animation: fadeIn 1s ease-out forwards;
}

.center-box {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beliefs-wrapper.animate .center-box {
    animation: scaleIn 0.6s ease-out 0.3s forwards;
}

.icon-circle {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.belief-item:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.belief-item {
    opacity: 0;
}

.belief-item.top {
    transform: translateX(-50%) translateY(-30px);
}

.beliefs-wrapper.animate .belief-item.top {
    animation: fadeInDown 0.6s ease-out 0.5s forwards;
}

.belief-item.bottom {
    transform: translateX(-50%) translateY(30px);
}

.beliefs-wrapper.animate .belief-item.bottom {
    animation: fadeInUp 0.6s ease-out 0.9s forwards;
}

.belief-item.left {
    transform: translateY(-50%) translateX(-30px);
}

.beliefs-wrapper.animate .belief-item.left {
    animation: fadeInLeft 0.6s ease-out 0.7s forwards;
}

.belief-item.right {
    transform: translateY(-50%) translateX(30px);
}

.beliefs-wrapper.animate .belief-item.right {
    animation: fadeInRight 0.6s ease-out 1.1s forwards;
}


/* ==============================
   MISSION & VISION
   ============================== */
.mission-vision-section {
    background-color: #081b6b;
    padding: 80px 20px 100px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card,
.vision-card {
    background-color: white;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card.animate {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.vision-card.animate {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 59, 140, 0.15);
}

.mission-card h3,
.vision-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #081b6b;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.mission-card p,
.vision-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #081b6b;
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
    background-color: #081b6b;
    padding: 60px 20px 100px;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.cta-title.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
}

.cta-subtitle.animate {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.cta-button {
    background-color: white;
    color: #081b6b;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 45px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.cta-button.animate {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==============================
   TABLET — 1024px
   ============================== */
@media (max-width: 1024px) {
    .beliefs-wrapper {
        max-width: 800px;
        height: 380px;
    }

    .center-box {
        width: 320px;
        height: 170px;
    }

    .center-box h2 {
        font-size: 28px;
    }

    .icon-circle {
        width: 85px;
        height: 85px;
    }

    .icon-circle img {
        width: 42px;
        height: 42px;
    }

    .belief-label {
        font-size: 17px;
    }

    .belief-item.left,
    .belief-item.right {
        gap: 20px;
    }
}

/* ==============================
   TABLET — 968px
   ============================== */
@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==============================
   MOBILE — 768px
   ============================== */
@media (max-width: 768px) {

    /* ── Navbar ── */
    .navbar {
        padding: 12px 16px;
    }

    /* ── Show hamburger ── */
    .hamburger {
        display: flex;
    }

    /* Hamburger → X animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ── Nav dropdown ── */
    .menu,
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px 0;
        box-shadow: 0 10px 25px rgba(4, 26, 113, 0.1);
        z-index: 899;
        gap: 0;
    }

    .menu.active,
    .nav-menu.active {
        display: flex;
    }

    .menu a,
    .nav-menu a {
        display: block;
        margin: 0;
        padding: 13px 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
    }

    /* ── Nav icons ── */
    .nav-icons {
        gap: 14px;
        margin-left: 70px;
    }

    /* ── Page content ── */
    .hero-title    { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 28px; }
    .intro-text    { font-size: 15px; }
    .cta-title     { font-size: 24px; }
    .cta-subtitle  { font-size: 15px; }

    /* ── Beliefs: stacked layout ── */
    .beliefs-section {
        min-height: unset;
        padding: 50px 20px 60px;
    }

    .beliefs-wrapper {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 340px;
        opacity: 0;
    }

    .beliefs-wrapper.animate {
        animation: fadeIn 0.8s ease-out forwards;
    }

    .center-box {
        position: static;
        transform: none;
        width: 100%;
        max-width: 320px;
        height: 160px;
        margin: 12px 0;
        opacity: 0;
        order: 2;
    }

    .beliefs-wrapper.animate .center-box {
        animation: fadeInUp 0.6s ease-out 0.3s forwards;
    }

    .belief-item {
        position: static;
        transform: none !important;
        opacity: 0;
        width: 100%;
        max-width: 320px;
        flex-direction: row !important;
        align-items: center;
        gap: 18px !important;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        margin-top: 10px;
    }

    .belief-item.top    { order: 1; }
    .belief-item.left   { order: 2; } /* before center-box */
    .center-box         { order: 3; }
    .belief-item.right  { order: 4; }
    .belief-item.bottom { order: 5; }

    .belief-label {
        font-size: 15px;
        white-space: normal;
        text-align: left;
    }

    .icon-circle {
        width: 64px;
        height: 64px;
        flex-shrink: 0;
    }

    .icon-circle img {
        width: 38px;
        height: 38px;
    }

    .beliefs-wrapper.animate .belief-item.top    { animation: fadeInUp 0.6s ease-out 0.1s forwards; }
    .beliefs-wrapper.animate .belief-item.left   { animation: fadeInUp 0.6s ease-out 0.5s forwards; }
    .beliefs-wrapper.animate .belief-item.right  { animation: fadeInUp 0.6s ease-out 0.7s forwards; }
    .beliefs-wrapper.animate .belief-item.bottom { animation: fadeInUp 0.6s ease-out 0.9s forwards; }
}

@media (max-width: 480px) {
    .beliefs-wrapper { max-width: 300px; }
    .center-box      { max-width: 300px; height: 140px; }
    .center-box h2   { font-size: 22px; }
    .belief-item     { max-width: 300px; padding: 12px 14px; gap: 14px !important; }
    .icon-circle     { width: 54px; height: 54px; }
    .icon-circle img { width: 32px; height: 32px; }
    .belief-label    { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==============================
   KEYFRAMES
   ============================== */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(30px, 30px) scale(1.1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}