/* ---------------- GLOBAL STYLES ---------------- */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:radial-gradient(circle at top,#071b2e,#02070d,#010409);
    color:white;
    overflow-x:hidden;
}

.logo { height: auto; }

/* BRAND TEXT NEXT TO LOGO */
.brand-box{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}
.brand-title{
    font-size:28px;
    font-weight:900;
    letter-spacing:1px;
    background:linear-gradient(90deg,#00eaff,#0077ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
.indexed-box{
    width:90%;
    margin:0 auto;
    background:rgba(255,255,255,0.10);
    backdrop-filter:blur(18px);
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.25);
    padding:25px;
}
.indexed-img{
    width:100%;
    height:auto;
    border-radius:12px;
    display:block;
}
/* ---------------- THEME TOGGLE ---------------- */
.theme-toggle{
    width:38px;
    height:38px;
    border-radius:50%;
    box-shadow:0 0 18px rgba(0,225,255,0.55);
    border:1px solid rgba(255,255,255,0.4);
    background:rgba(255,255,255,0.18);
    backdrop-filter:blur(10px);
    cursor:pointer;
    transition:0.3s;
    background-size:24px;
    background-repeat:no-repeat;
    background-position:center;
    margin-left:10px;
    display:inline-block;
}

.theme-toggle:hover{
    transform:scale(1.08);
    box-shadow:0 0 12px #00eaff;
}

/* ---------------- HERO SECTION ---------------- */
.hero {
    padding-top: 0 !important;
    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    text-align: left;
    flex-direction: row; /* stop center alignment */
}

.hero-img-box {
    height: 420px;              /* 🔥 increase height here  */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-right img {
    width: 100%;          /* bigger width */
    max-width: 700px;
    height: auto;         /* keeps full content visible */
    border-radius: 14px;
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.35));
    object-fit: contain;  /* ⬅️ ensures full image is visible */
}


@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -3000px 0; /* adjust based on image width */
    }
}


body.light .hero-split,
body.dark .hero-split {
    padding-bottom: 95px !important;
}

.hero-split {
    margin-top: 0 !important;
    padding: 135px 7% 90px !important;  /* 135px = header height */
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background-image: url("../images/banner.png");
    background-size: cover;
    background-position: center;
    animation: moveBackground 40s linear infinite;
}


/* DARK OVERLAY */
.hero-split::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: -1;
}


/* Make text and image appear above background */
.hero-left, .hero-right {
    position: relative;
    z-index: 2;
}

body.light .hero-title {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(90deg,#00d0ff,#0077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}
/* Title */
.hero-title {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(90deg,#00d0ff,#0077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

/* Below title text */
.hero-info {
    font-size: 16px;
    line-height: 1.55;
    color: #eafaff;
    margin-bottom: 22px;
    max-width: 650px;
}

/* Sub text */
.hero-sub {
    font-size: 18px;
    margin: 16px 0 26px !important;
    margin-bottom: 22px; /* 🔥 equal spacing for light + dark */
    font-weight: 500;
    color: #f6d784;
    text-shadow: 0 0 8px rgba(255, 210, 100, 0.35);
}

.hero-banner-img {
    width: 100%;
    max-width: 900px;
    border-radius: 18px;
    filter: drop-shadow(0 0 14px rgba(0,255,255,0.35));
    object-fit: contain;
}
/* ================= NAVBAR – FINAL STABLE VERSION ================= */

/* Base header – same size always */
.nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    z-index: 1000;
    border-bottom: 1px solid #0074C8;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-image: none !important;   /* no banner in header */
    transition: box-shadow 0.25s ease;   /* only shadow anim */
}

/* Dark mode header color */
body.dark .nav-glass {
    background: rgba(3, 22, 44, 0.92);
}

/* Light mode header color */
body.light .nav-glass {
    background: rgba(237, 237, 240, 0.92);
}

/* On scroll – ONLY shadow, NO size / position change */
.nav-glass.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* DO NOT change padding / top / transform in scrolled */
body.dark .nav-glass.scrolled,
body.light .nav-glass.scrolled {
    padding: 18px 40px;      /* same as normal */
    top: 0;                  /* stay at top */
}

/* Nav inner layout */
.nav-container{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-menu a{
    color:#eaffff;
    font-size:17px;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}
/* FINAL LIGHT MODE BACKGROUND FIX */
body.light {
    background: linear-gradient(135deg, #ffffff, #e8f4ff, #d9edff) !important;
    color: #003354 !important;
}

body.light .nav-menu a{
    color:#003354;
}

.nav-menu a:hover{
    color:#00eaff;
    text-shadow:0 0 10px #00ffff;
}

body.light .nav-menu a:hover{
    color:#0074C8;
    text-shadow:none;
}

/* Responsive */
@media(max-width: 900px) {
    .hero-split { flex-direction: column; text-align: center; }
    .hero-left, .hero-info, .hero-sub { text-align: center; }
    .hero-banner-img { max-width: 500px; }
}

.indexed-box {
    width: auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    position: relative;
    margin-top: 40px;
}

.indexed-img {
    width: 420px;
    border-radius: 12px;
}


.btn {
    margin-top: 28px !important;  /* same for both themes */
    padding: 14px 35px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

/* Dark mode button color */
.btn {
    background:#0074C8 !important;
    color:white !important;
    border:none !important;
}

/* ---------------- SECTIONS ---------------- */
.section{
    width:90%;
    margin:120px auto;
    text-align:center;
}
.sec-title{
    margin-top: auto;
    font-size:40px;
    margin-bottom:30px;
    font-weight:800;
    text-shadow:0 0 18px #00aaff;
}

/* ---------------- GLASS BOX ---------------- */
.glass-box{
    width:85%;
    margin:0 auto;
    background:rgba(255,255,255,0.12);
    padding:30px;
    border-radius:18px;
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.25);
    line-height:1.7;
    font-size:18px;
}

/* ---------------- JOURNAL CARDS ---------------- */
.cards{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
}
.card{
    width:320px;
    background:rgba(255,255,255,0.14);
    padding:25px;
    border-radius:18px;
    backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,0.25);
    transition:0.3s;
    cursor:pointer;
}
.card:hover{
    transform:translateY(-8px);
    box-shadow:0 0 20px rgba(0,204,255,0.55);
}

/* ---------------- CONTACT PAGE ---------------- */
.contact-form input,
.contact-form textarea{
    width:85%;
    padding:12px;
    border:none;
    border-radius:12px;
    margin:10px 0;
    outline:none;
    font-size:16px;
    background:rgba(255,255,255,0.2);
    color:white;
}
.contact-form textarea{ resize:none; }

/* ---------- FOOTER (LIGHT MODE DEFAULT) ---------- */
.footer{
    background:#a3b2c7;
    padding:60px 40px 35px;
    border-top:2px solid #d6eaff;
    margin-top:80px;
    color:#00334a;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
    gap:50px;
}

.footer-logo{
    width:120px;
    margin-bottom:18px;
}

.footer-col h3{
    font-size:22px;
    margin-bottom:18px;
    font-weight:700;
    color:#00cfff;
}

.footer-col a{
    display:block;
    font-size:17px;
    margin:6px 0;
    text-decoration:none;
    color:#005b7a;
    transition:0.2s;
}
.footer-col a:hover{
    color:#00cfff;
}

.footer-col p{
    font-size:17px;
    margin:6px 0;
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding-top:15px;
    border-top:1px solid #cfe9ff;
    font-size:16px;
}


/* ---------------- ANIMATIONS ---------------- */
@keyframes slideUp{
    from{transform:translateY(60px);opacity:0;}
    to{transform:translateY(0);opacity:1;}
}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width:768px){
    .hero-title{font-size:48px;}
    .hero-sub{font-size:18px;}
    .sec-title{font-size:30px;}
    .glass-box{width:95%;}
    nav.menu{display:none;}
}



.light .brand-title{
    background:linear-gradient(90deg,#0066c7,#00b0ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}



.light .logo{
    filter:none;
}


/* Light Mode Support */
.light .indexed-box{
    background:rgba(255,255,255,0.85);
    border:1px solid rgba(0,0,0,0.18);
}

/* HERO */
.light .hero {
    background-color: transparent !important; /* SAFE */
}


.light .section,
.light .glass-box,
.light .card,
.light .sec-title {
    color:#003354 !important;
}

/* BUTTON */
.light .btn{
    background:#0074C8 !important;
    color:white !important;
    border:none !important;
}
.light .btn:hover{
    background:#0094FF !important;
    color:white !important;
    box-shadow: 0 0 12px #00eaff;
    transform: translateY(-2px);
}
.card p {
    color: inherit !important;
}

.card strong {
    color: inherit !important;
}

/* GLASS BOX / CARDS */
.light .glass-box,
.light .card{
    background:rgba(255,255,255,0.92) !important;
    border:1px solid rgba(0,0,0,0.15) !important;
    color:#003354 !important;
    box-shadow:none !important;
}

/* TITLES */
.light .sec-title{
    color:#004b6b !important;
    text-shadow:none !important;
}

/* INPUT FIELDS */
.light .contact-form input,
.light .contact-form textarea{
    background:rgba(0,0,0,0.06) !important;
    color:#003354 !important;
    border:1px solid rgba(0,0,0,0.14) !important;
}

/* JOURNAL HOVER */
.light .card:hover{
    box-shadow:0 0 15px rgba(0,102,255,0.25) !important;
}

/* FOOTER */
.light .footer {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.60),
        rgba(205,225,240,0.55),
        rgba(130,160,190,0.55)
    ) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(255,255,255,0.55) !important;
    box-shadow: 0 -4px 18px rgba(120,160,190,0.25);
    color:#00334a !important;
}

/* DARK THEME FOOTER (Highest Priority) */
/* Main Footer Dark Theme */
body.dark .footer,
.dark .footer {
    background:#020b14 !important;
    border-top:1px solid rgba(0,255,255,0.18) !important;
    color:#dffbfd !important;
}

/* Column Headings */
body.dark .footer-col h3,
.dark .footer-col h3 {
    color:#00eaff !important;
}

/* Links */
body.dark .footer-col a,
.dark .footer-col a {
    color:#bff7ff !important;
    text-decoration:none;
}

body.dark .footer-col a:hover,
.dark .footer-col a:hover {
    color:#00eaff !important;
    text-shadow:0 0 6px #00eaff !important;
}

/* Footer Bottom Text */
body.dark .footer-bottom,
.dark .footer-bottom {
    border-top:1px solid rgba(0,255,255,0.18) !important;
    color:#9df3ff !important;
}

/* IMPORTANT – Do NOT color / filter logo image */
body.dark .footer-logo img,
.dark .footer-logo img {
    filter:none !important;        /* removes unwanted glow / fade */
    opacity:1 !important;          /* keeps original brightness */
}


/* LIGHT THEME FOOTER (Highest Priority) */
body.light .footer,
.light .footer {
    background:#e2e6eb !important;
    border-top:2px solid #d6eaff !important;
    color:#00334a !important;
}

body.light .footer-col h3,
.light .footer-col h3 {
    color:#005c80 !important;
}

body.light .footer-col a,
.light .footer-col a {
    color:#004a63 !important;
}
body.light .footer-col a:hover {
    color:#007bb3 !important;
}
body.light .footer-bottom,
.light .footer-bottom {
    border-top:1px solid #cfe9ff !important;
}
/* Light theme fix */
.light .hero-right img {
    filter: drop-shadow(0 0 6px rgba(0,110,220,0.3));
}

/* 1100px and below */
@media (max-width: 1100px) {
    .hero-split {
        gap: 25px;
    }
}

/* 950px and below */
@media (max-width: 950px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        padding: 130px 6% 80px; /* top same for all screens */
    }
    .hero-left { align-items: center; }
    .hero-banner-img { max-width: 650px; }
}

/* 900px and below */
@media (max-width: 900px) {
    .hero-split {
        text-align: center;
    }
    .hero-left, .hero-info, .hero-sub {
        text-align: center;
    }
    .hero-banner-img {
        width: 90%;
        max-width: 500px;
    }
}

/* 860px and below */
@media (max-width: 860px) {
    .hero-split {
        padding-top: 130px; /* matches 950px */
        padding-bottom: 100px;
    }
    .hero-right { width: 100%; }
}

/* 600px and below */
@media (max-width: 600px) {
    .hero-title { font-size: 46px; }
    .hero-info  { font-size: 18px; }
    .hero-sub   { font-size: 18px; }
    .hero-banner-img { max-width: 500px; }
}

/* Remove unwanted extra space above hero */
main, body {
    padding-top: 0 !important;
}/* ---------------- SLIDE UP ANIMATION ---------------- */
.animate-up { 
    opacity:0; 
    transform: 
    translateY(60px); 
    animation: slideUpSmooth 0.9s ease-out forwards; }


.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

@keyframes slideUpSmooth {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
/* ---------------- IMAGE FADE & SLIDE ---------------- */
.animate-up-img {
    opacity: 0;
    transform: translateY(40px);
    animation: slideImageUp 0.9s ease-out forwards;
    animation-delay: 0.25s; /* match with text */
}

@keyframes slideImageUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* FIX LOGO SIZE */
.themeLogo {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

/* Footer logo larger */
.footer .themeLogo {
    height: 85px;
}
/* Footer logo perfect size */
.footer-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
}

/* Footer about text */
.footer-about-text {
    max-width: 320px;
    line-height: 1.55;
    margin-top: 8px;
}

/* Fix alignment when screen is small */
@media (max-width: 600px) {
    .footer-logo { height: 70px; }
    .footer-col { text-align: center; }
}
