/* Nambiar Associates SPRL - Modern Static Site */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --dark: #1d1d1d;
  --dark-bg: #212121;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.5rem); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

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

/* Header / Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-icon {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-left: 12px;
}

.logo-text .company-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.logo-text .tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  padding: 10px 18px;
  font-weight: 500;
  color: var(--dark);
  border-radius: 8px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

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

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  max-width: 500px;
  line-height: 1.8;
}

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

.hero-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #1a1a2e 0%, transparent 30%, transparent 70%, rgba(15,52,96,0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, #16213e 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item h3 {
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* About Preview */
.about-preview {
  padding: 100px 0;
  background: var(--white);
}

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

.about-text h2 { margin-bottom: 20px; }
.about-text h2 span { color: var(--primary); }

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.about-image {
  position: relative;
}

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

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge h3 {
  color: var(--white);
  font-size: 2.5rem;
}

.about-badge p {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-card h3 { margin-bottom: 15px; }

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Why Choose Us */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-item {
  text-align: center;
  padding: 40px 25px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-item:hover {
  background: var(--light-bg);
}

.why-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.why-item h3 { margin-bottom: 10px; font-size: 1.15rem; }

.why-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Products Page */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 15px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

.products-intro {
  padding: 80px 0;
  text-align: center;
}

.products-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  padding: 0 0 100px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card-content {
  padding: 30px;
}

.product-card h3 {
  margin-bottom: 12px;
  color: var(--dark);
}

.product-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-box h3 {
  color: var(--primary);
  font-size: 3rem;
  font-weight: 800;
}

.stat-box p {
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  font-size: 1rem;
}

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

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

.contact-info-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: var(--radius);
}

.contact-info-card h3 {
  margin-bottom: 30px;
  color: var(--dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 5px; font-size: 1rem; }
.contact-item p { color: var(--gray); font-size: 0.95rem; }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

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

/* About Page */
.about-full {
  padding: 80px 0;
}

.about-full-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-full-content h2 {
  margin-bottom: 20px;
}

.about-full-content h2 span { color: var(--primary); }

.about-full-content p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.why-us-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.why-us-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-us-item:hover {
  background: rgba(230, 57, 70, 0.08);
}

.why-us-check {
  width: 35px;
  height: 35px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Blog Page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 0 0 100px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.blog-card-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--gray);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover { gap: 10px; }

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 80px 0 0;
}

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

.footer-brand h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact-item span:first-child {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin: 0 auto 35px; }
  .hero-buttons { justify-content: center; }
  .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100%;
    opacity: 0.3;
    z-index: 0;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    align-items: flex-start;
    gap: 5px;
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    width: 100%;
    padding: 12px 18px;
    font-size: 1.05rem;
  }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item h3 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-box h3 { font-size: 2rem; }
  .logo-text .tagline { display: none; }
  .logo-text .company-name { font-size: 0.95rem; }
  .logo-icon { height: 40px !important; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* Map */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
