/* SAHFAR Final Responsive Theme with Arrow Indicators */
:root{
  --primary:#068105;
  --primary-hover:#056a04;
  --secondary:#13359c;
  --secondary-hover:#0f2c84;
  --danger:#ff0000;
  --white:#fff;
  --gray:#f5f5f5;
  --gray-100:#e0e0e0;
  --fs-sm:14px;
  --fs-md:16px;
  --fs-lg:18px;
  --radius:4px;
}
*{margin:0;padding:0;box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:inherit;}
button{font:inherit;}
body{
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.5;
  color:#333;
  background:#fff;
}
.top-middle {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  padding: 0 10px;
  white-space: nowrap;
}

/* Constant blink using visibility */
.blink-text {
  animation: blinkText 0.8s steps(1, start) infinite;
}

@keyframes blinkText {
  0%, 49% {
    visibility: visible;
  }
  50%, 100% {
    visibility: hidden;
  }
}

/* Blink */
@keyframes blink{0%,49%{opacity:1;}50%,100%{opacity:0;}}

/* TOPBAR */
.topbar{background:var(--secondary);color:var(--white);padding:5px 15px;font-size:var(--fs-sm);}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;max-width:1600px;margin:auto;}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.topbar-item{display:inline-flex;align-items:center;gap:5px;}
.topbar-item-icon img{width:16px;height:16px;}
.topbar-item a{color:var(--white);border-bottom:1px solid transparent;transition:border-color .15s;}
.topbar-item a:hover,.topbar-item a:focus{border-bottom:1px solid var(--white);outline:none;}

/* Container */
.promo-bar {
  background-color: #f1f1f1;
  padding: 15px 20px;
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Common styles */
.promo-slot {
  text-align: center;
}

.promo-left {
  text-align: left;
}

.promo-right {
  text-align: right;
}

.promo-slot img {
  max-height: 80px;
  width: auto;
}

.admission-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.admission-btn:hover {
  background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
  .promo-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .promo-left, .promo-center, .promo-right {
    text-align: center;
  }

  .promo-slot img {
    max-height: 60px;
  }
}

/* NAV WRAPPER */
.main-nav-wrapper{background:var(--secondary);color:var(--white);padding:0 15px;}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
  margin:auto;
}
.nav-toggle span{
  display:block;
  width:25px;
  height:3px;
  margin:4px 0;
  background:var(--white);
  transition:.2s;
}

/* NAV */
.main-nav{max-width:1200px;margin:auto;}
.main-nav ul{list-style:none;}
.menu-root.level-1{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;}
.menu-item{position:relative;}
.menu-link,.menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  padding:12px 18px;
  color:var(--white);
  font-size:var(--fs-md);
  background:none;
  border:none;
  cursor:pointer;
  width:auto;
}
.menu-link:hover,.menu-toggle:hover,.menu-link:focus,.menu-toggle:focus{
  background:rgba(255,255,255,.15);
  outline:none;
}

/* ARROWS */
.menu-toggle .caret img{
  width:12px;
  height:12px;
  vertical-align:middle;
  margin-left:5px;
  transition:transform .3s ease;
}
.menu-item.open > .menu-toggle .caret img{
  transform:rotate(90deg);
}

/* SUBMENUS (desktop default hidden) */
.submenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  width: fit-content;
  white-space: nowrap;
  background:var(--secondary);
  border:1px solid rgba(255,255,255,.25);
  z-index:10;
}
.submenu.level-3{
  top:0;
  left:100%;
}
.submenu .menu-link,.submenu .menu-toggle{
  width:100%;
  text-align:left;
  padding:10px 16px;
  font-size:var(--fs-sm);
}
.menu-item.open > .submenu{display:block;}
/* Ensure menu dropdown opens on hover for desktop and touch for mobile */
nav ul li {
  position: relative;
}

/* Hide dropdowns by default */
nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0;
  margin: 0;
  z-index: 999;
}

/* Show submenu on hover or touch */
nav ul li:hover > ul,
nav ul li:focus-within > ul {
  display: block;
  width: auto;
}

/* Sub-submenu style */
nav ul ul ul {
  left: 100%;
  top: 0;
}

/* Make sure links inside menus are clickable */
nav ul li a {
  display: inline-flex;
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
}

/* Optional: Basic mobile responsiveness */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    width: 100%;
  }

  nav ul ul {
    position: static;
  }

  nav ul ul ul {
    position: static;
  }
}


/* FOOTER */
.site-footer{background:var(--secondary);color:var(--white);padding:30px 15px 10px;margin-top:40px;}
.footer-widgets{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.footer-col h4{margin-bottom:10px;font-size:var(--fs-lg);}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:5px;}
.footer-col a{color:var(--white);font-size:var(--fs-sm);}
.footer-col a:hover,.footer-col a:focus{text-decoration:underline;outline:none;}
.footer-bottom{text-align:center;font-size:var(--fs-sm);margin-top:20px;padding-top:10px;border-top:1px solid rgba(255,255,255,.25);}

/* RESPONSIVE */
@media (max-width:992px){
  .promo-strip-inner{grid-template-columns:1fr;text-align:center;}
  .promo-message{text-align:center;}
  .promo-admission-btn{text-align:center;}
  .nav-toggle{display:block;}
  .menu-root.level-1{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    display:none;
  }
  .main-nav.open .menu-root.level-1{display:flex;}
  .menu-link,.menu-toggle{
    width:100%;
    padding:14px;
    border-top:1px solid rgba(255,255,255,.2);
  }
  .submenu{
    position:static;
    min-width:unset;
    border:none;
    background:rgba(0,0,0,.25);
    width:100%;
  }
  .submenu.level-3{
    background:rgba(0,0,0,.35);
    padding-left:20px;
  }
}
@media (max-width:576px){
  .topbar-inner{flex-direction:column;text-align:center;gap:5px;}
  .footer-widgets{grid-template-columns:1fr;text-align:center;}
  .promo-message{font-size:var(--fs-sm);}
  .btn-admission{font-size:var(--fs-sm);padding:6px 16px;}
}




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

body, html {
  font-family: Arial, sans-serif;
}

/* Hero Section */
.hero-section {
  width: 100%;
  height: 400px;
  background-image: url('https://images.unsplash.com/photo-1603791440384-56cd371ee9a7');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}

/* Breadcrumb */
.breadcrumb {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  margin-right: 5px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .active {
  font-weight: bold;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }

  .title {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .breadcrumb {
    font-size: 0.8rem;
    left: 10px;
    bottom: 10px;
    text-align: left;
  }
}




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

    body {
  font-family: Arial, sans-serif;
  background: #f9f9f9; /* Or any flat background */
  margin: 0;
  padding: 0;
}

.contact-container {
  display: flex;
  max-width: 1200px;
  margin: 50px auto 0 auto; /* top margin added */
  gap: 30px;
  flex-wrap: nowrap;
}

    .contact-info, .contact-form {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      animation: fadeIn 1s ease;
    }

    .contact-info {
      flex: 65%;
    }

    .contact-form {
      flex: 35%;
    }

    .contact-info h2 {
      font-size: 24px;
      margin-bottom: 15px;
    }

    .contact-info h2 span:first-child {
      color: black;
    }

    .contact-info h2 span:last-child {
      color: #007BFF;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 15px;
      margin: 20px 0;
    }

    .contact-item i {
      font-size: 22px;
      color: #007BFF;
    }

    .contact-item h4 {
      color: #007BFF;
      margin-bottom: 5px;
    }

.social-icons a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* Specific brand colors */
.social-icons a.facebook { background: #1877f2; }
.social-icons a.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
}
.social-icons a.twitter { background: #1da1f2; }
.social-icons a.linkedin { background: #0077b5; }
.social-icons a.youtube { background: #ff0000; }

.social-icons a:hover {
  transform: scale(1.2);
}


    .contact-form h2 {
      color: #007BFF;
      margin-bottom: 20px;
    }

    .contact-form form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 16px;
    }

.full-phone-field {
  width: 100%;
}

.phone-wrapper {
  display: flex;
  width: 100%;
  gap: 10px;
}

.phone-wrapper select {
  width: 30%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.phone-wrapper input[type="tel"] {
  width: 70%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}


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

    .terms-text {
      font-size: 14px;
      color: #333;
    }

    .terms-text a {
      color: #007BFF;
      text-decoration: underline;
    }

    .contact-form button {
      padding: 12px;
      background: #28a745;
      color: #fff;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    .contact-form button:hover {
      background: #218838;
    }

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

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



.three-block-section {
  padding-top: 45px;
  padding-bottom: 60px;
  background: #f9f9f9;
  font-family: Arial, Helvetica, sans-serif;
}

.three-block-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.info-block {
  flex: 1 1 30%;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.info-block h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #007BFF;
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 16px;
  color: #333;
}

.info-item i {
  font-size: 18px;
  color: #007BFF;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  background-color: #007BFF;
  color: white;
  font-size: 16px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background-color: #0056b3;
  transform: scale(1.2);
}

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

  .info-block {
    flex: 1 1 100%;
  }
}







.map-section {
  margin-top: 45px;
  padding: 0 20px 60px;
  font-family: Arial, Helvetica, sans-serif;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: fadeInMap 1.2s ease-out;
}

@keyframes fadeInMap {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}