/* BRAC India - Bellary Refrigeration and Air Conditioning */
:root {
  --blue: #1a4fa3;
  --blue-dark: #0f3470;
  --green: #2d7a3e;
  --green-light: #3a9b4f;
  --black: #1a1a1a;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-400: #a1a1aa;
  --gray-600: #52525b;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --max-width: 1200px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green);
}

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-link img {
  height: 64px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: var(--gray-100);
  color: var(--blue);
}

.header-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  font-weight: 600;
}

.header-cta:hover {
  background: var(--green-light);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--black);
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, #f0f6ff 50%, #f0faf2 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 79, 163, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 79, 163, 0.3);
}

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

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--blue);
  font-weight: 800;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--blue-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* Brands */
.brands-section {
  background: var(--gray-50);
}

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

.brand-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.brand-card img {
  height: 60px;
  width: auto;
  margin: 0 auto 20px;
  object-fit: contain;
}

.brand-card h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.brand-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--gray-50);
  padding: 12px;
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.tonnage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--gray-100);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Features */
.features-section {
  background: var(--white);
}

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

.feature-card {
  text-align: center;
  padding: 32px 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: var(--green);
  box-shadow: 0 4px 16px rgba(45, 122, 62, 0.4);
}

.cta-banner .btn-primary:hover {
  background: var(--green-light);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--white) 0%, #f0f6ff 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  margin-top: 24px;
}

.about-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-600);
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Brand Detail */
.brand-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.brand-detail:last-child {
  border-bottom: none;
}

.brand-detail.reverse {
  direction: rtl;
}

.brand-detail.reverse > * {
  direction: ltr;
}

.brand-detail img.product-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--gray-50);
  padding: 16px;
}

.brand-logo-lg {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left;
}

.brand-detail h2 {
  font-size: 1.8rem;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.brand-detail p {
  color: var(--gray-600);
  margin-bottom: 12px;
}

.brand-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.contact-info-card h3 {
  color: var(--blue-dark);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 72px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Map placeholder */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid var(--gray-200);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: none;
}

/* Form specific classes */
.form-heading {
  color: var(--blue-dark);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.btn-submit {
  width: 100%;
  justify-content: center;
}

/* Reusable section and card utilities */
.section-bg-alt {
  background: var(--gray-50);
}

.section-tonnage-guide {
  background: var(--gray-50);
  padding: 60px 0;
}

.card-white {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.card-padded {
  padding: 32px 20px;
}

.text-center-mt {
  text-align: center;
  margin-top: 40px;
}

.product-brands-tag {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}

.tonnage-guide-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .brand-detail {
    grid-template-columns: 1fr;
  }

  .brand-detail.reverse { direction: ltr; }

  .products-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}
