/* 
  =========================================
  Rishabh Polyhouse Private Limited - Style
  =========================================
  Brand Colors:
  - Primary: #11104B (Deep Royal Navy)
  - Secondary: #1D2E6E
  - Accent: #3E7CB1
  - Background: #F8F9FC
  - Text: #222222
  - White: #FFFFFF
  =========================================
*/

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

:root {
  --primary: #11104B;
  --secondary: #1D2E6E;
  --accent: #3E7CB1;
  --bg-light: #F8F9FC;
  --text-dark: #222222;
  --text-gray: #555555;
  --text-light: #A5B1D2;
  --white: #FFFFFF;
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 8px 32px 0 rgba(17, 16, 75, 0.06);
  --nav-glass: rgba(17, 16, 75, 0.85);

  --font-family: 'Poppins', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 1.5rem;
}

/* Premium Heading Underline decoration */
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Layout Utilities */
.section {
  padding: 80px 0;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(17, 16, 75, 0.2);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 16, 75, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(62, 124, 177, 0.2);
}

.btn-accent:hover {
  background-color: #2b6190;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(62, 124, 177, 0.3);
}

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

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

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

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

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 24px 0;
}

.header.scrolled {
  background-color: var(--primary);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

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

.logo-img {
  height: 42px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  background-color: var(--white);
  padding: 2px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(62, 124, 177, 0.3);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-subtext {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--white);
  font-weight: 600;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Sidebar Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--primary);
  z-index: 1001;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.drawer-close svg {
  width: 28px;
  height: 28px;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link.active {
  color: var(--white);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 20%, #17165a 0%, #11104b 90%);
  color: var(--white);
  padding: 160px 0 100px 0;
  overflow: hidden;
}

/* Grid lines background overlay for extra technical texture */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

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

.hero-content {
  max-width: 650px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62, 124, 177, 0.15);
  border: 1px solid rgba(62, 124, 177, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #72B1E6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: slideUp 0.8s ease forwards;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: slideUp 0.8s ease forwards;
}

.text-gradient {
  background: linear-gradient(135deg, #78b8eb 0%, #3e7cb1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  animation: slideUp 0.8s ease 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  animation: slideUp 0.8s ease 0.4s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-features {
  display: flex;
  gap: 24px;
  animation: slideUp 0.8s ease 0.5s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero-feature-item svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

/* Hero Showcase visual */
.hero-showcase {
  position: relative;
  animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
  z-index: 2;
}

.hero-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.hero-image-container img {
  width: 100%;
  border-radius: var(--border-radius-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-floating-stat {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background: rgba(17, 16, 75, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.stat-icon-wrap {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.stat-text-wrap span {
  display: block;
}

.stat-text-val {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.1;
}

.stat-text-lbl {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Page Banner */
.page-banner {
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 80px;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17, 16, 75, 0.95) 0%, rgba(62, 124, 177, 0.8) 100%);
  z-index: 1;
}

.page-banner-content {
  z-index: 2;
  position: relative;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  font-size: 0.95rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  margin: 0 8px;
}

/* Section Intro Headers */
.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-block;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--glass-shadow);
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(17, 16, 75, 0.1);
  border-color: rgba(62, 124, 177, 0.4);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(62, 124, 177, 0.1), rgba(29, 46, 110, 0.1));
  border-radius: 12px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

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

/* Why Choose Us & Industries Card Styling */
.icon-card {
  padding: 40px 30px;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

/* Products Cards */
.product-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(17, 16, 75, 0.1);
  border-color: rgba(62, 124, 177, 0.25);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-meta-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.product-meta-list {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.product-meta-list li {
  margin-bottom: 4px;
  position: relative;
  padding-left: 14px;
}

.product-meta-list li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Category Filtering System */
.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: var(--white);
  color: var(--secondary);
  border: 1px solid rgba(29, 46, 110, 0.15);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.tab-btn:hover {
  background-color: rgba(62, 124, 177, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(17, 16, 75, 0.2);
}

/* Timeline Layout (Trust timeline) */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  top: 0;
  border-radius: 2px;
}

.timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background-color: var(--accent);
  border: 4px solid var(--white);
  border-radius: 50%;
  position: absolute;
  top: 25px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0,0,0,0.02);
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Services Offered & Service Process Flow */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  position: relative;
}

.process-item {
  text-align: center;
  position: relative;
}

.process-step {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  box-shadow: 0 4px 15px rgba(29, 46, 110, 0.2);
  border: 4px solid var(--white);
  position: relative;
  z-index: 2;
}

.process-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  z-index: 1;
}

.process-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.process-item p {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* CTA Banner styling */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1e1b7d 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.cta-section h2::after {
  display: none;
}

.cta-section p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/* Contact Info Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-card-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(62, 124, 177, 0.1);
  border-radius: 10px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

.contact-details p, .contact-details a {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

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

.map-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  height: 450px;
}

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

/* Privacy Policy Layout */
.policy-box {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.policy-box section {
  margin-bottom: 30px;
}

.policy-box section:last-child {
  margin-bottom: 0;
}

.policy-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.policy-box h2::after {
  width: 40px;
  height: 3px;
}

.policy-box p, .policy-box li {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.policy-box ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1rem;
}

.policy-box li {
  margin-bottom: 8px;
}

/* Footer styling */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--accent);
}

.footer-top {
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
  color: var(--text-light);
  margin-top: 15px;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-contact svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  color: var(--text-light);
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s ease;
}

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

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(62, 124, 177, 0.3);
}

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

#back-to-top:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

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

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Dynamic grid layouts and items stagger */
.stagger-item {
  opacity: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.75rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-floating-stat {
    left: 20px;
    bottom: -15px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 15px;
  }
  .process-item:nth-child(3)::after {
    display: none;
  }
  .process-item::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .header {
    padding: 16px 0;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn {
    width: 100%;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    height: 350px;
  }
  .footer {
    padding: 60px 0 20px 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}
