/* =============================================
   TOP BAR
   Contact info + social icons
============================================= */
.top-bar {
  background-color: #f0f0f0;/* subtle light background */
  padding: 8px 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between; /* contact left, social right */
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 15px;
}

.top-contact span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary); /* same as social icons */
  font-size: 14px;
  transition: color 0.3s ease;
}

.top-contact span:hover {
  color: var(--primary-dark);
}

.top-social {
  display: flex;
  gap: 10px;
}

.top-social a {
  color: var(--primary);
  font-size: 14px;
  transition: color 0.3s ease;
}

.top-social a:hover {
  color: var(--primary-dark);
}

/* =============================================
   CENTER HEADER
   Logo + Text + Auth Icons
============================================= */
.center-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.center-header-container {
  display: flex;
  justify-content: space-between; /* logo left, auth right */
  align-items: center;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  gap: 15px; /* gap between logo image and text */
  text-decoration: none;
}

/* Logo Image */
.logo-img {
  height: 60px; /* 🔹 adjust yahan size change kar sakte ho */
  width: auto;
}

/* Logo Text Container */
.logo-text-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* 🔹 same font dono ke liye */
    display: flex;
    flex-direction: column; /* title + subtitle vertically */
}

/* Logo Title */
.logo-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary); /* primary color */
}

/* Logo Subtitle */
.logo-subtitle {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary); /* primary color */
}

/* Auth Icons Right */
.auth-icons {
  display: flex;
  gap: 15px;
}

.auth-icons .icon-link {
  color: var(--text-dark);
  font-size: 20px;
  transition: color 0.3s ease;
}

.auth-icons .icon-link:hover {
  color: var(--primary);
}

/* =============================================
   NAVBAR
   Main Menu
============================================= */
.navbar {
  background: var(--primary);
}

.main-navbar-container {
  display: flex;
  justify-content: center; /* menu centered */
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 10px 0;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--accent-light);
}

/* =============================================
   RESPONSIVE STYLES
============================================= */
/* ✅ Desktop Menu (default) */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 10px 0;
}

/* ✅ Mobile View */
@media (max-width: 768px) {
  .main-navbar-container {
    justify-content: center;
  }

  .nav-menu {
    flex-direction: column;   /* 🔹 vertical stack */
    gap: 15px;
    text-align: center;
  }

  .center-header-container {
    flex-direction: column;
    gap: 10px;
  }
}


/* =============================================
   HERO SECTION
   Banner with image, title, subtitle and buttons
============================================= */
.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)),
              url('/assets/images/hero_banner_2.webp'); /* relative path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--secondary);
  padding: 100px 0;
  text-align: center;
  margin-top: 2px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
 text-align: left; /* 🔹 sab text left align */
}

.hero-title {
  color: var(--primary);
  font-size: 3rem; /* 🔹 adjust for bigger/smaller */
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: #000;
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-buttons .btn {
  padding: 12px 24px;
  font-weight: 600;
}

.hero-buttons .btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.hero-buttons .btn-outline:hover {
  background-color: var(--secondary);
  color: var(--primary);
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: left; /* 🔹 Title bhi left */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-align: left; /* 🔹 Subtitle bhi left */
}

.hero-buttons {
  display: flex;
  justify-content: flex-start; /* 🔹 Buttons left side pe aayenge */
  gap: 20px;
  margin-top: 30px;
}
.hero-buttons .btn {
  background-color: var(--primary);   /* 🔹 primary background */
  color: #fff;                        /* text white */
  padding: 12px 25px;
  border: none;
  border-radius: 8px;                 /* 🔹 rounded corners */
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-buttons .btn:hover {
  background-color: var(--primary-dark); /* 🔹 hover pe dark red */
}
.hero h2 {
  font-size: 3.2rem;   /* 🔹 Title size (agar chaho to aur barha sakte ho) */
  margin-bottom: 10px; /* 🔹 Gap kam kar diya (pehle 20px tha) */
  text-align: left;
}

.hero p {
  font-size: 1.4rem;   /* 🔹 Subtitle size barha diya (pehle 1.2rem tha) */
  margin-bottom: 25px; /* 🔹 Buttons se thoda space */
  text-align: left;
}

.hero .floating-contact {
  /*position: absolute;   fixed ke bajaye absolute */
  top: 30%;
  left: 0;
}

/* =============================================
   RESPONSIVE HERO
================================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* ================================
   Hamburger Button (Mobile Only)
================================ */
.hamburger {
  display: none; /* 🔹 default: hidden */
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* 🔹 Mobile View */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* 🔹 sirf mobile pe show */
  }

  .nav-menu {
    position: absolute;
    top: 100%; /* navbar ke niche */
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px 0;
    display: none; /* hidden by default */
  }

  .nav-menu.active {
    display: flex; /* 🔹 show jab active class mile */
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column; /* 🔹 ek ke niche ek */
    align-items: flex-start; /* 🔹 left align */
    gap: 15px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: auto;     /* 🔹 width ko auto rakha */
    max-width: 250px; /* 🔹 optional: ek limit set kar do */
    text-align: center;
  }
}
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start; /* left aligned */
    gap: 12px;
  }

  .hero-buttons .btn {
    width: auto;        /* full stretch na ho */
    max-width: 220px;   /* ek fix width */
    font-size: 16px;    /* readable font */
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px; /* modern look */
    text-align: center;
  }
}


/* ======================================== 
     Floating Contact Bar in Hero Section 
=========================================== */
/* Floating Contact Bar */
.floating-contact {
  position: fixed;          /* stays in place while scrolling */
  top: 30%;                 /* vertical position */
  left: 0;                  /* left edge */
  display: flex;
  flex-direction: column;    /* items stacked vertically */
  background: var(--primary, #007b5e);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.15);
}

/* Each Contact Item */
.contact-item {
  display: flex;
  flex-direction: column;   /* icon on top, text below */
  align-items: center;
  justify-content: center;
  width: 120px;             /* equal width */
  padding: 15px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Last item without bottom border */
.contact-item:last-child {
  border-bottom: none;
}

/* Icon Styling */
.contact-item i {
  font-size: 22px;
  margin-bottom: 6px;
}

/* Hover effect */
.contact-item:hover {
  background: var(--primary-dark, #005f47);
  transform: translateX(5px);
}

/* Mobile View */
@media (max-width: 768px) {
  .floating-contact {
    position: static;          /* inline in page */
    flex-direction: row;       /* horizontal row */
    justify-content: flex-start;
    margin: 15px 0;
    width: 100%;
    border-radius: 8px;
    box-shadow: none;
  }

  .contact-item {
    flex-direction: row;       /* icon + text side by side */
    width: auto;
    padding: 10px 12px;
    font-size: 13px;
    gap: 6px;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.2);
  }

  .contact-item:last-child {
    border-right: none;
  }

  .contact-item i {
    margin-bottom: 0;
    font-size: 18px;
  }
}
