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

/* Modern Color Palette */
:root {
  --primary: #DF1E35;          /* Base red */
  --primary-light: #FF3E56;    /* Lighter red */
  --primary-lighter: #FF7A8C;  /* Even lighter red */
  --secondary: #FFFFFF;        /* White */
  --secondary-light: #FFF0F2;  /* Very light pink */
  --accent: #FF3E56;          /* Same as primary-light */
  --accent-light: #FF7A8C;    /* Same as primary-lighter */
  --hero-bg: var(--card-bg);
  --card-bg: #ffffff;
  --card-bg-secondary: #F8FAFC;  
  --footer-bg: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --text-main: #1F2937;
  --text-secondary: #4B5563;
  --text-light: #fff;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --button-radius: 25px;     /* Standard button border radius */
}

/* Responsive Typography */
:root {
    /* Base sizes */
    --h1-size: clamp(2rem, 5vw, 4rem);
    --h2-size: clamp(1.5rem, 4vw, 2.5rem);
    --h3-size: clamp(1.25rem, 3vw, 1.75rem);
    --body-size: clamp(0.95rem, 2vw, 1.125rem);
    --small-size: clamp(0.875rem, 1.5vw, 1rem);
    
    /* Line heights */
    --line-height-normal: 1.7;
    --line-height-heading: 1.3;
}

:root {
  scroll-padding-top: 10rem; /* Adjust this value as needed */
  scroll-behavior: smooth;
}


@media (max-width: 768px) {
  :root {
    scroll-padding-top: 9rem; /* Adjusted for mobile header height */
  }
}

/* Apply responsive typography */
.hero-content h1 {
    font-size: var(--h1-size);
    line-height: var(--line-height-heading);
}

.section-title {
    font-size: var(--h2-size);
    line-height: var(--line-height-heading);
}

.value-card h3,
.featured-product-card h3,
.timeline-content h3 {
    font-size: var(--h3-size);
    line-height: var(--line-height-heading);
}

.hero-content p,
.values-description,
.timeline-content p,
.about-text,
.value-card p,
.featured-product-card p,
.product-details p,
.variant-card p,
.footer-description {
    font-size: var(--body-size);
    line-height: var(--line-height-normal);
    text-align: left;
    word-spacing: normal;
}

.footer-links,
.nav-link,
.product-subtitle,
.timeline-date {
    font-size: var(--small-size);
    text-align: left;
}

/* Reset & base */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  scroll-padding-top: 1.25rem; 
}

body { 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  line-height: 1.7; 
  color: var(--text-main);
  font-weight: 400;
  background: var(--card-bg);
  scroll-behavior: smooth;
}

/* Global text alignment */
* {
    text-align: left !important;
    text-justify: none !important;
}

/* Global text alignment */
body * {
    text-align: left;
    text-justify: none;
}

/* Heading alignments */
.intro-title,
.intro-subtitle,
.section-title,
h1, h2, h3 {
    text-align: center !important;
}

/* Regular text alignments */
p, span, div, li, a,
.sidebar-link,
.contact-btn {
    text-align: left !important;
}

/* Ensure button text stays left aligned */
button,
.button,
btn,
.view-details-btn,
.contact-btn {
    text-align: left !important;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 0.875rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-cta {
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: var(--button-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link, .nav-cta {
        font-size: 1rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        margin: 0.5rem 0;
    }

    .nav-link::after {
        display: none;
    }

    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-logo {
        z-index: 9999;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-logo-text {
        font-size: 1rem;
    }
}

/* Text Justification Styles */
.hero-content {
    text-align: justify;
}

.values-description {
    text-align: justify;
}

.timeline-content p {
    text-align: justify;
}

.about-text {
    text-align: justify;
}

.value-card p {
    text-align: justify;
}

.featured-product-card p:not(.product-subtitle) {
    text-align: justify;
}

.product-details p {
    text-align: justify;
}

.variant-card p {
    text-align: justify;
}

@media (max-width: 480px) {
    /* Revert to left alignment on very small screens for better readability */
    .hero-content p,
    .values-description,
    .timeline-content p,
    .about-text,
    .value-card p,
    .featured-product-card p:not(.product-subtitle),
    .product-details p,
    .variant-card p {
        text-align: left;
    }
}

/* Modern Hero Section */
header {
  height: 100vh;
  width: 100%;
  background: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  z-index: 1;
}

header .logo-placeholder {
  width: 480px;
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateX(5deg);
  transition: transform 0.3s ease;
}

header .logo-placeholder:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

header img { 
  max-width: 380px; 
  height: auto; 
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

/* Modern Sections */
section { 
  padding: 5rem max(3vw, 24px); 
  max-width: 1200px; 
  margin: 0 auto; 
}

.grid { 
  display: grid; 
  gap: 2rem; 
}

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

.product-card, .value-card {
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before, .value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover, .value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card:hover::before, .value-card:hover::before {
  transform: scaleX(1);
}

/* Modern Form Styling */
form { 
  display: grid; 
  gap: 1.5rem; 
  max-width: 600px;
  margin: 0 auto;
}

form input, form textarea {
  width: 100%;   padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--button-radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--card-bg);
  transition: all 0.3s ease;
  outline: none;
}

form input:focus, form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

form button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  cursor: pointer;
  border: none;
  border-radius: var(--button-radius);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

form button:hover::before {
  left: 100%;
}

form button:active {
  transform: translateY(-1px);
}

/* Form message styling */
#form-message {
    margin-top: 1rem;
}

#form-message div {
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.form-message-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* File preview styling */
.file-preview {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px dashed #ddd;
    border-radius: 5px;
    min-height: 40px;
    background-color: #f9f9f9;
}

.file-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
}

.file-preview p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Modern Footer */
.modern-footer {
  background: var(--primary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--button-radius);
  flex-shrink: 0;
}

.footer-company-name {
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 1rem;
  line-height: 1.2;
}

.footer-description {
  color: var(--text-light);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
  max-width: 350px;
}

.footer-column h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info .icon {
  font-size: 1.1rem;
  min-width: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info a {
  color: var(--text-light);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-info a:hover {
  opacity: 1;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.875rem;
  margin: 0.25rem 0;
  line-height: 1.4;
  text-align: center;
}

.footer-bottom a {
  text-decoration: underline;
  color: var(--text-light);
  transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
  opacity: 1;
}

.white-heart {
  color: #fff;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2rem;
  }

  .footer-column {
    align-items: flex-start;
  }

  .footer-logo-container {
    justify-content: flex-start;
  }

  .footer-description {
    max-width: 100%;
  }

  .contact-info p {
    justify-content: flex-start;
  }

  .footer-bottom {
    padding: 1.5rem 1.5rem;
  }

  #back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }

  /* Left align all content on mobile */
  .hero-content p,
  .values-description,
  .timeline-content p,
  .about-text,
  .value-card p,
  .featured-product-card p,
  .product-details p,
  .variant-card p,
  .footer-description,
  .timeline-content,
  .footer-links,
  .contact-info,
  .footer-column,
  .value-card,
  .product-card {
    text-align: left;
  }

  /* Only keep these elements centered */
  .section-title,
  .intro-title,
  .intro-subtitle {
    text-align: center;
  }

  /* Additional mobile text alignments */
  .footer-column h3,
  .value-card h3,
  .timeline-date,
  .product-subtitle {
    text-align: left;
  }

  /* Adjust contact info layout */
  .contact-info {
    width: 100%;
  }

  .contact-info p {
    align-items: flex-start;
  }

  .navbar {
    padding: 0 1.5rem;
    height: 64px;
  }
  
  .navbar-links {
    gap: 1.5rem;
  }
  
  .intro-header {
    margin-top: 72px;
    margin-bottom: 2rem;
  }
  
  .sidebar-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
  }
  
  .company-name {
    font-size: 14px;
    padding: 4px 8px;
  }
  
  .footer-logo-container {
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }
  
  .footer-logo {
    width: 60px;
    height: 60px;
  }
  
  .footer-company-name {
    font-size: 1.1rem;
    margin-left: 0.75rem;
  }
}

/* Additional mobile styles for smaller screens */
@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 1rem;
    }
    
    .contact-container {
        gap: 2rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.25rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

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

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

/* Staggered Animation */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }

/* Modern Hero Section Design */
.hero-section {
  margin-top: 0;
  min-height: 88vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  padding: 2rem;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  background: url('https://xindadisplay.com/wp-content/uploads/2018/08/wooden-wall-display-pharmacy-furniture-design-010-2.jpg') no-repeat center center;
  background-size: cover;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* .hero-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
} */

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  color: white;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  text-align: justify;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
  border-radius: var(--button-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 2rem;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 30, 53, 0.25);
}

.hero-btn:hover {
  transform: translateY(-3px);
}

.hero-btn.primary:hover {
  box-shadow: var(--shadow-xl);
}

.hero-btn.secondary:hover {
  background: var(--card-bg-secondary);
  border-color: var(--secondary);
}

.hero-btn span {
  transition: transform 0.3s ease;
}

.hero-btn:hover span {
  transform: translateX(5px);
}

.hero-image {
  flex: 1;
  max-width: 600px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  opacity: 0.1;
  z-index: 1;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

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

.hero-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .hero-card {
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 3rem;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    transform: none;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Modern Intro Header */
.intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 3rem;
  padding: 0 max(3vw, 24px);
}

.intro-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.intro-logo:hover {
  transform: scale(1.05) rotate(5deg);
}

.intro-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  margin-bottom: 0;
  opacity: 0.8;
}

.hero-section {
  margin-top: 0;
}

/* Modern Featured Products Section */
.featured-section {
  max-width: 1400px;
  margin: 0 auto 4rem auto;
  padding: 0 max(3vw, 24px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--primary);
  text-align: center;
  letter-spacing: -0.025em;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Featured Product Card Link Wrapper */
.featured-product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.featured-product-card-link:hover {
  text-decoration: none;
}

.featured-product-card-link:visited {
  color: inherit;
}

.featured-product-card-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 24px;
}

.featured-product-card {
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.featured-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.featured-product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

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

.featured-product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.featured-product-card:hover img {
  transform: scale(1.05);
}

.featured-product-card .content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-product-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
  line-height: 1.3;
}

.featured-product-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
  text-align: justify;
}

.featured-product-card .product-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-align: left;
}

.featured-product-card .product-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  background-color: var(--secondary-light);
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
}

.featured-product-card .product-category i {
  color: var(--primary);
  font-size: 0.9rem;
}

.featured-product-card .product-category span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Modern Services Section */
.services-section {
  max-width: 1400px;
  margin: 0 auto 4rem auto;
  padding: 0 max(3vw, 24px);
  background: var(--card-bg-secondary);
  border-radius: 32px;
  padding: 4rem max(3vw, 24px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
  transition: left 0.5s;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  left: 100%;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 60px;
  text-align: center;
}

/* Modern About Section */
.about-section {
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  padding: 0 max(3vw, 24px);
  text-align: center;
}

.about-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* Organizational Values Section */
.values-section {
  background: transparent;
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.values-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 900px;
  margin: 2rem auto 4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.value-card .header-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  text-align: left;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.value-icon {
  font-size: 2.5rem;
  margin-right: 0.75rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.value-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  display: inline-block;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: justify;
}

.values-cta {
  text-align: center;
  margin-top: 3rem;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--secondary);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.learn-more-btn span {
  transition: transform 0.3s ease;
}

.learn-more-btn:hover span {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .values-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}

/* History Section */
.history-section {
  background: transparent;
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 2rem auto;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 20px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  padding-left: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  padding-right: 3rem;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: left;
}

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

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-light);
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center !important;
}

.timeline-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: left !important;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    padding-left: 1.5rem;
    text-align: left;
  }
  
  .timeline-dot {
    left: 30px;
  }
}

/* Statistics Section */
.statistics-section {
  padding: 4rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.stat-card {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
}

.stat-number{
  text-align: center !important;
}

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

@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 1.5rem;
    min-height: auto;
  }
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-description {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .stat-number {
    margin-bottom: 0.75rem;
  }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .intro-title {
    font-size: 2.5rem;
  }
  
  .hero-overlay h1 {
    font-size: 2.8rem;
  }
  
  .featured-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1.5rem;
    height: 64px;
  }
  
  .navbar-links {
    gap: 1.5rem;
  }
  
  .intro-header {
    margin-top: 72px;
    margin-bottom: 2rem;
  }
  
  .sidebar-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
  }
  
  .company-name {
    font-size: 14px;
    padding: 4px 8px;
  }
  
  .footer-logo-container {
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
  
  }
  
  .footer-logo {
    width: 60px;
    height: 60px;
  }
  
  .footer-company-name {
    font-size: 1.1rem;
    margin-left: 0.75rem;
  }
}

/* Popup Enquiry Form */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 41, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  width: 90%;
  max-width: 500px;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
  transform: translateY(0);
}

.popup-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  color: var(--text-light);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.popup-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: transform 0.3s ease;
}

.popup-close:hover {
  transform: rotate(90deg);
}

.popup-content {
  padding: 1.5rem;
}

#enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#enquiry-form input,
#enquiry-form select,
#enquiry-form textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--button-radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#enquiry-form input:focus,
#enquiry-form select:focus,
#enquiry-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(223, 30, 53, 0.15);
}

/* Success Message Styling */
.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.success-message h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center !important;
}

.success-message p {
  color: var(--text-secondary);
  text-align: center !important;
}

.popup-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);  color: var(--text-light);
  border: none;
  border-radius: var(--button-radius);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0.5rem;
}

.popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

@media (max-width: 640px) {
  .popup-container {
    width: 95%;
  }
  
  .popup-header {
    padding: 1rem 1.25rem;
  }
  
  .popup-header h3 {
    font-size: 1.25rem;
  }
  
  .popup-content {
    padding: 1.25rem;
  }
  
  #enquiry-form input,
  #enquiry-form select,
  #enquiry-form textarea {
    padding: 0.75rem;
  }
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

#back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

#back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  #back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Reset & base */
header {
    padding-top: 80px;
}

.intro-header {
    padding-top: 80px;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    pointer-events: none; /* Let clicks pass through to specific elements */
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: 1rem;
    transition: transform 0.3s ease;
    pointer-events: auto; /* Make the button clickable */
}

.menu-toggle .capsule {
    width: 50px;
    height: 20px;
    background: url('../assets/SDH-HAMBURGER-ICON.png') no-repeat center/contain;
    transition: transform 0.3s ease;
}
  
/* When sidebar is active */
.menu-toggle.active {
    transform: rotate(90deg);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;    
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--secondary-light) 100%);
    box-shadow: var(--shadow-lg);
    z-index: 9999; /* Higher than scroll-nav to ensure it appears on top */
    transition: left 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.sidebar-logo {
    display: block;
    width: 100%;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.sidebar-logo img {
    width: 67px;
    height: 67px;
    object-fit: contain;
    margin-bottom: 0.8rem;
    background-color: white;
    border-radius: 15px;
    padding: 5px;
    float: right;
    margin-right: 1rem;
}

.company-name {
    font-weight: bold;
    font-size: 16px;
    color: white;
    padding: 8px 0;
    text-align: center !important;
    background-color: var(--primary);
    width: 100%;
    display: block;
    clear: both;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.sidebar.active {
    left: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
    padding: 1rem 1.5rem 1.5rem;
}

.sidebar-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    width: 100%;
    text-align: center;
    position: relative;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.sidebar-link:hover {
    color: var(--primary);
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sidebar-link.active {
    color: var(--secondary);
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

.sidebar-link.cta {
    color: var(--secondary);
    font-weight: 600;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    text-align: center;
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.sidebar-link.cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-lg);
}

/* Dropdown Menu Styles */
.sidebar-dropdown {
    position: relative;
    width: 100%;
}

.sidebar-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    width: 100%;
    text-align: left;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.sidebar-dropdown-toggle:hover {
    color: var(--primary);
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sidebar-dropdown-toggle.active {
    color: var(--secondary);
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

.sidebar-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.sidebar-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.sidebar-dropdown-menu {
    display: none;
    width: 100%;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sidebar-dropdown-menu.active {
    display: block;
}

.sidebar-dropdown-item {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.sidebar-dropdown-item:hover {
    color: var(--primary);
    background: var(--secondary-light);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.sidebar-dropdown-item.active {
    color: var(--secondary);
    background: var(--primary-lighter);
    box-shadow: var(--shadow-md);
}

/* Overlay with theme */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 5000; /* Just below the sidebar but above the scroll-nav */
    cursor: pointer; /* Add pointer cursor to indicate it's clickable */
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
}

/* Adjust main content for top bar */
body {
    padding-top: 64px;
}

/* Hide old navbar */
.navbar {
    display: none;
}

.section-title form button{
  border-radius: var(--button-radius);
}

/* Glassmorphism Style */
.glass-container {
    backdrop-filter: blur(5px);
    background-color: rgba(223, 30, 53, 0.314);
    box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px;
}

/* Fixed Scroll Navigation Bar */
.scroll-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Higher than sidebar overlay and back-to-top */
    padding: 26px 24px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.scroll-nav.visible {
    transform: translateY(0);
}

.scroll-nav-content {
    display: flex;
    justify-content: flex-end; /* Always align content to the right */
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.scroll-nav-content a{
  text-decoration: none;
}

.scroll-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto; /* Push to the right side */
}

.company-name-nav {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    color: white;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: right;
    margin-right: 10px;
}

.company-name-nav .top-text {
    font-size: 15px;
}

.company-name-nav .bottom-text {
    font-size: 13px;
}

.nav-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .scroll-nav-brand {
        justify-content: flex-end; /* Align to the right */
        margin-left: auto; /* Ensure it stays at the right */
    }
    
    .company-name-nav .top-text {
        font-size: 14px;
    }
    
    .company-name-nav .bottom-text {
        font-size: 12px;
    }
    
    .nav-logo {
        height: 32px;
    }
}

.icon {
  color: white !important;
  margin-right: 8px;
  font-size: 25px !important;
  vertical-align: middle;
}

/* Simplified footer for product pages */
.footer {
  background: var(--primary) !important;
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
}

.footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer .footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--button-radius);
}

.footer .footer-company-name {
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 1rem;
}

.footer p {
  color: var(--text-light);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer .footer-logo {
    width: 50px;
    height: 50px;
  }
  
  .footer .footer-company-name {
    font-size: 1rem;
  }
}


.white-heart{
  color: white !important;
}

/* Floating Social Icons */
.social-icons-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 4000;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 20px;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .social-icons-float {
        right: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Contact Page Styles */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-section {
    padding: 2rem 0;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: justify;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-form-section {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--button-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(223, 30, 53, 0.15);
}

.contact-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: var(--button-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Quick Contact Section */
.quick-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--card-bg-secondary);
    border-radius: 24px;
    margin-bottom: 4rem;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quick-contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.quick-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.quick-contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-contact-card h4 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .contact-info-section {
        width: 100%;
        text-align: center;
    }
    
    .contact-form-section {
        width: 100%;
        max-width: 500px;
        padding: 2rem;
        margin: 0 auto;
    }
    
    .quick-contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-details p{
      font-size: 0.9rem;
    }
}


.featured-product-link {
  text-decoration: none !important;
  color: inherit; /* optional: keeps the text color same as parent */
}

.featured-product-link:hover {
  text-decoration: underline !important; /* optional: prevents underline on hover */
}

.intro-title-contact {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
  line-height: var(--line-height-heading);
  position: relative;
}

.intro-title-contact::after {
  content: "";
  display: block;
  width: 60px; /* Adjust the width of the underline */
  height: 4px;  /* Thickness of the line */
  background-color: var(--primary); /* Same color as the text */
  margin: 0.5rem auto 0; /* Centered with spacing */
  border-radius: 2px; /* Optional: Rounded edges */
}

/* Add this at the very end of your style.css file */

/* Force white background on sidebar links */
body .sidebar .sidebar-nav .sidebar-link,
body .sidebar .sidebar-nav .sidebar-dropdown-toggle,
body .sidebar .sidebar-nav .sidebar-dropdown-menu .sidebar-dropdown-item {
    background: var(--card-bg) !important;
    color: var(--text-main) !important;
}

/* Keep hover styles */
body .sidebar .sidebar-nav .sidebar-link:hover,
body .sidebar .sidebar-nav .sidebar-dropdown-toggle:hover,
body .sidebar .sidebar-nav .sidebar-dropdown-menu .sidebar-dropdown-item:hover {
    background: var(--primaryt) !important;
    color: var(--accent) !important;
}

/* Preserve CTA button styling */
body .sidebar .sidebar-nav .sidebar-link.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: white !important;
}

body .sidebar .sidebar-nav .sidebar-link.cta:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    color: var(--text-main);
}