/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, sans-serif;
  scroll-behavior: smooth;
  outline: none;
  border: none;
  text-decoration: none;
  /* background-color: #0073e6; */
}

/* Root variables for colors */
:root {
  --text-color: #f5f5f5;
  --main-color: #1e90ff;       /* Dodger Blue - Balanced main */
  --bg-color: #0a192f;         /* Deep Navy - For elegant background */
  --nav-bg: #112240;           /* Slightly lighter than bg */
  --dropdown-bg: #1c3a5d;      /* Distinct dropdown background */
  --submenu-bg: #1e90ff;       /* Match main color for submenu */
  --donor-bg: #2563eb;         /* Blue-600 like tone */
  --hover-color: #64ffda;      /* Teal glow on hover */
  --border-radius: 8px;
}

/* Basic setup */
html {
  font-size: 62.5%; /* 1rem = 10px */
  background-color: var(--bg-color);
  color: var(--text-color);
}

body {
    background-image: url(../IMG/background/images\(17\).jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size:cover;
  min-height: 100vh;
  width: 90%;
  background: linear-gradient(to right, #183afc, #0c2ff8);
  color: #fff;
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-color);
}

/* Menu toggle (hamburger) for mobile */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--text-color);
  cursor: pointer;
}

/* Main menu styles */
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu li {
  position: relative;
}

.menu a {
  font-size: 1.6rem;
  color: var(--text-color);
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

/* Dropdown styles */
.dropdown > a {
  cursor: pointer;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--dropdown-bg);
  border-radius: var(--border-radius);
  padding: 0.75rem 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1100;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover > .dropdown-content,
.dropdown:focus-within > .dropdown-content {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Dropdown item styles */
.dropdown-item {
  position: relative;
}

.dropdown-item > a {
  padding: 10px 20px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown-item > a:hover {
  background: rgba(255,255,255,0.1);
}

/* Submenu styles (nested menus) */
.submenu,
.nested-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 200px;
  background: var(--submenu-bg);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1100;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-item:hover > .submenu,
.construction:hover > .nested-dropdown {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.submenu a,
.nested-dropdown a {
  padding: 10px 20px;
  font-size: 1.4rem;
  color: #fff;
  white-space: nowrap;
}

.submenu a:hover,
.nested-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

/* Construction donor list styles */
.donor-section {
  position: relative;
  padding: 10px 20px;
  cursor: default;
}

.activities-label {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-top: 8px;
  cursor: pointer;
}

.donor-list {
  margin-top: 8px;
  max-height: 300px;
  overflow-y: auto;
  background: var(--donor-bg);
  border-radius: var(--border-radius);
  padding: 8px 0;
}

.donor-list a {
  display: block;
  padding: 8px 20px;
  font-size: 1.2rem;
  color: #d1d9ee;
  white-space: nowrap;
}

.donor-list a:hover {
  background: rgba(255,255,255,0.08);
}

/* Donate button style */
.donate-box {
  background: #ff7f2a;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
}

.donate-box a {
  color: #fff;
}

/* Sidebar styles for mobile */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(14,13,13,0.85);
  backdrop-filter: blur(10px);
  padding: 1rem;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1200;
  border-radius: 0 8px 8px 0;
}

.sidebar.active {
  right: 0;
}

.close-sidebar {
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 1rem;
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar a {
  font-size: 1.8rem;
  color: var(--text-color);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar .sidebar-dropdown {
  display: flex;
  flex-direction: column;
}

.sidebar .sidebar-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
}

.sidebar .sidebar-children {
  display: none;
  flex-direction: column;
  padding-left: 15px;
  gap: 0.5rem;
}

.sidebar .expanded > .sidebar-children {
  display: flex;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  padding: 2rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #0f0f0f;
  max-width: 900px;
  width: 100%;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.8rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

#modal-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.table-container {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.8rem;
  width: 100%;
}

.table-container th,
.table-container td {
  padding: 12px;
  border: 1px solid #444;
  text-align: left;
  color: #fff;
}

.table-container th {
  background: var(--dropdown-bg);
  color: #000;
}

.table-container tr:nth-child(even) {
  background: #1e1e25;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  /* For sidebar toggle button */
  .navbar {
    gap: 1rem;
  }
}





/* Ensure nested dropdowns visible on mobile tap */
@media (max-width: 1000px) {
  /* Increase mobile dropdown font sizes */
  .sidebar a, .sidebar .sidebar-link span {
    font-size: 2rem;
  }

  /* Style differentiation between menu items and dropdowns */
  .sidebar .sidebar-dropdown > .sidebar-link {
    padding: 1.2rem 0;
    font-weight: 600;
    color: var(--main-color);
  }
  .sidebar .sidebar-dropdown > .sidebar-link span {
    color: var(--text-color);
  }
}

/* For desktop dropdown styling */
.menu .dropdown-content a,
.dropdown .nested-dropdown a {
  font-size: 1.6rem;
  color: var(--text-color);
}
.dropdown-content,
.nested-dropdown {
  background: var(--dropdown-bg);
  border-radius: var(--border-radius);
}

/* Highlight labels */
.dropdown-content a:hover,
.nested-dropdown a:hover {
  background: var(--hover-color);
  color: #fff;
}

/* Make it clear visually which items are dropdown vs normal links */
.menu li > a:not(.dropbtn) {
  color: var(--text-color);
}


/* ---------------------------------------navbar-------------------------------------------- */

/* ------------------------------------------------home start----------------------------------------- */
/* :root {
  --main-color: #00adb5;
  --text-color: #ffffff;
} */

section {


  padding: 6rem 5% 8rem;
  /* background-color: rgb(10, 10, 10); */
  color: white;
}

.home-container {
  
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  margin-top: 2rem;
  /* background-color: #0983fd; */
}

.main-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--main-color);
  text-align: left;         
  width: 100%;              
  margin-left: 12rem;        
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.top-section {

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  width: 100%;
}

.vision, .mission {
  max-width: 600px;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

.vision h3, .mission h3 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

.home-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-left: 50px;
}

.home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.4s ease-in-out;
}

.home-img img:hover {
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color),
              0 0 100px var(--main-color);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icons a {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  transition: 0.3s ease-in-out;
}

.social-icons a:hover {
  background-color: var(--main-color);
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--main-color);
}

.btn {
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: black;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 25px var(--main-color);
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px var(--main-color);
}

.btn-group {
  margin-top: 2rem;
}


/* ---------------------------------------------------home end--------------------------------------- */
/* ---------------------------------------------------programs starts--------------------------------------- */
/* .programs{
  width: 100%;
  height: 10px;
  background-color: greenyellow;
} */
 .programs{
  color: #FFFFFF;
 }
/* ----------------------------------------------------programs end-------------------------------------- */
/* ----------------------------------------------------success stories start-------------------------------------- */
body{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-image: url(../IMG/background/Wallpaper\ \(121\).jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size:cover;
}

.image-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    padding: 20px;

}

.image-container img {
  width: 45%;      /* fixed width */
  height: 90vh;     /* fixed height */
  object-fit: contain; /* show whole image, no cropping */
  margin: 10px 0;    
  border: 2px solid rgb(250, 248, 248);
  cursor: pointer;
  transition: transform 0.3s;
  padding: 0;
}

.image-container img:hover{
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Modal styling */

/* ----------------------------------------------------success stories end-------------------------------------- */
/* ----------------------------------------------------news start-------------------------------------- */
.container1 {
   background-image: url(../IMG/background/IMG_20250903_060508.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size:cover;
display: flex;
max-width: 1200px;
margin: 40px auto;

box-shadow: 0 4px 12px rgba(0,0,0,0.1);
 border-radius: 12px;
overflow: hidden;
}

/* Left: Image */
.container1 img {
width: 60%;
height: 60%;
margin-top: 75px;
object-fit: cover;
}

/* Right: Text */
.content1 {
width: 40%;
padding: 30px;
 line-height: 1.8;
 text-align: right;
direction: rtl;
}

.content1 h2 {
color: #d80000;
margin-bottom: 20px;
 font-size: 26px;
}

.content1 h3 {
font-size: 22px;
margin-top: 20px;
 color: #c71717;
}

.content1 ul {
margin: 10px 0 20px;
 padding-right: 20px;
}

.content1 ul li {
margin-bottom: 10px;
}

.contact1 {
   background: #1013ee;
padding: 15px;
border-radius: 8px;
margin-top: 20px;
}

.contact1 p {
 margin: 5px 0;
 font-size: 20px;
}

 @media (max-width: 768px) {
.container {
 flex-direction: column;
}

.container1 img,
 .content1 {
   width: 100%;
}
}

/* ---------------------------------------------------news end--------------------------------------- */
/* ---------------------------------------------------work with us start--------------------------------------- */
.policy-list li {
  list-style: none; /* remove bullet */
  margin: 10px 0;
}

.policy-list li a {
  display: block;
  color: black;
  padding: 12px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.policy-list li a:hover {
  background: #e0f0ff;
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ---------------------------------------------------work with us end--------------------------------------- */
/* ---------------------------------------------------team start--------------------------------------- */
.h1{
  font-size: 5rem;
  text-align: center;
  padding: 20px;
  text-shadow: 3px 3px 1px rgba(32, 32, 236, 0.836);

}

.org-chart {
  text-align: center;
  max-width: 1400px;
  margin: auto;
}

.row {
  margin-bottom: 30px;
}

.person {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  margin: 10px;
  width: 200px;
  vertical-align: top;
  transition: transform 0.3s;
  cursor: pointer;
}

.person:hover {
  transform: translateY(-5px);
}

.person img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.name {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.role {
  font-size: 18px;
  color: #777;
  
}

.info {
  display: none;
  margin-top: 150px;
  font-size: 14px;
  color: #444;
  
}

.show .info {
  display: block;
}

/* مخصوص اندازې */
.ceo .person {
  width: 220px;
  background: #e6f2ff;
}

.assistant .person {
  width: 200px;
  background: #f9f5e9;
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* semi-transparent */
}

/* Modal content box */
.modal-content {
  background-color: rgb(22, 22, 22);
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 700px;
  height: 60vh;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  overflow-y: auto;
}
.modal-content p {
  font-size: 2rem;
  color: #ddd; /* optional for better readability */
  line-height: 1.4;
  text-align: justify;
}

/* Close button */
.close {
  position: absolute;
  top: 10px; 
  right: 15px;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}



/* ---------------------------------------------------team end--------------------------------------- */
/* ---------------------------------------------------about start--------------------------------------- */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&family=Roboto&display=swap');

.about {
      background-image: url(../IMG/background/IMG_20250903_060319.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size:cover;
  position: relative;
  /* background-image: url('../IMG/ACLU logo.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
  color: #f0f0f0;
  padding: 4rem 2rem;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* background: linear-gradient(to right, #183afc, #0c2ff8); */
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 2rem;
  backdrop-filter: brightness(1);
  /* optional for subtle blur if background visible behind */
}

.text-wrapper h2 {
  font-size: 5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
  color: #ffd700; /* golden highlight */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.text-wrapper h2 span {
  color: #fff;
  font-weight: 700;
}

.text-wrapper p {
  font-size: 2rem;
  line-height: 1.75;
  text-align: justify;
  color: #ddd;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.text-wrapper p span {
  font-weight: 600;
  color: #ffd700;
}

.box2 {
  background: rgba(255, 215, 0, 0.15); /* subtle gold transparent box */
  border-radius: 10px;
  padding: 1.8rem 2rem;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  margin-top: 3rem;
  text-align: left;
}

.box2 h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 1rem;
  animation: glowingText 4s ease-in-out infinite;
  text-shadow: 0 0 10px #ffd700;
}

.box2 p {
  font-size: 2rem;
  color: #eee;
  line-height: 1.6;
}

@keyframes glowingText {
  0%, 100% {
    text-shadow: 0 0 5px #ffd700, 0 0 15px #ffd700, 0 0 20px #ffea00;
  }
  50% {
    text-shadow: 0 0 10px #fff700, 0 0 20px #fff700, 0 0 30px #fff700;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .about {
    padding: 3rem 1.5rem;
  }
  .text-wrapper h2 {
    font-size: 3.5rem;
  }
  .box2 h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .about {
    min-height: auto;
    padding: 2rem 1rem;
  }
  .text-wrapper h2 {
    font-size: 2.5rem;
  }
  .text-wrapper p, .box2 p {
    font-size: 1rem;
  }
  .box2 {
    padding: 1rem 1.2rem;
  }
  .box2 h1 {
    font-size: 1.6rem;
  }
  .about-content {
    text-align: left;
  }
}



/* ---------------------------------------------------about end--------------------------------------- */
/* ---------------------------------------------------contact start--------------------------------------- */
    
    * {
      box-sizing: border-box;
    }
    
    a {
      color: #2c7be5;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }

    /* Container & layout */
    .container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
    }
    /* Left form */
    .contact-form {
      flex: 1 1 450px;
      background: #fff;
      padding: 30px 40px;
      border-radius: 8px;
      box-shadow: 0 6px 15px rgba(44, 123, 229, 0.15);
    }
    .contact-form h2 {
      margin-bottom: 25px;
      font-weight: 600;
      font-size: 28px;
      color: #2c7be5;
    }
    .contact-form label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px 15px;
      margin-bottom: 20px;
      border: 1.5px solid #ccd6f6;
      border-radius: 6px;
      font-size: 16px;
      transition: border-color 0.3s ease;
    }
    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: #2c7be5;
      outline: none;
    }
    .contact-form textarea {
      resize: vertical;
      min-height: 120px;
    }
    .contact-form button {
      background-color: #2c7be5;
      color: white;
      border: none;
      padding: 14px 25px;
      font-size: 17px;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      font-weight: 600;
    }
    .contact-form button:hover {
      background-color: #1a4dbf;
    }

    /* Right contact info + map */
    .contact-info {
      flex: 1 1 450px;
      background: #fff;
      padding: 30px 40px;
      border-radius: 8px;
      box-shadow: 0 6px 15px rgba(44, 123, 229, 0.15);
      display: flex;
      flex-direction: column;
      gap: 25px;
    }
    .contact-info h3 {
      color: #2c7be5;
      font-weight: 600;
      margin-bottom: 15px;
      font-size: 24px;
    }
    .info-item {
      font-size: 16px;
      line-height: 1.5;
      color: #444;
    }
    .info-item strong {
      color: #2c7be5;
    }
    .map-container {
      flex-grow: 1;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    }
    iframe {
      width: 100%;
      height: 280px;
      border: 0;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .container {
        flex-direction: column;
      }
      .contact-form,
      .contact-info {
        flex: 1 1 100%;
      }
      .map-container iframe {
        height: 250px;
      }
    }
/* ---------------------------------------------------contact end--------------------------------------- */
/* ..................................................footer............................................... */
.footer {
    background-image: url(../IMG/background);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size:cover;
  /* background-color: var(--second-bg-color); */
  color: #ccc;
  padding: 40px 20px;
  font-family: sans-serif;
}

/* Images at the top of footer */
.footer-images {
  text-align: center;
  margin-bottom: 30px;
}

.footer-images img {
  max-width: 45%;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.second{
  height: 300px;
}
.footer-images img:hover {
  transform: scale(1.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer h2 {
  font-size: 32px;
  color: var(--text-color);
}

.footer h3 {
  font-size: 26px;
  color: var(--text-color);
}

.footer .left,
.footer .middle,
.footer .right {
  flex: 1;
  min-width: 200px;
  margin: 10px;
  font-size: 16px;
  color: var(--text-color);
}

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

.footer li {
  margin-bottom: 10px;
}

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

.footer li a:hover {
  color: var(--main-color);
}



.bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 12px;
  position: relative;
}

.bottom a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-top: 10px;
}

.bottom a:hover {
  color: var(--main-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-images img {
    max-width: 80%;
  }

  .bottom a {
    float: none;
    display: block;
    margin-top: 10px;
  }
}
/* ..................................................footer............................................... */

/* Language Switcher */
.language-switcher {
  margin-top: 100px;
  text-align: center;
}
#languageButton {
  padding: 10px 20px;
  background-color: var(--main-color);
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 1.6rem;
}

.language-options {
  display: none;
  position: absolute;
  background-color: #222;
  border: 1px solid #555;
  border-radius: 5px;
  padding: 5px;
  margin-top: 5px;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  text-align: center;
}
.language-options div {
  padding: 8px;
  color: white;
  cursor: pointer;
}
.language-options div:hover {
  background-color: var(--main-color);
}
.language-options.show {
  display: block;
}


/* ==================== Full Responsive Styles ==================== */

/* For screens up to 1200px */
@media (max-width: 1200px) {

  /* Home section adjustments */
  .main-title {
    font-size: 3.5rem;
    margin-left: 2rem;
  }
  .home-img {
    width: 250px;
    height: 250px;
  }
.container1 {
max-width: 95%;
 }
  /* Success stories images */
  .image-container img {
    width: 100%;
    height: auto;
  }
  /* Footer adjustments */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-images img {
    max-width: 80%;
  }
}

/* For screens up to 1024px */
@media (max-width: 1024px) {
 
  /* Home section */
  .main-title {
    font-size: 3rem;
    margin-left: 1rem;
  }
  /* Vision and Mission text */
  .vision, .mission {
    font-size: 1.4rem;
  }
  .content1 h2 { font-size: 1.5rem; }
  .content1 h3 { font-size: 1.1rem; }
  /* About section font sizes */
  .text-wrapper h2 {
    font-size: 3rem;
  }
  /* Team members */
  .person {
    width: 200px;
  }
}

/* For screens up to 768px (common mobile devices) */
@media (max-width: 768px) {
  
 
  /* Home section */
  .home-img {
    width: 200px;
    height: 200px;
  }
  /* Success stories images */
  .image-container img {
    width: 100%;
    height: auto;
  }
  /* About section */
  .about {
    min-height: auto;
    padding: 2rem;
  }
  /* Team members */
  .person {
    width: 200px;
  }
  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  /* Modal adjustments */
  .modal-content {
    width: 90%;
    margin: 10% auto;
  }
}

/* For screens up to 400px (small mobile devices) */
@media (max-width: 400px) {
 
  /* Reduce font sizes further */
  .main-title {
    font-size: 2.5rem;
  }
  /* Team member cards */
  .person {
    width: 120px;
  }
  /* Modal */
  .modal-content {
    width: 95%;
  }
  /* Footer images */
  .footer-images img {
    max-width: 90%;
  }
  /* Adjust text sizes */
  .h1 {
    font-size: 2.5rem;
  }
}

/* Additional small tweaks for all screens */
@media (max-width: 576px) {
  /* Make buttons and links larger for touch devices */
  .btn {
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
  }
  .container1 {
margin: 10px;
 border-radius: 8px;
}
.content1 {
padding: 15px;
}
.contact1 {
font-size: 0.9rem;
padding: 12px;
}
}



 /* 992px and below */
 @media (max-width: 992px) {
.container1 {
flex-direction: column;
 }
.container1 img {
 width: 100%;
height: auto;
 margin-top: 0;
}
.content1 {
width: 100%;
padding: 20px;
}
 }

/* 768px and below */
@media (max-width: 768px) {
.content1 h2 { font-size: 1.3rem; }
.content1 h3 { font-size: 1rem; }
.content1 ul li { font-size: 0.95rem; }
}

/* 480px and below */
@media (max-width: 480px) {
.content1 h2 { font-size: 1.2rem; }
.content1 h3 { font-size: 0.95rem; }
.content1 ul li { font-size: 0.85rem; }
.contact1 { font-size: 0.85rem; }
}

/* 350px and below */
@media (max-width: 350px) {
.content1 {
padding: 10px;
}
.content1 h2 { font-size: 1rem; }
.content1 h3 { font-size: 0.9rem; }
.content1 ul li { font-size: 0.8rem; }
.contact1 { font-size: 0.8rem; padding: 10px; }
}