/* CSS Variables for Maintainability */
:root {
  --primary-color: #00335a;
  --secondary-color: #ff6b35;
  --accent-color: #4caf50;
  --bg-color: #f8f9fa;
  --text-color: #333;
  --muted-text: #555;
  --card-bg: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --darkGreyBg: #e8e8e8;
}

/* Scroll Behavior for Smooth Navigation */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #6c93e1;
  background-color: var(--bg-color);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Fade-In Animation for Sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section,
.hero,
.team-section,
.features-section,
.offer-section,
.usp-section {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

header {
  box-shadow: var(--shadow);
  width: 100%;
  position: sticky;
}
.language-toggle {
  display: inline-block;
  position: relative;
  width: 80px;
  user-select: none;
}

.language-toggle input[type="checkbox"] {
  display: none;
}

#language-selector {
  font-size: 0.9rem;  
  padding: 0.4em 0.4em; 
  border-radius: 10px;  
  border: 1px solid #ccc; 
  background-color: white;
  cursor: pointer;
  min-width: 60px;     

  transition: border-color 0.3s ease;
}

/* Optional hover/focus states */
#language-selector:hover,
#language-selector:focus {
  border-color: #f26d3d; /* Accent color */
  outline: none;
}


.toggle-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 40px;
  border: 2px solid #4caf50;
  position: relative;
  background-color: #fff;
  height: 36px;
  width: 80px;
  transition: background-color 0.3s ease;
}

.toggle-inner {
  display: block;
  width: 160px; /* twice the width */
  margin-left: -80px;
  transition: margin 0.3s ease;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: #4caf50;
  text-align: center;
  line-height: 36px;
  white-space: nowrap;
  user-select: none;
  font-size: 14px;
}

.toggle-switch {
  display: block;
  width: 36px;
  height: 36px;
  background: #4caf50;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transition: left 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.language-toggle input[type="checkbox"]:checked + .toggle-label {
  background-color: #4caf50;
}

.language-toggle input[type="checkbox"]:checked + .toggle-label .toggle-inner {
  margin-left: 0;
  color: white;
}

.language-toggle input[type="checkbox"]:checked + .toggle-label .toggle-switch {
  left: 44px;
  background-color: white;
  box-shadow: 0 0 5px #4caf50;
}

nav {
  display: flex;
  justify-content:space-between;
  height: auto;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10000; /* Higher than .hero-content and .dropdown-menu */  max-width: 100%;
  margin: 0 auto;
  transition: var(--transition);
}

nav.scrolled {
  background: linear-gradient(90deg, var(--primary-color), #2f4996);
}

.logo {
  /* display: flex; */
  align-items: start;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: "Roboto", sans-serif;
}

.logo img {
  width: 120px;
  height: 50px;
  margin-right: 150px;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.1);
}

.logo2 img {
  width: 220px;
  height: 190px;
  margin-right: 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.logo2 img:hover {
  transform: scale(1.1);
}

.head img {
  width: 80px;
  height: 60px;
  /* margin-right: 12px; */
  /* border-radius: 5px; */
  align-items: end;
  transition: var(--transition);
}

.head img:hover {
  transform: scale(1.1);
}

.logoPartner img {
  width: 150px;
  height: 150px;
  margin-right: 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.logoPartner img:hover {
  transform: scale(1.1);
}

.nav-profile-image {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  object-fit: cover;
  /* margin-left: 1rem; */
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  transition: var(--transition);
}

.nav-profile-image:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  position: relative;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--secondary-color);
}

nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

/*navigation responsiveness*/

/* Added tablet/mobile styles */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 1.5rem;
  }
  nav ul {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
}

/* Dropdown Menu Styles */
.dropdown-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  
}

.dropdown-menu {
  position: absolute;
  top: 0;       
  left: 100%;    
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  min-width: 200px;
  white-space: nowrap;
  z-index: 10005;
}





.dropdown-container:hover .dropdown-menu,
.dropdown-container.active .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
   z-index: 10005;
  
}

.dropdown-menu li {
  margin: 0 10px;
  
}

.dropdown-menu a {
  color: #ffffff;
  padding: 0.8rem 1.2rem;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
}

/* Dropdown Arrow Styles - Positioned to the Side */
.dropdown-toggle {
  display: flex;
  align-items: center;
  position: relative;
}

/* .dropdown-toggle::after {
  content: "▼";
  font-size: 0.6rem;
  
  color: #ffffff;
  transition: var(--transition);
  display: inline-block; 
} */

.dropdown-container:hover .dropdown-toggle::after,
.dropdown-container.active .dropdown-toggle::after {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

/* Remove the underline effect for dropdown toggle */
nav ul li a.dropdown-toggle:after {
  width: 0; /* Disable the underline animation for dropdown */
  height: 0;
}

nav .cta {
  background: linear-gradient(45deg, #ffffff, #e9ecef);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

nav .cta:hover {
  background: linear-gradient(45deg, var(--secondary-color), #e85a2a);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 100vw;
    height: 100px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  nav .cta {
    margin-top: 0.8rem;
    width: 80%;
    text-align: center;
  }

  .logo {
    font-size: 1.2rem;
    width: 140px;
  }

  .logo img {
    width: 70%;
    height: auto;
  }

  .nav-profile-image {
    height: 70px;
    width: 70px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #2f4996;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    display: none;
  }

  .dropdown-menu a {
    padding: 0.8rem 2rem;
  }

  .dropdown-toggle::after {
    margin-left: 0.5rem; /* Consistent spacing on mobile */
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible; /* Ensure no clipping */
  background-attachment: fixed;
  z-index: -1; /* Test this to see if it resolves the issue */
}

.hero-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 4rem;
  
  width: 100%;
  position: relative;
  z-index: 0;
  margin-top: -180px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./images/arabwomenlearning.png");
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 20vh; /* changed from 10vh to 5vh */
  height: 900px; /* Replace 200px with your desired height */
  box-shadow: var(--shadow);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 10002; /* Increased z-index */
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition), opacity 0.3s ease, transform 0.3s ease;
}
#hire-tutor {
  display: none;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  /* justify-self: end; */
  padding-left: 2rem;
  margin-top: 10rem;
  margin-bottom: 4rem;
}

.hero-tag {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  padding-left: .5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
  font-family: "Roboto", sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.hero-features li {
  color: white;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.8rem;
  font-size: 1.1rem;
}

.hero-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #2f4996);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #2f4996, var(--primary-color));
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.hero-note {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 1.5rem;
}

.hero-visuals {
  flex: 1.5;
  position: relative;
  height: 100%;
  min-height: 800px;
}

.hero-background-image {
  max-width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  -webkit-mask-image: linear-gradient(to left, black 90%, transparent 100%);
  mask-image: linear-gradient(to left, black 90%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  width: 70vw;
  height: 100%;
  border-radius: 10px;
  z-index: 1;
}

.hero-background-image img {
  display: block;
  width: 100%;
  height: 100%;
  
  object-fit: cover;
  object-position: center;
}

/*hero section responsivness*/
@media (max-width: 1200px) {
  .hero-content {
     flex-direction: column;
    padding: 2rem;
  }
  .hero-text {
   margin-top: 5rem;
    margin-bottom: 2rem;
    padding-left: 0;
    text-align: center;
  }
   .hero-visuals {
    min-height: 400px;
  }
  
  .real-estate-section {
    flex-direction: column;
    padding: 2rem;
  }
  
  .hero-text h2, .hero-text p {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hire-tutor-section {
    width: 95%;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .hire-tutor-container {
    padding: 1rem;
  }

  .hire-tutor-container h2 {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .submit-button {
  
    padding: 1rem;
    font-size: 1rem;
  }

  .course-card {
    width: 100%;
    height: 200px;
  }
  
  .stats-container {
    flex-wrap: wrap;
  }
  
  .stat-item {
    min-width: 200px;
  }
  
  .hire-tutor-section {
     
    width: 90vw;
    padding: 1rem;
    align-content: center;
    height: 700px;
  
  }
}

@media (max-width: 480px) {
  .hire-tutor-container h2 {
    font-size: 1.8rem;
  }

   .course-grid {
    grid-template-columns: repeat(2, 1fr);
    
  }

   .hire-tutor-section {
     
    width: 50vw;
    padding-right: 2rem;
    align-content: center;
    height: 1400px;
  
  }

  .form-group input,
  .form-group select {
    padding: 0.8rem;
  }
}

/* Courses section  */

.courses {
  padding: 20px 20px;
  background-color: #f0f0f0;
  margin-top: -270px;
  width: 100vw;
  max-width: 1550px;
}

.courses .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
}

.courses h1 {
  font-size: 32px;
  color: #1a2a44;
  margin-bottom: 20px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(
    6,
    1fr
  ); /* Changed to 6 columns to match desired layout */
  gap: 50px; /* Reduced gap for tighter spacing like the desired output */
  margin-bottom: 20px;
}

.course-card {
  color: white;
  padding: 0; /* Removed padding to match the desired look */
  text-align: center;
  display: flex;
  border-radius: 15px;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Align content to bottom */
  width: 12vw;
  height: 250px; /* Adjusted height to match proportions in desired output */
  background-color: #1a4971; /* Added background color to match the desired look */
  overflow: hidden; /* Ensure content doesn't overflow */
  position: relative; /* For absolute positioning of text */
}

.course-card img {
  width: 100%;
  height: 100%; /* Full height to cover the card */
  object-fit: cover; /* Ensure image scales properly */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1; /* Behind the text */
}

.course-card h3 {
  font-size: 14px; /* Smaller font size to match desired output */
  margin: 0;
  padding: 10px; /* Padding for text area */
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Semi-transparent background for readability */
  width: 100%; /* Full width to cover bottom */
  position: absolute;
  bottom: 0;
  z-index: 2; /* Above the image */
  text-transform: uppercase; /* Match the uppercase text style */
}

.teens-course {
  color: white; /* Ensure text color matches */
}

.courses p {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}
/*Courses section responsivness*/
/* @media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

@media (max-width: 480px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}
/* New USP Section Styles */
.usp-section {
  padding: 5rem 2rem;
  background-color: #e8e8e8;
  margin-top: -200px;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  position: relative;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.section-title::after {
  /* content: ""; */
  width: 80px;
  height: 4px;
  /* background: var(--secondary-color); */
  position: absolute;
  bottom: -10px;
  left: 50%;
  /* transform: translateX(-50%); */
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--muted-text);
  margin-bottom: 3rem;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.usp-item {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.usp-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.usp-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
}

.usp-item p {
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.6;
}

.usp-item a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.usp-item a:hover {
  color: var(--secondary-color);
}

.stats-section {
  padding: 2rem 0;
  background-color: var(--card-bg);
  border-radius: 12px;
  width: 100vw;
  max-width: 1550px;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 2rem;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  flex: 1;
  min-width: 250px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-icon {
  background-color: #e9ecef;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.stat-icon:hover {
  background-color: var(--accent-color);
}

.stat-icon svg {
  width: 45px;
  height: 45px;
  color: var(--primary-color);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.6rem 0;
  font-family: "Roboto", sans-serif;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--muted-text);
  margin: 0;
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .stat-item {
    width: 100%;
  }
}

.team-section {
  padding: 3rem 1rem;
  background-color: var(--card-bg);
  width: 100vw;
  max-width: 1550px;
}

.team-carousel {
  position: relative;
  padding: 0 60px;
}

.team-carousel-inner {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1.5rem 0;
}

.team-carousel-inner::-webkit-scrollbar {
  display: none;
}

.team-card {
  width: auto;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  background: none;
  transition: none;
  position: static;
  overflow: visible;
}

/* .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} */

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover::before {
  opacity: 1;
}

.team-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid #ffffff;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 1rem;
  font-family: "Roboto", sans-serif;
}

.team-bio {
  flex-grow: 1;
  margin-bottom: 0.8rem;
}

.team-bio p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

.team-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #ffffff;
}

.team-rating {
  font-weight: 600;
  color: var(--text-color);
}

.star {
  color: yellow;
  margin-right: 3px;
}

.team-specialty {
  background: #ffffff;
  color: var(--text-color);
  padding: 0.2rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--accent-color);
  color: white;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 992px) {
  .team-card {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 2.5rem 1rem;
  }

  .team-carousel {
    padding: 0 40px;
  }

  .team-card {
    width: 100%;
  }
}

.video-thumbnail {
  position: absolute;
  width: 250px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
  background: var(--bg-color);
  transition: var(--transition);
}

.video-thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail-top {
  top: 50px;
  right: 100px;
}

.thumbnail-bottom {
  bottom: 80px;
  right: 150px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(248, 249, 250, 0.9);
  padding: 5px 10px;
  border-top-left-radius: 10px;
  display: flex;
  gap: 10px;
  color: var(--accent-color);
}

@media (max-width: 1100px) {
  .hero-background-image {
    right: -200px;
    opacity: 0.7;
  }

  .thumbnail-top {
    right: 50px;
  }

  .thumbnail-bottom {
    right: 100px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 3rem;
    margin-top: 5rem;
  }

  .hero-visuals {
    width: 100%;
  }

  .hero-background-image {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: 300px;
    opacity: 1;
  }

  .video-thumbnail {
    width: 200px;
    height: 120px;
  }

  .thumbnail-top {
    top: 30px;
    right: auto;
    left: 50px;
  }

  .thumbnail-bottom {
    bottom: 30px;
    right: 50px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-visuals {
    height: 350px;
  }

  .video-thumbnail {
    width: 150px;
    height: 100px;
  }

  .thumbnail-top {
    left: 20px;
  }

  .thumbnail-bottom {
    right: 20px;
  }
}

.hire-tutor-section {
  background-color: var(--primary-color);
  padding: 1.2rem 2rem;
  /* background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                      linear-gradient(225deg, rgba(255,255,255,0.1) 25%, transparent 25%); */
  background-size: 20px 20px;
  position: relative;
  width: 60vw;
  align-self: center;
  border-radius: 30px;
  max-width: 1550px;
}

.hire-tutor-container {
  margin-top: -20px;
  margin-bottom: 4rem;
  max-width: 900px;
  /* margin: 0 auto; */
  text-align: center;
  padding: 2rem;
  padding-right: 2rem;
}
.hire-tutor-container p {
  text-align: center;
  
}
.hire-tutor-section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: var(--bg-color);
  font-family: "Roboto", sans-serif;
}

.subtitle {
  font-size: 1rem;
  text-align: center;
  padding-right: 2rem;
  width: 100%;
  /* margin-bottom: 3rem; */
  color: var(--bg-color);
}
.form-container {
  /* background: #e9ecef; */
  border-radius: 12px;
  /* box-shadow: var(--shadow); */
  transition: var(--transition);
}

.form-container:hover {
  transform: translateY(-5px);
}

.form-section {
  text-align: left;
}

.form-section h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.8rem;
  font-family: "Roboto", sans-serif;
}

.user-type-selection {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.user-type-option {
  flex: 1;
  background: var(--bg-color);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.user-type-option:hover {
  border-color: var(--accent-color);
  background: #e9ecef;
}

.user-type-option input[type="radio"] {
  display: none;
}

.user-type-option label {
  cursor: pointer;
  color: var(--text-color);
  font-weight: 500;
  display: block;
  width: 100%;
}

.user-type-option input[type="radio"]:checked + label {
  color: var(--accent-color);
  font-weight: 600;
}

.user-type-option input[type="radio"]:checked + label::before {
  content: "✓ ";
  color: var(--accent-color);
}

.form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  
}

.form-group {
  flex: 1;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--card-bg);
  /* font-weight: 500; */
  font-size: 1rem;
}

.form-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: -0.3rem;
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group select {
  width: 90%;
  padding: 0.9rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-actions {
  text-align: center;
  margin-top: 2.5rem;
}

.submit-button {
  background: linear-gradient(45deg, var(--primary-color), #2f4996);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  animation: pulse 2s infinite;
}

.submit-button:hover {
  background: linear-gradient(45deg, #2f4996, var(--primary-color));
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .form-container {
    padding: 2rem;
  }

  .hire-tutor-section {
    padding: 3rem 1rem;
  }

  .hire-tutor-section h2 {
    font-size: 2.5rem;
  }
}

.service-hero {
  margin-top: 20px;
  padding: 9rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("/images/learningwomen.webp")
      no-repeat center/cover;
  color: white;
  text-align: center;
  z-index: -1;
  
}

.service-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-family: "Roboto", sans-serif;
}

.service-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
 
}

.service-content-main {
  flex: 1;
  min-width: 300px;
}

.service-content-main h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-family: "Roboto", sans-serif;
}

.service-content-main p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.pricing-section {
  background: #e9ecef;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.pricing-section h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-family: "Roboto", sans-serif;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pricing-level {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.6rem;
}

.pricing-time {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.6rem;
}

.pricing-price {
  font-size: 1.5rem;

  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 1rem 0;
}

.quote-button {
  display: inline-block;
  background: linear-gradient(45deg, #000, #333);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.quote-button:hover {
  background: linear-gradient(45deg, #333, #000);
  transform: translateY(-3px);
}

.quote-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.quote-image {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.quote-image:hover {
  transform: scale(1.02);
}

form#quoteForm {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 4%;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row .form-group {
  width: 48%;
}

.form-group label {
  margin-bottom: 0.5rem;
  /* font-weight: 600; */
  font-size: 1rem;
  color: var(--card-bg);
}

.form-group select,
.form-group input {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.upload-box {
  /* padding: 0.8rem; */
  text-align: center;
  position: relative;
  border: 1px dashed #dee2e6;
  border-radius: 8px;
}

.upload-box p {
  margin: 0.4rem 0;
  color: #fff;
  font-size: 0.9rem;
}

.form-group input[type="number"] {
  width: 200px;
}
.form-group input[type="file"] {
color: #fff;}
#quoteResult {
  text-align: left;
  margin: 0.8rem 0;
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1rem;
}

button[type="submit"] {
  padding: 0.8rem;
  background: linear-gradient(45deg, var(--darkGreyBg), #5c6a99);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

button[type="submit"]:hover {
  background: linear-gradient(45deg, #2f4996, var(--primary-color));
  transform: translateY(-3px);
}

.pay-button {
  padding: 0.8rem;
  background: linear-gradient(45deg, var(--accent-color), #388e3c);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.8rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.pay-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.pay-button:hover:not(:disabled) {
  background: linear-gradient(45deg, #388e3c, var(--accent-color));
  transform: translateY(-3px);
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  /* text-align: center; */
  margin-bottom: 1.5rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
}

section p {
  /* text-align: center; */
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  color: var(--muted-text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 1.2rem 0 0.6rem;
  color: var(--text-color);
  font-family: "Roboto", sans-serif;
}

.service-card .service-cta {
  display: inline-block;
  margin: 0.8rem 0 1.2rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.service-card .service-cta:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.real-estate-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100vw;
  max-width: 1550px;
  margin: 0 auto;
  padding: 2rem 2rem;
  background-color: white;
  box-sizing: border-box;
  margin-top: -275px;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
  padding-left: 1rem;
  color: var(--primary-color);
}

.hero-image {
  flex: 1;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px; /* Optional for styling */
}
.hero-text,
.hero-image {
  margin-top: -2px; /* Adjust as needed */
}
.hero-text h2,p {
  flex: 1;
  padding-right: 2rem;
  padding-left: 4rem;
  color: var(--primary-color);
}
.services-container {
  position: absolute;
  bottom: -500px;
  margin-bottom: 350px;
  left: 2rem;
  right: 2rem;
  display: flex;
  gap: 2.5rem;
  z-index: 10;
}

.service-card {
  flex: 1;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}

.service-card h3 {
  color: var(--text-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 1.2rem;
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-text);
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.service-button {
  background: linear-gradient(45deg, var(--primary-color), #2f4996);
  border: none;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  box-shadow: var(--shadow);
}

.service-button:hover {
  background: linear-gradient(45deg, #2f4996, var(--primary-color));
  transform: translateY(-3px);
}

.real-estate-section {
  margin-bottom: 200px;
}

@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    gap: 2rem;
    bottom: -150px;
    left: 1.5rem;
    right: 1.5rem;
  }

  .real-estate-section {
    margin-bottom: 250px;
  }

  .service-card {
    padding: 2rem;
  }

  .service-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .services-container {
    bottom: -180px;
    left: 1rem;
    right: 1rem;
    gap: 1.5rem;
  }

  .real-estate-section {
    margin-bottom: 300px;
  }

  .service-card {
    padding: 1.5rem;
  }
}

.features-section {
  padding: 5rem 2rem;
  background-color: var(--bg-color);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-container h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-family: "Roboto", sans-serif;
}

.features-container p {
  font-size: 1.2rem;
  color: var(--muted-text);
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.feature-item {
  flex: 1 0 calc(33.333% - 2rem);
  min-width: 280px;
  max-width: 350px;
  padding: 2.5rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
  transition: var(--transition);
}

.feature-item:hover::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.feature-item > * {
  position: relative;
  z-index: 2;
}

.feature-item.highlight::before {
  background: linear-gradient(
    135deg,
    rgba(233, 96, 41, 0.9),
    rgba(233, 96, 41, 0.7)
  );
}

.feature-item.highlight:hover::before {
  background: linear-gradient(
    135deg,
    rgba(233, 96, 41, 1),
    rgba(233, 96, 41, 0.8)
  );
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "Roboto", sans-serif;
}

.feature-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .feature-item {
    flex: 1 0 calc(50% - 2rem);
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 3.5rem 1.5rem;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    flex: 1 0 100%;
    max-width: 400px;
  }

  .features-container h2 {
    font-size: 2.5rem;
  }
}

.offer-section {
  padding-bottom: 0;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.offer-container {
  max-width: 1800px;
  width: 100%;
  background-color: var(--bg-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.offer-header {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.offer-label {
  display: inline-block;
  font-size: 1rem;
  color: #666;
  background-color: #e9ecef;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.offer-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: "Roboto", sans-serif;
}

.offer-subtitle {
  max-width: 800px;
  margin: 0 auto;
  color: #8e9ece;
  font-size: 1.2rem;
}

.offer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.offer-text {
  flex: 1;
  min-width: 300px;
}

.content-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #8e9ece;
  font-family: "Roboto", sans-serif;
}

#about-page {
  align-items: center;
}

.title-underline {
  width: 120px;
  height: 4px;
  background-color: var(--secondary-color);
  margin-bottom: 2rem;
}

.content-description {
  margin-bottom: 2rem;
  color: var(--muted-text);
  font-size: 1.1rem;
  max-width: 600px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--secondary-color), #e85a2a);
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background: linear-gradient(45deg, #e85a2a, var(--secondary-color));
  transform: translateY(-3px);
}

.offer-images {
  flex: 2;
  height: 650px;
  min-width: 300px;
  display: flex;
  align-items: stretch;
}

.single-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 12px;
  background-color: transparent;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.single-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.single-image img:hover {
  transform: scale(1.05);
}

.offer-images .single-image #offer-img1 {
  width: 100%;
  height: auto;
  display: block;
  mask-image: linear-gradient(to right, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  width: 50vw;
  z-index: 1;
}

.offer-images .single-image img {
  width: 100%;
  height: auto;
  display: block;
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  width: 50vw;
  z-index: 1;
}

@media (max-width: 1200px) {
  .offer-content {
    flex-direction: column;
  }

  .image-stack {
    height: 450px;
    margin-top: 2.5rem;
  }

  #image1 {
    right: 50%;
    transform: translateX(50%);
    top: -50px;
  }

  #image2 {
    right: 60%;
    top: 50px;
  }

  #image3 {
    right: 40%;
    top: 150px;
  }
}

@media (max-width: 768px) {
  .offer-section {
    padding: 3rem 1rem;
  }

  .offer-container {
    padding: 2.5rem 1.5rem;
  }

  .offer-title {
    font-size: 2.5rem;
  }

  .content-title {
    font-size: 2rem;
  }

  .image-stack {
    height: 500px;
  }

  #image1,
  #image2,
  #image3 {
    width: 220px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .offer-container {
    padding: 2rem 1rem;
  }

  .image-stack {
    height: 400px;
  }

  #image1,
  #image2,
  #image3 {
    width: 180px;
    height: 220px;
  }
}

.footer {
  background-color: var(--primary-color);
  padding: 5rem 2rem 2rem;
  color: var(--bg-color);
  font-family: "Poppins", sans-serif;
  width: 100vw;
    max-width: 1550px;
     margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
 
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-width: 220px;
  height: 400px;
  transition: var(--transition);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin: 0.6rem 0;
}

.footer-contact a {
  color: var(--muted-text);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-color);
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social-links a:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal li {
  margin-bottom: 1rem;
}

.footer-legal a {
  color: #777;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: .5rem;
  border-top: 1px solid #dee2e6;
  text-align: start;
  font-size: 0.95rem;
  color: #777;
}
.footer-bottom p{
  color: #ffffff;
}

@media (max-width: 992px) {
  .footer-column {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3.5rem 1.5rem 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-column {
    flex: 0 0 100%;
  }

  .footer-logo img {
    width: 100px;
  }

  .hero h1,
  .service-hero h1 {
    font-size: 2.5rem;
  }

  .hero p,
  .service-hero p {
    font-size: 1.1rem;
  }

  form#quoteForm {
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .form-row .form-group {
    width: 100%;
  }

  section {
    padding: 3rem 1rem;
  }

  .service-content {
    flex-direction: column;
    padding: 1.5rem;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 250px;
    margin-bottom: 1.5rem;
  }

  .quote-container {
    flex-direction: column;
    align-items: center;
  }

  .quote-image {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
}

/* Accessibility Focus States */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Mobile View (Phone) */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 100vw;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  nav .cta {
    margin-top: 0.8rem;
    width: 80%;
    text-align: center;
  }

  .logo {
    font-size: 1.2rem;
    width: 140px;
  }

  .logo img {
    width: 70%;
    height: auto;
  }

  .nav-profile-image {
    height: 70px;
    width: 70px;
  }

  .hero {
    padding: 2.5rem 1.5rem;
    width: 100%;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    max-width: 100%;
    padding: 0;
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }

  .btn {
    width: 80%;
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
    align-items: center;
  }

  .hero-visuals {
    width: 100%;
    height: 350px;
    min-height: 200px;
  }

  .hero-background-image {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: 300px;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .video-thumbnail {
    width: 150px;
    height: 100px;
  }

  .thumbnail-top {
    top: 30px;
    left: 20px;
    right: auto;
  }

  .thumbnail-bottom {
    bottom: 30px;
    right: 20px;
  }

  .stats-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .stat-item {
    width: 100%;
  }

  .team-section {
    padding: 2.5rem 1rem;
  }

  .team-carousel {
    padding: 0 40px;
  }

  .team-card {
    width: 100%;
    max-width: 300px;
  }

  .hire-tutor-section {
    padding: 3rem 1rem;
    margin-top: 1rem;
    
  }

  .hire-tutor-section h2 {
    font-size: 2.5rem;
  }

  .form-container {
    padding: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .form-group,
  .form-row .form-group {
    width: 100%;
  }

  .service-hero {
    padding: 3rem;
  }

  .service-hero h1 {
    font-size: 2.5rem;
  }

  .service-hero p {
    font-size: 1.1rem;
  }

  .service-content {
    flex-direction: column;
    padding: 1.5rem;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 250px;
    margin-bottom: 1.5rem;
  }

  .quote-container {
    flex-direction: column;
    align-items: center;
  }

  .quote-image {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  form#quoteForm {
    max-width: 100%;
  }

  .services-container {
    flex-direction: column;
    gap: 2rem;
    bottom: 0;
    position: relative;
    left: 0.5rem;
    right: 1.5rem;
    margin-bottom: 2rem;
  }

  .real-estate-section {
    margin-bottom: 250px;
  }

  .service-card {
    padding: 2rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .features-section {
    padding: 3.5rem 1.5rem;
  }

  .features-container h2 {
    font-size: 2.5rem;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    flex: 1 0 100%;
    max-width: 400px;
  }

  .offer-section {
    padding: 4rem 2rem;
  }

  .offer-container {
    padding: 2.5rem 2.5rem;
  }

  .offer-content {
    flex-direction: column;
  }

  .offer-title {
    font-size: 2.5rem;
  }

  .content-title {
    font-size: 2rem;
  }

  .offer-images {
    height: 400px;
    min-height: 300px;
  }

  .single-image {
    min-height: 300px;
  }

  .single-image img,
  .offer-images .single-image #offer-img1 {
    -webkit-mask-image: none;
    mask-image: none;
    width: 100%;
    height: 100%;
  }

  .footer {
    padding: 3.5rem 1.5rem 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-column {
    flex: 0 0 100%;
  }

  .footer-logo img {
    width: 100px;
  }
}

/* Comments from Users Section */
.testimonials-section {
  padding: 2rem 2rem;
  background-color: var(--darkGreyBg);
  width: 100vw;
  max-width: 1550px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.customer-photo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  overflow: hidden;
}

.customer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.customer-info {
  text-align: left;
}

.customer-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.customer-type {
  font-size: 0.85rem;
  color: #666;
  font-weight: 400;
}

.testimonials-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-centered {
  background-color:var(--darkGreyBg);
  padding: 4rem 1rem;
  text-align: center;
  width: 100vw;
    max-width: 1550px;
}

.testimonial-centered .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-centered .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #2196f3;
  margin: 0.5rem auto 1.5rem;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #333;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-image img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 6px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.author-info {
  text-align: left;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.author-role {
  font-size: 0.9rem;
  color: gray;
}

.testimonial-centered {
  background-color: #f5f5f5;
  padding: 4rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
    transform: translateX(50px);
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.testimonial-slider .testimonial-slide:nth-of-type(2) {
  /* This ensures it's hidden by default like other slides */
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease;
}

.testimonial-slider .testimonial-slide:nth-of-type(2).active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.author-role {
  font-size: 0.9rem;
  color: #666;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #2196f3;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #f8f9fa;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background-color: #0a2885;
  color: white;
}

.nav-arrow.next-arrow {
  background-color: #0a2885;
  color: white;
}

.nav-arrow svg {
  width: 16px;
  height: 16px;
}

.nav-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #0a2885;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  .customer-photo {
    width: 50px;
    height: 50px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }
}

/* SERVICE PAGE css */
.service-body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  z-index: -1;
  
}

.service-body-softskills {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  z-index: -1;
  
}
.trust-section-service {
  position: relative;
  z-index: -1;
  padding: 5rem 2rem;
  padding-top: 0rem;
  background-color: #f8f9fa;
}


.container-service {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0rem;
}

.section-header-service {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 0rem;
}

.section-title-service {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.section-subtitle-service {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.trust-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.trust-image {
  flex: 1;
  max-width: 500px;
}

.trust-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trust-features-service {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item-service {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 2rem;
}

.feature-icon-service {
  width: 40px;
  height: 40px;
  background-color: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0a2885;
}
.feature-content-service {
  flex: 1;
  text-align: left;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-content-service {
  flex: 1;
   text-align: left;
}

.feature-title-service {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.feature-description-service {
 font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-left: 0;
 
  text-align: left;
}

@media (max-width: 768px) {
  .trust-section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .trust-content {
    flex-direction: column;
    gap: 3rem;
  }

  .trust-image {
    max-width: 100%;
  }

  .trust-image img {
    height: 300px;
  }

  .trust-features {
    gap: 2rem;
  }

  .feature-item {
    gap: 1rem;
  }
   
  .feature-item-service {
    padding: 1.5rem;
  }
  
  .section-title-service {
    font-size: 2rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }

   .trust-content {
    flex-direction: column;
    gap: 2rem;
  }
  .trust-image img {
    height: 300px;
  }
  .feature-item-service {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .trust-image img {
    height: 250px;
    border-radius: 16px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }
}

/* about us page css */
.trust-section-aboutus,
.container-aboutus,
.how-it-works-aboutus {
  margin-top: 50px;
  padding-top: 10px;

}

.trust-section-aboutus {
  margin-top: -50px;
  padding: 5rem 2rem;
  padding-top: 0rem;
  background-color: #f8f9fa;
  z-index: 0;
}

.aboutus-body {
  background-color: #f8f9fa;
  color: #333333;
  line-height: 1.6;
  z-index: -1;
}

.container-aboutus {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0rem;
  
}

.how-it-works-aboutus {
  text-align: center;
  padding: 10px 0;
  z-index: -1;
}

.how-it-works-aboutus h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #333333;
}

.how-it-works-aboutus p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555555;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.step {
  flex: 1;
  min-width: 300px;
  position: relative;
  margin-bottom: 0px;
}

.step-image {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  background-color: #ff5722;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  z-index: 2;
}

.step-content {
  /* padding: 20px 0; */
  text-align: left;
}

.step-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333333;
}

.step-content p {
  font-size: 16px;
  color: #666666;
  text-align: left;
}

.cta-button-aboutus {
  display: inline-block;
  background-color: #0a2885;
  color: white;
  padding: 15px 20px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 0px;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.cta-button-aboutus:hover {
  background-color: #ffffff;
  color: #0a2885;
  outline-color: #0a2885 1px;
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
  }

  .step {
    min-width: 100%;
  }
}

/* ielts section on the aboutus page css */
.ielts-signup-container {
  width: 100%;
  max-width: 1200px;
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.ielts-signup-section {
  display: flex;
  width: 100%;
  height: 600px;
  position: relative;
}

.image-section-ielts {
  width: 40%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-section-ielts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-section-ielts {
  width: 60%;
  height: 100%;
  background-color: #2e1a6a; /* Deep purple */
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-content-ielts {
  position: relative;
  z-index: 2;
}

.form-title-ielts {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 2.4;
  color: #ffffff;
}

.form-subtitle-ielts {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.2;
  color: #ffffff;
}

.email-input-ielts {
  width: 70%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid white;
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  margin-left: 80px;
  outline: none;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.custom-checkbox {
  width: 15px;
  height: 15px;
  border: 2px solid white;
  margin-right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.custom-checkbox.checked::after {
  content: "✓";
  color: white;
  font-size: 14px;
}

.checkbox-label {
  margin-left: 0px;
  font-size: 14px;
  line-height: 1.4;
}

.privacy-text {
  font-size: 12px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.terms-link {
  color: #ffeb3b; /* Yellow */
  text-decoration: underline;
}

.signup-button {
  background-color: #ffeb3b; /* Yellow */
  color: #333;
  border: none;
  margin-left: 170px;
  border-radius: 12px;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
  transition: background-color 0.3s;
}

.signup-button:hover {
  background-color: #fdd835;
}

@media (max-width: 768px) {
 .ielts-signup-section {
    flex-direction: column;
    height: auto;
  }
  .image-section-ielts,
  .form-section-ielts {
    width: 100%;
  }
  .email-input-ielts,
  .signup-button {
    width: 100%;
    margin-left: 0;
  }

  .image-section,
  .form-section {
    width: 100%;
  }

  .image-section {
    height: 300px;
  }

  .curve-shape {
    display: none;
  }

  .icon-circle {
    top: 300px;
    left: 50%;
  }

  .form-section {
    padding: 60px 20px 40px;
  }
}
