/* Ultra Modern CSS Reset and Variables */
:root {
  /* Modern Color Palette */
  --primary-dark: #0f172a;
  --primary-dark-rgb: 15, 23, 42;
  --primary-light: #f8fafc;
  --primary-light-rgb: 248, 250, 252;

  /* Accent Colors - Vibrant and Modern */
  --accent-primary: #3b82f6;
  --accent-primary-rgb: 59, 130, 246;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #06b6d4;

  /* Stone-inspired Neutrals */
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  /* Modern Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  --gradient-dark: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    #1e293b 100%
  );
  --gradient-light: linear-gradient(
    135deg,
    var(--stone-50) 0%,
    var(--stone-100) 100%
  );

  /* Glassmorphism Effects */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--stone-700);
  background-color: var(--primary-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.title-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  opacity: 0.5;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--stone-500);
  font-weight: 500;
  max-width: 36rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transition: opacity var(--transition-base);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--stone-300);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Modern Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo-text {
  color: var(--primary-dark);
}

.logo-highlight {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--stone-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background: var(--primary-dark);
  transition: all var(--transition-base);
  transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Ultra Modern Hero Section */

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: rgba(65, 65, 65, 0.096);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(65, 65, 65, 0.315);
  margin-bottom: 2rem;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3b82f6;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hero-line-1 {
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-line-2 {
  background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--accent-primary);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.726);
  margin-bottom: 3rem;
  max-width: 36rem;
  line-height: 1.6;
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(0, 0, 0, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  color: #3b82f6;
  font-size: 1rem;
}

/* 3D Marble Container */
.hero-3d {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.marble-3d-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* 3D Marble Sphere */
.marble-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2d3748, #4a5568);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5), 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.sphere-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.marble-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.1) 100%
  );
  filter: blur(1px);
}

.marble-veins {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(59, 130, 246, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(139, 92, 246, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 48%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 52%
    );
  animation: veins-rotate 20s linear infinite;
}

.marble-highlights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    transparent 70%
  );
}

.sphere-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(15px);
  animation: shadow-pulse 6s ease-in-out infinite;
}

/* Floating Slabs */
.floating-slabs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slab {
  position: absolute;
  width: 120px;
  height: 180px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  overflow: hidden;
}

.slab-1 {
  top: 10%;
  right: 10%;
  animation: float-slab-1 8s ease-in-out infinite;
  transform: rotateX(15deg) rotateY(15deg);
}

.slab-2 {
  bottom: 15%;
  left: 5%;
  animation: float-slab-2 7s ease-in-out infinite 1s;
  transform: rotateX(-10deg) rotateY(-10deg);
}

.slab-3 {
  top: 40%;
  left: 15%;
  animation: float-slab-3 9s ease-in-out infinite 0.5s;
  transform: rotateX(5deg) rotateY(-5deg);
}

.slab-texture {
  width: 100%;
  height: 100%;
  position: relative;
}

.texture-1 {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 25%,
    transparent 50%,
    rgba(59, 130, 246, 0.1) 75%
  );
}

.texture-2 {
  background: linear-gradient(
    45deg,
    rgba(139, 92, 246, 0.15) 0%,
    rgba(255, 255, 255, 0.1) 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
}

.texture-3 {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(59, 130, 246, 0.15) 100%
  );
}

/* Light Effects */
.light-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
}

.light-1 {
  top: 20%;
  right: 20%;
  width: 150px;
  height: 150px;
  background: #3b82f6;
  animation: light-pulse-1 5s ease-in-out infinite;
}

.light-2 {
  bottom: 30%;
  left: 25%;
  width: 100px;
  height: 100px;
  background: #8b5cf6;
  animation: light-pulse-2 4s ease-in-out infinite 0.5s;
}

.logo-subtext {
  color: #3b82f6;
  font-size: 0.8rem;
  font-weight: 100;
  margin-top: 0.5rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-20px) rotate(180deg);
  }
}

@keyframes veins-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes shadow-pulse {
  0%,
  100% {
    width: 200px;
    opacity: 0.3;
  }
  50% {
    width: 220px;
    opacity: 0.4;
  }
}

@keyframes float-slab-1 {
  0%,
  100% {
    transform: translateY(0) rotateX(15deg) rotateY(15deg);
  }
  50% {
    transform: translateY(-20px) rotateX(20deg) rotateY(20deg);
  }
}

@keyframes float-slab-2 {
  0%,
  100% {
    transform: translateY(0) rotateX(-10deg) rotateY(-10deg);
  }
  50% {
    transform: translateY(-15px) rotateX(-15deg) rotateY(-15deg);
  }
}

@keyframes float-slab-3 {
  0%,
  100% {
    transform: translateY(0) rotateX(5deg) rotateY(-5deg);
  }
  50% {
    transform: translateY(-25px) rotateX(10deg) rotateY(-10deg);
  }
}

@keyframes light-pulse-1 {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

@keyframes light-pulse-2 {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-3d {
    display: none;
  }

  .marble-sphere {
    display: none;
  }
}

@media (max-width: 768px) {
  .slab {
    width: 80px;
    height: 120px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  #viewCollBtn {
    margin-bottom: 1rem;
  }

  .hero-badge {
    display: none;
  }
  .hero-content {
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-3d {
    height: 250px;
  }

  .marble-sphere {
    width: 180px;
    height: 180px;
  }

  .slab {
    display: none; /* Hide slabs on very small screens */
  }
}

/* Modern Stats Bar */
.stats-bar {
  background: var(--gradient-light);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--stone-600);
  font-weight: 500;
}

/* About Section */
.about {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--stone-700);
}

.about-text .lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--stone-700);
}

.feature-item i {
  color: var(--accent-primary);
  font-size: 1rem;
}

.about-visual {
  position: relative;
}

.visual-card {
  background: var(--gradient-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.card-content h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--stone-600);
  line-height: 1.6;
}

.card-decoration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.decoration-line {
  height: 2px;
  width: 2rem;
  background: var(--accent-primary);
}

.decoration-dot {
  height: 0.5rem;
  width: 0.5rem;
  background: var(--accent-primary);
  border-radius: 50%;
}

/* CEO Section */
.ceo {
  background: var(--gradient-light);
}

.ceo-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.ceo-image {
  position: relative;
}

.image-frame {
  position: relative;
}

.frame-border {
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    var(--stone-200) 0%,
    var(--stone-300) 100%
  );
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ceo-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base);
}

.ceo-photo:hover {
  transform: scale(1.02);
}

.ceo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: white;
  color: var(--primary-dark);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

.frame-decoration {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  display: flex;
  gap: 0.25rem;
  z-index: 2;
}

.decoration-item {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent-primary);
  border-radius: 50%;
}

.ceo-info {
  padding-top: 1rem;
}

.ceo-header {
  margin-bottom: 2rem;
}

.ceo-name {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.ceo-title {
  font-size: 1.25rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ceo-experience {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

.ceo-bio {
  margin-bottom: 2rem;
}

.ceo-bio p {
  margin-bottom: 1rem;
  color: var(--stone-700);
  line-height: 1.7;
}

.ceo-quote {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-primary);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-text {
  font-style: italic;
  color: var(--stone-700);
  line-height: 1.6;
}

/* Premium Marble Gallery */
.gallery {
  background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  font-weight: 500;
  color: #57534e;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  opacity: 1;
  transform: translateY(0);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.hidden {
  opacity: 0;
  transform: translateY(20px);
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.gallery-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gallery-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.view-btn {
  width: 3rem;
  height: 3rem;
  background: white;
  border: none;
  border-radius: 50%;
  color: #0f172a;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.view-btn:hover {
  background: #3b82f6;
  color: white;
  transform: scale(1.1);
}

.gallery-content {
  padding: 1.5rem;
}

.marble-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.marble-description {
  color: #57534e;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.marble-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f5f5f4;
}

.spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #78716c;
}

.spec i {
  color: #3b82f6;
}

.gallery-footer {
  text-align: center;
  margin-top: 2rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Simple Contact Section (No Form) */
.contact-simple {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card,
.location-card {
  background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f5f5f4;
}

.contact-icon,
.location-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-title,
.location-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.contact-description,
.location-description {
  color: #57534e;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method i {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #57534e;
  margin-bottom: 0.25rem;
}

.contact-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link:hover {
  color: #8b5cf6;
}

.contact-method p {
  color: #57534e;
  font-weight: 500;
}

.contact-action {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #57534e;
  font-weight: 500;
}

.location-item i {
  color: #3b82f6;
}

.whatsapp-contact {
  margin-top: 2rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  justify-content: center;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.image-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: background 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.modal-info {
  padding: 2rem;
}

.modal-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.modal-description {
  color: #57534e;
  line-height: 1.6;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-action {
    flex-direction: column;
  }

  .contact-action .btn {
    width: 100%;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .gallery-card {
    margin: 0 0.5rem;
  }

  .contact-card,
  .location-card {
    padding: 1.5rem;
  }

  .modal-content {
    margin: 1rem;
  }

  .modal-image {
    height: 250px;
  }
}

/* Services Section */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--stone-100);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--stone-200);
}

.service-icon {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
}

.service-icon i {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
  opacity: 0.5;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--stone-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.75rem;
}

/* Why Choose Us Section */
.why-us {
  background: var(--gradient-dark);
  color: white;
}

.why-us .section-title,
.why-us .section-subtitle {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-number {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -1rem;
  right: 1rem;
  line-height: 1;
}

.feature-content {
  position: relative;
  z-index: 1;
}

.feature-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.feature-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature:hover .feature-decoration {
  transform: scaleX(1);
}

/* Contact Section */
.contact {
  background: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition-base);
  border: 1px solid var(--stone-100);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--stone-200);
}

.info-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-content h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.info-content p {
  color: var(--stone-600);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.info-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.info-link:hover {
  color: var(--accent-secondary);
}

.contact-form {
  background: var(--gradient-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--stone-300);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--stone-900);
  transition: all var(--transition-fast);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  padding-top: 1.5rem;
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--stone-500);
  font-size: 1rem;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: transparent;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.875rem;
  color: var(--accent-primary);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  width: 100%;
}

.submit-btn {
  width: 100%;
  margin-top: 1.5rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner.hidden {
  display: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Modern Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo a {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.footer-logo a span {
  color: var(--accent-primary);
}

.footer-tagline {
  color: var(--stone-400);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.75rem;
}

.link-group a {
  color: var(--stone-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--stone-500);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--stone-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left var(--transition-base);
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content,
  .ceo-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
