@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: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --accent-color: #0284c7; /* Mature Deep Sky Blue */
  --accent-hover: #0369a1;
  --accent-light: rgba(2, 132, 199, 0.1);
  --border-color: rgba(0, 0, 0, 0.08);
  
  --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: var(--primary-color);
  background-image: linear-gradient(135deg, rgba(2, 132, 199, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 10rem 0 4rem 0;
  text-align: center;
  color: #fff;
  margin-bottom: 4rem;
}

.inner-banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.inner-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.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: var(--accent-color);
  color: #fff;
}

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

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

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

/* Top Bar */
.top-bar {
  background-color: var(--accent-color);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  color: #fff;
  border-bottom: 2px solid #dc2626; /* Changed to red as requested */
}

.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: rgba(255, 255, 255, 0.8);
  margin-right: 0.5rem;
}

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

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

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

.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-1600585154340-be6161a56a0c?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: 60px; /* Offset for top bar and header */
}

.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%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease 0.5s;
}

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

/* Base Hero Typography Adjustments for new grid */

.hero h1 {
  font-size: 4.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 #dc2626;
  border-bottom: 2px solid #dc2626;
  overflow: hidden;
  position: relative;
  height: 45px;
  align-items: center;
}

.news-ticker-label {
  background-color: #dc2626; /* Red color */
  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 */
.about-snippet {
  background-color: var(--surface-color);
  position: relative;
}

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

.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: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  z-index: -1;
  transition: transform 0.3s ease;
}

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

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  width: 100%;
  object-fit: cover;
  display: block;
}

.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; }

.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
}

.stat-card {
  flex: 1;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-bottom: 4px solid var(--accent-color);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  line-height: 1;
  font-family: var(--font-heading);
}

.stat-card p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-primary);
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-text h2 .text-accent {
  color: var(--accent-color);
  font-style: italic;
}

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

.goals-list {
  list-style: none;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.goals-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goals-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: rgba(2, 132, 199, 0.2);
}

.goals-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1.5rem;
  background-color: #f0f9ff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.goals-list li:hover i {
  background-color: var(--accent-color);
  color: #fff;
}

.goals-list h4 {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #0f172a;
}

.goals-list p {
  font-size: 0.95rem;
  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.05);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-12px);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 25px 50px rgba(2, 132, 199, 0.15);
}

.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) 50%, rgba(0,0,0,0.4) 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;
}

/* Cyclic Random Light Colors for Product Cards */
.products-grid .product-card:nth-child(6n+1) {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}
.products-grid .product-card:nth-child(6n+2) {
  background-color: #f0f9ff;
  border-color: #bae6fd;
}
.products-grid .product-card:nth-child(6n+3) {
  background-color: #fdf4ff;
  border-color: #f5d0fe;
}
.products-grid .product-card:nth-child(6n+4) {
  background-color: #fffbeb;
  border-color: #fde68a;
}
.products-grid .product-card:nth-child(6n+5) {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
}
.products-grid .product-card:nth-child(6n+0) {
  background-color: #faf5ff;
  border-color: #e9d5ff;
}

/* Light Blue Colors for Blog Cards */
.products-grid .blog-card:nth-child(3n+1) {
  background-color: #f0f9ff;
  border-color: #bae6fd;
}
.products-grid .blog-card:nth-child(3n+2) {
  background-color: #e0f2fe;
  border-color: #7dd3fc;
}
.products-grid .blog-card:nth-child(3n+0) {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.product-category {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(2, 132, 199, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.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: 3.5rem; }
  .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 (Zig-Zag)
   ========================================================================== */
.project-showcase {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding: 4rem 0;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.project-row.reverse {
  flex-direction: row-reverse;
}

.project-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
}

.project-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-details {
  flex: 1;
}

.project-category {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.project-details h2 {
  font-size: 2.8rem;
  color: #0f172a;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.meta-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.meta-item strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

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

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

/* 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: 8rem 0 4rem 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;
  }
  
  /* 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.8rem; }
  .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 { font-size: 2.2rem; }
  .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; }
}
