body {
  margin: 0;
  font-family: Roboto, sans-serif;
  background: #f5f5f5;
}


.top-header {
    background: url("Images/backgroundfooter.png");
    padding: 10px 20px 30px;
    width:100%;
    position: relative;
    text-align: center;
    min-height: 120px;
}

.text-content h1 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 5px;
}

.text-content h2 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 5px;
}

.text-content h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 5px;
}


.text-content h4 {
    font-size: 15px;
    color: #F57C00;
}

/* ISO Image Styling */
.image-content img {
    max-width: 70px;     /* image size control */
    height: auto;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .image-content img {
        max-width: 90px;
        margin-top: 10px;
    }
}


/* Container for three images */
.top-left-images {
    position: absolute;
    top: 90px;
    left: 25px;
    display: flex;
    gap: 10px;
    z-index: 999;
}

/* Images styling */
.top-left-images img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;               /* Circle images */
    border: 2px solid #574b2c;        /* Saffron border */
    background: #fff;
    padding: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

/* Hover effect */
.top-left-images img:hover {
    transform: scale(1.1);
}

/* Center text */
.header-text h1 {
    margin: 0;
    font-size: 32px;
    color: #0D47A1;
    font-weight: 700;
}

.header-text p {
    margin: 5px 0 0;
    font-size: 16px;
    color: rgba(0,0,0,0.7);
}


.logo {
  height: 70px;
  margin-right: 15px;
}

.top-care{
    position: fixed;              /* Top right fix */
    top: 12px;
    right: 18px;
    z-index: 9999;

    background: transparent;      /* Transparent */
    padding: 6px 16px;

    font-weight: 600;
    font-size: 14px;
    color: #ffffff;

    border: 2px solid #ffffff;    /* Decorative border */
    border-radius: 25px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    backdrop-filter: blur(4px);   /* Glass effect (modern) */
}

/* Hover effect */
.top-care:hover{
    background: rgba(255,255,255,0.15);
    transition: 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .top-care{
        font-size: 12px;
        padding: 5px 12px;
        top: 8px;
        right: 10px;
    }
}


/* Mobile responsive */
@media (max-width: 768px) {
    .helpline {
        font-size: 13px;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }
}


.image-container {
  position: absolute;      /* Place anywhere */
  top: 90px;               /* Distance from top */
  right: 20px;             /* Distance from right */
  display: flex;
  gap: 10px;
  z-index: 1000;
}

/* Circular images */
.icon-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;      /* Makes circle */
  object-fit: cover;
  border: 2px solid #fff3e0;   /* Saffron border */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

/* Hover effect */
.icon-img:hover {
  transform: scale(1.1);
}




.navbar {
  background: #344352;
  display: flex;
  justify-content: center;   /* ⬅ Center all items */
  align-items: center;
  gap: 10px;
  padding: 08px 20px;
  padding-bottom: 0;
}

/* All links */
.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  transition: background 0.3s;
}

/* Hover effect */
.navbar a:hover {
  background: #ebb87e;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown button */
.dropbtn {
  display: inline-flex;
  align-items: center;
}

/* Dropdown menu */
.dropdown-content {
  position: absolute;
  top: 110%;
  left: 50%;                /* ⬅ Center dropdown */
  transform: translateX(-50%);
  background: #fff;
  min-width: 240px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(37, 37, 37, 0.2);
  display: none;
  z-index: 999;
}

/* Dropdown links */
.dropdown-content a {
  color: #1e2838;
  padding: 12px 18px;
  display: block;
  text-align: left;
}

/* Dropdown hover */
.dropdown:hover .dropdown-content {
  display: block;
}


/* Navbar */
nav {
  background: #0D47A1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Nav links */
nav a {
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s;
}

/* Hover for normal links */
nav a:hover {
  background: #2d3e57;
}

/* Dropdown */
.dropdown {
  position: relative;
}

/* Button */
.dropbtn {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Arrow */
.arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

/* Dropdown box */
.dropdown-content {
  position: absolute;
  top: 110%;
  left: 0;
  background: #ffffff;
  min-width: 240px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Dropdown links */
.dropdown-content a {
  color: #162844;
  padding: 12px 18px;
  display: block;
  font-weight: 500;
}

/* Hover inside dropdown */
.dropdown-content a:hover {
  background: #E3F2FD;
  color: #F57C00;
}

/* Show dropdown */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotate arrow */
.dropdown:hover .arrow {
  transform: rotate(180deg);
}


.hero {
 background: linear-gradient(
    to right,
    #2b2a2a
    #FFFFFF,
    #242424
  );
  color: rgba(0, 0, 0, 0.75);
  text-align: center;
  padding: 60px 20px;
}

.hero h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #F57C00;
  margin: 15px auto 0;
  border-radius: 2px;
}



/* ===============================
   GLOBAL STYLES
================================ */
body {
    font-family: "Segoe UI", "Noto Sans Devanagari", sans-serif;
    background: linear-gradient(to bottom, #f3f6fb, #ffffff);
    color: #2b2b2b;
    margin: 0;
    padding: 0;
}

/* ===============================
   MAIN CONTAINER
================================ */
.about-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    animation: fadeInPage 1.2s ease-in-out;
}



/* ===============================
   HEADER
================================ */
.head {
    background: linear-gradient(to right, #818183, #5d80df);
    color: #ffffff;
    text-align: center;
    padding: 10px 5px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    animation: slideDown 1s ease;
}

.head h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.head p {
    font-size: 18px;
    opacity: 0.95;
}


.image-stack {
  position: relative;
  width: 350px; /* container width */
  margin: 40px auto;
  margin-bottom: 40px;
}

.image-large {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: block;
  transition: transform 0.3s ease;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: 5px solid white;
  object-fit: cover; /* image covers the box nicely */
  background: white;
}



.image-large:hover {
  transform: scale(1.03);
}

.image-small {
  position: absolute;
  width: 150px; /* fixed square size */
  height: 150px;
  left: 50%;
  bottom: -60px; /* distance below the large image */
  transform: translateX(-50%);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: 5px solid white;
  object-fit: cover; /* image covers the box nicely */
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  
}


.image-small:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}


/* ===============================
   SECTION HEADINGS
================================ */
h2 {
    font-size: 26px;
    color: #FF9933;
    margin: 40px 0 15px;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #196d87;
    margin: 10px auto 0;
    border-radius: 4px;
}

/* ===============================
   HISTORY TEXT
================================ */
.history-text {
    font-size: 17px;
    margin: 15px auto;
    max-width: 900px;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    animation: fadeUp 1s ease;
}

/* ===============================
   INFO SECTION
================================ */
.info-section {
    margin: 35px auto;
    animation: fadeUp 1.2s ease;
}

/* ===============================
   TABLE STYLES
================================ */
.info-table {
    width: 90%;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.info-table th,
.info-table td {
    padding: 16px 18px;
    font-size: 16px;
    border-bottom: 1px solid #e6e6e6;
}

/* Table Header Column */
.info-table th {
    background: #f0f4ff;
    color: #FF9933;
    text-align: left;
    width: 55%;
}

/* Table Value Column */
.info-table td {
    background: #ffffff;
    text-align: center;
    font-weight: 500;
}

/* Hover Effect */
.info-table tr:hover td,
.info-table tr:hover th {
    background: #e9f2ff;
    transition: background 0.3s ease;
}

/* ===============================
   TEXT STYLING
================================ */
strong {
    color: #2090b3;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {
    .head h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    .history-text {
        font-size: 15px;
        padding: 15px;
    }

    .info-table th,
    .info-table td {
        font-size: 14px;
        padding: 12px;
    }
}





/* Global Styles */
body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: linear-gradient(to bottom, #f4f8fb, #ffffff);
    color: #3b3434;
    margin: 0;
    padding: 0;
}

/* Container */
div[style*="max-width"] {
    animation: fadeInMain 1.2s ease-in-out;
}

/* Headings */
h2 {
    font-size: 25px;
    color: #333946;
    margin-bottom: 20px;
    animation: slideDown 1s ease;
}

h3 {
    font-size: 24px;
    color: #195287;
    margin-bottom: 15px;
    position: relative;
}

/* Underline effect for headings */
h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #141816;
    margin: 8px auto;
    border-radius: 5px;
}

/* Paragraph */
p {
    font-size: 17px;
    margin: 12px 0;
}

/* Common Box Design */
.content-box,
.vision-box,
.sarpanch-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeUp 1.2s ease;
}

/* Hover Animation */
.content-box:hover,
.vision-box:hover,
.sarpanch-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Vision Box Highlight */
.vision-box {
    border-left: 6px solid #7ca3d6;
    background: linear-gradient(to right, #e9f7ef, #ffffff);
}

/* Sarpanch Box Highlight */
.sarpanch-box {
    border-left: 6px solid #80b4df;
    background: linear-gradient(to right, #e7f0ff, #ffffff);
}

/* Lists */
ul {
    padding: 0;
}

ul li {
    margin: 12px 0;
    font-size: 16px;
    opacity: 0;
    animation: fadeList 0.8s ease forwards;
}

/* Staggered list animation */
ul li:nth-child(1) { animation-delay: 0.2s; }
ul li:nth-child(2) { animation-delay: 0.4s; }
ul li:nth-child(3) { animation-delay: 0.6s; }

/* Strong text */
strong {
    color: #12161b;
}

/* Final Quote Box */
.content-box:last-child {
    background: linear-gradient(to right, #818183, #5d80df);
    color: #ffffff;
    font-size: 18px;
}

/* =====================
   Animations
===================== */

@keyframes fadeInMain {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeList {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 20px;
    }
    p, li {
        font-size: 15px;
    }
}


/* ================= FOOTER MAIN ================= */
footer {
    background-image: url("Images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 150px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

/* ---------- TOP FOOTER ---------- */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 25px;
    padding: 30px 40px;
    max-width: 1400px;
    margin: auto;
     margin-bottom: 8px;
}

/* Footer columns */
.footer-col h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #FFD54F; /* soft saffron */
    border-bottom: 2px solid #FFD54F;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* ---------- LOGO COLUMN ---------- */
.footer-logo img {
    width: 90px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}

.footer-logo p {
    margin-bottom: 15px;
}

/* Contact info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #FFD54F;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ---------- LINKS ---------- */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFD54F;
    padding-left: 4px;
}

/* ---------- BOTTOM FOOTER ---------- */
.footer-bottom {
    background: transparent;
    text-align: center;
    padding: 12px;
    margin-top: -20px;
    border-top: 2px solid #FFD54F;
}

.footer-bottom p {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Social icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-social a {
    color: #ffffff;
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #FFD54F;
    color: #0D47A1;
    transform: translateY(-3px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        padding: 40px 25px;
    }

    .footer-col h3 {
        font-size: 18px;
    }
}







