/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES & GENERAL STYLES ===== */
:root {
  --primary-color: #ff385c; 
  --secondary-color: #0f172a; 
  --accent-color: #3b82f6; 
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden; /* Fix horizontal scroll */
}

.container { overflow: hidden; } /* Ensure children don't bleed out */

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

/* ... (previous styles) ... */

/* gurugram map fix */
.map-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.text-white { color: #fff !important; }

.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 8px;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== HEADER & NAVBAR ===== */
.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}
.top-bar a { color: rgba(255,255,255,0.8); margin-right: 20px; }
.top-bar a:hover { color: var(--primary-color); }

.navbar {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar-brand { font-size: 1.6rem; letter-spacing: -0.5px; }

.navbar .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 8px 18px !important;
  transition: var(--transition);
}
.navbar .nav-link:hover { color: var(--primary-color) !important; }

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.8) 100%), url("../images/ac-rental.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-content h1 { font-size: 3.8rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.25rem; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 650px; }

/* ===== SECTION HEADINGS ===== */
.section-heading { margin-bottom: 4rem; text-align: center; }
.section-heading h2 { font-weight: 700; color: var(--secondary-color); position: relative; padding-bottom: 15px; }
.section-heading h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 70px; height: 4px; background: var(--primary-color); border-radius: 2px;
}

/* ===== CATEGORY & SERVICE CARDS ===== */
.category-card, .service-card, .feature-box {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 0;
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
}

.category-card:hover, .service-card:hover, .feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--primary-color);
}

.card-img-wrapper { background: var(--bg-light); padding: 40px; text-align: center; }
.card-img-wrapper img { max-height: 180px; object-fit: contain; }

.category-card .card-body, .service-card, .feature-box { padding: 2.5rem !important; }

.price-tag {
  display: inline-block;
  background: rgba(255, 56, 92, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.feature-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.feature-list li { margin-bottom: 12px; color: var(--text-light); font-size: 0.95rem; display: flex; align-items: center; }
.feature-list li i { color: var(--success-color); margin-right: 12px; font-size: 1rem; }

/* Service & Feature Icons */
.service-icon, .feature-icon {
  width: 60px; height: 60px;
  background: rgba(255, 56, 92, 0.1);
  color: var(--primary-color);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.testimonial-card .avatar {
  width: 70px; height: 70px; background: var(--primary-color); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 1.5rem;
}

/* ===== FOOTER ===== */
footer { background: var(--secondary-color); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
footer h4 { color: #fff; font-weight: 600; margin-bottom: 1.5rem; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--primary-color); }

/* ===== BRAND LOGOS SECTION ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}
.brand-grid img { max-width: 120px; transition: var(--transition); }
.brand-grid img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* ===== PRODUCT CARDS (READY TO INSTALL) ===== */
.product-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.product-img { background: #f1f5f9; padding: 30px; position: relative; }
.product-img img { width: 100%; height: 180px; object-fit: contain; }
.badge-tag {
  position: absolute; top: 15px; right: 15px;
  background: var(--primary-color); color: #fff;
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  z-index: 5;
}

.filter-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

/* Responsive tweaks */


.product-details { padding: 25px; }

/* ===== RENTAL PLANS (PRICING) ===== */
.plan-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}
.plan-card.popular {
  border: 2.5px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
}
.plan-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--primary-color); color: #fff;
  padding: 4px 15px; border-radius: 50px; font-size: 0.7rem; font-weight: 700;
}
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--secondary-color); margin: 20px 0; }
.plan-price span { font-size: 1rem; color: var(--text-light); font-weight: 400; }

/* Utility for Section Background */
.bg-gradient-light {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

/* ===== FEATURE RIBBON ===== */
.feature-ribbon {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ribbon-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 56, 92, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.ribbon-text h6 { margin: 0; font-weight: 700; color: var(--secondary-color); }
.ribbon-text p { margin: 0; font-size: 0.8rem; color: var(--text-light); }

/* ===== COMPACT STEPS ===== */
.step-item { text-align: center; position: relative; }
.step-number {
  width: 40px; height: 40px; background: var(--primary-color); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(255, 56, 92, 0.4);
}
.step-item h5 { font-weight: 700; margin-bottom: 10px; }

/* Product Slider Nav */
.owl-nav button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: #fff !important;
  border-radius: 50% !important; box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
  color: var(--primary-color) !important; transition: var(--transition) !important;
}
.owl-nav button.owl-prev { left: -20px; }
.owl-nav button.owl-next { right: -20px; }
.owl-nav button:hover { background: var(--primary-color) !important; color: #fff !important; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url("../images/ac-rental.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #fff;
}
.cta-section h2 { font-size: 2.5rem; font-weight: 700; }
.cta-section .btn-outline-light { border-width: 2px; padding: 12px 30px; border-radius: 50px; }
.cta-section .btn-outline-light:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* ===== FOOTER ===== */
.footer-main { background: var(--secondary-color); color: rgba(255,255,255,0.6); padding-top: 80px; }
.footer-brand { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 25px; display: block; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--primary-color); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.social-links a { 
  width: 38px; height: 38px; background: rgba(255,255,255,0.05); color: #fff; 
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  margin-right: 10px; transition: var(--transition);
}
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }

/* ===== PAGE HEADERS ===== */
.page-header {
  padding: 100px 0 60px;
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url("../images/ac-on-rent.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.breadcrumb { background: transparent; padding: 0; justify-content: center; }
.breadcrumb-item + .breadcrumb-item::before { content: "•"; color: rgba(255,255,255,0.5); }
.breadcrumb-item a { color: var(--primary-color); font-weight: 600; }
.breadcrumb-item.active { color: #fff; }

/* Refined AC Card for Listing */
.ac-listing-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.ac-listing-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.ac-listing-card .img-box { background: #f8fafc; padding: 40px; text-align: center; position: relative; }
.ac-listing-card img { max-height: 160px; object-fit: contain; }
.ac-listing-card .content-box { padding: 25px; }
.ac-listing-card .specs { display: flex; gap: 15px; margin-bottom: 15px; }
.ac-listing-card .spec-item { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.ac-listing-card .spec-item i { color: var(--primary-color); }

/* Team Card Modern */
.team-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 40px 20px;
  transition: var(--transition);
}
.team-card:hover { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.team-card img { width: 120px; height: 120px; object-fit: cover; border: 4px solid #f8fafc; }

/* Counter Badges Refined */
.stats-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.stats-card:hover { border-color: var(--primary-color); }

/* Contact Page Refined */
.contact-info-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 30px;
  transition: var(--transition);
  height: 100%;
}
.contact-info-card:hover { border-color: var(--primary-color); }
.contact-icon-box {
  width: 54px; height: 54px; background: rgba(255, 56, 92, 0.1);
  color: var(--primary-color); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}

.contact-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.form-control, .form-select {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: #f8fafc;
  font-size: 0.95rem;
}
.form-control:focus {
  border-color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 56, 92, 0.1);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .ribbon-item { margin-bottom: 20px; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}
