:root{
    --saffron:#e87918;
    --saffron-dark:#c95e0b;
    --cream:#fff8ec;
    --cream-dark:#f5ead8;
    --green:#123e2e;
    --green-light:#205a43;
    --gold:#d6aa42;
    --gold-light:#f0c96e;
    --text:#26332d;
    --muted:#718079;
    --white:#ffffff;
    --border:#e8dece;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:"DM Sans",sans-serif;
    color:var(--text);
    background:#fff;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:min(1160px,92%);
    margin:auto;
}


/* =========================================
   HERO
========================================= */

.rd-hero{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(
            115deg,
            #123e2e 0%,
            #174b38 55%,
            #0f3427 100%
        );
    color:#fff;
}

.rd-hero:before{
    content:"";
    position:absolute;
    inset:0;
    opacity:.08;
    background-image:
        radial-gradient(
            circle,
            var(--gold) 1px,
            transparent 2px
        );
    background-size:38px 38px;
}

.hero-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(70px);
    opacity:.12;
}

.hero-glow-one{
    width:350px;
    height:350px;
    background:var(--saffron);
    top:-150px;
    left:-120px;
}

.hero-glow-two{
    width:400px;
    height:400px;
    background:var(--gold);
    right:-180px;
    bottom:-180px;
}

.rd-hero-inner{
    min-height:610px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    position:relative;
}

.hero-text{
    max-width:680px;
    padding:80px 0;
}

.hero-label{
    color:#f0c36e;
    font-size:11px;
    font-weight:800;
    letter-spacing:2.4px;
}

.hero-text h1{
    font-family:"Playfair Display",serif;
    font-size:clamp(48px,6.5vw,76px);
    line-height:1.03;
    margin:18px 0;
    letter-spacing:-1.5px;
}

.hero-text h1 span{
    display:block;
    color:#f5b35d;
}

.hero-text p{
    max-width:610px;
    font-size:18px;
    line-height:1.7;
    color:#d6e2dc;
}

.hero-text p strong{
    color:#fff;
}

.hero-buttons{
    display:flex;
    gap:12px;
    margin-top:30px;
}

.rd-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:14px 21px;
    border-radius:9px;
    font-weight:700;
    font-size:14px;
    transition:.2s;
}

.rd-btn-primary{
    background:var(--saffron);
    color:#fff;
    box-shadow:0 10px 25px #0003;
}

.rd-btn-primary:hover{
    background:var(--saffron-dark);
    transform:translateY(-2px);
}

.rd-btn-outline{
    border:1px solid #ffffff55;
    color:#fff;
}

.rd-btn-outline:hover{
    background:#ffffff12;
}

.hero-features{
    display:flex;
    gap:24px;
    margin-top:38px;
    color:#b9cdc3;
    font-size:12px;
}


/* =========================================
   EMBLEM
========================================= */

.rd-emblem-wrap{
    width:390px;
    height:390px;
    display:grid;
    place-items:center;
    position:relative;
    flex-shrink:0;
}

.rd-emblem{
    width:330px;
    height:330px;
    border-radius:50%;
    border:2px solid var(--gold);
    padding:15px;
    position:relative;
    background:
        radial-gradient(
            circle,
            #225d45,
            #123e2e
        );
    box-shadow:
        0 0 0 10px #ffffff08,
        0 20px 70px #0005;
}

.rd-emblem:before,
.rd-emblem:after{
    content:"";
    position:absolute;
    border:1px solid #d6aa4266;
    border-radius:50%;
}

.rd-emblem:before{
    inset:15px;
}

.rd-emblem:after{
    inset:28px;
}

.rd-emblem-inner{
    width:100%;
    height:100%;
    border-radius:50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    z-index:2;
}

.ram-mantra{
    color:var(--gold-light);
    font-size:25px;
    font-weight:700;
    margin-bottom:13px;
}

.emblem-small{
    color:#d9cda7;
    font-size:9px;
    letter-spacing:3px;
    font-weight:700;
}

.emblem-title{
    color:#fff;
    font-family:"Playfair Display",serif;
    font-size:32px;
    letter-spacing:3px;
    margin:4px 0;
}

.emblem-subtitle{
    color:var(--gold-light);
    font-size:11px;
    letter-spacing:5px;
}

.emblem-divider{
    width:55px;
    height:1px;
    background:var(--gold);
    margin:14px 0;
}

.emblem-shadow{
    position:absolute;
    width:250px;
    height:35px;
    background:#0006;
    filter:blur(20px);
    bottom:5px;
}


/* =========================================
   QUICK SERVICES
========================================= */

.quick-services{
    background:var(--cream);
    border-bottom:1px solid var(--border);
}

.quick-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.quick-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:22px 20px;
    border-right:1px solid var(--border);
    transition:.2s;
}

.quick-item:last-child{
    border-right:0;
}

.quick-item:hover{
    background:#fffdf8;
}

.quick-icon{
    width:43px;
    height:43px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#fff;
    font-size:21px;
    box-shadow:0 4px 12px #50300d10;
}

.quick-item strong,
.quick-item small{
    display:block;
}

.quick-item strong{
    font-size:13px;
}

.quick-item small{
    color:var(--muted);
    font-size:11px;
    margin-top:4px;
}


/* =========================================
   SECTIONS
========================================= */

.rd-section{
    padding:90px 0;
}

.intro-section{
    background:#fff;
}

.intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
}

.section-label{
    color:var(--saffron);
    font-size:11px;
    font-weight:800;
    letter-spacing:2.2px;
}

.intro-grid h2,
.section-heading h2,
.center-heading h2,
.emergency-inner h2{
    font-family:"Playfair Display",serif;
    font-size:clamp(34px,4vw,50px);
    line-height:1.12;
    margin:12px 0;
}

.intro-grid h2 span,
.center-heading h2 span,
.emergency-inner h2 span{
    color:var(--saffron);
}

.intro-content p{
    color:var(--muted);
    font-size:16px;
    line-height:1.8;
}

.rd-text-link{
    color:var(--green);
    font-size:14px;
    font-weight:700;
    display:inline-flex;
    gap:9px;
    margin-top:12px;
}

.rd-text-link:hover{
    color:var(--saffron);
}


/* =========================================
   NOTICES
========================================= */

.notices-section{
    background:var(--cream);
}

.section-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    margin-bottom:32px;
}

.notice-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.notice-box{
    background:#fff;
    border:1px solid var(--border);
    border-radius:15px;
    padding:26px;
    min-height:230px;
    display:flex;
    flex-direction:column;
    box-shadow:0 10px 30px #5937100b;
    transition:.2s;
}

.notice-box:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px #59371016;
}

.notice-box:first-child{
    border-top:4px solid var(--saffron);
}

.notice-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.notice-date{
    color:var(--saffron);
    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;
}

.notice-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--gold);
}

.notice-box h3{
    font-family:"Playfair Display",serif;
    font-size:22px;
    margin:16px 0 9px;
}

.notice-box p{
    color:var(--muted);
    font-size:14px;
    line-height:1.65;
    margin:0;
}

.notice-link{
    color:var(--green);
    font-size:12px;
    font-weight:800;
    margin-top:auto;
    padding-top:20px;
}


/* =========================================
   FACILITIES
========================================= */

.facilities-section{
    background:#fff;
}

.center-heading{
    text-align:center;
    margin-bottom:40px;
}

.facility-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:17px;
}

.facility-box{
    border:1px solid var(--border);
    border-radius:15px;
    padding:28px;
    background:#fff;
    transition:.2s;
}

.facility-box:hover{
    transform:translateY(-5px);
    border-color:#e4bd72;
    box-shadow:0 15px 35px #59371012;
}

.facility-icon{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:var(--cream);
    font-size:25px;
}

.facility-box h3{
    font-family:"Playfair Display",serif;
    font-size:20px;
    margin:18px 0 8px;
}

.facility-box p{
    color:var(--muted);
    font-size:13px;
    line-height:1.7;
}


/* =========================================
   EVENTS
========================================= */

.events-section{
    background:var(--green);
    color:#fff;
    padding:75px 0;
}

.events-inner{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:70px;
}

.light-label{
    color:#f2c36d;
}

.events-inner h2{
    font-family:"Playfair Display",serif;
    font-size:46px;
    line-height:1.1;
    margin:12px 0;
}

.events-inner h2 span{
    color:#f3b15a;
}

.events-inner p{
    color:#bcd0c6;
    line-height:1.7;
}

.event-placeholder{
    border:1px solid #ffffff22;
    background:#ffffff08;
    border-radius:17px;
    padding:28px;
    display:flex;
    align-items:center;
    gap:18px;
}

.event-symbol{
    width:60px;
    height:60px;
    display:grid;
    place-items:center;
    border-radius:15px;
    background:#ffffff0d;
    font-size:29px;
}

.event-placeholder strong,
.event-placeholder small{
    display:block;
}

.event-placeholder strong{
    font-size:17px;
}

.event-placeholder small{
    color:#b9ccc3;
    font-size:12px;
    margin-top:6px;
}


/* =========================================
   EMERGENCY
========================================= */

.emergency-section{
    background:var(--cream);
    padding:80px 0;
}

.emergency-inner{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:70px;
    align-items:center;
}

.emergency-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
}

.contact-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:17px 20px;
    display:flex;
    align-items:center;
    gap:14px;
}

.contact-card > span{
    font-size:22px;
}

.contact-card strong,
.contact-card small{
    display:block;
}

.contact-card strong{
    font-size:14px;
}

.contact-card small{
    color:var(--muted);
    font-size:12px;
    margin-top:4px;
}


/* =========================================
   LOGIN CTA
========================================= */

.login-cta{
    background:var(--saffron);
    color:#fff;
    padding:65px 0;
}

.login-cta-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.login-cta h2{
    font-family:"Playfair Display",serif;
    font-size:44px;
    line-height:1.1;
    margin:10px 0;
}

.login-cta h2 span{
    color:#fff1d7;
}

.rd-btn-white{
    background:#fff;
    color:var(--green);
    box-shadow:0 10px 25px #0002;
}

.rd-btn-white:hover{
    transform:translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

footer{
    background:var(--green);
    color:#dce8e3;
}


/* =========================================
   TABLET
========================================= */

@media(max-width:900px){

    .navlinks{
        display:none;
    }

    .rd-hero-inner{
        min-height:auto;
    }

    .hero-text{
        padding:80px 0;
    }

    .rd-emblem-wrap{
        width:320px;
        height:320px;
    }

    .rd-emblem{
        width:270px;
        height:270px;
    }

    .quick-grid{
        grid-template-columns:1fr 1fr;
    }

    .quick-item:nth-child(2){
        border-right:0;
    }

    .intro-grid,
    .events-inner,
    .emergency-inner{
        grid-template-columns:1fr;
        gap:30px;
    }

    .notice-grid{
        grid-template-columns:1fr 1fr;
    }

    .facility-grid{
        grid-template-columns:1fr 1fr;
    }

    .emergency-grid{
        grid-template-columns:1fr 1fr 1fr;
    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .rd-hero-inner{
        display:block;
    }

    .hero-text{
        padding:65px 0 55px;
    }

    .hero-text h1{
        font-size:47px;
    }

    .hero-text p{
        font-size:16px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-features{
        flex-direction:column;
        gap:9px;
    }

    .rd-emblem-wrap{
        display:none;
    }

    .quick-grid{
        grid-template-columns:1fr;
    }

    .quick-item{
        border-right:0;
        border-bottom:1px solid var(--border);
    }

    .quick-item:last-child{
        border-bottom:0;
    }

    .rd-section{
        padding:65px 0;
    }

    .section-heading{
        display:block;
    }

    .notice-grid,
    .facility-grid{
        grid-template-columns:1fr;
    }

    .events-inner h2,
    .login-cta h2{
        font-size:35px;
    }

    .emergency-grid{
        grid-template-columns:1fr;
    }

    .login-cta-inner{
        flex-direction:column;
        align-items:flex-start;
    }

}

/* =========================================
   RAGHUKUL DHAM NAVBAR
========================================= */

.rd-navbar{
    height:78px;
    width:100%;
    background:#ffffff;
    border-bottom:1px solid #e8dece;
    position:sticky;
    top:0;
    z-index:9999;
}

.rd-navbar-inner{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.rd-brand{
    display:flex;
    align-items:center;
    gap:11px;
    color:#123e2e;
    text-decoration:none;
}

.rd-brand-mark{
    width:44px;
    height:44px;
    border-radius:50%;
    background:#e87918;
    border:3px solid #d6aa42;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    font-size:12px;
    font-weight:800;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    flex-shrink:0;
}

.rd-brand-text strong{
    display:block;
    font-size:15px;
    line-height:1.2;
    font-weight:800;
}

.rd-brand-text small{
    display:block;
    margin-top:4px;
    color:#718079;
    font-size:8px;
    letter-spacing:1.8px;
    font-weight:700;
}

.rd-menu{
    display:flex;
    align-items:center;
    gap:27px;
}

.rd-menu a{
    color:#53605a;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    white-space:nowrap;
    transition:.2s;
}

.rd-menu a:hover{
    color:#e87918;
}

.rd-menu .rd-login{
    background:#123e2e;
    color:#ffffff;
    padding:12px 19px;
    border-radius:9px;
    font-weight:700;
    box-shadow:0 5px 14px rgba(18,62,46,.15);
}

.rd-menu .rd-login:hover{
    background:#205a43;
    color:#ffffff;
}


/* MOBILE */

@media(max-width:900px){

    .rd-navbar{
        height:70px;
    }

    .rd-menu{
        gap:12px;
    }

    .rd-menu a:not(.rd-login){
        display:none;
    }

    .rd-menu .rd-login{
        padding:10px 14px;
        font-size:12px;
    }

}

@media(max-width:500px){

    .rd-brand-mark{
        width:39px;
        height:39px;
        font-size:10px;
    }

    .rd-brand-text strong{
        font-size:13px;
    }

    .rd-brand-text small{
        font-size:7px;
        letter-spacing:1.2px;
    }

    .rd-menu .rd-login{
        padding:9px 11px;
        font-size:11px;
    }

}

/* =========================================
   RAGHUKUL DHAM HERO IMAGE LOGO
========================================= */

.rd-image-logo{
    width:380px;
    height:380px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.rd-image-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    filter:
        drop-shadow(0 12px 25px rgba(0,0,0,.28))
        drop-shadow(0 0 18px rgba(214,170,66,.18));
}


/* TABLET */

@media(max-width:900px){

    .rd-image-logo{
        width:270px;
        height:270px;
    }

}


/* MOBILE */

@media(max-width:600px){

    .rd-emblem-wrap{
        display:flex !important;
        justify-content:center;
        width:100%;
        height:auto;
        margin-top:20px;
        margin-bottom:35px;
    }

    .rd-image-logo{
        width:220px;
        height:220px;
    }

}

/* =========================================================
   RESIDENT DASHBOARD
   ========================================================= */

.dashboard {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 80px;
}

.dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.dashboard h1 {
    margin: 8px 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    color: #173f31;
}

.dashboard h2 {
    margin: 8px 0 20px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    line-height: 1.15;
    color: #173f31;
}

.dashboard h3 {
    color: #173f31;
    margin: 10px 0;
}

.dashboard .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d77a16;
}

.dashboard .muted {
    color: #6d746f;
    line-height: 1.7;
}


/* Resident profile */

.resident-profile {
    background: linear-gradient(135deg, #123e2e, #1b513d);
    color: #fff;
    border-radius: 22px;
    padding: 30px 35px;
    margin-bottom: 28px;
    box-shadow: 0 15px 35px rgba(18, 62, 46, .12);
}

.resident-profile .eyebrow {
    color: #f3b45d;
}

.resident-profile h2 {
    color: #fff;
    margin: 8px 0;
}

.resident-profile p {
    margin: 0;
    opacity: .85;
}


/* Stats */

.dashboard .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0 55px;
}

.dashboard .stats > div {
    background: #fff;
    border: 1px solid #e8e1d6;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}

.dashboard .stats b {
    display: block;
    font-size: 34px;
    color: #173f31;
    margin-bottom: 5px;
}

.dashboard .stats span {
    color: #727872;
    font-size: 14px;
}


/* Sections */

.dashboard-section {
    margin-bottom: 55px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-head a {
    color: #b8620d;
    font-weight: 700;
    text-decoration: none;
}


/* Cards */

.dashboard .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard .feature {
    background: #fff;
    border: 1px solid #e6dfd4;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dashboard .feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}

.dashboard .feature small {
    color: #c17624;
    font-weight: 700;
}

.dashboard .feature p {
    color: #707770;
    line-height: 1.65;
}


/* Two column area */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 55px;
}

.dashboard-grid .dashboard-section {
    background: #fff;
    border: 1px solid #e6dfd4;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 0;
}


/* Lists */

.simple-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee8df;
}

.list-item:last-child {
    border-bottom: 0;
}

.list-item strong {
    color: #173f31;
}

.list-item p {
    margin: 5px 0 0;
    color: #777;
    font-size: 14px;
}


/* Status */

.status {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 30px;
    background: #fff3df;
    color: #a95d0b;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* Buttons */

.dashboard .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #d8d2c8;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.dashboard .btn-primary {
    background: #e97913;
    border-color: #e97913;
    color: #fff;
}


/* Mobile */

@media (max-width: 900px) {

    .dashboard {
        width: min(100% - 28px, 700px);
        padding: 35px 0 60px;
    }

    .dashboard-head {
        flex-direction: column;
    }

    .dashboard .stats {
        grid-template-columns: 1fr;
    }

    .dashboard .cards {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .dashboard {
        width: calc(100% - 24px);
        padding-top: 25px;
    }

    .dashboard h1 {
        font-size: 38px;
    }

    .dashboard h2 {
        font-size: 27px;
    }

    .resident-profile {
        padding: 24px;
    }

    .dashboard-grid .dashboard-section {
        padding: 22px;
    }

}