
/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body{
font-family:'Poppins',sans-serif;
background:#f7f9fc;
line-height:1.7;
overflow-x:hidden;
}

/* GLOBAL */

.section{
padding:50px 0 !important;
}

.section-title{
text-align:center;
font-size:36px;
font-weight:700;
color:#0B2E63;
margin-bottom:35px;
position:relative;
}

.section-title:after{
content:"";
width:80px;
height:4px;
background:#E51B3E;
display:block;
margin:15px auto;
border-radius:10px;
}

/* TOPBAR */

.topbar{
background:#0B2E63;
color:white;
padding:4px 0;
font-size:13px;
}

.topbar .container{
display:flex;
align-items:center;
justify-content:space-between;
}

.topbar-left{
display:flex;
gap:25px;
align-items:center;
}

.topbar-left span{
display:flex;
align-items:center;
gap:8px;
}
/* TOPBAR LINK STYLES */
.topbar-link {
    color: white; 
    text-decoration: none; 
    transition: 0.3s;
}

.topbar-link:hover {
    color: #E51B3E; 
    text-decoration: none;
}

.social-icons{
display:flex;
gap:14px;
}

.social-icons a{
color:white;
font-size:14px;
transition:.3s;
}

.social-icons a:hover{
color:#E51B3E;
}

/* NAVBAR */

.navbar-brand {
    padding: 0; 
    margin: 0;
    display: flex;
    align-items: center;
}
.navbar{
background:white;
padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100px;
box-shadow:0 3px 12px rgba(0,0,0,0.06);
}

.navbar-brand img{
height:100px !important;
width: auto;
    object-fit: contain;
    display: block;
	margin-right:8px;
}

.brand-text{
font-size:26px;
font-weight:700;
color:#0B2E63;
font-family: 'Montserrat', sans-serif;
}

.slogan{
font-size:12px;
font-weight:500;
color:#f20241;
}

.nav-link{
font-weight:500;
margin-left:16px;
font-size:14px;
color:#333 !important;
}

.nav-link:hover{
color:#E51B3E !important;
}
.dropdown-menu{
border:none;
border-radius:12px;
padding:10px;
background:linear-gradient(135deg,#ffffff,#f5f7ff);
box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.dropdown-item{
border-radius:8px;
padding:10px 14px;
font-size:14px;
font-weight:500;
transition:.3s;
}

.dropdown-item:hover{
background:linear-gradient(90deg,#ff6a8a,#ff9aa2);
color:white;
padding-left:18px;
}

.navbar .dropdown:hover .dropdown-menu{
display:block;
margin-top:0;
}

.regd-nav-logo {
    font-size: 11px; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: -2px; 
    color: #0B2E63;
    white-space: nowrap; 
	width: 100%; 
    text-align: center;
}
.regd-nav-logo strong {
    color: #0B2E63 !important;
}

.regd-nav-logo span {
    color: #E51B3E !important;
}
@media (max-width: 768px) {
    .regd-nav-logo {
        font-size: 8px;
    }
}
/* HERO */
.carousel-item {
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
}
.carousel-img {
    height: 85vh; /* Full screen height */
    object-fit: cover; /* Image-ah cut aagama center-la fix pannum */
    object-position: center;
}

/* Mobile-ku height-ah konjam kuraikalaam */
@media (max-width: 768px) {
    .carousel-img {
        height: 60vh;
    }
}

.carousel-item {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Image mela text theriya black layer */
    z-index: 1;
}

.hero-text {
    z-index: 2; /* Text-ah overlay-ku mela kondu varum */
}
.overlay{
position:absolute;
width:100%;
height:100%;
background: rgba(0,0,0,0.15);
}
/* Carousel Side Buttons Style */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.3); /* Default-ah icon-ku matum light shadow */
    border-radius: 50%;
    background-size: 50%; /* Icon size adjust panna */
}

/* Hover Effect - Blue Shade */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #0b2e638c; /* Neenga sonna blue color with transparency */
    transition: 0.3s ease; /* Smooth-ah color maarum */
}

/* Side full background-ai remove panna idhu mukkiyam */
.carousel-control-prev,
.carousel-control-next {
    background-color: transparent !important;
    width: 10%; /* Arrows click panna konjam side space */
}
.hero-text{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:white;
max-width:750px;
animation:fadeUp 1.2s ease;
}

@keyframes fadeUp{
from{
opacity:0;
transform:translate(-50%,-40%);
}
to{
opacity:1;
transform:translate(-50%,-50%);
}
}

.hero-text h1{
font-size:42px;
font-weight:700;
margin-bottom:20px;
}

.hero-text p{
font-size:17px;
margin-bottom:25px;
}

.btn-main{
background:#E51B3E;
color:white;
padding:12px 30px;
border-radius:40px;
font-weight:500;
transition:0.3s;
}

.btn-main:hover{
background:#c31332;
color:white;
}

/* About */

.about-section {
    background: radial-gradient(circle at top right, #f0f4ff, #ffffff);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(229, 27, 62, 0.03);
    border-radius: 50%;
}

.about-images {
    position: relative;
    padding-right: 20px;
}

.about-main-img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
}

.about-images::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0px;
    width: 80%;
    height: 80%;
    border: 2px solid #E51B3E;
    border-radius: 25px;
    z-index: 0;
}

.about-title {
    font-size: 28px;
    font-weight: 700;
    color: #0B2E63;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-text {
    line-height: 1.9;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 30px;
	text-align:justify;
}

.btn-main {
    background: #E51B3E;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(229, 27, 62, 0.2);
}

.btn-main:hover {
    background: #0B2E63;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 46, 99, 0.3);
}
/* Specific-ah h2-vum class-um select pannuvom */
h2.trust-title {
    color: #0b2e63 !important; /* Blue color strictly apply aagum */
    font-size: 36px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
    display: inline-block; /* Line center-la vara ithu mukkiyam */
    margin: 0 auto;
}

/* Red line design */
h2.trust-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: #E51B3E !important;
    border-radius: 2px;
}
  
/* VISION MISSION */

.vision-section {
    background-color: #ffffff;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px; 
    position: relative;
    padding: 50px 0;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fce7f3 0%, #dbeafe 100%);
    border-radius: 60% 40% 30% 70% / 40% 60% 70% 30%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.vm-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(11, 46, 99, 0.08); 
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.vm-card:hover {
    transform: translateY(-15px);
    border-color: #E51B3E; 
    box-shadow: 0 20px 40px rgba(229, 27, 62, 0.15);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff1f3 0%, #ffeef0 100%);
    color: #E51B3E;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px; 
    margin: 0 auto 25px;
    font-size: 30px;
    transition: 0.3s;
}

.vm-card:hover .icon-wrapper {
    background: #E51B3E;
    color: #ffffff;
}

.vm-card h4 {
    font-weight: 800;
    color: #0B2E63;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.vm-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
	
}


/* SERVICES SECTION - VIBRANT BACKGROUND */
.services-section .container {
    position: relative;
    z-index: 5;
}
.services-section {
    position: relative;
    padding: 50px 0;
    /* Static Gradient as fallback, then animation */
    background: #f4f7fa; 
    background: linear-gradient(-45deg, #ffffff, #eef2f7, #fcfcfc, #f1f5f9);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite; /* Speed increased */
    overflow: hidden;
    z-index: 1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Animated Shapes - Blur and Size Increased for Visibility */
.services-section::before, .services-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Soft glow effect */
    z-index: -1;
    pointer-events: none;
    opacity: 0.6; /* Increased opacity to see clearly */
}

.services-section::before {
    width: 450px; /* Size increased */
    height: 450px;
    background: rgba(11, 46, 99, 0.15); /* More visible Blue */
    top: -100px;
    left: -100px;
    animation: floatShape1 15s infinite alternate;
}

.services-section::after {
    width: 400px;
    height: 400px;
    background: rgba(229, 27, 62, 0.12); /* More visible Red */
    bottom: -100px;
    right: -50px;
    animation: floatShape2 12s infinite alternate-reverse;
}

@keyframes floatShape1 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(60px, 80px) scale(1.1); }
}

@keyframes floatShape2 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-50px, -70px) scale(1.2); }
}


/* Wave Fix */
.services-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 0; /* Above base bg, below content */
}

.services-wave svg {
    fill: #ffffff; /* Must match the background of the section ABOVE this one */
    height: 100px;
    width: 100%;
}
.lead
{
	color:#64748b;
	font-size:1.1rem;
}
.service-card {
    padding: 45px 30px;
    border-radius: 30px;
    background: #ffffff;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    border: 1px solid #E51B3E;
    box-shadow: 0 20px 40px rgba(229, 27, 62, 0.2);
}
.service-icon i {
    font-size: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #E51B3E, #b91c33);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 20px;
}
.service-card i {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #E51B3E, #b91c33);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 20px;
    display: inline-block;
    transition: 0.4s;
}

.service-card:hover i {
    transform: rotate(360deg);
}

.service-card h4 {
    font-weight: 700;
    color: #0B2E63;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.service-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}
/* Center Button Style */
.btn-main-services {
    display: inline-block;
    padding: 15px 40px;
    background: #0B2E63; 
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid #0B2E63;
}

.btn-main-services:hover {
    background: transparent;
    color: #0B2E63;
    border-color: #0B2E63;
    transform: translateY(-5px);
}

/* GALLERY */
.gallery-section {
    padding: 50px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    /* Soft mesh gradient base */
    background-color: #ffffff !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(11, 46, 99, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(229, 27, 62, 0.05) 0px, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    z-index: 1 !important;
}

.gallery-scroll{
overflow:hidden;
margin-top:20px;
}

/* GALLERY TRACK */
.gallery-track {
    display: flex;
    gap: 20px; 
    padding: 20px 0;
    /* Animation thirumba work aaga ithu mukkiyam */
    width: max-content; 
}
/* Container scroll aagurathai veliya kaata koodathu */
.gallery-scroll {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

/* Track ellam ore line-la row-ah irukanum */
.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content; /* Ithu thaan mukkiyam: Content evlo irukko avlo thooram neelama pogum */
    animation: scroll 30s linear infinite; /* Animation activate panniyaachu */
}

/* Mouse mela vacha scroll stop aaganum na ithai use pannunga */
.gallery-track:hover {
    animation-play-state: paused;
}

/* Animation Logic */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Neenga track-ah duplicate panni iruntha -50% kudunga */
        /* Illana -100% kudunga */
        transform: translateX(-50%); 
    }
}

/* Image settings */
.gallery-track img {
    width: 350px; /* Fixed width */
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    flex-shrink: 0; /* Image squeeze aagama irukka */
}
.gallery-track img {
    /* FIXED WIDTH KUDUKANUM - Ithu thaan main fix */
    width: 350px; 
    height: 250px; 
    
    /* Image stretch aagama iruka object-fit */
    object-fit: cover; 
    object-position: center; 
    
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(11, 46, 99, 0.08); 
    
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Image flex-kulla shrink aagama iruka */
    flex-shrink: 0; 
}

/* Scroll Animation (Oru vela neenga ezhuthalana ithaiyum sethukonga) */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-track:hover {
    animation-play-state: paused; /* Mouse mela vacha scroll stop aagum */
}

/* Responsive Fix */
@media (max-width: 768px) {
    .gallery-track img {
        min-width: 280px;
        height: 200px;
    }
}

.gallery-track img:hover{
transform:scale(1.08);
}
.gallerytag {
    text-align: center; /* Text-ah center panna ithu pothum */
    display: block;    /* Element full width occupy pannum */
    width: 100%;       
    margin-bottom: 30px; 
    color: #64748b;    
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}

	
/* Gallery View Button */
.btn-main {
    background-color: #E51B3E; /* Red color */
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    align-items: center;
    display: inline-block;
    text-align: center;
}

.btn-main:hover {
    background-color: #0B2E63; /* Blue color on hover */
    color: #ffffff;
    transform: scale(1.05);
}

@keyframes scroll{
0%{transform:translateX(0)}
100%{transform:translateX(-50%)}
}

/* IMPACT SECTION */

.impact{

background:url('img/footer-bg.jpeg') center/cover no-repeat;
color:white;
}

.impact-box{
background:rgba(255,255,255,0.15);
padding:30px;
border-radius:14px;
transition:.3s;
}

.impact-box:hover{
transform:translateY(-8px);
background:rgba(255,255,255,0.25);
}

.impact-box i{
font-size:36px;
margin-bottom:14px;
background:white;
width:65px;
height:65px;
line-height:65px;
border-radius:50%;
}

.impact-box:nth-child(1) i{color:#ff6b6b;}
.impact-box:nth-child(2) i{color:#ffa94d;}
.impact-box:nth-child(3) i{color:#4dabf7;}
.impact-box:nth-child(4) i{color:#51cf66;}

.impact-box h3{
font-size:34px;
font-weight:700;
margin-bottom:5px;
}.tagl {
    color: #ffffff !important;
    text-align: center !important; /* Force center */
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 30px;
	font-size:1.1rem;
}

.section-title {
    text-align: center !important;
    width: 100%;
}

/* DONATION */

.donation-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    /* Softened Gradient: Pink-ah romba light panniyachu */
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 50%, #fffafa 100%);
    z-index: 1;
}

/* Dots-ku pathila oru soft wave pattern (Optional overlay) */
.donation-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle diagonal lines instead of dots */
    background: linear-gradient(45deg, rgba(11, 46, 99, 0.02) 25%, transparent 25%, transparent 50%, rgba(11, 46, 99, 0.02) 50%, rgba(11, 46, 99, 0.02) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    z-index: -1;
    pointer-events: none;
}

/* HIGH VISIBILITY BLOBS */
.donation-section::before, .donation-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Blur-ah kuraichal thaan shapes nalla theryum */
    z-index: -1;
    opacity: 0.4; /* Opacity increased for visibility */
    animation: vibrantFloat 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

/* Soft Red/Pink Glow - Top Right */
.donation-section::before {
    width: 650px;
    height: 650px;
    /* Soft Red using RGBA for better blending */
    background: radial-gradient(circle, rgba(229, 27, 62, 0.4) 0%, rgba(229, 27, 62, 0) 70%);
    top: -150px;
    right: -100px;
}

/* Soft Blue Glow - Bottom Left */
.donation-section::after {
    width: 600px;
    height: 600px;
    /* Professional Blue Glow */
    background: radial-gradient(circle, rgba(11, 46, 99, 0.3) 0%, rgba(11, 46, 99, 0) 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -4s;
}

/* New Vibrant Animation */
@keyframes vibrantFloat {
    0% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
    }
    50% { 
        transform: translate(-30px, 100px) scale(1.15) rotate(10deg); 
    }
    100% { 
        transform: translate(60px, -20px) scale(1) rotate(-10deg); 
    }
}

/* Glassmorphism Card pop-up */
.donation-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 40px 100px -20px rgba(11, 46, 99, 0.15);
}

/* Card Style - Glassmorphism */
.donation-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Slightly larger content side */
    gap: 50px; 
    align-items: start;     
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
}

.section-header { text-align: center; margin-bottom: 50px; }
.section-title { color: #0B2E63; font-weight: 800; margin-top: 15px; font-size: 2.5rem; }
.tagline { color: #64748b; font-size: 1.1rem; }

/* Left Side Styling */
.lead1{ color: #0B2E63; 
font-weight: 700; 
margin-bottom: 20px; 
font-size: 1.5rem; 
}
.lead2{ color: #475569; 
line-height: 1.7; 
margin-bottom: 15px; 
text-align:justify !important;
}

.donation-note-box {
    margin-top: 35px;
    padding: 25px;
    background: #fff5f6;
    border-radius: 20px;
    border: 1px dashed #E51B3E;
    display: flex;
    gap: 15px;
    color: #475569;
}

.contact-details i { color: #E51B3E; margin-right: 10px; margin-top: 10px; }

/* Right Side (Banking) Styling */
.banking-side {
    background: #ffffff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.icon-note { color: #E51B3E; font-size: 24px; }
.icon-bank { color: #E51B3E; margin-right: 12px; }

.bank-row { margin-bottom: 15px; }
.bank-row label { display: block; font-size: 10px; color: #94a3b8; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.bank-row p { font-weight: 700; color: #0B2E63; margin: 0; font-size: 1.05rem; }

.upi-highlight {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.upi-row { border-bottom: 2px solid #E51B3E; padding-bottom: 8px; }
.upi-label { color: #E51B3E !important; font-weight: 700; }
.upi-text { font-size: 1.3rem !important; }

.gpay-number { font-size: 0.9rem; color: #475569; }

.qr-highlight-box {
    text-align: center;
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    margin-top: 25px;
    border: 2px dashed #0B2E63;
}
.qr-highlight-box img { width: 150px; border-radius: 10px; }
.qr-text { color: #0B2E63; font-weight: 700; margin-top: 12px; font-size: 0.9rem; }

/* Card content and Banking side kulla line span aaga */
.closing-line-inside {
    grid-column: 1 / span 2; 
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #edf2f7;
    position: relative;
    z-index: 2;
}

.closing-line-inside h5 {
    color: #0B2E63;
    font-weight: 600;
    opacity: 0.9;
    font-size: 1.15rem;
    margin: 0;
}

/* Mobile Responsive Correction */
@media (max-width: 991px) {
    .closing-line-inside {
        grid-column: 1; /* Mobile-la single column layout */
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media (max-width: 991px) {
    .donation-card { grid-template-columns: 1fr; padding: 30px; gap: 40px; }
    .section-title { font-size: 2rem; }
}
/* --- COMPLETE MOBILE RESPONSIVE CSS --- */

@media (max-width: 768px) {
    /* 1. Section Padding Reduction */
    .donation-section {
        padding: 40px 15px;
    }

    /* 2. Background Blobs Adjustment (Mobile-la size kuraikanum illana content maraikum) */
    .donation-section::before {
        width: 300px;
        height: 300px;
        top: -50px;
        right: -50px;
    }

    .donation-section::after {
        width: 250px;
        height: 250px;
        bottom: -50px;
        left: -50px;
    }

    /* 3. Donation Card Reset */
    .donation-card {
        grid-template-columns: 1fr; /* Single column for mobile */
        padding: 25px 20px;
        gap: 30px;
        border-radius: 20px;
    }

    /* 4. Text & Header Adjustments */
    .section-title {
        font-size: 1.8rem;
        margin-top: 10px;
    }

    .lead1 {
        font-size: 1.25rem;
        text-align: center;
    }

    .lead2 {
        font-size: 0.95rem;
        text-align: left !important; /* Mobile-la justify pannuna gaps varum, so left align best */
    }

    /* 5. Note Box & Banking Side */
    .donation-note-box {
        padding: 15px;
        flex-direction: column; /* Icon and text one by one */
        text-align: center;
        gap: 10px;
    }

    .banking-side {
        padding: 20px;
        border-radius: 18px;
    }

    /* 6. UPI & Bank Row Text Resize */
    .bank-row p {
        font-size: 0.95rem;
    }

    .upi-text {
        font-size: 1.1rem !important; /* Long UPI IDs screen-ai vittu veliya pogaama iruka */
        word-break: break-all;
    }

    /* 7. QR Box Resize */
    .qr-highlight-box {
        padding: 15px;
    }

    .qr-highlight-box img {
        width: 130px; /* QR size optimized for mobile */
    }

    /* 8. Closing Line Inside */
    .closing-line-inside {
        margin-top: 15px;
        padding-top: 20px;
    }

    .closing-line-inside h5 {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Tablets (iPad) extra padding adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .donation-card {
        padding: 40px;
        gap: 30px;
    }
    .section-title {
        font-size: 2.2rem;
    }
}
/* CTA */
.cta-section {
    position: relative;
    padding: 50px 0;
    background:url('img/cta.jpeg') center/cover no-repeat;
    overflow: hidden;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0B2E63;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    color: #475569;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
/* Primary Button: Donate Now (Red) */
.btn-donate {
    padding: 12px 30px; /* Padding kuraikkappattathu */
    background: #E51B3E;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px; /* Text size adjust panna */
    border-radius: 50px;
    text-decoration: none;
    display: inline-block; /* Alignment correct-ah irukka */
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(229, 27, 62, 0.15);
	text-align:center;
	justify-content:center;
}

.btn-donate:hover {
    transform: translateY(-2px);
    background: #b91c33;
    box-shadow: 0 10px 20px rgba(229, 27, 62, 0.2);
}

/* Secondary Button: Become Volunteer (Blue) */
.btn-volunteer {
    padding: 12px 30px; /* Same padding for consistency */
    background: transparent;
    color: #0B2E63;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #0B2E63;
    transition: all 0.3s ease;
	text-align:center;
	justify-content:center;
}

.btn-volunteer:hover {
    background: #0B2E63;
    color: #ffffff;
}
/* Mobile Responsive */
@media (max-width: 576px) {
    .cta-actions { flex-direction: column; gap: 15px; }
}

/* FOOTER */
.main-footer{
position:relative;
background:url('img/footer-bg.jpeg') center/cover no-repeat;
color:#ffffff;
padding:15px 0 8px;
font-size:14px;
overflow:hidden;
font-family: 'Poppins',sans-serif;
}


.main-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* BRAND SECTION */
.footer-top-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.footer-main-logo {
    height: 100px;
    padding: 5px;
    border-radius: 8px;
	
}

.brand-text h2{
margin:0;
font-size:26px;
font-weight:600;
color: #ffffff;
}

.brand-text .slogan{
font-size:12px;
font-weight:500;
color:#f20241;
font-family:'Poppins',sans-serif;
}

hr{
border:0;
border-top:1px solid #ffffff;
margin:25px 0;
}
/* GRID SYSTEM - Equal Spacing Fix */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr; /* 3 balanced columns */
    gap: 40px; /* Space between columns */
    margin-bottom: 30px;
    align-items: start;
}

.footer-title {
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #ffffff;
}

.footer-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #E51B3E;
    display: block;
    margin-top: 8px;
}

/* ABOUT SECTION */
.footer-about {
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 20px;
	font-size:1.0rem;
}

/* QUICK LINKS */
.footer-links {
    list-style: none;
    padding: 0;
	font-size:1.0rem;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #E51B3E;
    padding-left: 8px;
}

/* CONTACT INFO */
.footer-contact {
    list-style: none;
    padding: 0;
	font-size:1.0rem;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    color: #cbd5e0;
}

.footer-contact i {
    color: #E51B3E;
    font-size: 16px;
    margin-top: 4px;
}

/* SOCIAL ICONS */
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
	text-decoration: none !important; 
    border-bottom: none !important;
    outline: none !important;
}

.footer-social a:hover {
    background: #E51B3E;
    transform: translateY(-3px);
	text-decoration: none !important;
}
/* Footer Registration Number Styling */
.regd-footer {
    display: inline-flex;
    align-items: center;
    background: rgba(229, 27, 62, 0.1); /* மென்மையான சிவப்பு பின்னணி */
    border: 1px solid rgba(229, 27, 62, 0.3); /* மெல்லிய பார்டர் */
    padding: 6px 15px;
    border-radius: 50px; /* Capsule shape look */
    margin-top: 15px;
    transition: all 0.3s ease;
}

.regd-footer:hover {
    background: #E51B3E; /* Hover பண்ணும்போது முழு சிவப்பாக மாறும் */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(229, 27, 62, 0.3);
}

.regd-footer strong {
    color: #E51B3E;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 8px;
}

.regd-footer span {
    color: #ffffff; 
    font-weight: 700;
    font-size: 1rem;
}

.regd-footer:hover strong, 
.regd-footer:hover span {
    color: #ffffff; 
}}
/* BOTTOM BAR */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
	font-size:0.90rem;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between; /* This pushes items to Left and Right */
    align-items: center;
    color: #a0aec0;
}

.footer-bottom-flex p {
    margin: 0;
	
}

.developer-text a {
    color: #E51B3E; 
    text-decoration: none;
    font-weight: 600;
}
.developer-text a:hover {
    color: #ffffff;
}
.regd-footer-logo {
    font-size: 11px; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px; /* Logo-kku kila konjam gap */
    white-space: nowrap; 
    width: 100%; 
    text-align: center;
    /* Inga background color-ai poruthu color set aagum */
}

/* Reg No: - Intha part Blue color */
.regd-footer-logo strong {
    color: #ffffff !important;
}

/* 11/2026 - Intha part Red color */
.regd-footer-logo span {
    color: #E51B3E !important;
}

/* Mobile responsive styling */
@media (max-width: 768px) {
    .regd-footer-logo {
        font-size: 9px;
    }
}
/* RESPONSIVE FIXES */
@media(max-width: 767px) {
    .footer-top-brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom-flex {
        flex-direction: column; /* Stack on mobile */
        text-align: center;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-title::after { margin: 8px auto 0; }
    .footer-social { justify-content: center; }
    .footer-contact li { justify-content: center; }
}
/* RESPONSIVE */
@media(max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media(max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact li { justify-content: center; }
    .footer-title::after { margin: 8px auto 0; }
    .footer-social { justify-content: center; }
}
/* RESPONSIVE */
@media(max-width:768px){
.hero-text h1{
font-size:32px;
}
.section{
padding:70px 0;
}
}
/* WHATSAPP FLOATING BUTTON - DESKTOP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px; /* Desktop-la konjam thalli vechuruken */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 2px 5px 20px rgba(0,0,0,0.25);
    z-index: 9999; /* Priority romba high-ah vechukonga */
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;  
        height: 50px;
        bottom: 25px; 
        right: 25px;  
        font-size: 28px;
        box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
        transform: translate(0, 0) !important;
        left: 5px !important; 
    }
}


/* MOBILE RESPONSIVE */

@media (max-width:768px){

/* TOPBAR */

.topbar{
font-size:12px;
padding:6px 0;
}

.topbar .container{
flex-direction:column;
gap:5px;
text-align:center;
}

.topbar-left{
flex-direction:column;
gap:3px;
}

.social-icons{
justify-content:center;
}
/* NAVBAR */

.navbar{
height:auto;
padding:8px 0;
}

.navbar-brand{
height:auto;
}

.navbar-brand img{
height:55px;
}

.brand-text{
font-size:18px;
}

.slogan{
font-size:10px;
text-align:center;
justify-content:center;
}

/* MENU */

.navbar-nav{
margin-top:10px;
text-align:center;
}

.nav-link{
margin-left:0;
padding:10px 0;
font-size:15px;
}

/* DROPDOWN */

.dropdown-menu{
text-align:center;
}

    .navbar-collapse {
        background: #fff; 
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .dropdown-menu {
        border: none;
        text-align: center;
        background-color: #f8f9fa; 
        position: static !important; 
        float: none;
        width: 100%;
        margin-top: 5px;
    }


/* EXTRA SMALL MOBILE */

@media (max-width:480px){
.navbar-brand img{
height:50px;
}
.brand-text{
font-size:16px;
}
.slogan{
font-size:9px;
}
.hero-text h1{
font-size:26px;
}
.hero-text p{
font-size:14px;
}
}
