/*
  TemplateMo 589 lugx gaming - Adapted for Ar-Rahman Institute
  https://templatemo.com/tm-589-lugx-gaming
*/

/* ------------------------- Reset & Fonts ------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, header, nav, section, footer {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  font-weight: 700;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* ------------------------- Global Styles ------------------------- */
body {
  overflow-x: hidden;
}

.section {
  margin-top: 120px;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: 36px;
  text-transform: capitalize;
  margin-top: 20px;
  line-height: 44px;
}

.section-heading h2 em {
  font-style: normal;
  color: #b71b12;
}

.section-heading h6 {
  color: #b71b12;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-button a {
  display: inline-block;
  background-color: #b71b12;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  border-radius: 25px;
  transition: all 0.3s;
}

.main-button a:hover {
  background-color: #b71b12;
  color: #fff;
}

/* ------------------------- Preloader ------------------------- */
.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #b71b12;
  border-radius: 50%;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: #b71b12;
  border-radius: 50%;
}

@keyframes dot {
  50% { transform: translateX(96px); }
}

@keyframes dots {
  50% { transform: translateX(-31px); }
}

/* ------------------------- Header ------------------------- */
.header-area {
  position: fixed;
  background-color: transparent;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease;
}

.background-header {
  background-color: #b71b12 !important;
  border-radius: 0 0 25px 25px;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
}

.header-area .main-nav {
  display: flex;
}

.header-area .main-nav .logo {
  margin-top: 12px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
  transition: all 0.3s ease;
}

.header-area .main-nav ul.nav {
  border-radius: 0 0 25px 25px;
  flex-basis: 100%;
  margin-top: 20px;
  justify-content: right;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav li {
  padding: 0 10px;
  height: 40px;
  line-height: 40px;
}

.header-area .main-nav .nav li a {
  display: block;
  padding: 0 20px;
  border-radius: 20px;
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  transition: all 0.4s ease;
}

.header-area .main-nav .nav li:last-child a {
  background-color: #fff;
  color: #b71b12;
  font-weight: 500;
  text-transform: uppercase;
}

.header-area .main-nav .nav li:last-child:hover a {
  background-color: transparent;
  color: #fff;
  outline: 1px solid #fff;
}

.header-area .main-nav .nav li:hover a {
  outline: 1px solid #fff;
}

.header-area .main-nav .nav li a.active {
  border-bottom: 1px solid #fff;
  border-bottom-style: inset;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 22px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 22px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  transition: all 0.4s;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span:after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #fff;
}

/* ------------------------- Banner ------------------------- */
.main-banner {
  background: url(../images/banner-background2.png), url(../images/banner-background.png), linear-gradient(135deg, #b71b12 0%, #1a1a1a 100%);
  background-position: left top, calc(100% - 200px) 50%, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100%, 650px, cover;
  border-radius: 0 0 150px 150px;
  padding: 150px 0;
}

.main-banner .caption h6 {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
}

.main-banner .caption h2 {
  font-size: 48px;
  color: #fff;
  margin: 20px 0;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.85));
}

.main-banner .caption p {
  color: #fff;
  max-width: 600px;
  filter: drop-shadow(0.5px 0.5px 1px rgba(0, 0, 0, 0.85));
}

/* ------------------------- Features ------------------------- */
.features {
  margin-top: 0;
  transition: margin-top 0.3s ease;
}

.features .item {
  padding: 35px;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features .item h4 {
  font-size: 17px;
  margin-top: 25px;
  text-transform: uppercase;
}

.features .item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.features .item:hover .image {
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.35));
}

/* ------------------------- Offer Classes ------------------------- */
.offer-section {
  padding: 120px 0;
  position: relative;
}

.offer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.offer-title {
  font-size: 2.5em;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: #b71b12;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  position: relative;
}

.offer-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: #b71b12;
  transform: translateX(-50%);
}

.offer-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.offer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.offer-item:hover {
  transform: translateY(-10px);
}

.offer-image {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.offer-content {
  padding: 20px;
  text-align: center;
}

.offer-content h3 {
  font-size: 1.6em;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px 0;
}

.offer-content p {
  font-size: 1em;
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.offer-bar {
  width: 50px;
  height: 2px;
  background: #b71b12;
  margin: 15px auto;
}

.offer-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-size: 0.95em;
  color: #555;
}

.offer-benefits li {
  margin: 8px 0;
  position: relative;
  padding-left: 20px;
}

.offer-benefits li::before {
  content: '✔';
  color: #b71b12;
  position: absolute;
  left: 0;
  font-size: 1.1em;
}

/* ------------------------- Why Choose Us ------------------------- */
.why-section {
  background: #fff;
  padding: 120px 0;
  display: flex;
  justify-content: center;
}

.why-container {
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 100px;
  background: #fff;
  text-align: center;
}

.why-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #b71b12;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  padding-left: 20px;
  position: relative;
  display: inline-block;
}

.why-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #b71b12;
  border-radius: 50%;
  transform: translateY(-50%);
}

.why-features-stack {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.why-feature-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin: 10px 0;
}

.why-feature-icon {
  width: 50px;
  height: 50px;
  margin-right: 25px;
  margin-top: 0;
  vertical-align: middle;
}

.why-feature-content {
  display: inline-block;
  text-align: left;
}

.why-feature-content h3 {
  font-size: 1.4em;
  color: #000;
  margin: 0 0 5px 0;
}

.why-feature-content p {
  font-size: 1em;
  color: #333;
  margin: 0;
}

/* ------------------------- Google Workspace ------------------------- */
.google-workspace {
  background-color: #f7f7f7;
  padding: 50px;
  border-radius: 100px;
  text-align: center;
  margin: 20px auto;
  max-width: 1440px;
}

.google-logo {
  width: 35vw;
  max-width: 480px;
  min-width: 250px;
}

.services-grid {
  display: grid;
  gap: 50px;
  justify-content: center;
  margin: 50px 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 12vw;
  max-width: 100px;
  min-width: 50px;
  margin-bottom: 10px;
}

.service a {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.service span {
  font-size: 14px;
  color: #666;
}

/* ------------------------- Guide Section ------------------------- */
.guide-section {
  padding-top: 60px;
}

.guide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.guide-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #b71b12;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  position: relative;
}

.guide-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: #b71b12;
  transform: translateX(-50%);
}

.guide-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.guide-item {
  max-width: 350px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #b71b12;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.guide-item h3 {
  font-size: 1.4em;
  margin: 0 0 10px 0;
}

.guide-item p {
  font-size: 1em;
  color: #333;
}

.guide-item em {
  font-style: normal;
  font-weight: 600;
  font-size: 1em;
  color: #b71b12;
}

/* ------------------------- CTA ------------------------- */
.cta {
  position: relative;
}

.cta::after {
  background-image: url(../images/cta-bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  background-position: calc(100% - 70%) 100%;
  content: '';
  border-radius: 0;
  top: 0;
  z-index: -1;
}

.cta .subscribe {
  background-color: #f7f7f7;
  border-radius: 70px;
  padding: 80px 60px;
  margin: 0 -350px 0 350px;
}

.cta .subscribe form {
  position: relative;
}

.cta .subscribe form button {
  position: absolute;
  top: -40px;
  height: 50px;
  line-height: 50px;
  padding: 0 25px;
  background-color: #b71b12;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  border: none;
  border-radius: 25px;
  transition: all 0.3s;
}

.cta .subscribe form button:hover {
  background-color: #fff;
  color: #b71b12;
  outline: 1px solid #b71b12;
}

/* ------------------------- Footer ------------------------- */
.footer {
  margin-top: 150px;
  background-color: #b71b12;
  background-image: url(../images/footer-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  min-height: 200px;
  border-radius: 150px 150px 0 0;
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social {
  margin-top: 30px;
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-left: 165px;
  flex-wrap: wrap;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
}

.social-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
}

.whatsapp-link:hover {
  transform: none;
}

.social-icon {
  width: 45px;
  height: 45px;
  filter: brightness(0) invert(1);
}

.whatsapp-link:hover .social-icon {
  filter: none;
}

.whatsapp-number {
  background-color: #fff;
  color: #b71b12;
  margin-left: -45.5px;
  margin-top: -0.25px;
  padding: 10px 12px 10px 50px;
  font-size: 1.1em;
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-link:hover .whatsapp-number {
  opacity: 1;
  transform: translateX(0);
}

.footer-text {
  margin-top: 30px;
}

footer p {
  text-align: center;
  font-size: 16px;
  color: #fff;
}

/* ------------------------- Responsive ------------------------- */
@media (max-width: 1024px) { /* Tablet */
  .header-area .main-nav .nav {
    margin-top: 20px;
  }
  
  .header-area .main-nav .nav li a {
    padding: 0 15px;
    font-size: 14px;
  }
  
  .main-banner {
    padding: 100px 0;
    border-radius: 0 0 100px 100px;
  }
  
  .main-banner .caption h6 {
    font-size: 18px;
  }
  
  .main-banner .caption h2 {
    font-size: 36px;
    margin: 15px 0;
  }
  
  .main-banner .caption p {
    max-width: 500px;
    font-size: 13px;
    line-height: 24px;
  }
  
  .features .item {
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
  }
  
  .features .item h4 {
    font-size: 15px;
    margin-top: 15px;
  }
  
  .offer-section,
  .why-section,
  .guide-section {
    padding: 80px 0;
  }
  
  .offer-title,
  .why-title,
  .guide-title {
    font-size: 2em;
  }
  
  .offer-wrapper {
    gap: 30px;
  }
  
  .offer-item {
    max-width: 400px;
    border-radius: 10px;
  }
  
  .offer-image {
    height: 250px;
  }
  
  .offer-content {
    padding: 15px;
  }
  
  .offer-content h3 {
    font-size: 1.5em;
  }
  
  .offer-content p {
    font-size: 0.95em;
  }
  
  .offer-bar {
    margin: 10px auto;
  }
  
  .offer-benefits li {
    font-size: 0.9em;
  }
  
  .why-container {
    max-width: 500px;
  }
  
  .why-feature-item {
    padding: 0 15px;
  }
  
  .why-feature-icon {
    width: 45px;
    height: 45px;
    margin-right: 20px;
  }
  
  .why-feature-content h3 {
    font-size: 1.3em;
  }
  
  .why-feature-content p {
    font-size: 0.95em;
  }
  
  .guide-wrapper {
    gap: 20px;
    margin-bottom: -30px;
  }
  
  .guide-item {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .guide-number {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.1em;
  }
  
  .guide-item h3 {
    font-size: 1.3em;
  }
  
  .guide-item p {
    font-size: 0.95em;
  }
  
  .cta::after {
    margin: -5% 0 10% -10%;
  }
  
  .cta .subscribe {
    padding: 60px 40px;
    margin: 0 -90% 10% 70%;
  }
  
  .cta .subscribe form input {
    height: 45px;
    font-size: 13px;
    margin-top: -40px;
  }
  
  .cta .subscribe form button {
    height: 45px;
    line-height: 45px;
    font-size: 14px;
  }
  
  .footer {
    border-radius: 100px 100px 0 0;
    min-height: 180px;
    margin-top: 0px;
  }
  
  .footer-container {
    padding: 30px 15px;
  }
  
  .footer-social {
    gap: 30px;
    margin-left: 100px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .whatsapp-number {
    display: none;
  }
  
  .whatsapp-link:hover {
    transform: translateY(-5px);
  }
  
  .whatsapp-link:hover .social-icon {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 768px) { /* Phone */
  .header-area .main-nav .menu-trigger {
    display: block !important;
  }
  
  .header-area .main-nav .nav {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    margin: 20px auto;
    border-radius: 0;
    transition: all 0.3s ease;
    z-index: 99;
  }
  
  .header-area .main-nav .nav li {
    width: 100%;
    padding: 0;
    height: auto;
    line-height: normal;
    background-color: transparent;
    border-top: none;
    margin: 0;
  }
  
  .header-area .main-nav .nav.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .header-area .main-nav .nav li a {
    background-color: #fff;
    color: #b71b12;
    margin-bottom: 2px;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .header-area .main-nav .nav li a.active {
    text-decoration: underline;
    text-decoration-color: #b71b12;
  }
  
  .header-area .main-nav .nav li a:hover {
    background-color: #b71b12;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  }
  
  .header-area .main-nav .nav li:last-child a {
    background-color: #b71b12;
    color: #ffffff;
  }
  
  .header-area .main-nav .nav li:last-child:hover a {
    background-color: #fff;
    color: #b71b12;
  }
  
  .header-area .main-nav .logo {
    left: 20px;
  }
  
  .main-banner {
    padding: 80px 0;
    border-radius: 0 0 30px 30px;
    background-position: left top, center;
    background-size: 100%, 250px;
  }
  
  .main-banner .caption h6 {
    font-size: 16px;
  }
  
  .main-banner .caption h2 {
    font-size: 24px;
    margin: 10px 0;
  }
  
  .main-banner .caption p {
    max-width: 100%;
    font-size: 12px;
    line-height: 22px;
  }
  
  .features {
    margin: -40px auto;
    max-width: 70%;
  }
  
  .features .item {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 8px;
  }
  
  .features .item h4 {
    font-size: 13px;
    margin-top: 10px;
  }
  
  .features .item img {
    max-width: 150px;
  }
  
  .offer-section,
  .why-section,
  .guide-section {
    padding: 60px 0;
  }
  
  .offer-title,
  .why-title,
  .guide-title {
    font-size: 1.8em;
  }
  
  .offer-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .offer-item {
    max-width: 100%;
    border-radius: 10px;
  }
  
  .offer-image {
    height: 180px;
  }
  
  .offer-content {
    padding: 12px;
  }
  
  .offer-content h3 {
    font-size: 1.3em;
  }
  
  .offer-content p {
    font-size: 0.9em;
    line-height: 1.4;
  }
  
  .offer-bar {
    width: 40px;
    margin: 8px auto;
  }
  
  .offer-benefits li {
    font-size: 0.85em;
    padding-left: 15px;
  }
  
  .offer-benefits li::before {
    font-size: 1em;
  }
  
  .why-container {
    max-width: 100%;
    padding: 12px;
  }
  
  .why-feature-item {
    padding: 0 10px;
    margin: 8px 0;
  }
  
  .why-feature-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
  }
  
  .why-feature-content h3 {
    font-size: 1.2em;
  }
  
  .why-feature-content p {
    font-size: 0.9em;
  }
  
  .guide-wrapper {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50%;
  }
  
  .guide-item {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: none;
    padding: 12px;
  }
  
  .guide-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1em;
    margin-bottom: 8px;
  }
  
  .guide-item h3 {
    font-size: 1.1em;
  }
  
  .guide-item p {
    font-size: 0.9em;
    line-height: 1.3;
  }
  
  .cta::after {
    width: 70%;
    height: 100%;
    margin: -100% 20% 0 10%;
  }
  
  .cta .subscribe {
    padding: 40px 20px;
    margin: 0 0 0 0;
    border-radius: 50px 50px 0 0;
  }
  
  .cta .subscribe form input {
    height: 40px;
    font-size: 12px;
    padding: 0 15px;
  }
  
  .cta .subscribe form button {
    position: relative;
    width: 100%;
    margin-top: 8px;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    padding: 0 15px;
  }
  
  .footer {
    border-radius: 0;
    min-height: 160px;
    margin-top: 0px;
  }
  
  .footer-container {
    padding: 20px 10px;
  }
  
  .footer-social {
    gap: 20px;
    margin-left: 0;
    margin-top: 15px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .whatsapp-number {
    display: none;
  }
  
  footer p {
    font-size: 13px;
  }
}

/* Responsive Adjustments for Google Workspace Grid */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------- About Us Styles ------------------------- */
.about-hero {
  background: url(../images/banner-background2.png), linear-gradient(135deg, #b71b12 0%, #1a1a1a 100%);
  background-position: left top, center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100%, cover;
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 150px 150px;
}

.about-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-hero-title {
  font-size: 3.5em;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.85));
}

.about-hero-subtitle {
  font-size: 1.5em;
  font-weight: 400;
  color: #fff;
  margin-top: 20px;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
}

.about-quran-arabic-islamic {
  padding: 120px 0;
  background: #fff;
}

.about-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #b71b12;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 60px;
  position: relative;
}

.about-section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: #b71b12;
  transform: translateX(-50%);
}

.about-discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.discipline-item {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #b71b12;
  transition: transform 0.3s ease;
}

.discipline-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.discipline-title {
  font-size: 1.8em;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.discipline-text {
  font-size: 1em;
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.about-classes {
  padding: 120px 0;
  background: linear-gradient(135deg, #f7f7f7 0%, #fff 100%);
}

.classes-comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.class-type {
  max-width: 500px;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.class-image {
  width: 100%;
  height: 50%;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.class-title {
  font-size: 1.8em;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.class-intro {
  font-size: 1em;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.class-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-size: 0.95em;
  color: #333;
}

.class-benefits li {
  margin: 10px 0;
  position: relative;
  padding-left: 25px;
}

.class-benefits li::before {
  content: '✔';
  color: #b71b12;
  position: absolute;
  left: 0;
  font-size: 1.1em;
}

.class-description {
  font-size: 0.95em;
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  margin-top: 15px;
}

.about-plans-pricing {
  padding: 120px 0;
  background: #fff;
  position: relative;
}

.plans-pricing-content {
  text-align: center;
}

.plans-text {
  font-size: 1.1em;
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px;
}

.pricing-highlight {
  padding: 20px 40px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(183, 27, 18, 0.2);
}

.highlight-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #b71b12;
}

.google-workspace-logo {
  width: 200px;
  margin: 20px auto;
  display: block;
}

.see-more-text {
  display: none;
}

.see-more-link {
  font-size: 0.95em;
  font-weight: 600;
  color: #b71b12;
  text-decoration: underline;
  cursor: pointer;
}

.see-more-link:hover {
  color: #900f0b;
}

/* Responsive Adjustments for About Us */
@media (max-width: 992px) {
  .about-hero {
    padding: 100px 0;
    border-radius: 0 0 100px 100px;
  }
  
  .about-hero-title {
    font-size: 2.8em;
  }
  
  .about-hero-subtitle {
    font-size: 1.3em;
  }
  
  .about-quran-arabic-islamic,
  .about-classes,
  .about-plans-pricing {
    padding: 80px 0;
  }
  
  .about-section-title {
    font-size: 2em;
  }
  
  .about-discipline-grid {
    gap: 30px;
  }
  
  .discipline-item {
    padding: 20px;
    border-radius: 10px;
  }
  
  .discipline-image {
    height: 120px;
  }
  
  .discipline-title {
    font-size: 1.6em;
  }
  
  .classes-comparison {
    gap: 30px;
  }
  
  .class-type {
    max-width: 400px;
    padding: 20px;
    border-radius: 10px;
  }
  
  .class-image {
    height: 180px;
  }
  
  .class-title {
    font-size: 1.6em;
  }
  
  .plans-text {
    font-size: 1em;
  }
  
  .pricing-highlight {
    padding: 15px 30px;
    border-radius: 40px;
  }
  
  .highlight-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.2em;
  }
  
  .about-hero-subtitle {
    font-size: 1.1em;
    margin-top: 15px;
  }
  
  .about-quran-arabic-islamic {
    padding: 20px 0;
    margin: 25px;
  }
  .about-classes {
    padding: 40px 0;
    margin: 0px;
  }  

  .classes-comparison {
    padding: 0;
    margin: 25px;
  }
  
  .about-plans-pricing {
    padding: 60px 0;
    margin: 0px;
  }

  .about-section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  
  .about-discipline-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .discipline-item {
    padding: 15px;
    border-radius: 10px;
  }
  
  .discipline-image {
    height: 100px;
  }
  
  .discipline-title {
    font-size: 1.4em;
  }
  
  .discipline-text {
    font-size: 0.95em;
    line-height: 1.5;
  }
  
  .classes-comparison {
    flex-direction: column;
    gap: 20px;
  }
  
  .class-type {
    max-width: 100%;
    padding: 15px;
    border-radius: 10px;
  }
  
  .class-image {
    height: 250px;
  }
  
  .class-title {
    font-size: 1.4em;
  }
  
  .class-intro {
    font-size: 0.95em;
  }
  
  .class-benefits li {
    font-size: 0.9em;
    padding-left: 20px;
  }
  
  .plans-text {
    font-size: 0.9em;
    line-height: 1.6;
  }
  
  .pricing-highlight {
    padding: 12px 25px;
    border-radius: 30px;
  }
  
  .highlight-text {
    font-size: 1em;
  }
}

/* ==================== SHARED STYLES ==================== */
/* Moved keyframes to top to avoid duplication */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
  }

  /* ------------------------- Contact Us Styles ------------------------- */
  .contact-hero {
      background: url(../images/banner-background2.png), linear-gradient(135deg, #b71b12 0%, #1a1a1a 100%);
      background-position: left top, center;
      background-repeat: no-repeat, no-repeat;
      background-size: 100%, cover;
      padding: 150px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
      border-radius: 0 0 150px 150px;
  }
    
  .contact-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .contact-hero-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.85));
  }

  .contact-hero-subtitle {
    font-size: 1.5em;
    font-weight: 400;
    color: #fff;
    margin-top: 20px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
  }

  .contact-form-section {
    padding: 80px 0;
    position: relative;
  }

  .contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .contact-form-wrapper {
    background: #fff;
    border-radius: 50px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-group label {
    font-size: 1.2em;
    font-weight: 600;
    color: #b71b12;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 1em;
    color: #333;
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: box-shadow 0.3s ease;
    background-color: #fbd2d263;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    box-shadow: inset 0 2px 4px rgba(183, 27, 18, 0.2);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: #0000005c;
  }

  .form-group select {
    appearance: none;
    background: url('../images/arrow-down.png') no-repeat right 15px center;
    background-size: 15px; /* Change the size of the background image */
    background-color: #fbd2d263;
  }

  .form-group textarea {
    min-height: 120px;
    resize: vertical;
    background-color: #fbd2d263;
  }

  .phone-input-wrapper {
    display: flex;
    gap: 10px;
  }

  .phone-code {
    width: 60px;
    text-align: center;
    background: #f0f0f0;
  }

  .contact-submit {
    padding: 15px 30px;
    background-color: #b71b12;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .contact-submit:hover {
    background-color: #900f0b;
    transform: translateY(-3px);
  }

  /* Responsive Adjustments for Contact Us */
  @media (max-width: 992px) {
    .contact-hero {
      padding: 100px 0;
      border-radius: 0 0 100px 100px;
    }
    
    .contact-hero-title {
      font-size: 2.8em;
    }
    
    .contact-hero-subtitle {
      font-size: 1.3em;
    }
    
    .contact-form-section {
      padding: 80px 0;
    }
    
    .contact-form-wrapper {
      padding: 30px;
    }
  }

  @media (max-width: 768px) {
    .contact-hero {
      padding-top: 80px;
      padding-bottom: 40px;
      border-radius: 0 0 30px 30px;
    }
    
    .contact-hero-title {
      font-size: 2.2em;
    }
    
    .contact-hero-subtitle {
      font-size: 1.1em;
      margin-top: 15px;
    }
    
    .form-group label {
      font-size: 1em;
      font-weight: 400;
    }
    
    .contact-form {
      gap: 10px;
    }

    .contact-form-section {
      font-size: 0.7em;
      padding: 0;
    }
    
    .phone-input-wrapper {
      display: flex;
      gap: 5px;
    }
    
    .phone-code {
      width: 40px;
    }

    .contact-form-wrapper {
      padding: 25px;
      padding-top: 30px;
      margin-top: 25px;
      border-radius: 35px 35px 0 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
      font-size: 0.9em;
      border-radius: 15px;
    }
    
    .contact-submit {
      font-size: 1em;
      padding: 12px 25px;
    }
  }

/* ------------------------- Register Styles ------------------------- */
  .register {
    background: url(../images/banner-background2.png), linear-gradient(135deg, #b71b12 0%, #1a1a1a 100%);
    background-position: left top, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100%, cover;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 150px 150px;
  }

  .register-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .register-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.85));
  }

  .register-subtitle {
    font-size: 1.5em;
    font-weight: 400;
    color: #fff;
    margin-top: 20px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.85));
  }

  /* Step Indicator */
  .step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
  }

  .step {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 12px;
    color: #00000070;
    font-weight: bold;
    z-index: 2;
    border: 2px solid #00000010;
    transition: all 0.3s ease;
  }

  .step.active {
    background-color: #b71b12;
    border-color: #00000000;
    color: #fff;
  }

  .step.completed {
    background-color: #fbd2d263;
    border-color: #00000000;
    color: #b71b12;
  }
    
  .register-form-section {
    position: relative;
  }

  /* Form Styles */
  .register-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .register-form-wrapper {
    background: #fff;
    border-radius: 50px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
  }
  .register-form-group {
    margin-bottom: 10px;
  }

  .register-form-group label {
    font-size: 1.2em;
    font-weight: 600;
    color: #b71b12;
    display: block;
  }
  .register-form-group h2 {
    color: #b71b12;
    margin-bottom: 10px;
  }
  .form-step h2 {
    color: #b71b12;
    margin-bottom: 10px;
  }

  .register-form-group input,
  .register-form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    color: #333;
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: box-shadow 0.3s ease;
    background-color: #fbd2d263;
  }

  .register-form-group input:focus,
  .register-form-group select:focus {
    box-shadow: inset 0 2px 4px rgba(183, 27, 18, 0.2);
  }

  .register-form-group input::placeholder {
    color: #0000005c;
  }

  .register-form-group select {
    appearance: none;
    background: url('../images/arrow-down.png') no-repeat right 15px center;
    background-size: 15px;
    background-color: #fbd2d263;
  }

  .register-form-group input[id="birthdate"],
  .register-form-group input[id*="childBirthdate"] {
    background: url('../images/calendar.png') no-repeat right 15px center;
    background-size: 20px;
    background-color: #fbd2d263;
  }

  .phone-input-wrapper {
    display: flex;
    gap: 10px;
  }

  .phone-code {
    width: 80px;
    text-align: center;
    background: #fbd2d263;
  }

  .phone-num {
    flex: 1;
  }

  .inline-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }


  .inline-group .register-form-group input[id="numKids"] {
    margin-left: 50%;
    width: 30%;
    text-align: center;
  }

  .inline-group .register-form-group label[id="numKidsLabel"] {
    margin: 5px 0 0 0;
    font-size: 1.5em;
    width: 170%;
    text-align: center;
  }

  .register-form-group input[id="phoneCode"],
  .register-form-group input[id="parentPhoneCode"] {
    width: 20%;
  }

  .inline-group .register-form-group {
    flex: 1;
    margin-bottom: 0;
  }

  /* Custom Radio Buttons */
  .radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
  }

  .radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1.2em;
    color: #b71b12;
    position: relative;
    padding-left: 35px;
  }

  .radio-group input[type="radio"] {
    display: none;
  }

  .radio-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid #b71b12;
    border-radius: 50%;
    background: #fff;
    transition: background-color 0.3s ease;
  }

  .radio-group label:has(input[type="radio"]:checked)::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #b71b12;
  }

  .back-btn {
    padding: 15px 30px;
    background-color: #6c757d;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    margin-right: 15px;
  }
  .next-btn, .submit-btn {
    padding: 15px 30px;
    background-color: #b71b12;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    margin-right: 15px;
  }

  .next-btn:hover, .submit-btn:hover {
    background-color: #900f0b;
    transform: translateY(-3px);
  }

  .back-btn:hover {
    background-color: #5a6268;
    transform: translateY(-3px);
  }

  .next-btn:disabled,
  .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
  }

  /* Visibility Control */
  .form-step {
    display: none;
  }

  .form-step.active {
    display: block;
  }

  .register-form-wrapper {
    position: relative;
    min-height: 500px; /* Adjust based on your content */
  }

  .hidden {
    display: none;
  }

  .error-message {
    display: flex;
    gap: 15px;
    color: #6c757d;
    font-size: 0.9em;
    margin: 5px 0 0 5px;
  }

  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .register {
      padding: 100px 0;
      border-radius: 0 0 100px 100px;
    }

    .register-title {
      font-size: 2.8em;
    }

    .register-subtitle {
      font-size: 1.3em;
    }

    .register-form-wrapper {
      padding: 30px;
    }
  }

  @media (max-width: 768px) {
    .register {
      padding: 80px 0 40px;
      border-radius: 0 0 30px 30px;
    }

    .register-title {
      font-size: 2.2em;
    }

    .register-subtitle {
      font-size: 1.1em;
    }

    .register-form-wrapper {
      padding: 25px;
      border-radius: 35px;
    }

    .inline-group {
      flex-direction: column;
      gap: 15px;
    }

    .step {
      width: 30px;
      height: 30px;
      font-size: 0.9em;
      margin: 0 10px;
    }

    .next-btn, .back-btn, .submit-btn {
      padding: 12px 25px;
      font-size: 1em;
    }
  }
