/* ==================================================
   OM SURYA ENTERPRISES - Professional Stylesheet
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

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

:root {
  --primary: #0c2d4a;
  --primary-light: #1a4a6e;
  --accent: #0E8FAB;
  --accent-dark: #0a7a94;
  --warm: #e3722e;
  --warm-dark: #cc5d1a;
  --text: #4a4a4a;
  --text-light: #7a7a7a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--warm); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==================================================
   Top Bar
   ================================================== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  padding: 10px 0;
  font-size: 14px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar .contact-info span { margin-right: 24px; }
.top-bar .contact-info i { margin-right: 6px; color: var(--warm); }
.top-bar .social-links a {
  color: rgba(255,255,255,0.8);
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  margin-left: 6px;
  font-size: 13px;
  transition: var(--transition);
}
.top-bar .social-links a:hover {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
}

/* ==================================================
   Header / Navigation
   ================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 60px; width: auto; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-text span { color: var(--warm); }

nav ul { display: flex; gap: 4px; }
nav ul li a {
  padding: 8px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: var(--transition);
}
nav ul li a:hover,
nav ul li a.active { color: var(--white); background: var(--accent); }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 4px; }
.hamburger span { width: 26px; height: 3px; background: var(--primary); border-radius: 3px; transition: var(--transition); }

/* ==================================================
   Hero Slider
   ================================================== */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  background: var(--primary);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,45,74,0.85) 0%, rgba(14,143,171,0.6) 100%);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--warm);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: var(--transition);
}
.hero-btn:hover { background: var(--warm-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227,114,46,0.4); }

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dots button.active { background: var(--warm); border-color: var(--warm); }

/* ==================================================
   Quick Cards (after hero)
   ================================================== */
.quick-cards {
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding-bottom: 60px;
}
.quick-cards .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.quick-card:nth-child(2) { border-top-color: var(--warm); }
.quick-card:nth-child(3) { border-top-color: var(--primary); }
.quick-card .icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(14,143,171,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--accent);
}
.quick-card:nth-child(2) .icon { background: rgba(227,114,46,0.1); color: var(--warm); }
.quick-card:nth-child(3) .icon { background: rgba(12,45,74,0.1); color: var(--primary); }
.quick-card h3 { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.quick-card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.quick-card .read-more { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ==================================================
   Section Common
   ================================================== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header .divider {
  width: 60px; height: 4px;
  background: var(--warm);
  margin: 0 auto 16px;
  border-radius: 2px;
}
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* ==================================================
   About Section
   ================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  margin-top: 24px;
}
.about-content h4:first-child { margin-top: 0; }
.about-content p { margin-bottom: 12px; color: var(--text); }
.about-content ul { margin-bottom: 16px; padding-left: 20px; }
.about-content ul li { position: relative; padding-left: 20px; margin-bottom: 4px; font-size: 15px; }
.about-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat-card:nth-child(2) { border-left-color: var(--warm); }
.stat-card:nth-child(3) { border-left-color: var(--primary); }
.stat-card:nth-child(4) { border-left-color: #2ecc71; }
.stat-card .number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat-card .label { font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }

/* ==================================================
   Services Section
   ================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(14,143,171,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
  color: var(--accent);
}
.service-card h3 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; }
.service-card p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.service-card .read-more { font-size: 12px; font-weight: 600; color: var(--warm); }

.service-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 12px;
}
.service-detail h4 { font-size: 16px; font-weight: 600; color: var(--accent); margin-bottom: 10px; margin-top: 20px; }
.service-detail p { margin-bottom: 10px; }
.service-detail .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.service-detail .detail-grid li { padding-left: 20px; position: relative; font-size: 14px; margin-bottom: 4px; }
.service-detail .detail-grid li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.service-images { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.service-images img { height: 120px; width: auto; border-radius: 8px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* ==================================================
   Testimonials / Stats
   ================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0;
  color: #fff;
}
.stats-section .section-header h2 { color: #fff; }
.stats-section .section-header .divider { background: var(--warm); }
.stats-section .section-header p { color: rgba(255,255,255,0.7); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-item { padding: 24px; }
.stats-item .number { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: var(--warm); line-height: 1.2; margin-bottom: 4px; }
.stats-item .label { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* ==================================================
   Contact Section
   ================================================== */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,143,171,0.1); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form .form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--primary); }
.contact-form .submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-form .submit-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,143,171,0.3); }

.contact-info-box { padding: 32px; background: var(--bg-light); border-radius: var(--radius); }
.contact-info-box h4 { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.contact-info-box .info-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-info-box .info-item i {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(14,143,171,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
}
.contact-info-box .info-item span { font-size: 14px; color: var(--text); }

.map-container { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 350px; border: 0; display: block; }

/* ==================================================
   Footer
   ================================================== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 24px;
}
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer p { font-size: 14px; }
footer a { color: rgba(255,255,255,0.8); }
footer a:hover { color: var(--warm); }
footer .go-top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
}
footer .go-top:hover { background: var(--warm); color: #fff; }

/* ==================================================
   Responsive
   ================================================== */
@media (max-width: 992px) {
  .quick-cards .container { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: var(--shadow); padding: 16px; }
  nav.open ul { flex-direction: column; gap: 0; }
  nav.open ul li a { display: block; padding: 12px 16px; border-radius: 0; border-bottom: 1px solid var(--bg-light); }
  .hamburger { display: flex; }
  .hero-slider { height: 60vh; min-height: 400px; }
  .quick-cards { margin-top: -40px; }
  .section { padding: 48px 0; }
  .top-bar .container { flex-direction: column; text-align: center; }
  .top-bar .contact-info span { margin: 0 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-slider { height: 50vh; min-height: 350px; }
  .about-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { padding: 24px; }
  .stat-card .number { font-size: 28px; }
  .stats-item .number { font-size: 32px; }
}
