/* Navbar Section */

/* === BASE STYLES === */

/* Default (mobile view) - header normal hoga */
.site-header {
  position: relative;
}

/* Desktop view (freeze header on scroll) */
@media (min-width: 769px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  body {
    padding-top: 110px; /* header ki height ke equal adjust karo */
  }
}


.hamburger-menu {
  display: block;
  font-size: 24px;
  cursor: pointer;
}

.mobile-row {
  display: none;
  width: 100%;
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: white;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
}

.mobile-nav a {
  padding: 10px 0;
  text-decoration: none;
  font-weight: bolder;
  color: black;
  border-bottom: 1px solid #eee;
  font-family: Poppins;
  font-size: 16px;
}
.mobile-nav a:hover {
  color: #F57C00;
}

/* === MOBILE STYLES === */
@media (max-width: 768px) {
  .mobile-row {
    display: flex;
  }

  .logo-container {
    display: none;
  }

  .desktop-enquire,
  .nav-links.desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .mobile-nav {
    display: flex;
  }
   .mobile-sub-dropdown-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-sub-dropdown-content a {
    display: block;
    width: 100%;
    white-space: normal;
    line-height: 1.8;
  }
}

@media (min-width: 769px) {
  .mobile-row {
    display: none;
  }

  .hamburger-menu {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

/* === DESKTOP NAVIGATION === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  padding: 10px;
  display: inline-block;
  font-weight: 600;
}

.dropbtn::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropbtn::after {
  content: '▼';
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #d0e9f8;
  min-width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 3;
  top: 100%;
  left: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
  font-size: 15px;
}

.sub-dropdown {
  position: relative;
  background-color: white;
}

/* Only show arrow if .sub-dropdown-content exists */
.sub-dropdown > .has-arrow::after {
  content: '';
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.sub-dropdown:hover > .has-arrow::after {
  content: '▶';
  color: #333;
  font-size: 13px;
}

.sub-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  min-width: 270px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 3;
  margin-left: 2px;
  font-size: 15px;
}

.sub-dropdown:hover .sub-dropdown-content {
  display: block;
}

.dropdown-content a, .sub-dropdown-content a {
  color: #333;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover, .sub-dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #0594ec;
}

/* === MOBILE DROPDOWN === */
.mobile-dropbtn {
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-family: Poppins;
}

.mobile-dropdown-content {
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  font-weight: bold;
}

.mobile-subbtn {
  padding: 8px 0;
  cursor: pointer;

  border-bottom: 1px solid #f0f0f0;
  font-family: Poppins;
}

.mobile-sub-dropdown-content {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

.mobile-sub-dropdown-content a {
  padding: 6px 0;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
}

.mobile-sub-dropdown-content a:hover {
  color: #0594ec;
}



/* Bullet Points for Sub-items (Desktop + Mobile) */
.sub-dropdown-content a::before,
.mobile-sub-dropdown-content a::before {
  content: '•';
  color: black;
  display: inline-block;
  width: 1em;
  margin-left: -0.5em;
  margin-right: 1px;
  font-size: 18px;
}


/* === TOP BAR === */
.top-bar {
  background-color: #1F2A44;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 2.9rem;
  color: white;
  font-size: 16px;
  flex-wrap: wrap;
}

.contact-info span {
  margin-right: 20px;
  display: inline-block;
  word-break: break-word;
}

.social-icons {
  display: flex;
  align-items: center;
}

.social-icons a i {
  color: white;
  margin-left: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    height: auto;
  }

  .contact-info {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .contact-info span {
    display: block;
    margin-bottom: 2px;
    margin-right: 0;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* === MAIN NAV BAR === */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background-color: white;
  border-bottom: 1px solid #ccc;
}

.logo img {
  height: 50px;
  width: 80px;
  margin-left: 10px;
}

.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text {
  font-size: 13px;
  margin-top: 2px;
  color: #0594ec;
  font-family: Arial, sans-serif;
  margin-left: 10px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
  font-family: Poppins;
  font-size: 18px;
  color: #1A1A1A;
}

.nav-links a {
  text-decoration: none;
  color: #1A1A1A;
  font-weight: 600;
}

.nav-links a:hover {
  color: #F57C00;
}

.enquire-btn {
  border: 1px solid #F57C00;
  background: transparent;
  color: #F57C00;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
}

.enquire-btn:hover {
  background-color: #F57C00;
  color: white;
}

.f-circle {
  position: absolute;
  top: 2px;
  right: 1px;
  width: 18px;
  height: 18px;
  background-color: #a80505;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  z-index: 2;
}



/* Blog Section */
.about-section {
  background: #F4F6F8 url('Images/O7OFWS0.jpg');
  padding: 60px 20px;
  text-align: center;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  font-family: Poppins;
  margin-top: -2px;
}

.about-subtitle {
  color: white;
  font-size: 20px;
  margin-bottom: 2px;
  font-weight: 200;
  font-family: Roboto;
}




/* Blog Content Section */

.blog-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 20px;
}

.blog-card {
  background: #fff;
  border: 1px solid black;
  width: 320px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit:fill;
}

.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 260px; /* control total height */
}

.blog-content h3 {
  color: black;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-shrink: 0;
  max-height: 3.9em; /* 3 lines max */
  overflow: hidden;
}

.blog-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  flex-grow: 1;
  line-height: 1.4;
  max-height: 4.2em; /* 3 lines max */
  overflow: hidden;
  font-family: Roboto;
}

.blog-content a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  font-weight: 500;
  margin-top: auto;
  font-family: Poppins;
}

.category {
  display: inline-block;
  color: #f2a007;
  font-weight: bold;
  font-size: 14px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
