/* ===== SEMMATHI & CO - PROFESSIONAL WEBSITE CSS ===== */
:root {
  --primary: #0f5e40;
  --primary-dark: #0a3d29;
  --secondary: #f5a623;
  --light: #f5f7f5;
  --dark: #1a1a1a;
  --text: #333;
  --border: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: #fff; }
a { text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

/* TOPBAR */
.topbar { background: var(--primary-dark); color: #bbb; font-size: 13px; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; }
.topbar a { color: #bbb; margin-left: 12px; transition: color 0.2s; }
.topbar a:hover { color: #fff; }

/* HEADER */
header { background: #fff; border-bottom: 3px solid var(--primary); box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 999; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 62px; object-fit: contain; }
.site-title h1 { font-size: 22px; color: var(--primary); font-weight: 800; }
.site-title p { font-size: 12px; color: #888; }

/* NAV */
nav ul { display: flex; gap: 4px; }
nav ul li a { display: block; padding: 9px 16px; color: var(--text); font-weight: 600; font-size: 14px; border-radius: 5px; transition: all 0.2s; }
nav ul li a:hover, nav ul li a.active { background: var(--primary); color: #fff; }
.hamburger { display: none; cursor: pointer; font-size: 26px; color: var(--primary); background: none; border: none; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #1a8a5c 55%, var(--primary-dark) 100%); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -100px; top: -100px; width: 450px; height: 450px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.hero h2 { font-size: 44px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero h2 span { color: var(--secondary); }
.hero p { font-size: 18px; margin-bottom: 32px; opacity: 0.9; max-width: 580px; line-height: 1.7; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary { background: var(--secondary); color: #111; padding: 14px 32px; border-radius: 30px; font-weight: 700; font-size: 15px; transition: all 0.3s; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { background: #e09410; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.25); color: #111; }
.btn-outline { border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: 700; font-size: 15px; transition: all 0.3s; display: inline-block; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-green { background: var(--primary); color: #fff; padding: 13px 30px; border-radius: 30px; font-weight: 700; font-size: 14px; transition: all 0.3s; display: inline-block; border: none; cursor: pointer; }
.btn-green:hover { background: var(--primary-dark); }

/* HIGHLIGHTS STRIP */
.highlights { background: var(--secondary); padding: 16px 0; }
.highlights-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; }
.highlight-item { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #111; }
.highlight-item .hi { font-size: 18px; }

/* GENERAL SECTION */
section { padding: 70px 0; }
section.bg-light { background: var(--light); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: var(--primary); font-weight: 800; margin-bottom: 10px; }
.section-title p { color: #777; font-size: 16px; }
.section-title .underline { width: 60px; height: 4px; background: var(--secondary); margin: 12px auto 0; border-radius: 2px; }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* SERVICE CARD */
.service-card { background: #fff; border-radius: 12px; padding: 30px 22px; text-align: center; box-shadow: 0 3px 18px rgba(0,0,0,0.07); transition: all 0.3s; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 12px 35px rgba(0,0,0,0.13); border-top-color: var(--secondary); }
.service-icon { font-size: 50px; margin-bottom: 15px; }
.service-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.service-card p { color: #666; font-size: 14px; line-height: 1.7; }

/* PRODUCT CARD */
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 16px rgba(0,0,0,0.08); transition: all 0.3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.14); }
.product-img { height: 200px; overflow: hidden; background: #f0f4f0; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img .no-img { font-size: 65px; }
.product-info { padding: 16px; }
.product-cat-badge { display: inline-block; font-size: 11px; text-transform: uppercase; color: #fff; background: var(--secondary); padding: 3px 9px; border-radius: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
.product-info h3 { font-size: 17px; color: var(--dark); margin-bottom: 7px; }
.product-info p { color: #666; font-size: 13px; line-height: 1.6; }
.enquire-btn { display: block; margin: 12px 16px 16px; padding: 10px; background: var(--primary); color: #fff; text-align: center; border-radius: 6px; font-size: 13px; font-weight: 700; transition: background 0.2s; }
.enquire-btn:hover { background: var(--primary-dark); color: #fff; }

/* TABS */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 35px; }
.tab-btn { padding: 9px 24px; border: 2px solid var(--primary); background: #fff; color: var(--primary); border-radius: 25px; cursor: pointer; font-weight: 700; font-size: 14px; transition: all 0.2s; }
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; }

/* WHY US */
.why-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.why-icon-box { width: 52px; height: 52px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.why-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 5px; font-weight: 700; }
.why-item p { color: #666; font-size: 14px; line-height: 1.6; }

/* STATS */
.stats-section { background: var(--primary); color: #fff; padding: 55px 0; }
.stat-box { text-align: center; padding: 20px; }
.stat-box h3 { font-size: 50px; font-weight: 800; color: var(--secondary); line-height: 1; }
.stat-box p { font-size: 14px; opacity: 0.9; margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

/* CONTACT */
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.ci-icon { font-size: 24px; color: var(--secondary); }
.ci-text strong { display: block; color: var(--dark); font-size: 14px; margin-bottom: 2px; }
.ci-text p, .ci-text a { color: #666; font-size: 14px; line-height: 1.6; }
.ci-text a:hover { color: var(--primary); }
.contact-box { background: #fff; border-radius: 12px; padding: 35px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* FORM */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #555; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px; font-size: 14px; font-family: inherit; transition: border 0.2s; background: #fff; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,94,64,0.1); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit { background: var(--primary); color: #fff; border: none; padding: 13px 35px; border-radius: 30px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.3s; width: 100%; }
.btn-submit:hover { background: var(--primary-dark); }

/* ALERT */
.alert { padding: 13px 18px; border-radius: 7px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* PAGE BANNER */
.page-banner { background: linear-gradient(135deg, var(--primary), #1a8a5c); padding: 50px 0; color: #fff; text-align: center; }
.page-banner h2 { font-size: 34px; font-weight: 800; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; margin-top: 10px; opacity: 0.85; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--secondary); }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { overflow: hidden; border-radius: 10px; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ABOUT */
.about-img img { border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.about-text h2 { font-size: 30px; color: var(--primary); font-weight: 800; margin-bottom: 15px; }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 15px; }
.check-list { margin-top: 15px; }
.check-list li { padding: 6px 0; color: #444; font-size: 15px; }
.check-list li::before { content: '✅ '; }

/* FOOTER */
footer { background: #0d1a14; color: #aaa; }
.footer-top { padding: 55px 0 35px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 55px; margin-bottom: 15px; filter: brightness(10); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 15px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-col ul li::before { content: '▸ '; color: var(--secondary); }
.footer-bottom { border-top: 1px solid #1e2e26; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom a { color: var(--secondary); }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: #25d366; color: #fff; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.3); transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.12); color: #fff; }
.whatsapp-float .tooltip { position: absolute; right: 70px; background: #111; color: #fff; padding: 6px 12px; border-radius: 5px; font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.whatsapp-float:hover .tooltip { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero h2 { font-size: 32px; }
}
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 15px 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); z-index: 1000; }
  nav ul.open { display: flex; }
  .hamburger { display: block; }
  .header-inner { position: relative; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .highlights-inner { gap: 14px; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0; }
  .hero h2 { font-size: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
