/* ============================================================
   SSR Manthan — Main Stylesheet
   Colors: Navy #0d1b3e | Gold #f0a500 | Light Blue #4db8ff
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #333;
    background: #fff;
    line-height: 1.7;
}

a { color: #f0a500; text-decoration: none; transition: color .3s; }
a:hover { color: #0d1b3e; }

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

h1, h2, h3, h4, h5 { font-weight: 700; color: #0d1b3e; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-gold   { color: #f0a500; }
.text-navy   { color: #0d1b3e; }
.bg-navy     { background: #0d1b3e; color: #fff; }
.bg-light    { background: #f7f9fc; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* ---------- Section Heading ---------- */
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading h2 {
    font-size: 2.2rem; position: relative; display: inline-block;
    padding-bottom: 12px; color: #0d1b3e;
}
.section-heading h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 3px; background: #f0a500; border-radius: 2px;
}
.section-heading p { color: #666; max-width: 600px; margin: 12px auto 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .3s;
    text-align: center;
}
.btn-primary { background: #f0a500; color: #0d1b3e; border-color: #f0a500; }
.btn-primary:hover { background: #d4920a; border-color: #d4920a; color: #fff; }
.btn-outline  { background: transparent; color: #f0a500; border-color: #f0a500; }
.btn-outline:hover { background: #f0a500; color: #0d1b3e; }
.btn-navy    { background: #0d1b3e; color: #fff; border-color: #0d1b3e; }
.btn-navy:hover { background: #162c60; }
.btn-sm { padding: 8px 20px; font-size: .85rem; }

/* ---------- HEADER ---------- */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13,27,62,.97);
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
    transition: background .3s;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    max-width: 1200px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { width: 80px; height: 80px; border-radius: 8px; object-fit: contain; background: transparent; }
.logo-text { color: #fff; font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.logo-text span { color: #f0a500; }
.logo-tagline { font-size: .72rem; color: #a0b0d0; letter-spacing: .5px; }

/* Nav */
nav ul { list-style: none; display: flex; gap: 6px; }
nav ul li a {
    color: #ccd6f6; font-size: .9rem; font-weight: 600;
    padding: 8px 14px; border-radius: 4px;
    transition: all .3s; letter-spacing: .3px;
}
nav ul li a:hover,
nav ul li a.active { color: #f0a500; background: rgba(240,165,0,.1); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-toggle span {
    width: 26px; height: 2px; background: #ccd6f6; border-radius: 2px; transition: .3s;
}

/* ---------- HERO ---------- */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #0d1b3e 50%, #1a2f5a 100%);
    display: flex; align-items: center;
    padding-top: 80px;
    position: relative; overflow: hidden;
}
#hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f0a500" fill-opacity="0.04" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,261.3C672,256,768,224,864,213.3C960,203,1056,213,1152,218.7C1248,224,1344,224,1392,224L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px;
    position: relative;
}
.hero-text { color: #fff; }
.hero-text .badge {
    display: inline-block; background: rgba(240,165,0,.15);
    color: #f0a500; border: 1px solid rgba(240,165,0,.4);
    padding: 6px 16px; border-radius: 50px; font-size: .85rem;
    font-weight: 600; letter-spacing: .5px; margin-bottom: 20px;
}
.hero-text h1 { font-size: 3.2rem; line-height: 1.15; color: #fff; }
.hero-text h1 .name { color: #f0a500; display: block; }
.hero-text h1 .sub  { font-size: 1.8rem; font-weight: 400; color: #a0b4d8; }
.hero-text p  { color: #8a9dc0; margin: 20px 0 36px; font-size: 1.1rem; max-width: 480px; }
.hero-cta     { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img     { position: relative; text-align: center; }
.hero-img img {
    width: 360px; height: 360px;
    border-radius: 50%; object-fit: cover;
    border: 6px solid #f0a500;
    box-shadow: 0 0 0 15px rgba(240,165,0,.12), 0 0 60px rgba(13,27,62,.8);
}
.hero-img::before {
    content: ''; position: absolute; inset: -10px;
    border-radius: 50%; border: 2px dashed rgba(240,165,0,.3);
    animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Social icons */
.social-strip { display: flex; gap: 14px; margin-top: 26px; }
.social-strip a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid rgba(240,165,0,.5);
    display: flex; align-items: center; justify-content: center;
    color: #f0a500; font-size: 1rem; transition: all .3s;
}
.social-strip a:hover { background: #f0a500; color: #0d1b3e; }

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: #0d1b3e;
    border-top: 3px solid #f0a500;
    padding: 36px 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
    max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center;
}
.stat-item { color: #fff; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-num  { font-size: 2.8rem; font-weight: 800; color: #f0a500; line-height: 1; }
.stat-label{ font-size: .85rem; color: #8a9dc0; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: center; }
.about-img  { position: relative; }
.about-img img {
    width: 100%; border-radius: 10px;
    box-shadow: 10px 10px 0 #f0a500;
}
.about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: #0d1b3e; color: #fff; border: 3px solid #f0a500;
    width: 110px; height: 110px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: .75rem; text-align: center; line-height: 1.4;
}
.about-badge strong { font-size: 1.5rem; color: #f0a500; }
.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text p  { color: #555; margin-bottom: 14px; }
.about-skills  { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.skill-tag {
    background: #f0f5ff; color: #0d1b3e;
    padding: 6px 16px; border-radius: 50px;
    font-size: .85rem; font-weight: 600;
    border: 1px solid #d0dcf5;
}

/* ---------- BLOGS ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
    background: #fff; border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,.13); }
.blog-card-img    { height: 200px; overflow: hidden; }
.blog-card-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.07); }
.blog-card-body   { padding: 24px; }
.blog-cat         { font-size: .75rem; font-weight: 700; color: #f0a500; text-transform: uppercase; letter-spacing: 1px; }
.blog-card-body h3{ font-size: 1.05rem; margin: 8px 0; line-height: 1.4; }
.blog-card-body h3 a { color: #0d1b3e; }
.blog-card-body h3 a:hover { color: #f0a500; }
.blog-card-body p { font-size: .9rem; color: #666; margin-bottom: 16px; }
.blog-meta { font-size: .8rem; color: #999; display: flex; gap: 14px; }

/* ---------- GALLERY ---------- */
.gallery-filter { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
    padding: 8px 24px; border-radius: 50px; cursor: pointer;
    border: 2px solid #0d1b3e; background: #fff; color: #0d1b3e;
    font-weight: 600; font-size: .9rem; transition: all .3s;
}
.filter-btn.active, .filter-btn:hover { background: #0d1b3e; color: #f0a500; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
    position: relative; border-radius: 8px; overflow: hidden;
    aspect-ratio: 1; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(13,27,62,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s;
    color: #f0a500; font-size: 2rem;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- NEWS ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.news-card {
    display: flex; gap: 20px;
    background: #fff; border-radius: 10px; padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    border-left: 4px solid #f0a500;
    transition: transform .3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card-date {
    min-width: 60px; text-align: center; background: #0d1b3e;
    color: #fff; border-radius: 6px; padding: 10px 6px;
}
.news-day   { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.news-month { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: #f0a500; }
.news-content h4 { font-size: 1rem; margin-bottom: 8px; }
.news-content p  { font-size: .88rem; color: #666; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info  { }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 20px; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-icon {
    width: 50px; height: 50px; min-width: 50px;
    background: #f0a500; color: #0d1b3e;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.info-text strong { display: block; font-weight: 700; color: #0d1b3e; margin-bottom: 2px; }
.info-text span   { color: #666; font-size: .95rem; }

/* Form */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 600; color: #0d1b3e; margin-bottom: 6px; font-size: .9rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%; padding: 12px 16px;
    border: 2px solid #e0e8f5; border-radius: 6px;
    font-size: .95rem; color: #333; outline: none;
    transition: border-color .3s; background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #f0a500; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Validation */
.field-error { color: #e53e3e; font-size: .82rem; margin-top: 4px; display: block; }
.alert-success { background: #e6ffed; color: #276749; padding: 14px 20px; border-radius: 6px; border-left: 4px solid #38a169; }
.alert-danger  { background: #fff5f5; color: #c53030; padding: 14px 20px; border-radius: 6px; border-left: 4px solid #e53e3e; }

/* ---------- FOOTER ---------- */
footer {
    background: #060e20;
    color: #8a9dc0;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.footer-about p  { font-size: .9rem; line-height: 1.8; margin: 14px 0; }
.footer-logo     { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 70px; height: 70px; border-radius: 8px; object-fit: contain; }
.footer-logo span{ color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer-col h4   { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #f0a500; }
.footer-col ul   { list-style: none; }
.footer-col ul li{ margin-bottom: 10px; }
.footer-col ul li a { color: #8a9dc0; font-size: .9rem; transition: color .3s; }
.footer-col ul li a:hover { color: #f0a500; padding-left: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: 50px; padding: 22px 20px;
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin-left: auto; margin-right: auto;
    font-size: .85rem;
}
.footer-bottom span { color: #f0a500; }

/* ---------- SCROLL TOP ---------- */
#scrollTop {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: #f0a500; color: #0d1b3e;
    border: none; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; display: none;
    align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.25); z-index: 900;
    transition: background .3s;
}
#scrollTop:hover { background: #0d1b3e; color: #f0a500; }
#scrollTop.show  { display: flex; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .blog-grid    { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid  { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .hero-inner  { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1{ font-size: 2.2rem; }
    .hero-img    { display: none; }
    .hero-cta, .social-strip { justify-content: center; }
    .stats-grid  { grid-template-columns: repeat(2,1fr); }
    .about-grid  { grid-template-columns: 1fr; }
    .about-img   { display: none; }
    .blog-grid   { grid-template-columns: 1fr; }
    .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
    .news-grid   { grid-template-columns: 1fr; }
    .contact-grid{ grid-template-columns: 1fr; }
    .form-row    { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    nav ul       { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
                   background: #0d1b3e; padding: 20px; gap: 4px; }
    nav ul.open  { display: flex; }
    .nav-toggle  { display: flex; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 480px) {
    .stats-grid  { grid-template-columns: 1fr; }
    .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
