* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #0b0b0b;
    color: #e8e2d8;
    font-family: Arial, sans-serif;
}

.site-container {
    width: min(1150px, calc(100% - 30px));
    margin: 0 auto;
}

.site-header {
    background: #11100e;
    border-bottom: 1px solid #2b261f;
}

.site-header .site-container {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    color: #c9a86a;
    text-decoration: none;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.main-menu a {
    color: #d9d1c4;
    text-decoration: none;
    font-size: 14px;
}

.main-menu a:hover {
    color: #c9a86a;
}

.ad-top,
.ad-bottom {
    width: min(1150px, calc(100% - 30px));
    margin: 20px auto;
}

.ad-box {
    border: 1px dashed #4a4032;
    background: #111;
    color: #70695e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.ad-1150x100 {
    width: 100%;
    height: 100px;
}

.page-grid {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    gap: 20px;
    align-items: start;
}

.ad-160x600 {
    width: 160px;
    height: 600px;
}

.main-content {
    min-width: 0;
    min-height: 600px;
}

.bottom-small-ads {
    width: min(950px, calc(100% - 30px));
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.ad-468x60 {
    width: 468px;
    height: 60px;
}

.site-footer {
    border-top: 1px solid #2b261f;
    background: #0a0a0a;
    padding: 25px 0;
    text-align: center;
    color: #777064;
    font-size: 13px;
}

@media (max-width: 900px) {
    .site-header .site-container {
        flex-direction: column;
        padding: 18px 0;
    }

    .main-menu {
        justify-content: center;
    }

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

    .sidebar {
        display: none;
    }

    .bottom-small-ads {
        flex-direction: column;
        align-items: center;
    }

    .ad-468x60 {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .main-menu {
        gap: 10px;
    }

    .main-menu a {
        font-size: 12px;
    }

    .ad-1150x100 {
        height: 80px;
    }
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 70px 55px;
    background:
        radial-gradient(circle at 70% 35%, rgba(110, 78, 35, .18), transparent 35%),
        linear-gradient(135deg, #17130e, #090909 65%);
    border: 1px solid #2b261f;
}

.hero-inner {
    max-width: 760px;
}

.eyebrow,
.section-label {
    color: #b99961;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero h1 {
    margin: 20px 0;
    color: #eee5d6;
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
}

.hero p {
    max-width: 680px;
    color: #b9b0a2;
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
}

.btn-primary {
    background: #b99961;
    color: #0b0b0b;
}

.btn-secondary {
    border: 1px solid #62523b;
    color: #d8c9b0;
}

.credibility {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px 0;
    border: 1px solid #2b261f;
    background: #11100e;
}

.credibility div {
    padding: 28px;
    text-align: center;
    border-right: 1px solid #2b261f;
}

.credibility div:last-child {
    border-right: 0;
}

.credibility strong,
.credibility span {
    display: block;
}

.credibility strong {
    color: #c9a86a;
    font-size: 30px;
}

.credibility span {
    margin-top: 8px;
    color: #968d80;
    font-size: 13px;
}

.intro-section,
.services-section,
.founder-section,
.consultation-section {
    padding: 75px 25px;
}

.intro-section {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.intro-section h2,
.services-section h2,
.founder-section h2,
.consultation-section h2 {
    color: #e9dfd0;
    font-family: Georgia, serif;
    font-size: 38px;
    line-height: 1.2;
    margin: 16px 0 24px;
}

.intro-section p,
.founder-section p,
.consultation-section p {
    color: #a9a095;
    line-height: 1.8;
    font-size: 16px;
}

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

.service-card {
    padding: 30px;
    min-height: 190px;
    background: #11100e;
    border: 1px solid #2b261f;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}

.service-card:hover {
    border-color: #8d7045;
    transform: translateY(-3px);
}

.service-card h3 {
    color: #d4b477;
    font-family: Georgia, serif;
    font-size: 22px;
}

.service-card p {
    color: #938b80;
    line-height: 1.7;
}

.founder-section {
    background: #11100e;
    border-top: 1px solid #2b261f;
    border-bottom: 1px solid #2b261f;
}

.founder-section > div {
    max-width: 800px;
}

.consultation-section {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

@media (max-width: 800px) {
    .hero {
        padding: 55px 25px;
    }

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

    .credibility div {
        border-right: 0;
        border-bottom: 1px solid #2b261f;
    }

    .credibility div:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   AGHOR.CLOUD — Modern Registration Form
   ========================================================= */

.register-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 70px;
}

.register-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(190, 160, 95, .22);
    border-radius: 24px;
    margin-bottom: 24px;
    background:
        radial-gradient(circle at 80% 20%, rgba(177, 145, 76, .16), transparent 34%),
        radial-gradient(circle at 10% 90%, rgba(100, 72, 35, .14), transparent 38%),
        linear-gradient(135deg, #11100e, #090909 62%, #15120d);
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.register-hero-inner {
    padding: 52px 42px;
}

.register-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #c7aa70;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
}

.register-hero h1 {
    margin: 0 0 12px;
    color: #f3ead8;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
}

.register-hero p {
    max-width: 720px;
    margin: 0;
    color: #aaa39a;
    font-size: 16px;
    line-height: 1.7;
}

.register-card {
    margin-bottom: 22px;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(24,23,21,.98), rgba(13,13,12,.98));
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.section-heading > span {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(199,170,112,.35);
    border-radius: 50%;
    color: #c7aa70;
    font-size: 13px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0 0 5px;
    color: #eee5d4;
    font-size: 24px;
}

.section-heading p {
    margin: 0;
    color: #8f8b84;
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: #d9d2c7;
    font-size: 13px;
    font-weight: 700;
}

.field label b {
    color: #c7aa70;
}

.field input,
.field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid #35332f;
    border-radius: 11px;
    outline: none;
    background: #0d0d0c;
    color: #eee8dd;
    font: inherit;
    transition: .2s ease;
}

.field input:focus,
.field select:focus {
    border-color: #a98b54;
    box-shadow: 0 0 0 3px rgba(169,139,84,.10);
}

.field input::placeholder {
    color: #625f59;
}

.field small {
    display: block;
    margin-top: 7px;
    color: #77736d;
    font-size: 12px;
}

.profile-url-field {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #35332f;
    border-radius: 11px;
    background: #0d0d0c;
}

.profile-url-field:focus-within {
    border-color: #a98b54;
    box-shadow: 0 0 0 3px rgba(169,139,84,.10);
}

.profile-url-field span {
    display: flex;
    align-items: center;
    padding: 0 0 0 14px;
    color: #77736d;
    font-size: 13px;
    white-space: nowrap;
}

.profile-url-field input {
    min-height: 48px;
    border: 0;
    box-shadow: none !important;
}

.birth-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.photo-upload {
    position: relative;
    min-width: 0;
    padding: 18px 14px 14px;
    border: 1px dashed #4a453d;
    border-radius: 14px;
    background: #10100f;
    transition: .2s ease;
}

.photo-upload:hover {
    border-color: #a98b54;
    background: #141310;
}

.photo-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgba(199,170,112,.12);
    color: #c7aa70;
    font-size: 12px;
    font-weight: 800;
}

.photo-upload label {
    display: block;
    margin-bottom: 12px;
}

.photo-upload label strong {
    display: block;
    margin-bottom: 4px;
    color: #ddd5c8;
    font-size: 13px;
}

.photo-upload label span {
    display: block;
    color: #77736d;
    font-size: 11px;
}

.photo-upload input[type="file"] {
    width: 100%;
    max-width: 100%;
    color: #8e8980;
    font-size: 11px;
}

.children-section[hidden],
.conditional-field[hidden] {
    display: none !important;
}

.children-card {
    border-color: rgba(169,139,84,.18);
}

.child-card {
    margin: 0 0 20px;
    padding: 26px;
    border: 1px solid #302e2a;
    border-radius: 18px;
    background: #0e0e0d;
}

.child-card:last-child {
    margin-bottom: 0;
}

.child-card legend {
    padding: 0 10px;
    color: #c7aa70;
    font-size: 17px;
    font-weight: 800;
}

.child-photo-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 28px 0 14px;
    padding-top: 22px;
    border-top: 1px solid #292824;
}

.child-photo-heading strong {
    color: #ddd5c8;
    font-size: 14px;
}

.child-photo-heading span {
    color: #77736d;
    font-size: 12px;
}

.child-photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.register-submit {
    text-align: center;
    padding: 10px 0;
}

.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 240px;
    padding: 15px 22px;
    border: 1px solid #c7aa70;
    border-radius: 12px;
    background: linear-gradient(135deg, #b3945b, #846a3d);
    color: #11100e;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    transition: .2s ease;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0,0,0,.32);
}

.register-button strong {
    font-size: 20px;
}

.register-submit p {
    margin: 12px 0 0;
    color: #706c65;
    font-size: 11px;
}

@media (max-width: 900px) {
    .register-hero-inner {
        padding: 40px 28px;
    }

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

    .field-full {
        grid-column: auto;
    }

    .photo-grid,
    .child-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .register-page {
        padding: 12px 10px 45px;
    }

    .register-hero,
    .register-card {
        border-radius: 16px;
    }

    .register-hero-inner {
        padding: 32px 22px;
    }

    .register-hero h1 {
        font-size: 34px;
    }

    .register-card {
        padding: 22px 17px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .profile-url-field {
        display: block;
    }

    .profile-url-field span {
        display: block;
        padding: 11px 14px 0;
    }

    .birth-time-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .photo-grid,
    .child-photo-grid {
        grid-template-columns: 1fr;
    }

    .child-card {
        padding: 20px 15px;
    }

    .register-button {
        width: 100%;
    }
}

.registration-agreements {
    margin: 10px auto 22px;
    max-width: 760px;
    padding: 20px 22px;
    border: 1px solid rgba(199,170,112,.18);
    border-radius: 16px;
    background: rgba(15,15,14,.72);
}

.agreement-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 11px 0;
    color: #aaa49b;
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.agreement-item input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: #b3945b;
    cursor: pointer;
}

.agreement-item a {
    color: #c7aa70;
    text-decoration: none;
    font-weight: 700;
}

.agreement-item a:hover {
    text-decoration: underline;
}

.birth-time-grid select {
    min-width: 0;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 600px) {
    .birth-time-grid select {
        font-size: 13px;
        padding-left: 8px;
        padding-right: 8px;
    }
}


/* Registration birth-time fields */
.register-form .birth-time-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.register-form .birth-time-grid select {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 600px) {
    .register-form .birth-time-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 6px;
    }

    .register-form .birth-time-grid select {
        font-size: 12px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Premium Create Account button */
.register-submit .register-button {
    background: #d4af37;
    border: 2px solid #b00000;
    color: #b00000;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.22);
}

.register-submit .register-button:hover {
    background: #e3c04a;
    color: #8f0000;
}


/* Family / Kundli enhancements */
.why-button {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 9px;
    border: 1px solid #d4af37;
    border-radius: 5px;
    background: transparent;
    color: #d4af37;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    cursor: pointer;
    vertical-align: middle;
}

.why-button:hover {
    background: #d4af37;
    color: #111;
}

.conditional-panel {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(212,175,55,.28);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.subsection-heading {
    margin-bottom: 20px;
}

.subsection-heading h3 {
    margin: 0 0 6px;
    color: #d4af37;
}

.subsection-heading p {
    margin: 0;
    opacity: .78;
}

.why-modal[hidden] {
    display: none !important;
}

.why-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.why-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.78);
}

.why-modal-box {
    position: relative;
    width: min(620px, calc(100% - 30px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 20px auto;
    padding: 30px;
    border: 1px solid rgba(212,175,55,.5);
    border-radius: 14px;
    background: #151515;
    color: #eee;
    box-shadow: 0 20px 80px rgba(0,0,0,.65);
}

.why-modal-box h3 {
    margin: 0 35px 18px 0;
    color: #d4af37;
}

.why-modal-box p {
    line-height: 1.7;
    margin: 0 0 15px;
}

.why-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #d4af37;
    font-size: 30px;
    cursor: pointer;
}

.modal-open {
    overflow: hidden;
}

.register-form .birth-time-grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1fr) minmax(0,1.3fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.register-form .birth-time-grid select {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 6px;
    padding-right: 6px;
}

@media (max-width: 600px) {
    .conditional-panel {
        padding: 15px;
    }

    .register-form .birth-time-grid {
        grid-template-columns: minmax(0,.85fr) minmax(0,1fr) minmax(0,1.35fr);
        gap: 6px;
    }

    .register-form .birth-time-grid select {
        font-size: 12px;
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* Spouse details must occupy the full width of Family box */
#spouse-field {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
}

#spouse-field .form-grid {
    width: 100%;
}


/* =========================================================
   PREMIUM HEADER & FOOTER NAVIGATION
   ========================================================= */

.main-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.main-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #3a3228;
    border-radius: 5px;
    background: #151310;
    color: #e8e2d8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .2s ease;
}

.main-menu a:hover {
    background: #c9a86a;
    border-color: #c9a86a;
    color: #0b0b0b;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid #3a3228;
    border-radius: 5px;
    background: #12110f;
    color: #d9d1c4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    transition: all .2s ease;
}

.footer-menu a:hover {
    background: #c9a86a;
    border-color: #c9a86a;
    color: #0b0b0b;
}

.site-footer p {
    margin: 0;
    color: #777064;
}

@media (max-width: 900px) {
    .main-menu {
        justify-content: center;
    }

    .footer-menu {
        padding: 0 15px;
    }
}

@media (max-width: 520px) {
    .main-menu a,
    .footer-menu a {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .footer-menu {
        gap: 7px;
    }
}
