.elementor-10966 .elementor-element.elementor-element-7963d38{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-72c2767 */:root{

--primary:#7A0026;
--primary-dark:#5f001d;
--secondary:#9C1B3A;
--gold:#D4AF37;
--cream:#F9F4E8;
--white:#ffffff;
--text:#2a2a2a;
--shadow:0 15px 40px rgba(0,0,0,.08);
}

#marg-landing{
font-family:'Noto Sans Devanagari',sans-serif !important;
color:var(--text) !important;
overflow:hidden;
background:var(--cream);
line-height:1.8;
}

#marg-landing *{
box-sizing:border-box;
font-family:inherit;
}

#marg-landing img{
max-width:100%;
display:block;
height:auto;
}

#marg-landing a{
text-decoration:none;
color:inherit;
}

#marg-landing section{
padding:100px 0;
position:relative;
}

#marg-landing .marg-container{
width:90%;
max-width:1200px;
margin:auto;
}

#marg-landing h1, #marg-landing h2, #marg-landing h3, #marg-landing p, #marg-landing span {
margin:0;
padding:0;
}

#marg-landing .marg-heading{
text-align:center;
margin-bottom:60px;
}

#marg-landing .marg-heading span{
color:var(--primary) !important;
font-weight:700;
letter-spacing:1px;
}

#marg-landing .marg-heading h2{
font-size:42px;
line-height:1.3;
margin-top:10px;
}

#marg-landing .wedding-hero{
min-height:100vh;
display:flex;
align-items:center;
position:relative;
background: linear-gradient(rgba(102, 0, 39, 0.219), rgba(122, 0, 39, 0.8)), url('https://margngo.org/wp-content/uploads/2026/06/ritual-with-coconut-leaves-traditional-hindu-wedding-ceremony-scaled.jpg');
background-size: cover;
background-position: center;
background-attachment: fixed;
}

#marg-landing .marg-container {
    position: relative;
    z-index: 10;
}

/* TIMELINE STYLES */
.marg-timeline-slider {
    max-width: 1000px;
    margin: 80px auto 0;
    position: relative;
    overflow: hidden;
}

.timeline-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Ensure relative positioning for children */
    margin-bottom: 60px;
    padding: 50px 20px 0; /* Added padding-top for pulse and label visibility */
}

.timeline-nav::before {
    content: '';
    position: absolute;
    top: 75px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-progress {
    position: absolute;
    top: 75px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--gold);
    z-index: 1;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.timeline-dot {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 4px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    font-weight: 700;
    transition: 0.4s all ease;
    color: #999;
    position: relative;
}

.timeline-dot.active {
    border-color: var(--gold);
    background: var(--primary);
    color: var(--white);
    transform: scale(1.2);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 0, 38, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(122, 0, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 0, 38, 0);
    }
}

.dot-label {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    color: #888;
    font-weight: 600;
    transition: 0.4s all ease;
    pointer-events: none;
}

.timeline-dot.active .dot-label {
    color: var(--primary);
    top: -50px;
    font-size: 15px;
}

@media(max-width:767px){
    .marg-timeline-slider {
        margin: 50px auto 0;
    }
    .timeline-nav {
        padding: 40px 10px 0;
        margin-bottom: 40px;
    }
    .timeline-nav::before, 
    .timeline-progress {
        top: 60px; /* (padding-top: 40) + (half of dot height: 20) */
        left: 25px;
        right: 25px;
    }
    .timeline-dot {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-width: 3px;
    }
    .dot-label {
        font-size: 10px;
        top: -28px;
    }
    .timeline-dot.active .dot-label {
        top: -32px;
        font-size: 11px;
    }
}

.timeline-content-wrap {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.timeline-slide {
    flex: 0 0 100%;
}

.timeline-slide img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

#marg-landing .marg-hero-grid{
display:grid;
grid-template-columns:1.2fr .8fr;
gap:60px;
align-items:center;
}

#marg-landing .marg-left{
color:#fff;
}

#marg-landing .marg-badge{
background:var(--gold);
color:var(--primary);
padding:12px 20px;
border-radius:50px;
font-weight:700;
display:inline-block;
margin-bottom:20px;
}

#marg-landing .marg-left h1{
font-size:64px;
line-height:1.1;
margin-bottom:20px;
font-weight:800;
color:var(--white);
}

#marg-landing .marg-left h3{
font-size:28px;
color:var(--gold);
margin-bottom:20px;
}

#marg-landing .marg-left p{
font-size:18px;
line-height:1.9;
margin-bottom:30px;
color:var(--white);
}

#marg-landing .marg-trust{
display:flex;
gap:20px;
flex-wrap:wrap;
margin-top:25px;
}

#marg-landing .marg-btn{
padding:15px 28px;
border-radius:50px;
display:inline-flex;
align-items:center;
justify-content:center;
font-weight:600;
transition:.3s;
}

#marg-landing .marg-primary{
background:var(--gold) !important;
color:var(--primary);
}

#marg-landing .marg-primary:hover{
transform:translateY(-3px);
}

#marg-landing .marg-whatsapp{
background:#25D366;
color:#fff;
}



#marg-landing .marg-form-box{
background:#fff;
padding:35px;
border-radius:25px;
box-shadow:var(--shadow);
}

#marg-landing .marg-form-box h3{
text-align:center;
margin-bottom:20px;
font-size:28px;
}

#marg-landing input,
#marg-landing textarea,
#marg-landing select{

width:100%;
padding:15px;
margin-bottom:15px;

border:1px solid #ddd;
border-radius:12px;

font-family:inherit;

}

/* EVENT GALLERY LAYOUT & GRID */

#marg-landing .marg-event-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

#marg-landing .event-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

#marg-landing .event-gallery img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#marg-landing .event-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media(max-width: 991px) {
    #marg-landing .marg-event-grid { grid-template-columns: 1fr; }
    #marg-landing .event-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 767px) {
    #marg-landing .event-gallery { grid-template-columns: 1fr; }
    #marg-landing .marg-event-grid { gap: 25px; }
}

#marg-landing button{

width:100%;
background:var(--primary);
color:#fff;

padding:15px;
border:none;
border-radius:12px;

cursor:pointer;
font-size:16px;
}

#marg-landing .marg-impact{
background:#fff;
}

#marg-landing .marg-stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

#marg-landing .marg-stat{
background:var(--cream);
padding:35px;
border-radius:20px;
text-align:center;
box-shadow:var(--shadow);
}

#marg-landing .marg-stat h3{
font-size:52px;
color:var(--primary) !important;
margin-bottom:10px;
}



#marg-landing .marg-about-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

#marg-landing .marg-about img{
border-radius:20px;
}

#marg-landing .section-label{
color:var(--primary) !important;
font-weight:700;
}

#marg-landing .marg-about h2{
font-size:42px;
margin:15px 0;
}

#marg-landing .marg-programs{
background:#fff;
}

#marg-landing .marg-cards{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

#marg-landing .marg-card{
background:var(--cream);
padding:35px;
border-radius:20px;
box-shadow:var(--shadow);
transition:.3s;
}

#marg-landing .marg-card:hover{
transform:translateY(-8px);
}

#marg-landing .icon{
font-size:42px;
margin-bottom:15px;
}

#marg-landing .marg-donate{
background:#fff;
}

#marg-landing .marg-donate-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

#marg-landing .marg-qr {
    text-align: center;
}

#marg-landing .marg-qr img {
    max-width: 250px;
    margin: 0 auto 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: block;
}

#marg-landing .marg-qr h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

#marg-landing .support-item{
background:var(--primary) !important;
color:#fff;
padding:25px;
border-radius:15px;
margin-bottom:15px;

font-size:22px;
font-weight:700;
}

#marg-landing .support-item span{
display:block;
margin-top:5px;
font-size:15px;
font-weight:400;
}

#marg-landing .impact-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

#marg-landing .impact-card{
background:#fff;
padding:30px;
border-radius:20px;
box-shadow:var(--shadow);
text-align:center;
}

#marg-landing .impact-icon{
font-size:42px;
margin-bottom:15px;
}

#marg-landing .marg-testimonial-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

#marg-landing .marg-testimonial-card{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:var(--shadow);
}

#marg-landing .quote{
font-size:42px;
color:var(--primary) !important;
margin-bottom:10px;
}



#marg-landing .event-box{
background:#fff;
padding:40px;
border-radius:20px;
box-shadow:var(--shadow);
}

#marg-landing .event-item{
display:flex;
gap:20px;
align-items:flex-start;
margin-bottom:25px;
}

#marg-landing .event-icon{
font-size:28px;
min-width:40px;
}

#marg-landing .marg-volunteer,
#marg-landing .marg-final-cta{
background:
linear-gradient(
135deg,
var(--primary),
var(--secondary)
);
color:#fff;
text-align:center;
}

#marg-landing .marg-volunteer h2,
#marg-landing .marg-final-cta h2{
font-size:48px;
margin-bottom:15px;
color:#ffffff !important;
}

#marg-landing .marg-footer{
background:var(--primary-dark);
color:#fff;
text-align:center;
padding:60px 0;
}

#marg-landing .footer-logo{
max-height:90px;
margin:auto;
margin-bottom:20px;
}

#marg-landing .marg-mobile-bar{
display:none;
}

#marg-landing .marg-whatsapp-float{
position:fixed;
right:20px;
bottom:90px;

width:65px;
height:65px;

background:#25D366;
color:#fff;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

font-size:28px;
z-index:99999;
}


@media(max-width:991px){

#marg-landing .marg-hero-grid,
#marg-landing .marg-about-grid,
#marg-landing .marg-donate-grid{

grid-template-columns:1fr;

}

#marg-landing .marg-stats,
#marg-landing .marg-cards,
#marg-landing .impact-grid,
#marg-landing .marg-testimonial-grid{

grid-template-columns:repeat(2,1fr);

}

#marg-landing .marg-left h1{
font-size:44px;
}
}

@media(max-width:767px){

#marg-landing .marg-stats,
#marg-landing .marg-cards,
#marg-landing .impact-grid,
#marg-landing .marg-testimonial-grid{

grid-template-columns:1fr;
}

#marg-landing .marg-hero-btns {
justify-content: center;
}

#marg-landing .marg-left h1{
font-size:34px;
}

#marg-landing .marg-heading h2{
font-size:28px;
}

#marg-landing .marg-mobile-bar{
display:flex;
position:fixed;
bottom:0;
left:0;
right:0;
z-index:999999;
}

#marg-landing .marg-mobile-bar a{
flex:1;
padding:15px;
text-align:center;
color:#fff;
font-weight:600;
}

#marg-landing .marg-mobile-bar a:first-child{
background:var(--primary);
}

#marg-landing .marg-mobile-bar a:last-child{
background:#25D366;
}
}/* End custom CSS */