@font-face {
  font-family: "FontHeader";
  src: url("/Fonts/champagne_limousines/Champagne%20&%20Limousines.ttf")
    format("truetype");
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  line-height: 1.5;
  direction: ltr;
  /* Align text to the right for Arabic */
}

nav {
  width: 100%;
  min-height: 65px;
  font-family: "FontHeader", sans-serif;
  background-color: #061312;
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin: 0 20px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #a16207;
}

.logo {
  position: absolute;
  z-index: 50;
  display: block;
  width: 33.333%;
  height: auto;
  top: 20px;
  left: 20px;
}

.desktop-nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.desktop-nav li {
  display: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-right: 32px;
  list-style: none;
}

.desktop-nav li:hover {
  color: #facc15;
  border-bottom: 2px solid #c2410c;
}

.desktop-nav li a {
  text-decoration: none;
  color: inherit;
}

.social-links {
  display: none;
  gap: 12px;
}

.social-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}

.social-links img:hover {
  transform: scale(1.1);
}

.mobile-menu-btn {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 50;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-color: #061312;
  z-index: 40;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
  padding: 12px 0;
  font-weight: 600;
}

.mobile-menu-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  width: 100%;
}

.mobile-menu-content a:hover {
  color: #facc15;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

.hero-section {
  position: relative;
  width: 100%;
}

.whatsapp-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 90px;
  height: 90px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  z-index: 20;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 64px;
  height: 64px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Styles */
/* For small devices (mobile) */
@media (min-width: 640px) {
  .whatsapp-button {
    width: 5rem; /* 20px */
    height: 5rem; /* 20px */
  }

  .whatsapp-img {
    width: 3.5rem; /* 14px */
    height: 3.5rem; /* 14px */
  }
}

/* For medium devices (tablets) */
@media (min-width: 768px) {
  .whatsapp-button {
    width: 6rem; /* 24px */
    height: 6rem; /* 24px */
  }

  .whatsapp-img {
    width: 4rem; /* 16px */
    height: 4rem; /* 16px */
  }
}

/* For large devices (desktops) */
@media (min-width: 1024px) {
  .whatsapp-button {
    width: 7rem; /* 28px */
    height: 7rem; /* 28px */
  }

  .whatsapp-img {
    width: 8rem; /* 20px */
    height: 8rem; /* 20px */
  }
}

@media (min-width: 768px) {
  nav {
    min-height: 80px;
  }

  .logo {
    display: none;
  }

  .desktop-nav li {
    display: block;
  }

  .social-links {
    display: flex;
  }

  .social-links img {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .nav-container {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    font-size: 1.875rem;
  }
}

.data {
  background-color: #061312;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
  line-height: 1.7rem;
  height: auto;
  text-align: center;
  padding-top: 3rem;
  padding: 3rem 1rem;
  padding-bottom: 3rem;
}

.con {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-end;
  text-align: right;
  font-size: 17px;
}
.title {
  font-size: 2rem;
  color: #fbba22;
  line-height: 1.3;
  margin-bottom: 1rem;
  direction: rtl;
}
.title-2 {
  font-size: 1.9rem;
  color: white;
  line-height: 1.3;
  direction: rtl;
  margin-bottom: 1rem;
}
.title-3 {
  font-size: 1.9rem;
  color: white;
  line-height: 1.3;
  direction: rtl;
  margin-bottom: 1rem;
}
.titleSecond {
  font-size: 2.5rem;
  color: #fbba22;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: end;
}
.titleThird {
  font-size: 2.5rem;
  color: #fbba22;
  line-height: 1.5;
  margin-bottom: 1rem;
  direction: rtl;
}
.titleFourth {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  direction: rtl;
}

.subtitle {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.con ul {
  list-style-type: none;
  padding: 0;
  text-align: right;
  direction: rtl;
}

.con ul li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.8rem;
}

.con ul li::before {
  content: "•";
  color: #fbba22;
  position: absolute;
  right: 0;
  top: 0;
}

.imag-flex {
  width: 100%;
  margin-top: 2rem;
  display: block;
}

.img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
  display: block;
}
.img-flex2 {
  width: 100%;
  margin-top: 2rem;
  display: block;
}
.Courses-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
  display: block;
}
.Courses-img:hover,
.img:hover {
  transform: scale(1.02);
  cursor: pointer;
}
.cont-data {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.finalText {
  font-size: 24px;
  line-height: 1.2;
  margin: auto;
  direction: rtl;
}

.image-container img:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  ul li {
    margin-bottom: 0.6rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  ul li {
    margin-bottom: 0.5rem;
  }
}
/* Responsive Typography for Arabic Real Estate Blog */

/* Base Styles (Mobile First) */
.titleSecond {
  font-size: 1.8rem;
}

.titleThird {
  font-size: 1.6rem;
}

.titleFourth {
  font-size: 1.2rem;
}

.finalText {
  font-size: 1.1rem;
  margin-top: 1rem;
}
.title {
  font-size: 1.7rem;
}
.title-2,
.title-3 {
  font-size: 1.3rem;
}

/* Small Tablets (640px) */
@media (min-width: 640px) {
  .titleSecond {
    font-size: 2.2rem;
  }
  .titleThird {
    font-size: 2rem;
  }
  .titleFourth {
    font-size: 1.6rem;
  }
  .finalText {
    font-size: 1.4rem;
  }
}

/* Tablets (768px) */
@media (min-width: 768px) {
  .titleSecond {
    font-size: 2.5rem;
  }
  .titleThird {
    font-size: 2.3rem;
  }
  .titleFourth {
    font-size: 1.8rem;
  }
  .finalText {
    font-size: 1.6rem;
  }
}

/* Laptops (1024px) */
@media (min-width: 1024px) {
  .titleSecond {
    font-size: 3rem;
  }
  .titleThird {
    font-size: 2.6rem;
  }
  .titleFourth {
    font-size: 1.5rem;
  }
  .finalText {
    font-size: 1.8rem;
  }
}

/* Large Laptops (1280px) */
@media (min-width: 1280px) {
  .titleSecond {
    font-size: 3.5rem;
  }
  .titleThird {
    font-size: 3rem;
  }
  .titleFourth {
    font-size: 1.7rem;
  }
  .finalText {
    font-size: 2rem;
  }
}

/* Desktop (1536px) */
@media (min-width: 1536px) {
  .titleSecond {
    font-size: 4rem;
  }
  .titleThird {
    font-size: 3.5rem;
  }
  .titleFourth {
    font-size: 2rem;
  }
  .finalText {
    font-size: 2.2rem;
  }
}
/* 
Responsive Typography Stylesheet
This CSS provides adaptive font sizes for different screen sizes (breakpoints)
Breakpoints are standard responsive design widths:
- 640px (small devices)
- 768px (tablets)
- 1024px (laptops)
- 1280px (large laptops)
- 1536px (large desktop screens)
*/

/* 
Small devices (640px and up)
Start increasing font sizes gradually 
*/
@media (min-width: 640px) {
  .title {
    font-size: 1.7rem; /* Slightly larger than mobile */
  }
  .title-2,
  .title-3 {
    font-size: 1.7rem; /* Consistent sizing for secondary titles */
  }
  /* Similar gradual increases for other title classes */
}

/* 
Medium devices (768px and up)
More significant font size increases 
*/
@media (min-width: 768px) {
  .title {
    font-size: 2rem; /* Noticeable increase for tablets */
  }
  .title-2,
  .title-3 {
    font-size: 2rem; /* Proportional increase */
  }
  /* Continue with other title classes */
}

/* 
Large devices (1024px and up)
Substantial font size increases for laptops 
*/
@media (min-width: 1024px) {
  .title {
    font-size: 2.5rem; /* Larger size for laptop screens */
  }
  .title-2,
  .title-3 {
    font-size: 1.8rem; /* Scaled accordingly */
  }
  /* Repeat for other title classes */
}

/* 
Extra large devices (1280px and up)
Significant font sizing for large laptops 
*/
@media (min-width: 1280px) {
  .title {
    font-size: 2.5rem; /* Large, readable text */
  }
  .title-2,
  .title-3 {
    font-size: 2.5rem; /* Proportional scaling */
  }
  /* Continue pattern for other titles */
}

/* 
Largest screens (1536px and up)
Maximum font sizes for large desktop monitors 
*/
@media (min-width: 1536px) {
  .title {
    font-size: 3.2rem; /* Largest possible size */
  }
  .title-2,
  .title-3 {
    font-size: 3rem; /* Final scaling */
  }
  /* Final sizing for all title classes */
}

/* Hover effect for the bottom image */
.hover-effect {
  transition: transform 0.3s ease;
}

.hover-effect:hover {
  transform: scale(1.05);
}
