/* Variables */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --header-height: 4.5rem;
  
  /* Colors */
  --primary-color: #0ea5e9;
  --primary-color-alt: #0284c7;
  --title-color: #1e293b;
  --text-color: #000000;
  --text-color-light: #94a3b8;
  --body-color: #ffffff;
  --container-color: #ffffff;
  
  /* Font */
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --biggest-font-size: 2.75rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  
  /* Font weight */
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  /* z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Dark theme variables */
[data-theme="dark"] {
  --title-color: #f8fafc;
  --text-color: #cbd5e1;
  --body-color: #0f172a;
  --container-color: #1e293b;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--body-color);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}
/* Base */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

video {
width: 100%;
height: auto;
display: block;
}
img {
max-width: 100%; /* Ensures images never exceed their container */
height: auto; /* Maintains aspect ratio */
display: block; /* Removes unwanted spaces below images */
}

.hero-video video {
width: 100%;
height: 100vh;
object-fit: cover;
opacity: 0.9;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* Reusable classes */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}


.section-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #023e8a;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.nav-link.active {
  color:#2196F3;
  border-bottom: 3px solid #2196F3;
  font-weight: bold;
}
.header.scroll-header {
  background-color: var(--container-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--title-color);
  font-weight: var(--font-bold);
  font-size: var(--h2-font-size);
}

.nav-list {
  display: flex;
  column-gap: 2rem;
}

.nav-link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.theme-toggle {
  color: var(--title-color);
  background: none;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.theme-toggle:hover {
  background-color: var(--text-color-light);
}

.cta-button {
  background: linear-gradient(45deg, #0077b6, #00b4d8);
  border: none;
  padding: 12px 24px;
  font-size: 1.1rem;
  transition: all 0.3s;
  border-radius: 50px;
}

.cta-button:hover {
  background: #00b4d8;
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
  transform: scale(1.1);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  height: 100vh;
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://images.unsplash.com/photo-1582418702059-97ebafb35d09?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'); */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: #fff;
}

.hero-title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1rem;
  color: #fff;
}

.hero-description {
  font-size: var(--h2-font-size);
  margin-bottom: 2rem;
}

.hero-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s, transform 0.3s;
}

.hero-button:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
}



.product-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: var(--font-medium);
  transition: background-color 0.3s;
}

.product-button:hover {
  background-color: var(--primary-color-alt);
}

/* Sustainability */
.sustainability {
  background-color: var(--container-color);
  padding-block: 5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  background: linear-gradient(45deg,
    var(--body-color),
    var(--container-color)
  );
  
}

.stat-card svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-card h3 {
  margin-bottom: 0.5rem;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(255,255,255,0.1) 50%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

/* Energy core pulse */
.stat-card::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle at center,
    var(--primary-color) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

.stat-card:hover {
  transform: 
    rotateX(5deg) 
    rotateY(5deg) 
    translateZ(20px)
    scale(1.05);
  box-shadow: 
    0 0 40px rgba(var(--primary-color-rgb), 0.2),
    0 0 100px rgba(var(--primary-color-rgb), 0.1),
    0 0 150px rgba(var(--primary-color-rgb), 0.05);
}

.stat-card:hover::before {
  opacity: 1;
  animation: hologram 3s linear infinite;
}

.stat-card:hover::after {
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes hologram {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.2; }
}

Particle explosion effect
.stat-card:hover .particle {
  position: absolute;
  background: rgba(var(--primary-color-rgb), 0.8);
  pointer-events: none;
  border-radius: 50%;
  animation: particle 1.2s ease-out forwards;
}

@keyframes particle {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(
      calc(-50% + (random() * 200 - 100) * 1px),
      calc(-50% + (random() * 200 - 100) * 1px)
    ) scale(1);
    opacity: 0;
  }
}

/* SVG animation */
.stat-card:hover svg {
  animation: 
    iconFloat 3s ease-in-out infinite,
    iconGlow 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.4));
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotateZ(0deg); }
  33% { transform: translateY(-6px) rotateZ(2deg); }
  66% { transform: translateY(4px) rotateZ(-2deg); }
}

@keyframes iconGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(var(--primary-color-rgb), 0.8)); }
}

/* Content animation */
.stat-card:hover h3 {
  text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.5);
  transform: translateZ(20px);
}

.stat-card:hover p {
  transform: translateZ(30px);
  color: var(--primary-color);
}
.counter {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

/* Footer */
.footer {
  background: linear-gradient(to right, #1e3a8a, #1e40af, #312e81);
  color: #fff;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info {
  max-width: 300px;
}

.footer-title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-link svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}

.footer-links h3 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-newsletter h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: var(--font-medium);
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: var(--primary-color-alt);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.heart {
  color: #ef4444;
  display: inline-block;
  animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Responsive */
@media screen and (max-width: 968px) {
  :root {
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
  }

  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--container-color);
    width: 100%;
    padding: 4rem 0;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: top 0.3s;
  }

  .show-menu {
    top: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
  }

  .nav-buttons {
    flex-direction: column;
    row-gap: 1rem;
    margin-top: 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}
/* Animated Gradient Text */
.hero-title {
background: linear-gradient(45deg, #0ea5e9, #3b82f6, #6366f1);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: gradient 5s ease infinite;
}

@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

/* Horizontal Scroller */
.product-scroller {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
gap: 2rem;
padding-bottom: 2rem;
}

.product-card {
scroll-snap-align: start;
flex: 0 0 300px;
transition: transform 0.3s;
}

/* Parallax Effects */
.parallax-bg {
background-size: cover;
background-position: center;
object-fit: cover; /* Ensures images fit properly without stretching */
width: 100%;
height: 100vh;
}

/* Timeline Animation */
.timeline-item {
position: relative;
margin: 30px 0;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
opacity: 0;
transform: translateY(50px);
transition: all 0.5s ease-out;
}
.timeline-year {
font-size: 1.5rem;
font-weight: bold;
color: #007bff;
}
.timeline-content h3 {
font-size: 1.3rem;
font-weight: bold;
}
.timeline-content p {
font-size: 1rem;
color: #666;
}
.timeline-item.visible {
opacity: 1;
transform: translateY(0);
}
.timeline {
position: relative;
max-width: 800px;
margin: auto;
padding: 50px 0;
}
.timeline .container {
position: relative;
}
.container {
margin: auto;
}

.timeline::before {
content: "";
position: absolute;
left: 50%;
width: 4px; /* Adjust thickness */
height: 100%;
background: linear-gradient(to bottom, #0ea5e9, transparent);
transform: translateX(-50%);
}
.timeline-item {
opacity: 0;
transform: translateY(50px);
transition: all 0.6s ease-out;
filter: blur(5px);
}

.timeline-item.show {
opacity: 1;
transform: translateY(0);
filter: blur(0);
}

.logo img, .product-image img {
width: auto;
max-width: 100%;
height: auto;
object-fit: contain; /* Ensures images don't get cropped */
}

@media (max-width: 768px) {
.product-scroller {
  flex-direction: column;
  overflow-x: visible;
}



.nav-menu {
  backdrop-filter: blur(10px);
}
}

@media (min-width: 1200px) {
/* .parallax-bg {
  background: url('assets/img/denim craafts.jpg') center/cover fixed;
} */

}
.logo img {
width: 120px; /* Adjust the size */
height: auto;
}
/* Mobile Menu Fix */
@media (max-width: 768px) {
.nav-menu {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 2rem;
  line-height: 1.2;
}

.stats-grid {
  grid-template-columns: 1fr;
}

.footer-content {
  gap: 2rem;
}
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
.hero-title {
  font-size: 3rem;
}

.stats-grid {
  grid-template-columns: repeat(2, 1fr);
}
}
/* Video Hero */
.hero {
position: relative;
height: 100vh;
overflow: hidden;
}

.hero-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}

.hero-video video {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.9;
}

.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
}

.mouse {
width: 30px;
height: 50px;
border: 2px solid white;
border-radius: 15px;
position: relative;
animation: scroll 2s infinite;
}

@keyframes scroll {
0% { transform: translateY(0); }
50% { transform: translateY(10px); }
100% { transform: translateY(0); }
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.product-card {
position: relative;
overflow: hidden;
border-radius: 1rem;
}

.product-image {
position: relative;
aspect-ratio: 3/4;
}

.product-overlay {
position: absolute;
bottom: -100%;
left: 0;
width: 100%;
padding: 2rem;
background: rgba(0, 0, 0, 0.7);
transition: bottom 0.3s ease;
}

.product-card:hover .product-overlay {
bottom: 0;
}
.timeline {
position: relative;
padding: 4rem 0;
}

.timeline::before {
content: '';
position: absolute;
left: 50%;
width: 2px;
height: 100%;
background: var(--primary-color);
}

.timeline-item {
display: flex;
margin: 4rem 0;
opacity: 0;
transform: translateY(50px);
transition: all 0.5s ease;
}

.timeline-item.visible {
opacity: 1;
transform: translateY(0);
}

.timeline-year {
width: 120px;
height: 120px;
border: 2px solid var(--primary-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
background: var(--body-color);
}
/* Add to styles.css */
/* Enhanced Responsiveness */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-content {
    max-width: 100%;
  }

  .mission-media {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mission-image {
    width: 100%;
    position: static;
    margin-top: 20px;
  }

  .mission-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

.nav-menu {
  padding: 2rem 0;
}

.mission-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.timeline::before {
  left: 30px;
}

.timeline-item {
  flex-direction: column;
  align-items: flex-start;
  margin-left: 4rem;
}

.timeline-year {
  width: 80px;
  height: 80px;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.mission-image {
  position: static;
  width: 100%;
  margin-top: 20px;
}
}

/* Enhanced Product Cards */
.product-card {
position: relative;
overflow: hidden;
border-radius: 1rem;
transition: transform 0.3s ease;
}

.product-card:hover {
transform: translateY(-10px);
}

.product-image {
position: relative;
aspect-ratio: 3/4;
overflow: hidden;
}

.product-image img {
transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
transform: scale(1.05);
}

/* Improved Timeline */
.timeline {
position: relative;
padding: 4rem 0;
}

.timeline::before {
content: '';
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 4px;
height: 100%;
background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.timeline-item {
position: relative;
margin: 4rem 0;
padding: 2rem;
background: linear-gradient(353deg, #ACD3E8, #71A6D1);
border-radius: 1rem;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

[data-theme="dark"] .timeline-item{
  background:#1e293b;
}

/* Mission Section */
.mission {

backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
padding: 80px 0;
border-radius: 12px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}
.mission-content {
flex: 1;
/* max-width: 50%; */
padding: 20px;
}
.section-title {
font-size: 2.5rem;
color: #0D47A1; /* Dark Blue */
margin-bottom: 10px;
}
.highlight-text {
font-size: 1.5rem;
font-weight: bold;
color: #0D47A1; /* Dark Blue instead of Yellow */
margin-bottom: 15px;
}

.mission-description {
font-size: 1.1rem;
color: #333; /* Dark Gray */
line-height: 1.6;
}
[data-theme="dark"] .mission-description {
  color: var(--text-color); /* Uses the dark theme text color */
}
[data-theme="dark"] .about-text {
  color: var(--text-color); /* Uses the dark theme text color */
}

.mission-media {
flex: 1;
/* max-width: 45%; */
position: relative;
}

.mission-video {
width: 100%;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.mission-image {
position: absolute;
bottom: -20px;
right: -20px;
width: 40%;
border-radius: 10px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.mission-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 20px;
}


.stat-item {
text-align: center;
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border: 2px solid #2196F3; /* Light Blue Border */
transition: all 0.1s ease-in-out;
}
.stat-item:hover {
background: #2196F3;
color: #fff;
transform: scale(1.05);
}
.stat-item h3 {
font-size: 2rem;
color: #0D47A1; /* Dark Blue */
}

.stat-item p {
font-size: 1rem;
color: #555;
}
.cert-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
[data-theme="dark"] .cert-item img{
        background: linear-gradient(353deg, #ACD3E8, #71A6D1);
}
.cert-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.cert-btn {
  margin-top: 10px;
  display: inline-block;
  background:linear-gradient(90deg, #0077b6, #00b4d8);
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cert-btn:hover {
  background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cert-grid {
    flex-direction: column;
    align-items: center;
  }
  .cert-item img {
    width: 120px;
    height: 120px;
  }
}



/* About Preview Section Responsiveness */





@keyframes glowText {
from { text-shadow: 0 0 5px #00b4d8; }
to { text-shadow: 0 0 20px #0077b6; }
}

/* .cta-button {
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
} */







.nav-close {
position: absolute;
top: 10px;
right: 15px;
background: none;
font-size: 2rem;
color: var(--title-color);
cursor: pointer;
} 
/* Add these media queries to your existing styles */
@media (max-width: 768px) {
 





 

  .cta-button {
    width: 100%;
    max-width: 250px;
  }
}
/* Cosmic Carousel Styles */
.hero-carousel {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

.carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  padding-bottom: 56.25%;
  perspective: 2000px;
}

.carousel-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-item {
  position: relative;
  flex: 0 0 80vw;
  height: 70vh;
  margin: 0 2vw;
  border-radius: 25px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Ensure content remains visible */
.carousel-item:hover .carousel-content {
  opacity: 1;
  transform: translateY(0);
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Fix content visibility */
.carousel-content {
  position: absolute;
  bottom: 37%; /* Adjusted for better visibility */
  left: 8%;
  color: white;
  opacity: 1;
  z-index: 20; /* Increased to avoid being hidden */
  text-align: left;
  transition: all 0.8s ease;
}

.carousel-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  color: #018dff;
}

.carousel-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Interactive Elements */
.carousel-controls {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Fix CTA Button */
.carousel-cta {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 10px 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block; /* Ensure it remains visible */
}

.carousel-cta:hover {
  background: white;
  color: black;
}

/* Responsive Magic */
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 90vw;
    height: 60vh;
  }
  
  .carousel-title {
    font-size: 2.5rem;
  }

  .carousel-subtitle {
    font-size: 1.2rem;
  }

  .carousel-content {
    bottom: 42%; /* Adjusted for mobile */
    left: 5%;
    width: 90%;
  }

  .carousel-cta {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .carousel-controls {
    bottom: -10%;
  }
}
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
}

/* Ensure 4 Cards in One Row for Large Screens */
@media (min-width: 1200px) {
  .divisions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Division Card Styles */
.division-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease-in-out, box-shadow 0.3s;
}

.division-item img {
  width: 100%;
  height: 350px; /* Set a fixed height */
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Hover Effects */
.division-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.division-item:hover .division-content {
  transform: translateY(0);
}

.division-item:hover img {
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Cards Per Row for Tablets */
  }
}

@media (max-width: 768px) {
  .divisions-grid {
    grid-template-columns: 1fr; /* 1 Card Per Row for Mobile */
  }
}

