:root {
    --primary: #FF7A00;
    --primary-dark: #E85D00;
    --primary-light: #FFB347;
    --cream: #FFF8ED;
    --white: #FFFFFF;
    --dark: #3B1F0F;
    --gold: #D99A2B;
    --muted: #735943;
    --border: rgba(217,154,43,.32);
    --shadow: 0 14px 40px rgba(59,31,15,.10);
    --radius: 20px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Noto Sans Devanagari", "Mangal", system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
}

.section {
    padding: 92px 0;
}

.cream {
    background: var(--cream);
}

.section-orange {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary) 55%,
            var(--primary-light)
        );
    color: var(--white);
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 8px 0 10px;
}

.section-heading p {
    color: var(--muted);
}

.section-kicker {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 800;
}

.section-kicker.light {
    color: #fff3dd;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    transition: .25s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(59,31,15,.16);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-dark);
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 2px solid rgba(217,154,43,.3);
    transition: .25s;
}

.site-header.scrolled {
    box-shadow: 0 8px 25px rgba(59,31,15,.10);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand img {
    display: block;
    width: 205px;
    height: auto;
    max-height: 62px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 17px;
    font-size: .88rem;
    font-weight: 750;
}

.main-nav a {
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .2s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px auto;
}


/* HERO */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            circle at 15% 25%,
            rgba(255,255,255,.18) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 80% 35%,
            rgba(255,255,255,.14) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 60% 80%,
            rgba(255,255,255,.12) 0 2px,
            transparent 3px
        );

    background-size:
        130px 130px,
        180px 180px,
        220px 220px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 50px;
    position: relative;
}

.mantra {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    padding: 6px 15px;
    margin-bottom: 15px;
    background: rgba(255,255,255,.08);
}

.eyebrow {
    font-size: .88rem;
    opacity: .9;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.03;
    margin-bottom: 12px;
}

.hero h2 {
    font-size: clamp(1.35rem, 2.8vw, 2.15rem);
    margin-bottom: 17px;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 680px;
    font-size: 1.08rem;
    opacity: .95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-portrait {
    width: min(390px,80vw);
    aspect-ratio: 1;
    justify-self: center;
    position: relative;
    display: grid;
    place-items: center;
}

.portrait-frame {
    width: 76%;
    height: 76%;
    border-radius: 50%;
    overflow: hidden;
    border: 9px solid rgba(255,255,255,.95);
    box-shadow:
        0 0 0 10px rgba(217,154,43,.7),
        0 25px 60px rgba(59,31,15,.25);
    background: #fff;
    z-index: 2;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sun-ring {
    position: absolute;
    inset: 3%;
    border: 1px dashed rgba(255,255,255,.55);
    border-radius: 50%;
    animation: spin 28s linear infinite;
}

.orbit-symbol {
    position: absolute;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

.symbol-one {
    top: 8%;
    left: 14%;
}

.symbol-two {
    right: 9%;
    top: 28%;
}

.symbol-three {
    bottom: 9%;
    right: 18%;
}

.symbol-four {
    left: 9%;
    bottom: 25%;
}


/* TRUST */

.trust-strip {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    padding: 20px 0;
    font-weight: 750;
    text-align: center;
}

.trust-grid div {
    padding: 8px;
    border-right: 1px solid var(--border);
}

.trust-grid div:last-child {
    border: 0;
}


/* PANCHANG */

.info-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-card .icon {
    font-size: 1.6rem;
}

.info-card small {
    display: block;
    color: var(--muted);
    margin-bottom: 5px;
}

.info-card strong {
    font-size: 1.05rem;
}

.today-date {
    display: block;
    color: var(--primary-dark);
    margin-top: 8px;
}

.data-note {
    font-size: .84rem;
    color: var(--muted);
    margin-top: 25px;
    text-align: center;
}

code {
    background: #fff0d9;
    padding: 2px 6px;
    border-radius: 5px;
}


/* NAKSHATRA */

.nakshatra-card {
    background: linear-gradient(135deg,#fff,#fff7e9);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 50px;
    display: grid;
    grid-template-columns: .55fr 1fr;
    gap: 45px;
    align-items: center;
    box-shadow: var(--shadow);
}

.moon-visual {
    min-height: 260px;
    border-radius: 25px;
    background: linear-gradient(145deg,#fff0d0,#ffd994);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.moon {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: #fffdf5;
    box-shadow:
        15px 0 0 0 rgba(217,154,43,.2),
        0 0 45px rgba(255,255,255,.8);
}

.stars {
    position: absolute;
    color: #b87700;
    font-size: 1.4rem;
    line-height: 2.4;
}

.nakshatra-card h2 {
    font-size: 2.5rem;
    margin: 7px 0 25px;
}

.nakshatra-details {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.detail {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fff;
}

.detail b {
    display: block;
    color: var(--primary-dark);
    font-size: .85rem;
}


/* RASHIFAL */

.rashi-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.rashi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(59,31,15,.06);
    transition: .25s;
}

.rashi-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255,122,0,.16);
}

.rashi-symbol {
    font-size: 3rem;
    color: var(--primary-dark);
    transition: .25s;
}

.rashi-card:hover .rashi-symbol {
    transform: scale(1.08);
}

.rashi-card h3 {
    font-size: 1.25rem;
}

.english {
    color: var(--muted);
    font-size: .9rem;
}

.short {
    font-size: .9rem;
    margin: 10px 0;
    color: #594433;
}

.card-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 14px;
}


/* RASHI INFO */

.rashi-info-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.rashi-info {
    padding: 23px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}

.rashi-info .symbol {
    font-size: 2rem;
    color: var(--primary);
}

.rashi-info h3 {
    margin: 5px 0;
}

.rashi-info p {
    font-size: .9rem;
    color: var(--muted);
}


/* PLANETS */

.table-wrap {
    overflow: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 720px;
}

th,
td {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid #f0dfc7;
}

th {
    background: var(--primary);
    color: #fff;
}


/* SERVICES */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
}

.service-card h3 {
    margin: 10px 0 7px;
}

.service-card p {
    color: var(--muted);
    min-height: 55px;
    margin-bottom: 20px;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    position: relative;
    max-width: 430px;
    margin: auto;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 35px;
    border: 8px solid #fff;
    box-shadow:
        0 0 0 3px var(--gold),
        var(--shadow);
}

.photo-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(59,31,15,.88);
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
}

.about-copy h2 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 7px 0;
}

.about-copy h3 {
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.about-copy > p {
    color: var(--muted);
}

.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
    margin: 22px 0 27px;
}

.check-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 9px;
}


/* WHY */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.why-card {
    padding: 25px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.why-card span {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.5rem;
}

.why-card h3 {
    margin: 6px 0;
}

.why-card p {
    color: var(--muted);
}


/* CTA */

.cta {
    padding: 65px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta h2 {
    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.15;
    margin: 7px 0;
}

.cta p {
    opacity: .92;
    max-width: 700px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 280px;
}

.cta-actions strong {
    text-align: center;
    font-size: 1.25rem;
}


/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 15px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 17px;
    box-shadow: var(--shadow);
}

.contact-card > span {
    font-size: 2rem;
}

.contact-card b,
.contact-card strong {
    display: block;
}

.contact-card b {
    font-size: .85rem;
    color: var(--muted);
}

.contact-card strong {
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.contact-note {
    padding: 20px;
    background: #fff0d9;
    border-radius: 16px;
    color: var(--muted);
}

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form label {
    display: block;
    font-weight: 750;
    margin-bottom: 15px;
}

input,
textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #dfc7a6;
    border-radius: 11px;
    padding: 12px 14px;
    color: var(--dark);
    background: #fff;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,122,0,.13);
}

textarea {
    resize: vertical;
}

.form-message {
    margin-top: 12px;
    color: var(--primary-dark);
    font-weight: 800;
}


/* FOOTER */

.footer {
    background: var(--primary-dark);
    color: #fff;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

.footer-logo {
    width: 180px;
    height: auto;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
}

.footer h3 {
    font-size: 1.5rem;
}

.footer h4 {
    margin-bottom: 13px;
}

.footer-grid a {
    display: block;
    opacity: .9;
    margin: 5px 0;
}

.footer-grid a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.25);
    padding: 20px 0;
    font-size: .82rem;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.footer-bottom p:last-child {
    max-width: 760px;
    opacity: .82;
}

/* Footer Social Media */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-4px);
}

/* Social Icons */
.footer-social .fa-facebook-f,
.footer-social .fa-instagram,
.footer-social .fa-youtube,
.footer-social .fa-linkedin-in {
  color: inherit;
}


/* SCROLL TOP */

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    z-index: 900;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}


/* MODAL */

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(59,31,15,.62);
    backdrop-filter: blur(3px);
}

.modal-dialog {
    position: relative;
    width: min(760px,100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
}

.modal-symbol {
    font-size: 3rem;
    color: var(--primary);
}

.modal-dialog h2 {
    font-size: 2rem;
    margin: 4px 0 20px;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-item {
    padding: 15px;
    background: var(--cream);
    border-radius: 13px;
}

.modal-item b {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 4px;
}


/* ACCESSIBILITY */

.skip-link {
    position: fixed;
    left: 10px;
    top: 10px;
    background: #fff;
    color: var(--dark);
    padding: 8px 12px;
    border-radius: 8px;
    transform: translateY(-150%);
    z-index: 3000;
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}


/* ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* TABLET */

@media(max-width:1050px) {

    .main-nav {
        gap: 11px;
        font-size: .8rem;
    }

    .info-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .rashi-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .rashi-info-grid {
        grid-template-columns: repeat(3,1fr);
    }
}


/* MOBILE NAV */

@media(max-width:850px) {

    .nav-wrap {
        min-height: 70px;
    }

    .brand img {
        width: 155px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px 20px 20px;
        box-shadow: 0 15px 25px rgba(59,31,15,.12);
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 10px 5px;
        border-bottom: 1px solid #f4e5d2;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        padding: 75px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy > p:not(.eyebrow) {
        margin: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-portrait {
        order: -1;
        width: min(300px,72vw);
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid div:nth-child(2) {
        border-right: 0;
    }

    .nakshatra-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .moon-visual {
        min-height: 200px;
    }

    .service-grid,
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 350px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        width: min(420px,100%);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* SMALL MOBILE */

@media(max-width:580px) {

    .container {
        width: min(var(--container),calc(100% - 26px));
    }

    .section {
        padding: 65px 0;
    }

    .info-grid,
    .rashi-grid,
    .rashi-info-grid,
    .service-grid,
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero h2 {
        font-size: 1.35rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .nakshatra-details,
    .modal-content-grid,
    .form-row,
    .check-list {
        grid-template-columns: 1fr;
    }

    .about-copy h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        font-size: .76rem;
    }
}


/* VERY SMALL MOBILE */

@media(max-width:390px) {

    .rashi-grid,
    .rashi-info-grid,
    .service-grid,
    .why-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid div {
        border-right: 0;
    }
}


/* REDUCED MOTION */

@media(prefers-reduced-motion:reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .sun-ring {
        animation: none;
    }

    .btn,
    .rashi-card,
    .service-card {
        transition: none;
    }
}