@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500&display=swap');

:root {
  --primary: #002147;
  --primary-light: #003366;
  --secondary: #c02e2d;
  --accent: #f8b400;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --dark-gray: #333333;
  --text-color: #2c3e50;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #a02524;
  transform: translateY(-2px);
}

/* Section Spacing */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

/* Navbar */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-top {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.nav-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-main {
  padding: 0;
}

.nav-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 10px 0;
  min-width: 200px;
  display: none;
  list-style: none;
  z-index: 1100;
  border-top: 3px solid var(--secondary);
  animation: fadeIn 0.3s ease;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a:hover {
  background: #f8f8f8;
  color: var(--secondary) !important;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background: transparent;
    animation: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-col:first-child {
  align-items: center;
  text-align: center;
}

.footer-col:last-child i {
  color: var(--accent);
  min-width: 20px;
  margin-top: 4px;
}

.footer-col ul {
  padding: 0;
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Floating Buttons */
.floating-btn-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
}

.whatsapp-btn {
  background-color: #25d366;
}

.call-btn {
  background-color: var(--primary);
}

.floating-btn:hover {
  transform: scale(1.1);
  color: white;
}

/* Stats Counter Section */
.stats-section {
  background: var(--primary);
  padding: 80px 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Hero Section Layout */
.hero {
  background: url('src/assets/new header.png') no-repeat right center;
  background-size: cover;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-left: 4%;
  margin-right: auto;
  max-width: 500px;
}

.hero-content-left {
  color: white;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-block;
  background-color: #0b223f;
  border: 1px solid #14355e;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #e0e0e0;
}

.hero-content-left h1 {
  font-size: 4rem;
  line-height: 1.1;
  color: white;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-content-left h1 span {
  color: #0d6efd;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background-color: #0d6efd;
  margin-bottom: 1.5rem;
}

.hero-content-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #eeeeee;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary-blue {
  background-color: #0d6efd;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-blue:hover {
  background-color: #0b5ed7;
  color: white;
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
.btn-outline-white:hover {
  background-color: white;
  color: #010f24;
}

.hero-features {
  display: flex;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  font-size: 1.2rem;
}

.feature span {
  font-size: 0.8rem;
  color: #cccccc;
  line-height: 1.4;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: var(--primary);
  color: white;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px;
}

/* Brands Styling */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
}

.brand-logos img {
  width: 100%;
  max-height: 60px;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logos img:hover {
  transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Navbar Logo */
.logo img {
  height: 110px;
  width: auto;
  display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
  padding: 5px;
}

.mobile-menu-btn:hover {
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    background-position: 8% center !important;
  background-size: cover !important;
  min-height: 70vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .container {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .hero-content-left {
    padding: 3rem 1.5rem;
  }

  .logo img {
    height: 70px;
  }
}

/* Proud Section Responsive */
@media (max-width: 768px) {
  .proud-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center;
  }
  .proud-content h2 {
    font-size: 2rem !important;
  }
  .proud-content ul li {
    justify-content: center;
  }
}

/* Lightbox Overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 33, 71, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: 40px;
  animation: fadeIn 0.3s ease-out;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  cursor: default;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.close-lightbox:hover {
  color: var(--secondary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Update gallery items for interactivity */
/* Responsive Grid Base */
.responsive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-item {
  cursor: pointer;
}

/* ==========================================================================
   Comprehensive Responsive Styles
   ========================================================================== */

/* Max-Width Container Update */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}

/* Tablet & Mobile Grid Scaling */
@media (max-width: 992px) {
  section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Specifics (Phone & Small Tablet) */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-top .container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  /* Grid Stacking for all pages */
  .responsive-grid, 
  .service-detail .container > div,
  .proud-grid,
  .contact-section .container > div,
  .about-content .container > div,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Re-ordering alternating sections */
  .service-detail .container > div > div {
    order: unset !important;
  }

  /* Gallery Grid Update */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .gallery-item {
    height: 200px !important;
  }

  /* Typography Scaling */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .page-header {
    padding: 40px 0 !important;
  }

  /* Stats Grid to 1 column */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Footer Logo & Text alignment */
  .footer-col:first-child {
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .gallery-content .container > div {
    grid-template-columns: 1fr !important;
  }
  
  .hero-content-left {
    padding: 2rem 1rem;
    text-align: left;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}