/* ======================================================
          THEME / VARIABLES
====================================================== */

:root {
  --primary: #2e7d32;        /* Medical Green */
  --accent: #a5d6a7;         /* Soft green accent */
  --nav-bg: #1b5e20;         /* Dark medical green */
  --nav-dark: #0d3b17;       /* Deeper green */
  --light-bg: #f1f8f4;       /* Clean hospital background */
  --ease: cubic-bezier(.22,.9,.28,1);
}


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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light-bg);
  color: linear-gradient(90deg, #98fb98, #ffffff, #b0e0e6);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}




/* =============================================================
  🧭 2️⃣ NAVIGATION BAR — responsive, animated, feature-rich
============================================================= */
    nav {
      background-color: var(--nav-bg);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      flex-wrap: wrap;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    nav.shrink {
      padding: 0.5rem 2rem;
      background-color: var(--nav-dark);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    /* === Logo Alignment & Sizing Fix === */
    .logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;              /* spacing between text and logo */
      font-weight: bold;
      font-size: 1.2rem;
      color: inherit;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      white-space: nowrap;
    }

    .logo img {
      height: 42px;             /* adjust size to fit your nav height */
      width: auto;
      object-fit: contain;
      display: inline-block;
      vertical-align: middle;
      transition: transform 0.3s ease;
    }

    /* Optional hover effect (for a subtle polish) */
    .logo:hover img {
      transform: scale(1.05);
    }

    /* Responsive tweaks */
    @media (max-width: 992px) {
      .logo {
        font-size: 1rem;
      }
      .logo img {
        height: 34px;
      }
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 1.5rem;
      align-items: center;
      transition: all 0.4s ease-in-out;
    }

    .nav-links a {
      color: white;
      transition: color 0.3s;
      font-weight: 500;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .nav-links a.active {
      border-bottom: 2px solid var(--accent);
    }

    /* Dropdown menu (desktop) */
    .dropdown {
      position: relative;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background: white;
      color: #333;
      top: 100%;
      left: 0;
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    /* Search box */
    .search-box {
      position: relative;
    }

    .search-box input {
      padding: 0.4rem 2rem 0.4rem 0.75rem;
      border: none;
      border-radius: 20px;
      outline: none;
    }

    .search-box i {
      position: absolute;
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--primary);
    }


    /* Social icons */
    .social-icons {
      display: flex;
      gap: 1rem;
      align-items: center;
    }
    .social-icons a {
      color: white;
      transition: color 0.3s, transform 0.3s;
    }
    .social-icons a:hover {
      color: var(--accent);
      transform: scale(1.1);
    }

    /* Theme toggle */
    .theme-toggle {
      margin-left: 1rem;
      cursor: pointer;
      font-size: 1.2rem;
    }

    /* Hamburger icon (mobile) */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }
    
    .hamburger span {
      width: 25px;
      height: 3px;
      background: white;
      border-radius: 2px;
      transition: all 0.3s;
    }

    /* Dropdown Login container */
      .dropdown {
        position: relative;
        display: inline-block;
      }

        /* Dropdown button for Login*/
      .dropbtn {
        color: white;
        background: none;
        border: none;
        font-weight: 500;
        font-size: 16px;
        cursor: pointer;
        transition: color 0.3s;
        padding: 0;
      }

      .dropbtn:hover {
        color: #ffcc00;
      }

        /* Dropdown content box */
      .dropdown-content {
        display: none;
        position: absolute;
        background-color: #2e7d32;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        border-radius: 5px;
        z-index: 1;
      }

        /* Dropdown Login links */
      .dropdown-content a {
        color: white;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        font-weight: 400;
      }

      .dropdown-content a:hover {
        color: #ffcc00;
        background-color: rgba(255, 255, 255, 0.1);
      }

        /* Show dropdown on hover */
      .dropdown:hover .dropdown-content {
        display: block;
      }


    /* Mobile nav animation */
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--nav-bg);
        margin-top: 1rem;
        padding: 1rem 0;
        border-radius: 8px;
        animation: slideDown 0.4s ease forwards;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }

      .desktop-only {
        display: none;
      }

      .mobile-extra {
        margin-top: 1rem;
        text-align: center;
      }

      .mobile-extra .search-box {
        width: 80%;
        margin: 0.5rem auto;
      }

      .mobile-extra .social-icons {
        justify-content: center;
        margin-top: 0.5rem;
      }

      /* Background dim effect when menu open */
      body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 500;
        animation: fadeIn 0.3s ease forwards;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
    }



/* ======================Hero Background Video==================== */
/* ======================Hero Background Video==================== */

  /* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full coverage */
  transform: translate(-50%, -50%); /* centers video */
  z-index: 0;
}

/* Dark Overlay for Text Readability */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.55); */
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color : white;

}


.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: #2e7d32; /* Medical Green */
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero {
    height: 80vh; /* slightly shorter on tablets */
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 70vh; /* better fit for phones */
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh; /* mobile small screens */
  }
  .hero-content h1 {
    font-size: 1.2rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
}


/* =========================Text sliding===================== */
/* =========================Text sliding===================== */

/* Overall container */
.event-info {
  width: 90%;
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  font-family: "Poppins", "Inter", Arial, sans-serif;
  color: #222;
}

/* Date & Venue label */
.event-info .label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #777;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Outer wrapper for marquee (for structure and style) */
.event-info .slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: linear-gradient(90deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

/* Fading effect on the sides for smoother visual scroll */
.event-info .slider {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Marquee text style */
.event-info .slide-text marquee {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  padding: 5px 0;
  animation: fadeIn 1s ease-in-out;
}

/* Smooth fade-in animation on load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle hover feedback */
.event-info .slider:hover {
  background: linear-gradient(90deg, #fdfdfd 0%, #f7f7f7 50%, #fdfdfd 100%);
  border-color: #d8d8d8;
  transition: all 0.3s ease;
}


/* ===================For Upcoming Events Images ========================== */
/* ===================For Upcoming Events Images ========================== */

*,
*::before,
*::after { box-sizing: border-box; }

img { 
  display: block; 
  max-width: 100%;
}

   /* MAIN SLIDER CONTAINER */
.slider1 {
  position: relative;
  width: 100%;          
  max-width: 1000px;
  margin: 40px auto;
  overflow: hidden;      /* CRITICAL: prevents other images appearing */
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Remove padding/margins that break slider width */
.slider1 * {
  margin: 0;
  padding: 0;
}

/* Title */
.slider1 > h2 {
  margin: 14px 0;
  text-align: center;
  font-size: 1.5rem;
}

   /* SLIDE TRACK (moves horizontally) */
.slides1 {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(.22,.9,.28,1);
  will-change: transform;
}

   /* SINGLE SLIDE ITEM (MUST be EXACT width) */
.slide-item {
  flex: 0 0 100%;     /* EXACT 100% prevents image overlap */
  width: 100%;
  min-width: 100%;
  overflow: hidden;   /* FIX: prevents edge clipping */
  position: relative;
}

   /* IMAGE INSIDE SLIDE */
.slide-item img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 0;   /* FIX: radius caused edges to peek */
}

   /* BUTTON ON SLIDE */
.slide-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #2e7d32; /* Medical Green */
  color: #fff;
  padding: 10px 20px;
  border-radius: 22px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,123,255,0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.slide-btn:hover {
  transform: translateX(-50%) translateY(-3px);
}


   /* DOTS */
.dots1 {
  text-align: center;
  padding: 12px 0 18px;
}
.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background: #cfcfcf;
  border-radius: 999px;
  display: inline-block;
  cursor: pointer;
  transition: background-color .2s;
}
.dot.active { background: #0056b3; }


   /* RESPONSIVE */

@media (max-width: 992px) {
  .slide-item img { height: 360px; }
  .arrow1 { font-size: 1.4rem; padding: 7px; }
}

@media (max-width: 768px) {
  .slide-item img { height: 260px; }
  .slide-btn { padding: 8px 16px; font-size: .95rem; }
}

@media (max-width: 480px) {
  .slide-item img { height: 200px; }
  .slide-btn { padding: 6px 12px; font-size: .85rem; }
}

/* =============Overview and Purpose=================
================Overview and Purpose================= */
/* h1 adjustments */
h1 {
  text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
}


.purpose {
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    padding: 35px 25px;
    margin: 50px auto;
    background: #2e7d32 ;/* Medical Green */ 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: center;
    transition: all 0.6s ease;
}

.purpose:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Heading inside purpose */

/* Paragraph text */
.purpose p {
    font-size: 2rem;
    color: #fff; /* Make text visible on gradient */
    line-height: 1.7;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.purpose h2, .purpose strong {
    font-size: 1.5rem;
    color: #0a3d62; /* Deep blue for contrast */
    margin-bottom: 20px;
}

.purpose p:hover {
  color: black;
}

/* List items */
.purpose ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    display: inline-block;
}

/* .purpose ul li {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, color 0.3s ease;
} */

/* .purpose ul li:hover {
    transform: scale(1.05);
    color: #f0f9ff;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .purpose {
        padding: 25px 15px;
    }
    .purpose h2 {
        font-size: 1.6rem;
    }
    .purpose p, .purpose ul li {
        font-size: 0.5rem;
    }
}


/* =======================Leaders===========================
==========================Leaders========================== */

.event {
  text-align: center;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  position: relative;
}

.event::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f4b400;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Container and row layout */
#services .row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

/* Each leader card */
#services .col {
  flex: 1 1 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

/* Hover lift effect */
#services .col:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Leader image styling */
#services .col img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Subtle zoom on hover */
#services .col:hover img {
  transform: scale(1.03);
}

/* Name */
#services .col h2 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Description text */
#services .col p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  #services .col img {
    height: 280px; /* slightly smaller for tablets */
  }
}

@media (max-width: 768px) {
  #services .row {
    flex-direction: column;
    align-items: center;
    gap: 20px; /* reduce gap for smaller screens */
  }

  #services .col {
    max-width: 90%;
  }

  #services .col img {
    height: 240px; /* reduce image height for phones */
  }

  #services .col h2 {
    font-size: 1rem;
  }

  #services .col p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #services .col img {
    height: 200px; /* small phones */
  }

  #services .col h2 {
    font-size: 0.95rem;
  }

  #services .col p {
    font-size: 0.85rem;
  }
}


/* ========================Partners and Sponsor============== */
/* ========================Partners and Sponsor============== */

.partners-slider {
  display: flex;
  gap: 20px;
  overflow: hidden;   /* Hide overflowing items */
  position: relative;
  width: 100%;
}

/* Partner/Sponsor items */
.partner-item {
  flex: 0 0 auto;    /* Maintain original size */
  width: 180px;      /* Adjust to your desired size */
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.partner-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 5px;
}

.partner-item:hover {
  transform: scale(1.05);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .partner-item { width: 140px; }
}

/* Sponsor section wrapper */
.sponsor {
    text-align: center;
    padding: 40px 0;
}

   /* UNIVERSAL BUTTONS STYLING FIX */
 
.sponsor-btn,
.partner-btn {
    display: block !important; /* Center properly */
    width: fit-content; /* Make width wrap content */
    background: #2e7d32 !important; /* Medical Green */
    color: #fff !important;
    padding: 14px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 28px !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;

    /* Smooth styling */
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.25) !important;
    transition: all 0.25s ease-in-out !important;

    /* Center alignment */
    margin: 20px auto !important;
    text-align: center; /* ensures text inside button is centered */
}

/* Hover effect */
.sponsor-btn:hover,
.partner-btn:hover {
    background: #0056b3 !important;
    box-shadow: 0 8px 22px rgba(0, 123, 255, 0.35) !important;
    transform: translateY(-2px) !important;
}


/*================== Videos Sliding =======================*/
/*================== Videos Sliding =======================*/
/* ====================== VIDEO SLIDER ====================== */
.video-slider-wrapper {
  position: relative;
  width: 95%;
  max-width: 900px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background-color: #f9f9f9;
  padding: 0;
}

.video-slider {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.video-slide {
  flex: 0 0 100%; /* ONE slide per view */
  max-width: 100%; /* ensures no shrink */
  box-sizing: border-box;
  text-align: center;
}

.video-slide a {
  display: block;
  width: 100%;
}

.video-slide img {
  display: block; /* removes inline spacing */
  width: 100%;    /* fills slide width */
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 6px auto; /* center horizontally */
  transition: transform 0.3s ease;
}

.video-slide img:hover {
  transform: scale(1.02);
}

.video-title {
  font-weight: 500;
  font-size: 16px;
  color: #333;
}

/* Dots */
#videoDots {
  text-align: center;
  margin-top: 12px;
}

#videoDots .dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ddd;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

#videoDots .dot.active {
  background: #007bff;
}

/* Responsive */
@media (max-width: 1024px) {
  .video-slide img { height: 280px; }
}

@media (max-width: 768px) {
  .video-slide img { height: 220px; }
  #videoDots .dot { width: 10px; height: 10px; }
}

@media (max-width: 480px) {
  .video-slide img { height: 180px; }
  #videoDots .dot { width: 8px; height: 8px; }
}



/* ==========================================================
   EVENTS IMAGES SLIDER - Full-width, responsive, smooth
   ========================================================== */

/* ================= Image Slider Wrapper ================= */
.image-slider {
  position: relative;
  overflow: hidden;
  width: 95%;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background-color: #f9f9f9;
}

/* Slides container */
.slides {
  display: flex;
  /* Removed transition to disable sliding animation */
}

/* Each slide image */
.slides img {
  min-width: 100%;
  flex-shrink: 0;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  /* Removed transition to disable hover transform animation if you want */
}

/* Optional slight zoom on hover - can remove if fully static */
.slides img:hover {
  transform: none; /* Disabled zoom */
}

/* Dots container */
.dots {
  text-align: center;
  margin-top: 12px;
}

/* Dot styles */
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: none; /* Disabled dot transition */
}

/* Active dot */
.dot.active {
  background-color: #007bff;
}

/* ================== Responsive Breakpoints ================== */
@media (max-width: 1024px) {
  .slides img {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .slides img {
    height: 300px;
  }

  .dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .slides img {
    height: 220px;
  }

  .dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}



/* =====================All paragraphs and li and h2=========================== */
/* =====================All paragraphs and li and h2=========================== */

p, li, h2, h3 {
    transition: 
        transform 380ms var(--ease), 
        color 380ms var(--ease), 
        text-shadow 380ms var(--ease);
    font-family: Georgia, 'Times New Roman', Times, serif;
}

p:hover, li:hover {
    transform: scale(1.06);
    color: green;
    text-shadow: 0 6px 24px rgba(79,70,229,0.14);
}

/* h2 adjustments */
h2 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2rem;
}

/* h3 adjustments */
h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Responsive adjustments */

/* Tablets */
@media (max-width: 992px) {
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    p, li {
        font-size: 1rem;
    }
}

/* Phones */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    p, li {
        font-size: 0.95rem;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    h2 {
        font-size: 1.25rem;
    }
    h3 {
        font-size: 1rem;
    }
    p, li {
        font-size: 0.9rem;
    }
}


/*========== footer ============*/
/*========== footer ============*/
footer{
    width: 100%;
    bottom: 0;
    background: linear-gradient(to right,#00093c, #2d0b00);
    color: #fff;
    padding: 100px 0 30px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
    z-index: 100;
    position: relative;
}

.row1 {
    width: 85%;
    z-index: 100;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.col1 {
    flex-basis: 25%;
    padding: 10px;
}

.col1:nth-child(2), .col1:nth-child(3){
    flex-basis: 15%;
}

.logo1{
    width: 80px;
    margin-bottom: 30px;
}

.col1 h3{
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}

.email-id1{
    width: fit-content;
    border-bottom:1px solid #ccc;
    margin: 20px 0;
}

.col1 ul li {
    list-style: none;
    margin-bottom: 12px;
}

.col1 ul li a {
    text-decoration: none;
    color: #fff;
}

/* Form in footer */
.form {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

form .far1{
    font-size: 18px;
    margin-right: 10px;
}

form input{
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

form .subm1 {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

button .fas{
    font-size: 16px;
    color: #ccc;
}

/* Social Media Icons */
.social-links {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  object-fit: contain;
  filter: grayscale(100%);
}

.social-links a img:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
  filter: grayscale(0%) brightness(1.2);
}

/* Divider and copyright */
hr{
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

.copyright1 {
    text-align: center;
}

.underline1 {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline1 span{
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving{
    0%{ left: -20px; }
    100%{ left: 100%; }
}

/* === Responsive === */
@media (max-width: 992px) {
    .row1 {
        flex-direction: column;
        align-items: center;
    }

    .col1 {
        flex-basis: 90%;
        text-align: center;
    }

    .col1:nth-child(2), .col1:nth-child(3){
        flex-basis: 90%;
    }
}

@media (max-width: 700px){
    footer{
        padding: 60px 0 20px;
        border-top-left-radius: 60px;
    }

    .col1{
        flex-basis: 100%;
        padding: 10px;
        text-align: center;
    }

    .col1:nth-child(2), .col1:nth-child(3){
        flex-basis: 100%;
    }

    .social-links {
        justify-content: center;
        gap: 14px;
    }
}

