
/* Here is css code of all pages */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* HEADER */
.header {
  background: #ffffff;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* NAV WRAPPER */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

/* LOGO */
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* NAVBAR */
.navbar {
  display: flex;
  gap: 32px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* HOVER EFFECT (beautiful line) */
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2b7cff;
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #2b7cff;
}

.navbar a:hover::after {
  width: 100%;
}

/* SEARCH */
.search-box input {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  transition: border 0.3s ease;
}

.search-box input:focus {
  border-color: #2b7cff;
}

/*...........HomePage..........*/
.main-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Headings */
.main-container h1, 
.main-container h2 {
  text-align: center;
  color: #1a73e8;
  margin-bottom: 20px;
  border-bottom:none;
  padding-bottom: none;
  letter-spacing: 1.5px;
}

.main-container h1 {
  font-size: 2.8rem;
  margin-top: 0;
}

/* Paragraphs */
.main-container p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.15rem;
  text-align: center;
  color: #333;
}

/* Images */
.main-container img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0 auto 40px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Values list */


/* Contact info */
.contact-info {
  text-align: center;
  font-size: 1.2rem;
  color: #0077cc;
  margin-top: 40px;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}
/* Mission Section */
.mission {
  max-width: 1100px;
  margin: 80px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
}

/* Title */
.section-title {
  text-align: center;
  font-size: 36px;
  color: #1a73e8;
  margin-bottom: 20px;
  border: none;        /* removes lines */
}

/* Paragraph */
.section-text {
  text-align: center;
  font-size: 18px;
  color: #444;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Slideshow */
.slideshow {
  width: 100%;
  max-width: 4000px;
  height: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  
}

/* Images */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 🔥 SHOW 100% IMAGE (NO CROP) */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Active slide */
.slide.active {
  opacity: 1;
}


  
/* =====================
   SERVICES
===================== */
.service-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 70px 90px;
  background: #ffffff;
}

.service-box {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 26px;
  background: #fff;
}

.service-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1a73e8;
}

.service-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* =====================
   WHY SECTION
===================== */
.why-section {
  background: #ffffff;
  padding: 70px 90px;
}

.why-wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
}

.why-text h2 {
  font-size: 1.875rem;
  margin-bottom: 16px;
  color:#1a73e8;
}

.why-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  max-width: 520px;
}

.why-image img {
  width: 320px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* =====================
   VALUES + CONTACT
===================== */


.values {
  background: #fff;
  max-width: 650px;
  margin: 50px auto 70px;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.values h2 {
  font-size: 1.875rem;
  margin-bottom: 35px;
 
  font-weight: 700;
  letter-spacing: 1.1px;
}

.values ul {
  list-style: none;
  padding: 0;
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
}

.values ul li {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: color 0.3s ease;
}

.values ul li i {
  color: #2b7cff;
  font-size: 1.6rem;
  min-width: 24px;
  text-align: center;
}

.values ul li:hover {
  color: #2b7cff;
  cursor: default;
}



.quick-links {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.quick-links h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a73e8;
}

.quick-links a {
  color: #1f2f46;
  text-decoration: none;
  font-size: 15px;
}


/* =========================
   SECTION 3: SERVICES
========================= */

.services-main-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.services-container {
  width: 100%;
}

/* Main title */
.services-main-title {
  color: #2051f5; /* آبي */
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.services-main-title i {
  margin-right: 12px;
  color: #3a73ff; /* آئیکون آبي */
}

/* Flex container for service blocks */
.services-flexbox {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* Each service block */
.service-block {
  flex: 1 1 30%;
  background: #f9f9f9;
  border-radius: 18px;
  padding: 25px 30px;
  box-shadow: 0 10px 25px rgba(32, 81, 245, 0.15);
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(32, 81, 245, 0.3);
}

/* Service block headings */
.service-block h2 {
  font-size: 1.875rem;
  color: #000;
  margin-bottom: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.service-block h2 i {
  margin-right: 10px;
  color: #2051f5; /* آئیکون آبي */
}

/* Paragraph styling */
.service-block p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

/* List styles */
.service-block ul {
  list-style: none;
  padding-left: 0;
}

.service-block ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  color: #444;
}

.service-block ul li i {
  margin-right: 10px;
  color: #3a73ff; /* آئیکون آبي */
}

/* Contact box */
.services-contact-box {
  margin-top: 50px;
  padding: 30px 40px;
  background: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(32, 81, 245, 0.15);
  text-align: center;
  color: #222;
  font-size: 1.1rem;
}

.services-contact-box h2 {
  font-size: 1.875rem;
  margin-bottom: 15px;
  color: #2051f5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.services-contact-box h2 i {
  color: #3a73ff;
}

.services-contact-box p {
  margin-bottom: 12px;
  font-style: italic;
  color: #444;
}

.services-contact-box a {
  color: #2051f5;
  text-decoration: none;
  font-weight: 600;
}

.services-contact-box a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 980px) {
  .services-flexbox {
    flex-direction: column;
  }

  .service-block {
    flex: 1 1 100%;
  }
}

.service-boxes {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  background: #ffffff;
  padding: 42px 32px;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.service-box h3 {
  font-size: 24px;
  color: #0a2d5e;
  margin-bottom: 18px;
}

.service-box p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .service-boxes {
    grid-template-columns: 1fr;
  }
}

/* =========================
   SECTION 4: WHY CARAVAN
========================= */

.why-section {
  width: 100%;
  padding: 80px 0;
}

.why-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* exact 50 / 50 */
  gap: 60px;
  align-items: center;
}

.why-text {
  width: 100%;
}

.why-text h2 {
  font-size: 1.875rem;
  line-height: 1.3;
  margin-bottom: 20px;
  white-space: normal;
  word-break: normal;
}

.why-text p {
  font-size: 16px;
  line-height: 1.7;
}

.why-image {
  width: 100%;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* --- Responsive Flexbox and Media Queries added below --- */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  h1 {
    font-size: 1.8rem;
  }
}



/* ===========================
   About Us Page Styles
   =========================== */

   
/* Container for sections */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6; 
}

/* General Flexbox for text + image */
.intro-section, .about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
  background-color:white;
  border: 2px solid #1a73e8;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

.intro-section:hover, .about-section:hover {
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.4);
}

/* Text containers */
.intro-text, .about-text {
  flex: 1 1 55%;
}

.intro-text h1,
.about-text h2 {
  color: #1a73e8;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 2rem;
}

.about-text h3 {
  color: #1a73e8;
  margin: 25px 0 15px;
  font-weight: 700;
  font-size: 1.5rem;
}

.intro-text p,
.about-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Image containers */
.intro-image, .about-image {
  flex: 1 1 40%;
  text-align: center;
}

.intro-image img, .about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
  object-fit: cover;
}

/* Feature box container */
.services-container {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

/* Feature box */
.feature-box {
  background-color: white;
  border: 2px solid #1a73e8;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 40px;
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.2);
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.feature-box:hover {
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.4);
}

.feature-box .icon {
  font-size: 3rem;
  color: #1a73e8;
  margin-bottom: 20px;
}

.feature-box h3 {
  color: #1a73e8;
  margin-bottom: 18px;
  font-weight: 700;
}

.feature-box p {
  font-size: 1.1rem;
  color: #555;
}

/* Responsive for tablets and mobiles */
@media (max-width: 900px) {
  .intro-section,
  .about-section {
    flex-direction: column;
  }

  .intro-text,
  .about-text,
  .intro-image,
  .about-image {
    flex: 1 1 100%;
  }
}


/* About ABA section layout */
.about-aba.container {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
  background-color: white;
  border: 2px solid #1a73e8;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.2);
  transition: box-shadow 0.3s ease;
}

.about-aba.container:hover {
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.4);
}

/* Text content in about section */
.about-aba .text-content {
  flex: 1 1 55%;
}


.about-aba .text-content h3{
  font-size: 1.5rem;
    color:  #1a73e8;
  }

.about-aba .text-content p, 
.about-aba .text-content ul {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

.about-aba .text-content ul {
  list-style: disc inside;
  padding-left: 0;
}

.about-aba .text-content ul li {
  margin-bottom: 10px;
}

/* Image content in about section */
.about-aba .image-content {
  flex: 1 1 40%;
  text-align: center;
}

.about-aba .image-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
  object-fit: cover;
}
.ourAim h2{
  font-size: 1.5rem;
  color: #1a73e8;
  padding: 4px;
  display: flex;
  
}
/* Responsive for smaller screens */
@media (max-width: 900px) {
  .about-aba.container {
    flex-direction: column;
  }

  .about-aba .text-content,
  .about-aba .image-content {
    flex: 1 1 100%;
  }

  .feature-box {
    padding: 20px 15px;
  }
}


services-section {
  background-color: #ffffff;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: nowrap;  
}

.main-title {
  width: 100%;
  font-size: 3rem;
  font-weight: 700;
  color: #1a73e8;;
  text-align: center;
  margin-bottom: 50px;
}

.service-block {
  background-color: #f9faff;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 6px 18px rgba(26, 62, 122, 0.15);
  flex: 1 1 32%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  max-height: none;
  overflow: visible;
}

.service-block:hover {
  box-shadow: 0 10px 30px rgba(26, 62, 122, 0.35);
}

.service-block h2 {
  color: #1a73e8;;
  font-size: 1.8rem;
  margin-bottom: 18px;
  border-left: 6px solid #1a3e7a;
  padding-left: 14px;
}

.service-block h3 {
  color: #2a5ca8;
  font-size: 1.4rem;
  margin-bottom: 15px;
  margin-top: 22px;
}

.service-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
  flex-grow: 1;
}

.service-block ul {
  list-style: inside disc;
  color: #1a73e8;;
  margin-left: 20px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.service-block ul li {
  margin-bottom: 7px;
}



@media (max-width: 900px) {
  .container {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .service-block {
    max-height: none;
    width: 100%;
    margin-bottom: 25px;
  }
}
.two-box-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.box {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #1a73e8;;
}

.box p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .two-box-section {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   services page desgi
  
   ========================================= */


.banner {
  height: 280px;
  background: url("image/banner-photo.jpg") center/cover no-repeat;
  position: relative;
  
}
.services {
  background: #ffffff;
  padding: 60px 20px;
  padding-top: 0;
  margin-top: 0;
}

.services h1  {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2b7cff;
}

.services p {
  max-width: 800px;          /* controls width */
  margin: 0 auto;            /* centers the block */
  text-align: left;          /* IMPORTANT */
  font-size: 1rem;           /* 16px */
  line-height: 1.7;          /* fixes disorganization */
  color: #555;
}



/* ===== SECTIONS ===== */
.service-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.service-section.light {
  background:white;
}

/* TEXT */
.service-section .text {
  flex: 1;
}

.service-section h2 {
  color: #1a73e8;;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-section p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-section ul {
  padding-left: 20px;
}

.service-section li {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* IMAGE */
.service-section .image {
  flex: 1;
}

.service-section img {
  width: 100%;
  border-radius: 18px;
  box-shadow:white 0 10px 30px rgba(11, 77, 162, 0.15);
  background:white;
}

/* CTA BUTTON */
.cta-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 34px;
  background: linear-gradient(
    135deg,
    #0b4da2,
    #1565c0
  );
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 77, 162, 0.3);
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .service-section {
    flex-direction: column;
    text-align: center;
    padding: 70px 20px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}


/* =========================================
   CAREERS PAGE – MAIN CONTENT STYLES
  
   ========================================= */


.careers-section.container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  background-color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  display: block;
}

/* Career blocks general */
.career-block {
  width: 100%;
  padding: 30px 25px;
  border: 2px solid #1a73e8;
  border-radius: 12px;
  margin-bottom: 50px;
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.15);
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  max-width: 100%;
  
}

.career-block:hover {
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.3);
}





/* Headings */
.career-block h1,
.career-block h2 {
  color: #1a73e8;
  font-weight: 700;
  margin-bottom: 20px;
}

.career-block h1 {
  font-size: 2.5rem;
}

.career-block h2 {
  font-size: 2rem;
}

/* Paragraphs */
.career-block p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Lists */
.career-block ul {
  list-style: disc inside;
  padding-left: 0;
  color: #555;
  font-size: 1.1rem;
}

.career-block ul li {
  margin-bottom: 10px;
}

/* Icon style */
.career-block h1 i,
.career-block h2 i {
  margin-right: 12px;
  color: #1a73e8;
}
.careerImage img{
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 20px auto 0 auto;
}
/* Career Image (Part 2) */
.career-images {
  display: flex;
  justify-content: center;
  gap: 25px;             /* space between images */
  margin-bottom: 50px;
  flex-wrap: wrap;       /* wraps images to next line on small screens */
}

.career-images img {
  width: 30%;          /* slightly bigger but not too large */
  height: auto;          /* keep aspect ratio */
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: block;
}

/* Hover effect for better interactivity */
.career-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Responsive: on smaller screens, make images full width */
@media (max-width: 768px) {
  .career-images img {
    width: 100%;
    max-width: none; /* limit max width */
  }
}

/* Highlight block (Part 6) */
.career-block.highlight {

 background-color: #fff;
  box-shadow: 0 8px 25px rgba(15, 74, 200, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .career-images {
    flex-direction: column;
    align-items: center;
  }

  .career-images img {
    width: 90%;
    height: auto;
    margin-bottom: 20px;
  }
}








/* =========================================
   Family resources PAGE – MAIN CONTENT STYLES
  
   ========================================= */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.5;
  margin-top: 10px;
}

section {
  margin-bottom: 60px;
}

h1 {
  margin-top: 20px;
  text-align: center;
  font-size: 3rem;
  color: #1a73e8;
  margin-bottom: 15px;
}
.image-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.image-container {
  flex: 1 1 300px;
  max-width: 50%;
  text-align: center;
  border: 4px solid #1a73e8;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.6);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px solid white#1a73e8;
}

.image-container figcaption {
  padding: 12px 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1a73e8;
  background-color: #e8f0fe;
}


.section-2 {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.section-2 h2 {
  color: #1a73e8;
  font-size: 2rem;
  margin-bottom: 25px;
  text-align: center; /* or left if you prefer */
  margin-top: 20px;
  padding: 10px;
}

/* Flex container for paragraph and image */
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Paragraph styling - left side */
.section-2 p {
  flex: 1 1 400px;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
  min-width: 300px;
  padding: 5px;
}

/* Image styling - right side */
.image-icon-wrapper {
  flex: 1 1 400px;
  max-width: 400px;
  border-radius: 40% / 60%; /* This creates an ellipse shape like a melon */
  overflow: hidden;
  border: 4px solid #1a73e8;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-icon-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.6);
}

.image-icon-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}


/* Section 3: Family Resource Offerings */
.section-3 {
  padding: 80px 8%;
  background-color: white;
  max-width: 750px;
   width: 100%;
  height: auto;
  display: flexbox;
  padding-bottom: 15px;
}

.section-3 h2 {
  color: #1e5fd8; /* blue */
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-3 p {
  color: #555;
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 40px;
}

.offerings-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.offerings-list li {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: #333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offerings-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.offerings-list i {
  color: #1e5fd8;
  font-size: 1.2rem;
  margin-top: 3px;
  min-width: 22px;
}

/* Section 4: Goal Statement */
.section-4 {
  padding: 80px 8%;
  background:white;
   color: #333;
  border-radius: 30px 30px 0 0;
}

.section-4 h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-4 p {
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.7;
  opacity: 0.95;
}


/* ===== Contact Banner ===== */
.contact-banner {
  height: 280px;
  background: url("image/pexels-cottonbro-7703651.jpg") center/cover no-repeat;
  position: relative;
}

.banner-overlay {
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.banner-overlay h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.banner-overlay p {
  font-size: 18px;
}

/* ===== Main Section ===== */
.contact-main {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #2051f5;
  margin-bottom: 50px;
}

/* ===== Grid ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.contact-box {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.contact-box i {
  font-size: 42px;
  color: #2051f5;
  margin-bottom: 20px;
}

.contact-box h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.contact-box p {
  color: #444;
  line-height: 1.6;
}

/* ===== Get in Touch ===== */
.get-in-touch {
  text-align: center;
  margin-bottom: 80px;
}

.get-in-touch h2 {
  font-size: 30px;
  color: #2051f5;
  margin-bottom: 15px;
}

.get-in-touch p {
  max-width: 700px;
  margin: auto;
  color: #444;
}

.social-icons {
  margin-top: 25px;
}

.social-icons a {
  margin: 0 10px;
  font-size: 20px;
  color: #2051f5;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* ===== Contact Form ===== */
.contact-form {
  background: #fff;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.contact-form h2 {
  text-align: center;
  color: #2051f5;
  margin-bottom: 30px;
}

.contact-form form {
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.checkbox {
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
  color: #444;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: #2051f5;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.9;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .banner-overlay h1 {
    font-size: 32px;
  }
}


footer.grid-footer {
  width: 100%;
  background: #1e40af; /* ښکلی نیلي رنګ */
  color: #e0e7ff; /* سپین رنګ */
  padding: 25px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 20px;
  box-shadow: 0 -5px 15px rgba(30, 64, 175, 0.7);
}

footer.grid-footer > div {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: color 0.4s ease, transform 0.3s ease;
  cursor: pointer;
}

footer.grid-footer > div:hover {
  color: #93c5fd;
  transform: translateY(-5px);
}

footer.grid-footer i {
  font-size: 24px;
  color: #93c5fd;
  transition: color 0.4s ease;
}

/* ټولنیزې میډیا آیکونونه */
footer.grid-footer .social-icons {
  justify-content: flex-start;
}

footer.grid-footer .social-icons a {
  color: #93c5fd;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

footer.grid-footer .social-icons a:hover {
  color: #cbd5e1;
  transform: scale(1.2);
}

/* کاپي‌رایت برخه */
footer.grid-footer .copyright {
  grid-column: 1 / -1; /* په ټول عرض کې */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 14px;
  color: #cbd5e1;
  cursor: default; 
}

/* Responsive Design */

@media (max-width: 600px) {
  footer.grid-footer {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 15px;
  }
  footer.grid-footer > div {
    justify-content: center;
    margin-bottom: 15px;
  }
  footer.grid-footer .social-icons {
    justify-content: center;
  }
}

/* د ټابلیټ لپاره: د سکرین عرض 900px څخه کم */
@media (max-width: 900px) and (min-width: 601px) {
  footer.grid-footer {
    grid-template-columns: repeat(2, 1fr);
    padding: 25px 40px;
  }
  footer.grid-footer > div {
    justify-content: flex-start;
  }
  footer.grid-footer .social-icons {
    justify-content: flex-start;
  }
}