/* ===== MODERN STYLES FOR MOBIMART OILS ===== */

:root {
  --primary: #0b6b4f;
  --primary-dark: #074d39;
  --primary-light: #e0f0e8;
  --primary-glow: rgba(11, 107, 79, 0.3);
  --accent: #f5a623;
  --accent-dark: #e09512;
  --accent-light: #fef1dd;
  --accent-glow: rgba(245, 166, 35, 0.3);
  --dark: #1a1f2c;
  --dark-2: #2a2f3c;
  --gray-1: #f8fafc;
  --gray-2: #eef2f6;
  --gray-3: #dde3e9;
  --text-dark: #1e2b37;
  --text-medium: #2d3e4f;
  --text-light: #5b6f82;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px -15px rgba(0,0,0,0.1);
  --shadow-md: 0 20px 40px -20px rgba(0,0,0,0.2);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.25);
  --shadow-hover: 0 30px 50px -20px rgba(11,107,79,0.3);
  --border-light: #eef2f6;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Plus Jakarta Sans', sans-serif;
}

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

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

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

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.2s ease;
  opacity: 0.5;
}

/* Background Canvas */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.preloader-content img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.preloader-content p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 1200px) {
  .container { padding: 0 2rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--primary);
  margin: 3px 0;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 992px) {
  .site-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow-y: auto;
  }
 
  .site-nav.active {
    right: 0;
  }
 
  .nav-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, var(--dark), var(--text-medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-line.accent {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::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 ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px var(--primary-glow);
}

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

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

.hero-stats {
  display: flex;
  gap: 3rem;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

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

.hero-visual {
  position: relative;
  height: 600px;
}

.floating-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}

.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-1 {
  width: 300px;
  top: 50px;
  right: 50px;
  z-index: 3;
  animation-delay: 0s;
}

.card-2 {
  width: 280px;
  bottom: 50px;
  right: 150px;
  z-index: 2;
  animation-delay: 1s;
}

.card-3 {
  width: 260px;
  top: 150px;
  right: 200px;
  z-index: 1;
  animation-delay: 2s;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  z-index: 10;
}

.product-glow {
  position: relative;
}

.product-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 50px var(--primary-glow);
  opacity: 0.5;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-medium);
  font-size: 0.9rem;
  letter-spacing: 2px;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 1200px) {
  .hero-title { font-size: 3rem; }
  .hero-visual { height: 500px; }
  .card-1 { width: 250px; }
  .card-2 { width: 230px; }
  .card-3 { width: 210px; }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
 
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
}

/* Brand Marquee */
.brand-marquee {
  background: var(--white);
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 3rem;
}

.marquee-content img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.marquee-content img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Styles */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  border-radius: 30px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Product Showcase */
.products-section {
  background: linear-gradient(180deg, var(--white), var(--gray-1));
}

.product-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

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

.product-card.featured {
  grid-row: span 2;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.product-image {
  width: 100%;
  height: 100%;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-specs-preview {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  transform: translateY(100%);
  transition: var(--transition);
}

.product-card:hover .product-specs-preview {
  transform: translateY(0);
}

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

.spec-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-medium);
  margin-bottom: 0.25rem;
}

.spec-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-content {
  padding: 2rem;
}

.product-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.product-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.benefit-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.benefit-tag i {
  font-size: 0.8rem;
}

.product-description {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.product-specs-full {
  background: var(--gray-1);
  padding: 1.5rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.product-specs-full h4 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table td {
  padding: 0.75rem;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--dark);
}

.specs-table td:last-child {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

.product-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gray-1);
  border: none;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.products-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
}

.products-grid .product-card {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.products-grid .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(11, 107, 79, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

.product-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.product-overlay p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.product-tag {
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
}

.btn-view {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: fit-content;
}

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

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

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.benefit-card h4 {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
 
  .products-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Excellence Banner */
.excellence-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark));
  padding: 4rem 0;
  color: var(--white);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.banner-image {
  width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
}

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

.banner-text h2 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.banner-text h2 span {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-text p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 500px;
}

@media (max-width: 992px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }
 
  .banner-text h2 {
    font-size: 3rem;
  }
}

/* Ecosystem Section */
.ecosystem-section {
  background: var(--white);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.eco-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.eco-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: translateX(-100%);
  transition: var(--transition);
}

.eco-card:hover::before {
  transform: translateX(0);
}

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

.eco-icon {
  width: 90px;
  height: 90px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.eco-card:hover .eco-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotateY(180deg);
}

.eco-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.eco-card p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.eco-features {
  list-style: none;
  text-align: left;
}

.eco-features li {
  padding: 0.5rem 0;
  color: var(--text-medium);
  position: relative;
  padding-left: 1.5rem;
}

.eco-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Brand Showcase */
.brand-showcase {
  background: var(--gray-1);
  padding: 4rem 0;
}

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

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

.brand-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.brand-item img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: var(--transition);
}

.brand-item:hover img {
  filter: grayscale(0);
}

/* Leadership Section */
.leadership-section {
  background: linear-gradient(135deg, var(--white), var(--gray-1));
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.leader-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.leader-image {
  width: 150px;
  height: 150px;
  background: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.leader-card:hover .leader-image {
  border-color: var(--accent);
  transform: scale(1.05);
}

.leader-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.leader-title {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.welcome-message {
  background: var(--white);
  padding: 3rem;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-top: 3rem;
}

.welcome-message i {
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: 2rem;
  left: 2rem;
  opacity: 0.5;
}

.welcome-message blockquote {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-medium);
  position: relative;
  z-index: 1;
  padding-left: 4rem;
}

.welcome-message footer {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-light);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(11, 107, 79, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark));
  color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info .section-subtitle {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.info-items {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.info-item i {
  font-size: 1.5rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.info-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--border-light);
  border-radius: 15px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.1rem;
}

.form-group textarea ~ i {
  top: 1.5rem;
  transform: none;
}

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

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo .logo-text {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

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

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  max-width: 600px;
  width: 90%;
  border-radius: 40px;
  position: relative;
  transform: translateY(50px);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gray-1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
 
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
 
  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
 
  .banner-text h2 {
    font-size: 2.5rem;
  }
 
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
 
  .hero-title {
    font-size: 2.5rem;
  }
 
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}
/* Mobile / Touch device specific adjustments */
@media (hover: none) and (pointer: coarse) {
  /* Restore native cursor on touch devices and hide custom cursor elements */
  body { cursor: auto; }
  .cursor-dot, .cursor-outline { display: none !important; }

  /* Disable heavy canvas visuals on phones */
  #bgCanvas { display: none !important; }

  /* Make nav take full width on smaller touch devices */
  .site-nav { width: 100% !important; right: -100% !important; top: 70px !important; }
  .site-nav.active { right: 0 !important; }

  /* Larger tappable targets */
  .btn, .btn-primary, .btn-view, .btn-small, .btn-icon { min-height: 44px; padding: 0.75rem 1rem; }

  /* Reduce large paddings for narrow screens */
  .container { padding: 0 1rem !important; }
  .hero { padding: 3rem 0 !important; }
  .section { padding: 3rem 0 !important; }
  .contact-wrapper { padding: 2rem !important; }

  /* Ensure interactive elements are easy to tap */
  .nav-link { padding: 0.75rem 0 !important; }
  .filter-btn { padding: 0.75rem 1rem !important; }
}
/* Add to styles.css */

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Leader Image Styles */
.leader-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.leader-card:hover .leader-image {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.leader-card:hover .leader-image img {
  transform: scale(1.1);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
}

/* Gallery item enhancements for leadership photos */
.gallery-item[data-category="leadership"] img {
  object-fit: cover;
  object-position: center top;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
  .logo-image {
    height: 40px;
  }
 
  .preloader-logo {
    width: 60px;
    height: 60px;
  }
 
  .leader-image {
    width: 120px;
    height: 120px;
  }
 
  .placeholder-image {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 35px;
  }
 
  .leader-image {
    width: 100px;
    height: 100px;
  }
 
  .placeholder-image {
    font-size: 2rem;
  }
}


