@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-color: #ffffff;
  --surface-color: #f8fafc;
  --surface-color-light: #a6c0d5; /* Updated */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent-color: #16165d; /* Updated */
  --accent-hover: #0d0d38;
  --accent-light: rgba(22, 22, 93, 0.1);
  --border-color: rgba(0, 0, 0, 0.08);
  --primary-color: #16165d;
  --secondary-color: #a6c0d5;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

/* Inner Page Banner */
.inner-banner {
  background-color: #274546;
  background-image: linear-gradient(135deg, rgba(39, 69, 70, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1600607686527-6fb886090705?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 13rem 0 6rem 0;
  text-align: center;
  color: #fff;
  margin-bottom: 5rem;
  border-bottom: 4px solid #a6c0d5;
}

.inner-banner h1 {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.inner-banner p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utilities */
.text-accent {
  color: var(--accent-color);
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-header h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.section-header h2.text-accent {
  color: var(--accent-color);
}

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

.section-header p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-top: 2rem;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #274546;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1b3233;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: #274546;
  color: #274546;
}

.btn-outline:hover {
  background-color: #274546;
  color: #fff;
}

/* Top Bar */
.top-bar {
  background-color: #274546;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  color: #fff;
  border-bottom: 2px solid #1b3233;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact a {
  color: #fff;
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
}

.top-contact a i {
  color: #fff;
  opacity: 0.8;
  margin-right: 0.5rem;
}

.top-contact a:hover {
  color: #fff;
  opacity: 1;
}

.top-social a {
  color: #fff;
  margin-left: 1rem;
}

.top-social a:hover {
  color: #fff;
  opacity: 1;
}

.top-social a.btn-whatsapp {
  background-color: #25D366; /* WhatsApp Green */
  color: #fff !important;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  margin-left: 1rem;
  transition: var(--transition-smooth);
}

.top-social a.btn-whatsapp i {
  margin-right: 0.4rem;
  color: #fff !important;
}

.top-social a.btn-whatsapp:hover {
  background-color: #128C7E;
  color: #fff !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  background-color: transparent;
}

.header-inner {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled .top-bar {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  border-bottom: none;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

header.inner-header {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

header.scrolled .header-inner,
header.inner-header .header-inner {
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  color: #0f172a;
}

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #0f172a;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  height: calc(100vh - 45px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%), url('https://images.unsplash.com/photo-1600607686527-6fb886090705?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.05);
  animation: subtleZoom 20s infinite alternate;
}

@keyframes subtleZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.1); }
}

/* Hero Grid and Slider */
.hero-container {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 105px; /* Offset for top bar, header, and news ticker */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  transition: opacity 0.4s ease-in-out;
}

.hero-text-col {
  max-width: 600px;
  order: 1;
}

.hero-slider-col {
  position: relative;
  width: 100%;
  height: 500px;
  order: 2;
}

.hero-grid.swapped .hero-text-col {
  order: 2;
}

.hero-grid.swapped .hero-slider-col {
  order: 1;
}

.hero-slider {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}

.hero-slider .slide:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.hero-slider .slide:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.hero-slider .slide:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.slide {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  z-index: 1;
}

.slide.active {
  /* JS toggles this, but we show all 3 now */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  transform: translateY(0);
  opacity: 1;
}

.slide.active .slide-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Base Hero Typography Adjustments for new grid */

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  animation: blurReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.7s;
}

@keyframes blurReveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* News Ticker */
.news-ticker-wrapper {
  display: flex;
  background-color: #f1f5f9; /* Light background color */
  border-top: 2px solid #274546;
  border-bottom: 2px solid #274546;
  overflow: hidden;
  position: relative;
  height: 45px;
  align-items: center;
}

.news-ticker-label {
  background-color: #274546;
  color: #fff;
  padding: 0 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 45px;
  height: 100%;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

.news-ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.ticker-text span {
  display: inline-block;
}

.ticker-text:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* =============================================
   ABOUT SNIPPET — Premium Redesign
   ============================================= */
.about-snippet {
  background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
  position: relative;
  overflow: hidden;
}

.about-snippet::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(39,69,70,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

/* --- Image mosaic --- */
.about-image {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1rem;
  align-items: center;
}

.img-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  border: 3px solid #274546;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.25;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.about-image:hover::before {
  opacity: 0.5;
  transform: translate(8px, 8px);
}

.about-image img {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 44px rgba(0,0,0,0.18);
}

.img-col-left .img-tall { height: 456px; }
.img-col-center .img-lg { height: 480px; }
.img-col-right .img-md  { height: 260px; }
.img-col-right .img-sm  { height: 180px; }

/* --- Stat Cards --- */
.about-stats {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
  width: 100%;
}

.stat-card {
  flex: 1;
  background: #fff;
  padding: 1.6rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(39,69,70,0.1);
  border-top: 4px solid #274546;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(39,69,70,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(39,69,70,0.18);
}

.stat-card h3 {
  font-size: 2.8rem;
  margin-bottom: 0.4rem;
  color: #274546;
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 700;
}

.stat-card p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.78rem;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- Text Column --- */
.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: #0f172a;
}

.about-text h2 .text-accent {
  color: #274546;
  font-style: italic;
}

.about-text > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* --- Goals List --- */
.goals-list {
  list-style: none;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.goals-list li {
  display: flex;
  align-items: flex-start;
  padding: 1.3rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-left: 4px solid #274546;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.goals-list li:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(39,69,70,0.12);
  background: linear-gradient(90deg, rgba(39,69,70,0.04) 0%, #fff 100%);
}

.goals-list i {
  color: #274546;
  font-size: 1.3rem;
  margin-right: 1.2rem;
  background: rgba(39,69,70,0.08);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.goals-list li:hover i {
  background: #274546;
  color: #fff;
}

.goals-list h4 {
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #0f172a;
  font-weight: 700;
}

.goals-list p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 5px solid transparent;
}

.product-card:hover {
  transform: translateY(-12px);
  border-color: rgba(39, 69, 70, 0.1);
  box-shadow: 0 25px 50px rgba(39, 69, 70, 0.15);
  border-bottom: 5px solid #274546;
}

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

.product-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(39,69,70,0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover .product-img::after {
  opacity: 1;
}

.product-img 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 img {
  transform: scale(1.08);
}

.product-content {
  padding: 2.5rem 2rem;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

/* Light Blue Colors for Blog Cards */
.products-grid .blog-card:nth-child(3n+1) {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}
.products-grid .blog-card:nth-child(3n+2) {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}
.products-grid .blog-card:nth-child(3n+0) {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.product-category {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  display: inline-block;
  background: #274546;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.product-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.product-link:hover {
  color: var(--accent-color);
}

.product-link i {
  margin-left: 0.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.product-link:hover i,
.product-card:hover .product-link i {
  transform: translateX(8px);
}

/* Stats/CTA Section */
.cta-section {
  background-color: var(--accent-color);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-section .btn-outline {
  border-color: #fff;
  color: #fff;
}

.cta-section .btn-outline:hover {
  background-color: #fff;
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--surface-color);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0f172a;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-color);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-form p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.input-group {
  display: flex;
}

.input-group input {
  flex: 1;
  padding: 0.8rem 1rem;
  background-color: #fff;
  border: 1px solid var(--border-color);
  color: #0f172a;
  font-family: var(--font-body);
  outline: none;
}

.input-group input:focus {
  border-color: var(--accent-color);
}

.input-group button {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.input-group button:hover {
  background-color: var(--accent-hover);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--surface-color);
    flex-direction: column;
    padding: 6rem 2rem;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-color);
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
  }
  
  nav ul.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-experience {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: -30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  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);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Projects Portfolio Layout (Overlapping Strong Cards)
   ========================================================================== */
.project-showcase {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 5rem 0;
}

.project-row {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 550px;
}

.project-row.reverse {
  justify-content: flex-end;
}

.project-image {
  width: 65%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 1;
}

.project-row.reverse .project-image {
  left: auto;
  right: 0;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(39, 69, 70, 0.25);
  transition: background 0.4s ease;
}

.project-row:hover .project-image::after {
  background: rgba(39, 69, 70, 0.05);
}

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

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

.project-details {
  width: 45%;
  background: #fff;
  padding: 4rem 3.5rem;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(39, 69, 70, 0.12);
  position: relative;
  z-index: 2;
  margin-left: auto;
  border-left: 6px solid #274546;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-row.reverse .project-details {
  margin-left: 0;
  border-left: none;
  border-right: 6px solid #274546;
}

.project-row:hover .project-details {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(39, 69, 70, 0.2);
}

.project-category {
  display: inline-block;
  background: #274546;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
}

.project-details h2 {
  font-size: 2.8rem;
  color: #0f172a;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-family: var(--font-heading);
  font-weight: 700;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.meta-item i {
  color: #274546;
  font-size: 1.4rem;
  background: rgba(39, 69, 70, 0.08);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}

.meta-item > div {
  display: flex;
  flex-direction: column;
}

.meta-item strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.meta-item span {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.1rem;
}

.project-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .project-row { min-height: auto; flex-direction: column !important; gap: 0; margin-bottom: 3rem;}
  .project-image { position: relative; width: 100%; height: 400px; border-radius: 16px 16px 0 0; }
  .project-details { width: 95%; margin: -4rem auto 0 auto !important; border-radius: 16px; border: none !important; border-top: 6px solid #274546 !important; padding: 3rem 2rem; }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px; /* User requested right side */
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */

/* Hide mobile button on desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 1000;
}

@media (max-width: 992px) {
  /* Header & Navigation */
  .top-contact { display: none; } /* Hide top contact info to save space */
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header-inner {
    justify-content: center;
    position: relative;
  }
  
  .logo {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .nav-links ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 999;
  }
  
  .nav-links ul.active {
    right: 0;
  }
  
  /* Hero Section Stacking */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 3rem 0;
  }
  
  .hero-container {
    padding-top: 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text-col {
    margin: 0 auto;
    order: 1 !important;
  }
  
  .hero-slider-col {
    order: 2 !important;
    height: 350px;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  /* About Grid Stacking */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .inner-banner {
    padding: 10rem 0 4rem 0;
  }
  
  .inner-banner h1 {
    font-size: 2.5rem;
  }
  
  /* Projects Portfolio Stacking */
  .project-row, .project-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .project-meta {
    grid-template-columns: 1fr;
    text-align: left;
    margin-top: 1.5rem;
  }
  
  /* Typography Scaling */
  .hero-content h1, .hero-text-col h1 { font-size: 2.5rem; }
  .section-header h2 { font-size: 2.2rem; }
  
  /* Layout Spacing */
  .section-padding { padding: 4rem 0; }
  .inner-banner { padding: 8rem 0 3rem 0; }
  
  /* Contact Layout */
  #contact .container > div {
    flex-direction: column;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links ul {
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* Further Typography Scaling */
  .hero-content h1, .hero-text-col h1, .hero h1 { font-size: 2rem; margin-top: 5rem; }
  .hero-content p, .hero-text-col p { font-size: 1.1rem; }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .hero-slider-col {
    height: 250px;
  }
  
  /* About Image Masonry Fix */
  .about-image {
    grid-template-columns: 1fr;
  }
  
  .img-col-left .img-tall, 
  .img-col-center .img-lg, 
  .img-col-right .img-md, 
  .img-col-right .img-sm {
    height: auto;
    max-height: 250px;
    width: 100%;
  }
  
  .about-stats {
    flex-direction: column;
  }
  
  /* Product Details Layout */
  .product-details .container > div {
    flex-direction: column;
  }
  .product-details img {
    height: 400px !important;
  }
  
  /* Vision & Mission Layout */
  .vision-mission .container > div {
    flex-direction: column !important;
    gap: 2rem !important;
    text-align: center;
  }
  .vision-mission img {
    height: 300px !important;
  }
  
  /* Mobile padding adjustments */
  .section-padding { padding: 3rem 0; }
  
  .container {
    padding: 0 1.2rem;
  }
  
  .top-social {
    justify-content: center;
    width: 100%;
    margin-right: 30px; /* Leave space for menu btn */
  }
  
  .top-social a.btn-whatsapp {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  .news-ticker-label {
    padding: 0 0.8rem;
    font-size: 0.75rem;
  }
}

/* =============================================
   FEATURE CARDS STRIP
   ============================================= */
.feature-cards-strip {
  padding: 3rem 0 4rem;
  background: #f4f6f9;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.feature-card {
  padding: 2.8rem 2rem 2.4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transition: transform 0.4s cubic-bezier(0.25,1,0.5,1), box-shadow 0.4s cubic-bezier(0.25,1,0.5,1);
  cursor: default;
}

/* Subtle inner shine overlay */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0,0,0,0.22);
}

/* Card Colour Themes */
.fc-teal   { background: linear-gradient(145deg, #11998e 0%, #38ef7d 100%); }
.fc-orange { background: linear-gradient(145deg, #f7971e 0%, #ffd200 100%); }
.fc-blue   { background: linear-gradient(145deg, #2193b0 0%, #6dd5ed 100%); }
.fc-green  { background: linear-gradient(145deg, #56ab2f 0%, #a8e063 100%); }

/* Icon Circle */
.fc-icon {
  width: 78px;
  height: 78px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 2rem;
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.25,1,0.5,1);
}

.feature-card:hover .fc-icon {
  background: rgba(255,255,255,0.4);
  transform: rotate(10deg) scale(1.12);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.feature-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .feature-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (max-width: 480px) {
  .feature-cards-strip { padding: 2rem 0 2.5rem; }
  .feature-cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  
  .hero { padding: 5rem 0 2rem 0; min-height: auto; }
  
  .hero h1 { font-size: 1.6rem; margin-top: 7rem; }
  .hero-content p, .hero-text-col p { font-size: 1rem; }
  
  .inner-banner h1 { font-size: 1.8rem; }
  
  .section-header h2 { font-size: 1.8rem; }
  
  .lang-switcher { margin-right: 0.5rem !important; padding-right: 0.5rem !important; gap: 5px !important; }
  .lang-switcher a { font-size: 0.8rem; }
  
  .top-social a { margin-left: 0.5rem; }
  
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .project-details h2 { font-size: 2rem; }
  .product-content h3 { font-size: 1.3rem; }
  .stat-card h3 { font-size: 2.2rem; }
}
