/* ============================================
   RION Foam & Mattresses - Global Stylesheet
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary: #F58220;
  --primary-dark: #d96f10;
  --primary-light: #ffaa5c;
  --secondary: #8DC63F;
  --secondary-dark: #6fa830;
  --secondary-light: #a8d96a;
  --dark: #1a1a2e;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f7f7f7;
  --border-gray: #e0e0e0;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 8px 30px rgba(245,130,32,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-gray);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================
   HEADER / NAVBAR 
   ================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-gray);
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(245,130,32,0.08);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245,130,32,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==================
   HERO SLIDER 
   ================== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 80px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 100%);
}

.slide:nth-child(1) .slide-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.slide:nth-child(2) .slide-bg {
  background: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
}

.slide:nth-child(3) .slide-bg {
  background: linear-gradient(135deg, #F58220 0%, #d96f10 50%, #1a1a2e 100%);
}

.slide:nth-child(4) .slide-bg {
  background: linear-gradient(135deg, #0f3460 0%, #8DC63F 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  color: var(--white);
}

.slide-content .subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary-light);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(141,198,63,0.4);
  border-radius: 50px;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slide-content h1 span {
  color: var(--primary-light);
}

.slide-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 550px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.slide-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.slider-dot.active {
  background: var(--primary);
  border-color: var(--white);
  transform: scale(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: white;
  font-size: 1.2rem;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* ==================
   BUTTONS 
   ================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: capitalize;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245,130,32,0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(141,198,63,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark-gray);
  border-color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ==================
   SECTIONS 
   ================== */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--light-gray);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(245,130,32,0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

/* ==================
   FEATURE CARDS 
   ================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,130,32,0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(245,130,32,0.1), rgba(141,198,63,0.1));
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ==================
   PRODUCT CARDS 
   ================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-gray);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 240px;
  background: linear-gradient(135deg, #f7f7f7, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245,130,32,0.08) 0%, transparent 70%);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 14px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.product-info p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-info .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ==================
   ABOUT / STATS 
   ================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
  position: relative;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--secondary);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content h2 span {
  color: var(--primary);
}

.about-content p {
  color: var(--medium-gray);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--medium-gray);
  font-weight: 500;
}

/* ==================
   TESTIMONIALS 
   ================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--border-gray);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(245,130,32,0.1);
  font-family: 'Playfair Display', serif;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.star-rating {
  color: #ffc107;
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ==================
   CTA SECTION 
   ================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================
   PAGE HERO / BANNER 
   ================== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,130,32,0.15) 0%, transparent 70%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(141,198,63,0.1) 0%, transparent 70%);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero h1 span {
  color: var(--primary);
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--primary-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  opacity: 0.6;
}

/* ==================
   CONTACT FORM 
   ================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,130,32,0.1), rgba(141,198,63,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  border: 2px solid var(--border-gray);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--light-gray);
  color: var(--dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,130,32,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ==================
   PROFILE SECTION 
   ================== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 0 30px 40px;
  width: 50%;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  margin-left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245,130,32,0.2);
}

.timeline-item:nth-child(even)::after {
  left: -8px;
  right: auto;
}

.timeline-content {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 400px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  height: 220px;
  background: linear-gradient(135deg, rgba(245,130,32,0.2), rgba(141,198,63,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-info span {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.team-info p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  margin-top: 12px;
  line-height: 1.6;
}

/* ==================
   FOOTER 
   ================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-weight: bold;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-contact .icon {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ==================
   ANIMATIONS 
   ================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==================
   MAP 
   ================== */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================
   CERTIFICATIONS 
   ================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-gray);
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.cert-card .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.cert-card h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

/* ==================
   RESPONSIVE 
   ================== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slide-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    gap: 0;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-gray);
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 20px;
    text-align: center;
    border-radius: 50px !important;
  }

  .hero-slider {
    height: 85vh;
    min-height: 500px;
  }

  .slide-content {
    padding: 0 24px;
  }

  .slide-content h1 {
    font-size: 2.2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow.prev { left: 15px; }
  .slider-arrow.next { right: 15px; }

  .section {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-placeholder {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 12px;
    right: auto;
  }

  .timeline-content {
    max-width: 100%;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-container { height: 70px; }
  .logo img { height: 45px; }
  .hero-slider { margin-top: 70px; }
  
  .slide-content h1 { font-size: 1.8rem; }
  .slide-content .subtitle { font-size: 0.75rem; }
  
  .section-header h2 { font-size: 1.8rem; }
  
  .slide-buttons {
    flex-direction: column;
  }
  
  .slide-buttons .btn {
    text-align: center;
    justify-content: center;
  }
  
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .stat-number { font-size: 2rem; }
  
  .contact-form {
    padding: 24px;
  }
}

/* ==================
   UTILITY CLASSES 
   ================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }

/* WhatsApp Float Button */
.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: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  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 */
.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: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}
