/* ============================================================
   JRKS Transportation - Main Stylesheet
   Company: JRKS Digital India Logistics LLP
   Version: 1.0
   ============================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Primary palette */
  --primary:       #0a2540;   /* Deep navy blue */
  --primary-light: #163a5f;
  --primary-dark:  #061a2e;
  --accent:        #e63946;   /* Bold red accent (matches logo) */
  --accent-dark:   #c5303c;
  --secondary:     #1d3557;   /* Rich blue */
  --highlight:     #f77f00;   /* Warm orange for CTAs */
  --highlight-dark:#d96c00;

  /* Neutrals */
  --white:         #ffffff;
  --off-white:     #f8f9fa;
  --light-gray:    #e9ecef;
  --mid-gray:      #6c757d;
  --dark-gray:     #343a40;
  --charcoal:      #212529;

  /* Typography */
  --font-primary:  'Poppins', sans-serif;
  --font-heading:  'Montserrat', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--charcoal);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* ---- Utility Classes ---- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-gray {
  background: var(--off-white);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-highlight { color: var(--highlight); }
.text-white { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--mid-gray);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 20px auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--highlight);
  color: var(--white);
  border-color: var(--highlight);
}

.btn-secondary:hover {
  background: var(--highlight-dark);
  border-color: var(--highlight-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: rgba(255,255,255,0.8);
}

.top-bar a:hover {
  color: var(--highlight);
}

.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left i {
  margin-right: 5px;
  color: var(--highlight);
}

.top-bar-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-bar-right a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

.top-bar-right a:hover {
  background: var(--accent);
  color: var(--white);
}

/* Main Header */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

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

.logo img {
  height: 55px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--mid-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  border-radius: 5px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--charcoal);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  /* Banner image placeholder */
  background: linear-gradient(135deg, rgba(10,37,64,0.92) 0%, rgba(29,53,87,0.88) 100%),
              url('../images/banner.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float-particle 15s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-particles span:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 18s; }
.hero-particles span:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 14s; }
.hero-particles span:nth-child(4) { left: 55%; animation-delay: 1s; animation-duration: 16s; }
.hero-particles span:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 13s; }
.hero-particles span:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 17s; }
.hero-particles span:nth-child(7) { left: 15%; animation-delay: 6s; animation-duration: 15s; }
.hero-particles span:nth-child(8) { left: 60%; animation-delay: 7s; animation-duration: 11s; }

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge i {
  margin-right: 8px;
  color: var(--highlight);
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--highlight);
  display: block;
}

.hero-stat .label {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   FEATURES / SERVICES STRIP
   ============================================================ */
.features-strip {
  background: var(--white);
  padding: 0;
  margin-top: -50px;
  position: relative;
  z-index: 3;
}

.features-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--accent);
}

.feature-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.feature-card:hover .icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: rotateY(180deg);
}

.feature-card h4 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 0;
}

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

.about-image {
  position: relative;
}

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

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

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.about-content .subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-content p {
  color: var(--mid-gray);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-feature i {
  color: var(--accent);
  font-size: 1.1rem;
}

.about-feature span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-card .icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(10,37,64,0.1), rgba(29,53,87,0.1));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
}

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

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

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}

.service-card .learn-more i {
  transition: var(--transition);
}

.service-card:hover .learn-more i {
  transform: translateX(5px);
}

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 60px 0;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item .icon {
  font-size: 2rem;
  color: var(--highlight);
  margin-bottom: 10px;
}

.stat-item .count {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
}

.stat-item .label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 15px;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-card .client-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-card .client-name {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-card .client-role {
  font-size: 0.85rem;
  color: var(--mid-gray);
}

.testimonial-card .stars {
  color: var(--highlight);
  margin-bottom: 15px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-outline {
  border-width: 2px;
  font-size: 1rem;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  transition: var(--transition);
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--mid-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  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), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image i {
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
}

.blog-card-image .category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 25px;
}

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

.blog-card-meta i {
  margin-right: 4px;
  color: var(--accent);
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

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

.blog-card .read-more i {
  transition: var(--transition);
}

.blog-card:hover .read-more i {
  transform: translateX(5px);
}

/* ============================================================
   BLOG SINGLE POST
   ============================================================ */
.blog-hero {
  background: linear-gradient(135deg, rgba(10,37,64,0.95), rgba(29,53,87,0.9));
  padding: 120px 0 60px;
  color: var(--white);
}

.blog-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  max-width: 800px;
  margin-bottom: 15px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.8;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--highlight);
}

.blog-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  padding: 60px 0;
}

.blog-article {
  line-height: 1.9;
}

.blog-article h2 {
  margin: 30px 0 15px;
  font-size: 1.8rem;
}

.blog-article h3 {
  margin: 25px 0 12px;
  font-size: 1.3rem;
}

.blog-article p {
  color: var(--dark-gray);
  margin-bottom: 18px;
}

.blog-article ul,
.blog-article ol {
  margin: 15px 0;
  padding-left: 25px;
}

.blog-article ul li,
.blog-article ol li {
  margin-bottom: 8px;
  color: var(--dark-gray);
  list-style: disc;
}

.blog-article ol li {
  list-style: decimal;
}

.blog-article blockquote {
  border-left: 4px solid var(--accent);
  padding: 20px 25px;
  margin: 25px 0;
  background: var(--off-white);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--dark-gray);
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
}

.sidebar-widget ul li {
  margin-bottom: 12px;
}

.sidebar-widget ul li a {
  color: var(--mid-gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget ul li a:hover {
  color: var(--accent);
}

.sidebar-widget ul li a i {
  color: var(--accent);
  font-size: 0.7rem;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-cta p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Blog Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a {
  display: inline-block;
  padding: 5px 15px;
  background: var(--off-white);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--mid-gray);
  transition: var(--transition);
}

.tag-list a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.contact-info-card .icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-info-card h4 {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--mid-gray);
  font-size: 0.95rem;
}

.contact-info-card a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

.contact-form .btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

/* Map */
.map-section {
  height: 400px;
  background: var(--light-gray);
  position: relative;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

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

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

.footer-about .logo {
  margin-bottom: 15px;
}

.footer-about .logo img {
  height: 50px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-col ul li a i {
  font-size: 0.7rem;
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================================
   WHATSAPP & BACK TO TOP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.1);
  color: var(--white);
}

@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
  color: var(--white);
}

/* ============================================================
   PAGE BANNER (Inner Pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, rgba(10,37,64,0.95), rgba(29,53,87,0.9)),
              url('../images/banner.jpg') center/cover no-repeat;
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.page-banner .breadcrumb a:hover {
  color: var(--highlight);
}

.page-banner .breadcrumb .separator {
  color: var(--highlight);
}

/* ============================================================
   ANIMATIONS (Scroll Reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero h1 { font-size: 2.5rem; }
  .hero { min-height: 75vh; }

  .features-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-content-wrapper {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 0;
    align-items: stretch;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 15px;
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero h1 { font-size: 2rem; }
  .hero { min-height: 70vh; padding-top: 30px; }
  .hero-stats { gap: 20px; }
  .hero-stat .number { font-size: 2rem; }

  .features-strip {
    margin-top: -30px;
  }

  .features-strip .container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left {
    justify-content: center;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .blog-hero h1 {
    font-size: 1.8rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .back-to-top {
    right: 85px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }

  .contact-form {
    padding: 25px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .hero h1 { font-size: 1.75rem; }
  .hero-btns { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 15px; }
  .hero-btns .btn { text-align: center; }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .logo-text { font-size: 1.1rem; }

  .testimonial-card { padding: 25px; }
}

/* ---- Print Styles ---- */
@media print {
  .top-bar,
  .main-header,
  .whatsapp-float,
  .back-to-top,
  .main-footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }
}
