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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px;
  background:rgb(116, 6, 6);
position: relative;
    z-index: 10;
}

.logo {
  height: 80px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
}



.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.menu {
    display: flex;
}

/* Mobile view */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .menu a {
        margin: 10px 0;
    }
}
.hero {
    height: 100vh;
    background: url("../images/background.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: yellow;
    text-align: center;
}

/* HERO */
.hero {
    background: #f4f6f8;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #555;
}

/* Donate button */
.donate-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: #2a7ae4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
}

/* SERVICES */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 60px 40px;
    background: #fff;
}

.service {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
}
/* ABOUT PAGE */


.about-content {
  max-width: 900px;
  margin: 0 auto;             /* centre horizontally */
  text-align: center;
  background: ghostwhite;       /* box feel */
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
background-image: url("../images/yellow.jpg");
}




.about h1 {
    text-align: center;
    margin-bottom: 25px;
}


.about p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.about-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-box div {
    border: 1px solid maroon;
    padding: 25px;
    border-radius: 6px;
}

/* ACTIVITIES PAGE */
.activities {
    padding: 60px 40px;
    max-width: 1100px;
    margin: auto;
}

.activities h1 {
    text-align: center;
    margin-bottom: 10px;
}

.activities-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.activity-card {
    border: 3px solid maroon;
    padding: 25px;
    border-radius: 6px;
    background:ghostwhite;
}

.activity-card h3 {
    margin-bottom: 9px;
}
/* DONATE PAGE */
.donate-page {
    padding: 60px 40px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.donate-page h1 {
    margin-bottom: 15px;
}

.donate-intro {
    margin-bottom: 40px;
    color: #555;
}

.donate-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.donate-box {
    border: 3px solid maroon;
    padding: 25px;
    border-radius: 6px;
    background:rgba(255, 208, 0, 0.752);
}

.qr-code {
    max-width: 200px;
    margin-top: 10px;
}
/* CONTACT PAGE */
.contact-page {
    padding: 60px 40px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.contact-page h1 {
    margin-bottom: 15px;
}

.contact-intro {
    margin-bottom: 40px;
    color: #555;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-box {
    border: 2px solid maroon;
    padding: 25px;
    border-radius: 6px;
    background: rgba(255, 208, 0, 0.856);
}

.map {
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}
/* NAV LINKS BASE */
.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: yellow;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    /* smooth effect */
}

/* HOVER EFFECT */
.nav a:hover {
    background-color: #2a7ae4;
    /* blue highlight */
    color: white;
}

/* ACTIVE PAGE LINK */
.nav a.active {
    background-color: #2a7ae4;
    color: white;
}
/* NAV LINKS */



/* HOVER (desktop + touch preview) */
.nav a:hover {
    background-color: #2a7ae4;
    color: #fff;
}

/* ACTIVE PAGE (current page) */
.nav a.active {
    background-color: #2a7ae4;
    color: #fff;
}

/* TOUCH FEEDBACK (mobile press) */
.nav a:active {
    background-color: #1e5fbf;
    color: #fff;
}
.front-image {
    width: 100%;
    height: auto;
    /* 👈 NO CUT */
    display: block;
}
html,
body {
    margin: 0;
    padding: 0;
}
/* INTRO SECTION */
.intro {
    
padding: 80px 20px;
  background: url("../images/yellow.jpg") center / cover no-repeat;
}

.intro-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    /* 🔥 IMPORTANT */
    align-items: center;
    gap: 40px;
}


.intro-text {
  flex: 1;
}

.intro-text h1 {
  font-size: 36px;
  margin-bottom: 16px;
  color:green
}

.intro-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 22px;
}

.intro-btn {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.intro-btn:hover {
  background: #c92f3c;
}
.intro-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 images in one line */
    gap: 15px;
}

.intro-image img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
}
.tamil-text {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 22px;
    font-family: 'Noto Serif Tamil', 'Latha', sans-serif;
}
.intro-quote {
    text-align: center;
    /* ✅ FIXED */
    font-size: 26px;
    line-height: 1.6;
    color: #7a5a00;
    margin-bottom: 20px;
    font-family: 'Noto Serif Tamil', 'Latha', serif;
}
.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}
.intro-quote::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #d4a200;
    margin: 18px auto 0;
    border-radius: 2px;
}
@media (max-width: 768px) {

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text h1 {
        font-size: 28px;
    }

    .intro-quote {
        font-size: 22px;
    }

    .intro-image img {
        max-width: 100%;
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-quote,
.intro-text,
.intro-image {
    animation: fadeUp 1s ease forwards;
}
@media (max-width: 768px) {
    .intro-image {
        grid-template-columns: 1fr;
        /* mobile-la one by one */
    }
}
.intro-image img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-image img:hover {
    transform: scale(1.08);
    /* zoom */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}
/* FOOTER */
.footer {
    background: #1a1a1a;
    color: #ddd;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer h3,
.footer h4 {
    color: #f9c700;
    margin-bottom: 15px;
}

.footer p {
    line-height: 1.7;
    color: #ccc;
}

.tamil-footer {
    margin-top: 10px;
    font-family: 'Noto Serif Tamil', 'Latha', serif;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #f9c700;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* ABOUT SECTION */



.about h1 {
    color:green;
    margin-bottom: 20px;
}

.about p {

    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}


.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.about-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
}

/* VISION / MISSION SECTION */
.vm-section {
    padding: 70px 20px;
    background-image: url("../images/yellow.jpg");
}

.vm-wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

/* LEFT IMAGE */
.vm-image {
    flex: 1;
}

.vm-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* RIGHT CONTENT */
.vm-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vm-card {
    background:ghostwhite;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.vm-card h3 {
    margin-bottom: 12px;
    color: #740606;
}

.vm-card ul {
    padding-left: 18px;
}

.vm-card ul li {
    margin-bottom: 6px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .vm-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .vm-image img {
        max-width: 100%;
    }

    .vm-card ul {
        text-align: left;
    }
}
	/* ACTIVITIES PAGE */
.activities {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.activities h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #333;
}

.activities-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

/* Cards */
.activity-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card h3 {
  color: #f2b705; /* yellow theme */
  margin-bottom: 12px;
  font-size: 20px;
}

.activity-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Hover effect */
.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
    	/* ACTIVITIES PAGE */
    	.activities {
    	    padding: 60px 20px;
    	    text-align: center;
    	    background: #f9f9f9;
    	}
    
    	.activities h1 {
    	    font-size: 36px;
    	    margin-bottom: 10px;
    	    color: #333;
    	}
    
    	.activities-intro {
    	    max-width: 700px;
    	    margin: 0 auto 40px;
    	    font-size: 16px;
    	    color: #666;
    	    line-height: 1.6;
    	}
    
    	/* Grid */
    	.activity-grid {
    	    display:center;
    	    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    	    gap: 25px;
    	    max-width: 1100px;
    	    margin: auto;
    	}
    
    	/* Cards */
    	.activity-card {
    	    background: #ffffff;
    	    padding: 30px 20px;
    	    border-radius: 12px;
    	    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    	    transition: transform 0.3s ease, box-shadow 0.3s ease;
    	}
    
    	.activity-card h3 {
    	    color: #f2b705;
    	    /* yellow theme */
    	    margin-bottom: 12px;
    	    font-size: 20px;
    	}
    
    	.activity-card p {
    	    font-size: 15px;
    	    color: #555;
    	    line-height: 1.6;
    	}
    
    	/* Hover effect */
    	.activity-card:hover {
    	    transform: translateY(-8px);
    	    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    	}

                /* Activity Image */
                         .activity-img {
                             width: 350px;
                             height: 380px;
                             /* height kammi pannom */
                             object-fit: cover;
                             /* image stretch illa */
                             object-position: center;
                             border-radius: 12px 12px 0 0;
                             transition: transform 0.4s ease;
                         }
                /* Content */
                .activity-content {
                    padding: 20px;
                }
        
                /* Icon */
                .activity-icon {
                    font-size: 36px;
                    display: inline-block;
                    margin-bottom: 10px;
                }
        
                /* Card hover image zoom */
                .activity-card {
                    overflow: hidden;
                }
        
                .activity-card:hover .activity-img {
                    transform: scale(1.05);
                }
        
                .activity-img {
                    transition: transform 0.4s ease;
                }
                .trustee {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

.trustee-card {
    background:rgba(255, 191, 0, 0.659);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: brown;
}
/* Activities Page Background */
.activity-page {
    background:  url("../images/yellow.jpg");

   
}
/* Donate Page Background */
.donate-page {
    background: 
                url("../images/yellow.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: maroon;
}

/* Contact Page Background */
.contact-page {
    background: url("../images/yellow.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: maroon;
}