
/* Reset body default margin */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: white;
}





/* ================= NAVBAR BASE ================= */
.navbar {
  width: 100%;
  background-color: #ffffff;
  position: fixed;      /* stick at top */
  top: 0;
  left: 0;
  z-index: 10000;       /* above all */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body {
  margin-top: 120px; /* push content below navbar */
}

/* ================= TOP SECTION ================= */
.topsection {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 40px;
  gap: 30px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.topsection .item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  transition: color 0.3s ease;
  font-weight: 500;
}
.topsection .item:hover { color: #e63946; }
.topsection img {
  width: 18px; height: 18px; transition: transform 0.3s ease;
}
.topsection .item:hover img { transform: translateY(-1px); }

.language-selector { display: flex; gap: 12px; }
.language-selector .lang {
  background: none; border: none; font-weight: 600; font-size: 14px;
  color: #6c757d; cursor: pointer; transition: color 0.3s ease;
}
.language-selector .lang:hover { color: #e63946; }
.language-selector .lang.active { color: #000000; }

/* ================= DOWN SECTION ================= */
.downsection {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 40px; background: #e8baba;
}
.downsection .logos { display: flex; align-items: center; gap: 15px; }
.downsection .logos img { transition: transform 0.3s ease; }
.downsection .logos img:hover { transform: scale(1.05); }

.downsection ul {
  list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; align-items: center;
}
.downsection ul li { cursor: pointer; font-weight: 500; transition: all 0.3s ease; position: relative; }
.downsection ul li a {
  text-decoration: none; color: #2d3748; font-size: 16px; font-weight: 500;
  transition: color 0.3s ease; padding: 8px 4px; position: relative;
}
.downsection ul li a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: #e63946; transition: width 0.3s ease;
}
.downsection ul li a:hover::after { width: 100%; }
.downsection ul li a:hover { color: #e63946; }
.downsection ul li.dropdown { position: relative; }

/* ================= DROPDOWN ================= */
.downsection ul li.dropdown .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #ffffff; min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 6px; padding: 10px 0; z-index: 1000;
}
.downsection ul li.dropdown:hover .dropdown-menu { display: block; }
.downsection ul li.dropdown.active .dropdown-menu { display: block; }

.downsection ul li.dropdown .dropdown-menu li { border-bottom: 1px solid rgba(0,0,0,0.05); }
.downsection ul li.dropdown .dropdown-menu li:last-child { border-bottom: none; }
.downsection ul li.dropdown .dropdown-menu li a {
  display: block; padding: 10px 16px; font-size: 14px; color: #2d3748;
  transition: background 0.3s ease, color 0.3s ease;
}
.downsection ul li.dropdown .dropdown-menu li a:hover {
  background: #f8f9fa; color: #e63946;
}

/* ================= HIGHLIGHT BUTTON ================= */
.downsection ul li.highlight a {
  font-weight: 600;
  background: linear-gradient(135deg, #e63946 0%, #d90429 100%);
  color: #ffffff; padding: 10px 20px; border-radius: 8px; text-transform: uppercase;
  font-size: 14px; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  transition: all 0.3s ease;
}
.downsection ul li.highlight a::after { display: none; }
.downsection ul li.highlight a:hover {
  background: linear-gradient(135deg, #d90429 0%, #c1121f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}

/* ================= MOBILE MENU TOGGLE ================= */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-menu-btn span { width: 25px; height: 2px; background: #2d3748; transition: all 0.3s ease; }
.close-menu { display: none; }

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 1024px) {
  .downsection ul { gap: 30px; }
  .downsection { padding: 15px 30px; }
  .topsection { padding: 8px 30px; }
}
@media (max-width: 768px) {
  .downsection { padding: 12px 20px; }
  .topsection { padding: 8px 20px; justify-content: center; gap: 20px; }
  .downsection ul { gap: 25px; }
  .downsection ul li a { font-size: 15px; }
}
@media (max-width: 640px) {
  .topsection { display: none; }
  .downsection { padding: 10px 20px; }
  .mobile-menu-btn { display: flex; }
  .downsection ul {
    position: fixed; top: 0; left: -100%; width: 80%; height: 100vh; background: #ffffff;
    flex-direction: column; gap: 0; padding: 80px 30px 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1); transition: left 0.3s ease; z-index: 9999;
  }
  .downsection ul.active { left: 0; animation: slideIn 0.3s ease forwards; }
  .downsection ul li { width: 100%; padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .downsection ul li:last-child { border-bottom: none; }
  .downsection ul li.highlight a { display: block; text-align: center; margin-top: 20px; }
  .downsection ul li.dropdown .dropdown-menu {
    position: static; box-shadow: none; background: #fafafa; padding: 6px 0 8px 10px; margin-top: 6px;
  }
  .downsection ul li.dropdown .dropdown-menu li { border: none; }
  .downsection ul li.dropdown .dropdown-menu li a { padding: 10px 12px; }
  .close-menu {
    display: block; position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 24px; cursor: pointer; color: #2d3748;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes slideIn {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* ================= ACCESSIBILITY ================= */
.downsection ul li a:focus,
.topsection .item:focus {
  outline: none;
}
.downsection ul li a:focus-visible,
.topsection .item:focus-visible {
  outline: 2px solid #e63946; outline-offset: 2px;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  .topsection .item,
  .topsection img,
  .downsection .logos img,
  .downsection ul li,
  .downsection ul li a,
  .downsection ul li a::after,
  .downsection ul li.highlight a {
    transition: none;
  }
  .downsection ul li.highlight a:hover { transform: none; }
}









/* mainimage1 style sheet */
.mainimage1 {
    position: relative;
    width: 100%;
    margin-top: -13%;
    height: 820px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    isolation: isolate;
}
.imggal {
    position: absolute;
    width: 100%;
    height: 950px;
    z-index: 1;
}
.imggal img {
    position: absolute;
    width: 100%;
    height: 950px;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.15);
    animation: imageAnimation 24s infinite;
    filter: brightness(0.85) contrast(1.1);
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes imageAnimation {
    0% { opacity: 0; transform: scale(1.15); }
    6% { opacity: 1; transform: scale(1.05); }
    20% { opacity: 1; transform: scale(1); }
    26% { opacity: 0; transform: scale(1.03); }
    100% { opacity: 0; transform: scale(1.15); }
}
.imggal img:nth-child(1) { animation-delay: 0s; }
.imggal img:nth-child(2) { animation-delay: 6s; }
.imggal img:nth-child(3) { animation-delay: 12s; }
.imggal img:nth-child(4) { animation-delay: 18s; }

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.85) 0%, rgba(15, 15, 26, 0.4) 100%);
    z-index: 2;
}

.texts {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    width: 80%;
    max-width: 1200px;
    z-index: 10;
}

.texts h1 {
    position: absolute;
    opacity: 0;
    line-height: 1.3;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    animation: textAnimation 24s infinite;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.6);
    max-width: 750px;
    letter-spacing: -0.5px;
}
.texts h1 strong {
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.texts h1:nth-child(1) { animation-delay: 0s; }
.texts h1:nth-child(2) { animation-delay: 6s; }
.texts h1:nth-child(3) { animation-delay: 12s; }
.texts h1:nth-child(4) { animation-delay: 18s; }

.cta-container {
    position: absolute;
    bottom: 120px;
    left: 10%;
    z-index: 15;
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}
.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}
.cta-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}
.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 20;
    gap: 15px;
}
.slider-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.slider-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}
.slider-dot.active::before,
.slider-dot:hover::before { transform: scale(1); }

.progress-container {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 20;
}
.progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    border-radius: 2px;
    animation: progressAnimation 6s linear infinite;
}
.progress-container:nth-child(1) .progress-bar { animation-delay: 0s; }
.progress-container:nth-child(2) .progress-bar { animation-delay: 6s; }
.progress-container:nth-child(3) .progress-bar { animation-delay: 12s; }
.progress-container:nth-child(4) .progress-bar { animation-delay: 18s; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes textAnimation {
    0% { opacity: 0; transform: translateY(40px); }
    6% { opacity: 1; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(0); }
    26% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 0; transform: translateY(40px); }
}
@keyframes progressAnimation { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Large desktop (≥1400px) */
@media (min-width: 1400px) {
    .texts h1 {
        font-size: 4.5rem;
        max-width: 900px;
    }
    .cta-button {
        padding: 20px 50px;
        font-size: 1.2rem;
    }
}

/* Medium desktop (1200px–1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .texts h1 {
        font-size: 3.8rem;
        max-width: 700px;
    }
}

/* Standard laptop (992px–1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .texts h1 {
        font-size: 3.2rem;
        max-width: 600px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .mainimage1 { min-height: 700px; }
    .texts { left: 5%; width: 90%; text-align: center; }
    .texts h1 { font-size: 2.5rem; max-width: 100%; }
    .cta-container { left: 50%; transform: translateX(-50%); width: 80%; }
    .cta-button { justify-content: center; }
    .progress-container { width: 200px; }
}

/* Small devices */
@media (max-width: 576px) {
    .texts h1 { font-size: 2rem; }
    .cta-button { padding: 16px 30px; font-size: 1rem; }
    .mainimage1 { min-height: 600px; }
    .slider-nav { bottom: 100px; }
    .progress-container { bottom: 135px; }
}










/* ================= MAINIMAGE2 SECTION ================= */
:root {
  --border-radius: 12px;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 22px rgba(0, 0, 0, 0.12);
  --transition: 0.35s ease;
}

.mainimage2 {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  padding: 80px 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  background: #fff;
}

/* Box styles */
.mainimage2 .box {
  flex: 1 1 300px;                /* grow/shrink evenly */
  min-width: 260px;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0f0f10;
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.mainimage2 .box.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mainimage2 .box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Background image overlay */
.mainimage2 .box .cursorimg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mainimage2 .box .cursorimg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.9s ease;
  transform: scale(1.02);
  filter: brightness(0.78) contrast(1.05);
}

.mainimage2 .box:hover .cursorimg img {
  transform: scale(1.03);
}

.mainimage2 .box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.45) 100%);
}

/* Content */
.mainimage2 .box > img,
.mainimage2 .box h1,
.mainimage2 .box p {
  position: relative;
  z-index: 2;
}

.mainimage2 .box > img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: invert(1) grayscale(100%) brightness(200%);
}

.mainimage2 .box h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.mainimage2 .box p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5e7eb;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Large tablets / small desktops */
@media (max-width: 992px) {
  .mainimage2 {
    gap: 18px;
    padding: 60px 20px;
  }
  .mainimage2 .box {
    flex: 1 1 calc(50% - 18px);   /* two per row */
    height: 420px;
    padding: 25px 18px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .mainimage2 {
    flex-direction: column;
    align-items: center;
    padding: 50px 15px;
  }
  .mainimage2 .box {
    width: 100%;
    max-width: 480px;
    height: auto;
    min-height: 350px;
  }
}

/* Small phones */
@media (max-width: 576px) {
  .mainimage2 {
    padding: 40px 12px;
    gap: 16px;
  }
  .mainimage2 .box {
    width: 100px;
    max-width: 100%;
    min-height: 280px;
    padding: 20px 15px;
  }
  .mainimage2 .box > img {
    width: 40px;
    height: 40px;
  }
  .mainimage2 .box h1 {
    font-size: 1.1rem;
  }
  .mainimage2 .box p {
    font-size: 0.9rem;
  }
}

/* Extra small devices (≤360px) */
@media (max-width: 360px) {
  .mainimage2 {
    padding: 30px 8px;
    gap: 12px;
  }
  .mainimage2 .box {
    min-height: 240px;
    padding: 15px 12px;
  }
  .mainimage2 .box h1 {
    font-size: 1rem;
  }
  .mainimage2 .box p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}






/*impact-section style */
/* Impact Section */
.impact-section {
  text-align: center;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.impact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #000; /* black text */
  font-family: 'Montserrat', sans-serif;
}
.impact-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.impact-box {
  flex: 1 1 220px;
  text-align: center;
  padding: 20px;
}
.impact-box img {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}
.impact-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000; /* black */
}
.impact-box .count {
  color: #b40000; /* deep red */
  font-size: 1.6rem;
  font-weight: 800;
}
.impact-box p {
  font-size: 1rem;
  color: #333;
}
@media (max-width: 992px) {
  .impact-cards {
    justify-content: center;
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .impact-cards {
    flex-direction: column;
    align-items: center;
  }
  .impact-box {
    max-width: 400px;
  }
}








/* mainimage3 style sheet */       
/* Modern mainimage3 Style Sheet */
.mainimage3 {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.mainimage3 .content {
    flex: 1;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 80px 8% 80px 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    z-index: 2;
    isolation: isolate;
}
.mainimage3 .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.mainimage3 .content .heading {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}
.mainimage3 .content .heading h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: #ffffff;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -0.02em;
}
.mainimage3 .content .heading h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #4f46e5);
    border-radius: 2px;
    animation: gradientMove 3s ease-in-out infinite alternate;
}
.mainimage3 .content .heading h1 span {
    color: #e63946;
    display: block;
    margin-top: 15px;
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mainimage3 .content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    margin-bottom: 45px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
}
.mainimage3 .content .features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
}
.mainimage3 .content .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mainimage3 .content .feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}
.mainimage3 .content .feature i {
    color: #e63946;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}
.mainimage3 .content .feature:hover i {
    transform: scale(1.2);
}
.mainimage3 .content .feature span {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}
.mainimage3 .content .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 45px;
    background: linear-gradient(135deg, #e63946 0%, #4f46e5 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.2s forwards;
    position: relative;
    overflow: hidden;
}
.mainimage3 .content .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.mainimage3 .content .cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
}
.mainimage3 .content .cta-button:hover::before {
    left: 100%;
}
.mainimage3 .image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.mainimage3 .image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
    transition: opacity 0.4s ease;
}
.mainimage3 .image-container:hover::before {
    opacity: 0.8;
}
.mainimage3 .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mainimage3 .image-container:hover img {
    transform: scale(1.1);
}
.mainimage3 .overlay-heading {
    position: absolute;
    top: 4%;
    left: 2%;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    z-index: 2;
    line-height: 1.2;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}
.decoration {
    position: absolute;
    z-index: 1;
}
.circle-1 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,57,70,0.15), transparent);
    top: 15%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}
.circle-2 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.15), transparent);
    bottom: 20%;
    right: 15%;
    animation: float 9s ease-in-out infinite alternate;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
@media (max-width: 1200px) {
    .mainimage3 .content .heading h1 {
        font-size: 3.2rem;
    }
    .mainimage3 .overlay-heading {
        font-size: 2.4rem;
    }
}
@media (max-width: 992px) {
    .mainimage3 {
        flex-direction: column;
        height: auto;
    }
    .mainimage3 .content {
        padding: 60px 40px;
        order: 2;
    }
    .mainimage3 .image-container {
        order: 1;
        height: 50vh;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .mainimage3 .overlay-heading {
        top: 50%;
        left: 5%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
        font-size: 2.4rem;
    }
    .mainimage3 .content p {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .mainimage3 .content {
        padding: 50px 30px;
    }
    .mainimage3 .content .heading h1 {
        font-size: 2.6rem;
    }
    .mainimage3 .overlay-heading {
        font-size: 2rem;
    }
    .mainimage3 .content p {
        font-size: 1.1rem;
    }
    .mainimage3 .content .feature {
        padding: 14px 20px;
    }
}
@media (max-width: 576px) {
    .mainimage3 .content {
        padding: 40px 25px;
    }
    .mainimage3 .content .heading h1 {
        font-size: 2.2rem;
    }
    .mainimage3 .overlay-heading {
        font-size: 1.8rem;
    }
    .mainimage3 .content .cta-button {
        padding: 18px 35px;
        width: 100%;
        justify-content: center;
    }
    .circle-1, .circle-2 {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mainimage3 .content .heading,
    .mainimage3 .content p,
    .mainimage3 .content .features,
    .mainimage3 .content .cta-button,
    .mainimage3 .overlay-heading {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .mainimage3 .image-container img,
    .mainimage3 .content .feature,
    .mainimage3 .content .cta-button,
    .mainimage3 .content .feature i {
        transition: none;
    }
    .mainimage3 .image-container:hover img {
        transform: none;
    }
    .mainimage3 .content .feature:hover {
        transform: none;
    }
    .mainimage3 .content .cta-button:hover {
        transform: none;
    }
    .circle-1, .circle-2 {
        animation: none;
    }
}





/* mainimage4 style sheet */
/* ==================== MODERN VARIABLES ==================== */
:root {
  --primary-bg: #fafbfc;
  --card-bg: #ffffff;
  --primary-red: #e63946;
  --primary-red-dark: #c1121f;
  --text-dark: #1a202c;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border-radius: 16px;
  --border-radius-sm: 12px;
  --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-lg: 80px;
  --spacing-md: 32px;
  --spacing-sm: 24px;
  --spacing-xs: 16px;
}

.mainimage4 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary-bg);
  padding: var(--spacing-lg) var(--spacing-md);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.mainimage4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.headingsmainimage4 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-xs);
  max-width: 800px;
}

.headingsmainimage4 h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
}

.headingsmainimage4 h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
  border-radius: 2px;
}

.headingsmainimage4 h2 {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.imageboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.imageboxes .box {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm);
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
}

.imageboxes .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.imageboxes .box:hover::before {
  transform: scaleX(1);
}

.imageboxes .box:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-xl);
  border-color: rgba(230, 57, 70, 0.2);
}

.imageboxes .box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
  transition: transform 0.4s ease;
}

.imageboxes .box:hover img {
  transform: scale(1.02);
}

.imageboxes .box h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}

.imageboxes .box p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

.imageboxes .box button {
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--primary-red);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.imageboxes .box button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.imageboxes .box button:hover {
  background: var(--primary-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.imageboxes .box button:hover::before {
  left: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.box.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
  .imageboxes {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .mainimage4 {
    padding: 60px 20px;
  }
  
  .headingsmainimage4 h1 {
    font-size: 2rem;
  }
  
  .headingsmainimage4 h2 {
    font-size: 1rem;
  }
  
  .imageboxes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .imageboxes .box img {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .mainimage4 {
    padding: 50px 16px;
  }
  
  .headingsmainimage4 h1 {
    font-size: 1.75rem;
  }
  
  .headingsmainimage4 h2 {
    font-size: 0.95rem;
  }
  
  .imageboxes .box {
    padding: 20px;
  }
  
  .imageboxes .box img {
    height: 160px;
  }
}








/* mainimage5 style sheet */
/* Main section */
.mainimage5 {
  position: relative;
  width: 100%;
  height: 100vh; /* fullscreen */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  clip-path: ellipse(100% 90% at 50% 0%); /* curved bottom */
  background: #000; /* fallback */
}
.mainimage5 img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.85);
}
.mainimage5 .content {
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 900px;
  animation: fadeInUp 1.2s ease-in-out;
}
.mainimage5 .content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}
.mainimage5 .content a button {
  padding: 14px 38px;
  background: linear-gradient(135deg, #e63946, #ff6f61);
  color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  position: relative;
}
.mainimage5 .content a button:hover {
  background: linear-gradient(135deg, #d62828, #e63946);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.mainimage5 .content a button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .mainimage5 .content h1 {
    font-size: 2rem;
  }
  .mainimage5 .content a button {
    font-size: 1rem;
    padding: 12px 28px;
  }
}





/* ===== MODERN LOGO GRID SECTION ===== */
.mainimage6 {
  text-align: center;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #1a0a0a 100%);
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 40px auto;
  max-width: min(1400px, 95vw);
  backdrop-filter: blur(20px);
  border-radius: 0; /* ✅ Removed border radius */
}

.mainimage6 h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: clamp(20px, 3vw, 32px);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 25%, #dc2626 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mainimage6 p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(40px, 5vw, 60px);
  line-height: 1.6;
  max-width: min(700px, 90%);
  margin-left: auto;
  margin-right: auto;
}

/* === LOGO GRID === */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* ✅ 5 per row on large */
  gap: 30px;
  justify-items: center;
}

/* Logo box styling */
.logo-item {
  width: 100%;
  max-width: 200px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
  cursor: pointer;
  border-radius: 0; /* ✅ No rounded corners */
}

.logo-item img {
  height: clamp(40px, 5vw, 70px);
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.logo-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 
    0 20px 40px rgba(220, 38, 38, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-item:hover img {
  transform: scale(1.1);
}

/* === RESPONSIVE DESIGN === */

/* Tablets */
@media (max-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 25px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 15px;
  }
}





/* mainimage7 style sheet - Dark Theme */

/* Modern CSS variables */
:root {
  --primary-color: #e63946;
  --primary-dark: #c1121f;
  --secondary-color: #1d3557;
  --accent-color: #457b9d;

  --text-main: #ffffff;   /* ✅ All text white */

  --bg-dark: #e01a1a;
  --bg-card: #ff00006c;
  --bg-hover: #ebe4e4;

  --border-radius: 15px;
  --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s ease;
}

/* Layout */
.mainimage7 {
  display: flex;
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  gap: 30px;
  min-height: 600px;
  color: var(--text-main); /* ✅ Default text color */
}

/* Headings Sidebar */
.unitboxes-headings {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.unitboxes-headings h1 {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-left: 4px solid transparent;
  color: var(--text-main); /* ✅ White text */
}

.unitboxes-headings h1:hover {
  transform: translateX(5px);
  background: var(--bg-hover);
}

.unitboxes-headings h1.active {
  border-left: 4px solid var(--primary-color);
  background: linear-gradient(to right, rgba(230, 57, 70, 0.1), transparent);
  color: var(--primary-color); /* Keep active highlight */
}

/* Content Section */
.unitboxes-images {
  flex: 2;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  color: var(--text-main); /* ✅ White text */
}

.imagebox1 {
  display: none;
  animation: fadeIn 0.5s ease;
}

.imagebox1.active {
  display: block;
}

.imagebox1 h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.image-container {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.imagebox1 img.main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Badge */
.calendar-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.calendar-badge i {
  font-size: 1rem;
}

/* Text */
.imagebox1 p {
  color: var(--text-main); /* ✅ White text */
  margin: 20px 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Button */
.imagebox1 button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.imagebox1 button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 992px) {
  .mainimage7 { flex-direction: column; }
  .unitboxes-headings { flex-direction: column; }
  .unitboxes-headings h1 { font-size: 1rem; }
}
@media (max-width: 768px) {
  .imagebox1 h1 { font-size: 1.4rem; }
  .imagebox1 img.main-image { height: 240px; }
  .imagebox1 p { font-size: 1rem; }
  .imagebox1 button { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
  .mainimage7 { margin: 15px auto; padding: 12px; gap: 20px; }
  .unitboxes-images { padding: 18px; }
  .imagebox1 img.main-image { height: 200px; }
  .calendar-badge { bottom: 8px; left: 8px; font-size: 0.75rem; padding: 5px 10px; }
  .unitboxes-headings h1 { font-size: 0.9rem; padding: 12px; }
}













/* ================= MAIN HERO SECTION ================= */
.mainimage8 {
  position: relative;
  width: 100%;
  height: 70vh; /* default height */
  background: url('images/date.png') no-repeat center center/cover;
  background-attachment: fixed; /* parallax effect */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.mainimage8::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.4)
  ); /* overlay for readability */
}

.mainimage8 .overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeInUp 1.2s ease both;
}

.mainimage8 h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.mainimage8 p {
  font-size: 1.2rem;
  color: #f5f5f5;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.mainimage8 h1:hover,
.mainimage8 p:hover {
  transform: scale(1.03);
}

/* ================= CONTENT SECTIONS ================= */
.content-section {
  min-height: 100vh;
  padding: 80px 15%;
  background: #222; 
  color: #ffffff; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.3s ease;
}

.content-section h2,
.content-section p {
  color: #ffffff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.content-section:nth-child(even) {
  background: #333;
}

/* ================= RESPONSIVE DESIGN ================= */

/* Large Tablets / Small Desktops */
@media (max-width: 992px) {
  .mainimage8 {
    height: 60vh;
    background-attachment: scroll; /* disable parallax for smoother mobile */
  }
  .mainimage8 h1 {
    font-size: 2.2rem;
  }
  .mainimage8 p {
    font-size: 1rem;
  }
  .content-section {
    padding: 60px 10%;
    min-height: auto;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .mainimage8 {
    height: 50vh;
  }
  .mainimage8 h1 {
    font-size: 1.9rem;
  }
  .mainimage8 p {
    font-size: 0.95rem;
  }
  .content-section {
    padding: 50px 8%;
  }
  .content-section h2 {
    font-size: 1.6rem;
  }
  .content-section p {
    font-size: 1rem;
  }
}

/* Small Phones */
@media (max-width: 576px) {
  .mainimage8 {
    height: 45vh;
    padding: 0 8px;
    width: 90%;
    left: 3%;
  }
  .mainimage8 h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .mainimage8 p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .content-section {
    padding: 35px 6%;
  }
  .content-section h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .content-section p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Extra Small Devices (≤400px) */
@media (max-width: 400px) {
  .mainimage8 {
    height: 40vh;
  }
  .mainimage8 h1 {
    font-size: 1.3rem;
  }
  .mainimage8 p {
    font-size: 0.8rem;
  }
  .content-section h2 {
    font-size: 1.2rem;
  }
  .content-section p {
    font-size: 0.85rem;
  }
}

/* Very Small Devices (≤320px) */
@media (max-width: 320px) {
  .mainimage8 {
    height: 35vh;
  }
  .mainimage8 h1 {
    font-size: 1.1rem;
  }
  .mainimage8 p {
    font-size: 0.75rem;
  }
  .content-section h2 {
    font-size: 1rem;
  }
  .content-section p {
    font-size: 0.8rem;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}






 /* Modern & Elegant Sectors Grid - Red & Black Theme */
.mainimage9 {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}
.mainimage9::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}
.mainimage9 h1 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}
.mainimage9 h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #d90429);
    border-radius: 2px;
}
.sectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.sector1 {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    color: #1a1a1a;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.1);
}
.sector1:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
}
.sector1 h1 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s ease;
    position: relative;
    z-index: 3;
}
.sector1 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
    border: 2px solid rgba(230, 57, 70, 0.1);
}
.sector1:hover img {
    transform: scale(1.05);
    border-color: rgba(230, 57, 70, 0.3);
}
.sector1 p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    margin-top: 15px;
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}
.content-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(166, 11, 11, 0.95), rgba(80, 0, 0, 0.98));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-sizing: border-box;
    transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 4;
    border-radius: 16px;
    text-decoration: none;
}
.sector1:hover .content-overlay {
    bottom: 0;
}
.content-overlay h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}
.content-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 25px;
}
.read-more-btn {
    padding: 14px 38px;
    background: linear-gradient(135deg, #e63946, #ff6f61);
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* 👈 This removes the underline from the anchor tag */
}
.read-more-btn:hover {
    background: linear-gradient(135deg, #d62828, #e63946);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    text-decoration: none; /* 👈 Ensures no underline on hover */
}
.read-more-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.4);
    outline-offset: 3px;
}
.sector1::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.3), rgba(230, 57, 70, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    z-index: 2;
}
.sector1:hover::after {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}
@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}
@media (max-width: 1024px) {
    .sectors {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}
@media (max-width: 768px) {
    .mainimage9 {
        padding: 60px 20px;
    }
    .mainimage9 h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    .sectors {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    .sector1 {
        padding: 20px;
    }
    .sector1 img {
        height: 180px;
    }
}
@media (max-width: 480px) {
    .mainimage9 {
        padding: 50px 15px;
    }
    .mainimage9 h1 {
        font-size: 1.8rem;
    }
    .sectors {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    .sector1 img {
        height: 160px;
    }
    .content-overlay {
        padding: 20px;
    }
    .content-overlay h2 {
        font-size: 1.3rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .sector1,
    .sector1::after,
    .sector1 img,
    .content-overlay {
        transition: none;
    }
    .sector1:hover {
        transform: none;
    }
    .sector1:hover img {
        transform: none;
    }
    .sector1::after {
        display: none;
    }
    .sector1:hover .content-overlay {
        bottom: -100%;
    }
    .content-overlay {
        position: relative;
        bottom: 0;
        background: linear-gradient(to top, rgba(166, 11, 11, 0.95), rgba(80, 0, 0, 0.98));
        margin-top: 20px;
        border-radius: 12px;
    }
}





/* footer style sheet */
.footer {
  background: #1a1a1a;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 40px 60px;
  gap: 40px;
  font-family: Arial, sans-serif;
  position: relative;
}
.logofooter{
  background-color: white;
  border-radius: 10px;
}
.footer h1 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer h1 span {
  font-weight: 700;
  display: block;
}
.footer p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer img {
  max-width: 140px;
  margin-bottom: 20px;
}
.middlepanel ul {
  list-style: none;
  padding: 0;
}
.middlepanel ul li {
  margin-bottom: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.middlepanel ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
}
.middlepanel ul li:hover {
  transform: translateX(6px);
}
.middlepanel ul li a:hover {
  color: #ff7b00;
}
.newsletter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
}
.newsletter button {
  padding: 10px 18px;
  border: none;
  background: #ff7b00;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.newsletter button:hover {
  background: #e66d00;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.2);
}
.underpanel {
  grid-column: 1 / -1;
  background: #111;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-top: 1px solid #333;
  margin-top: 30px;
}
.underpanel a {
  color: #ff7b00;
  text-decoration: none;
  transition: color 0.3s ease;
}
.underpanel a:hover {
  color: #fff;
}
.footer {
  animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media(max-width: 900px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .newsletter {
    flex-direction: column;
  }
  .underpanel {
    flex-direction: column;
    gap: 10px;
  }
}





/* Section Layout */
.map-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  padding: 50px;
  flex-wrap: wrap;
}

/* Text Side */
.map-text {
  max-width: 400px;
  text-align: left;
}

.map-text h1 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #000;
}

.map-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #000;
}

/* Map Container */
.map-container {
  position: relative;
  width: 360px;
}

.map-container img {
  width: 100%; /* responsive */
  height: auto;
  margin-left: 0;
}

/* Dots */
.diocese-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e63946;
  border: 2px solid #900;
  cursor: pointer;
  animation: pulsate 2s infinite;
}

@keyframes pulsate {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* Popup Box */
.popup-box {
  position: absolute;
  background: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.2);
  width: 220px;
  z-index: 20;
  display: none;
  animation: popupFade 0.3s ease forwards;
}

.popup-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #e63946;
}

.popup-box p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #444;
}

.popup-box button {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.popup-box button:hover {
  background: #b82030;
}

@keyframes popupFade {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (max-width: 768px) {
  .map-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .map-text {
    max-width: 100%;
    text-align: center;
    padding: 0 10px;
  }

  .map-container {
    width: 90%;
    margin-top: 20px;
  }

  .popup-box {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80%;
    max-width: 350px;
    z-index: 1000;
  }
}

@media (max-width: 480px) {
  .map-section {
    padding: 10px;
    gap: 20px;
  }

  .map-text h1 {
    font-size: 22px;
  }

  .map-text p {
    font-size: 14px;
  }

  .popup-box {
    width: 90%;
    max-width: none;
  }
}





/* chatbot style sheet */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.container p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 50px;
    line-height: 1.6;
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    width: 280px;
}

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

.feature-card h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #aaaaaa;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Minimized Chatbot Styles */
.chatbot-minimized {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    border: none;
    color: white;
    font-weight: 500;
}
.chatbot-minimized:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}
.chatbot-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.chatbot-minimized:hover .chatbot-icon {
    transform: rotate(10deg);
}
.chatbot-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.chatbot-expanded {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 450px;
    background: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 999;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.chatbot-expanded.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}
.chatbot-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.chatbot-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: white;
}

.status {
    font-size: 12px;
    color: #00ff88;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
}

.close-btn {
    background: #ff4757;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #ff3742;
    transform: rotate(90deg);
}

/* Chatbot Body */
.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 10px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
}

.message-avatar {
    width: 28px;
    height: 28px;
    background: rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 280px;
}

.message-content p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.quick-options {
    list-style: none;
    margin-top: 8px;
}

.quick-options li {
    font-size: 12px;
    color: #cccccc;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-options li:last-child {
    border-bottom: none;
}

.message-time {
    font-size: 10px;
    color: #888888;
    display: block;
    text-align: right;
    margin-top: 4px;
}

/* Chatbot Footer */
.chatbot-footer {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 20px 20px;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.message-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.message-input:focus {
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.12);
}

.message-input::placeholder {
    color: #888888;
}

.send-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: linear-gradient(135deg, #ff5e5e, #ff2d42);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chatbot-expanded {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
        height: 500px;
    }
    
    .chatbot-minimized {
        right: 20px;
        bottom: 20px;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .chatbot-expanded {
        width: calc(100vw - 30px);
        right: 15px;
        height: 450px;
    }
    
    .chatbot-minimized {
        right: 15px;
        bottom: 15px;
        padding: 10px 16px;
    }
    
    .chatbot-text {
        font-size: 13px;
    }
    
    .message-content {
        max-width: 220px;
    }
}