/* Modern Enhanced CSS for Georgian Stone Factory */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --gold: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@font-face {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-display: swap;
  src: local("Segoe UI"), local("Helvetica Neue"), local("-apple-system");
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-display: swap;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

/* Container */
.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  display: flex;
  height: 100%;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  height: 90px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

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

header .container {
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

header h2 {
  color: #fff;
  font-family: "Georgia", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
  margin-right: 50px;
  transition: var(--transition);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h2:hover {
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  transform: scale(1.05);
}

#mta {
  color: #ffd700;
  margin-right: 15px;
  font-size: 2rem;
  transition: var(--transition);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
  animation: pulse 2s ease-in-out infinite alternate;
}

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

.linki {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.linki:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

/* Navigation */
ul {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  height: 60px;
}

.nav {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav:hover {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffd700;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* ========== MOBILE MENU SYSTEM - Updated 2025-09-08 ========== */

/* DEFAULT STATE: Hide burger menu on all screens */
.menu {
  display: none;
}

/* DESKTOP: Force hide burger menu on screens larger than 600px */
@media (min-width: 601px) {
  .menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Ensure desktop nav is always visible on larger screens */
  header ul {
    display: flex !important;
  }

  /* Show all nav items on desktop */
  header ul li {
    display: list-item !important;
  }
}

/* ========== BURGER MENU ANIMATIONS ========== */

/* Burger menu hover effect */
.menu {
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.menu:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* Burger menu bars with enhanced animations */
.menu .bar {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #fff, #ffd700);
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Smooth burger to X transformation */
.menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background: linear-gradient(90deg, #ff6b6b, #ffd700);
}

.menu.active .bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: linear-gradient(90deg, #ff6b6b, #ffd700);
}

/* Pulse effect for active menu */
.menu.active {
  animation: menuPulse 0.6s ease-out;
}

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

/* ========== MOBILE NAVIGATION ANIMATIONS - FIXED POSITIONING ========== */

/* Mobile navigation menu with FIXED positioning to stay on screen */
.nav-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Increased z-index to ensure it stays above everything */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  /* Fixed positioning ensures it stays on screen regardless of scroll */
  position: fixed !important;
}

/* Overlay animation */
.nav-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.nav-menu.active::before {
  opacity: 1;
}

/* Slide-in animation */
.nav-menu.active {
  display: flex;
  right: 0;
  opacity: 1;
  animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideIn {
  0% {
    right: -100%;
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    right: 0;
    opacity: 1;
    transform: scale(1);
  }
}

/* Navigation links with staggered animation */
.nav-menu a {
  color: #fff;
  padding: 18px 40px;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-left: 4px solid transparent;
  width: 90%;
  text-align: center;
  margin: 8px 0;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
}

/* Staggered animation for links */
.nav-menu.active a {
  opacity: 1;
  transform: translateX(0);
}

.nav-menu.active a:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-menu.active a:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-menu.active a:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-menu.active a:nth-child(4) {
  animation-delay: 0.4s;
}
.nav-menu.active a:nth-child(5) {
  animation-delay: 0.5s;
}

.nav-menu.active a {
  animation: slideInLink 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLink {
  0% {
    opacity: 0;
    transform: translateX(50px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

/* Link hover effects */
.nav-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.nav-menu a:hover::before {
  left: 100%;
}

.nav-menu a:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  transform: translateX(10px) scale(1.02);
  border-left-color: #ffd700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

/* Close animation */
.nav-menu.closing {
  animation: slideOut 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideOut {
  0% {
    right: 0;
    opacity: 1;
    transform: scale(1);
  }
  100% {
    right: -100%;
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Header Responsive Styles */
@media (max-width: 1200px) {
  header .container {
    padding: 0 15px;
  }

  header h2 {
    font-size: 1.6rem;
  }

  ul {
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  header {
    height: 80px;
  }

  header h2 {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  #mta {
    font-size: 1.8rem;
    margin-right: 10px;
  }

  ul {
    gap: 20px;
  }

  .nav {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  header .container {
    padding: 0 10px;
  }

  header h2 {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
  }

  #mta {
    font-size: 1.5rem;
    margin-right: 8px;
  }

  ul {
    gap: 15px;
  }

  .nav {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .cart-link span {
    display: none;
  }
}

@media (max-width: 600px) {
  header {
    height: 60px;
  }

  header .container {
    justify-content: space-between;
    padding: 0 15px;
    position: relative;
  }

  /* Hide only navigation links, not the entire ul */
  header ul li:not(:last-child) {
    display: none !important;
  }

  /* Keep the ul visible but hide nav items */
  header ul {
    display: flex !important;
    justify-content: flex-end;
  }

  /* Show burger menu ONLY on mobile */
  .menu {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 8px;
  }

  /* Enhanced mobile menu animations */
  .menu {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }

  /* Override any conflicting styles for mobile menu bars */
  .menu .bar {
    width: 28px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #fff, #ffd700) !important;
    margin: 4px 0 !important;
    border-radius: 3px !important;
    display: block !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  }

  /* Enhanced burger animation */
  .menu:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05) !important;
  }

  /* Active state animations */
  .menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px) !important;
    background: linear-gradient(90deg, #ff6b6b, #ffd700) !important;
  }

  .menu.active .bar:nth-child(2) {
    opacity: 0 !important;
    transform: scale(0) !important;
  }

  .menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px) !important;
    background: linear-gradient(90deg, #ff6b6b, #ffd700) !important;
  }

  /* Adjust logo and title for mobile */
  header h2 {
    font-size: 1rem;
    letter-spacing: 0;
  }

  #mta {
    font-size: 1.2rem;
    margin-right: 5px;
  }
}

@media (max-width: 480px) {
  header {
    height: 55px;
  }

  header .container {
    padding: 0 10px;
  }

  header h2 {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  #mta {
    font-size: 1rem;
    margin-right: 3px;
  }

  .menu .bar {
    width: 20px;
    height: 2px;
    margin: 1.5px 0;
  }

  .nav-menu {
    top: 0; /* Changed from 55px to 0 to cover full screen */
  }

  .nav-menu a {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  header h2 {
    font-size: 0.8rem;
    max-width: 150px;
  }

  #mta {
    font-size: 0.9rem;
  }

  header .container {
    padding: 0 8px;
  }
}

/* Hero Section */
.about-hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(26, 26, 46, 0.8) 0%,
    rgba(15, 52, 96, 0.6) 50%,
    rgba(26, 26, 46, 0.8) 100%
  );
}

.overlay {
  padding: 80px 40px;
  width: 100%;
  backdrop-filter: blur(3px);
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  animation: heroText 2s ease-out;
  letter-spacing: 4px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes heroText {
  0% {
    opacity: 0;
    transform: translateY(100px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Marble Features */
.marble-features {
  background: var(--primary);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 120px 60px;
  flex-wrap: wrap;
  min-height: 700px;
  position: relative;
  perspective: 1000px;
}

.feature-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  width: 340px;
  border-radius: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
  transform: translateY(-20px) rotateX(10deg) rotateY(5deg) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.feature-card img {
  width: 60px;
  margin-bottom: 25px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  transition: var(--transition);
}

.feature-card:hover img {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 15px 25px rgba(255, 215, 0, 0.4));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1a1a2e;
  font-weight: 700;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* Expertise Section */
.expertise-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 80px;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  gap: 80px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.expertise-images {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.expertise-images img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.expertise-images:hover img {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.expertise-text {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.expertise-text h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  color: #1a1a2e;
  background: var(--dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.expertise-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 25px;
}

/* Services Section */
.services-section {
  padding: 140px 60px;
  text-align: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
iframe {
  height: 500px;
  width: 100%;
  border-radius: 10px;
}
.services-section h2 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 80px;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-item {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform: translateY(100px);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item.animate {
  transform: translateY(0);
  opacity: 1;
}

.service-item:hover {
  transform: translateY(-25px) scale(1.05);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}

.service-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(1.1) contrast(1.1) saturate(1.1);
}

.service-item:hover img {
  transform: scale(1.15);
  filter: brightness(1.3) contrast(1.2) saturate(1.3);
}

.service-item p {
  padding: 10px;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.service-item:hover p {
  color: #ffd700;
}

/* Footer */
footer {
  background: var(--dark);
  padding: 100px 40px 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

footer h3 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-left: 60px;
  margin-bottom: 15px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

footer h3:hover {
  transform: scale(1.1) rotate(-2deg);
}

.stone {
  padding-top: 20px;
}

.icons {
  margin-left: 60px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 30px;
}

.icons i {
  color: #fff;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  font-size: 2rem;
  padding: 15px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.icons i:hover {
  color: #ffd700;
  transform: translateY(-10px) scale(1.3) rotate(15deg);
  background: rgba(255, 215, 0, 0.2);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.foot-nav {
  margin-left: 60px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.foot-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 0;
  position: relative;
  transition: var(--transition);
}

.foot-nav a:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

/* Contact Section */
.s-2 {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 60px 40px;
  margin: 60px auto;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

.contact-1 {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px 30px;
  margin: 20px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.contact-1:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-1 i {
  color: #ffd700;
  font-size: 2rem;
  transition: var(--transition);
}

.contact-1:hover i {
  color: #16213e;
  transform: scale(1.1);
}

/* Animation Classes */
.expertise-images,
.expertise-text {
  transition: var(--transition);
  opacity: 0;
}

#expertise-left {
  transform: translateX(-100px);
}

#expertise-right {
  transform: translateX(100px);
}

.animate {
  transform: translateX(0) !important;
  opacity: 1 !important;
}
.service-item p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
}
.materials-section {
  background-color: #333;
  padding: 60px 30px;
}

.materials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.materials-image {
  flex: 1.2; /* Bigger image */
}

.materials-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 500px;
}

.materials-text {
  flex: 1;
  color: #fff;
  text-align: left;
}

.materials-text h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.materials-text p {
  font-size: 18px;
  line-height: 1.6;
}
#minPrice {
  width: 45%;
}

/* ========== IMPROVED .info-card RESPONSIVE DESIGN ========== */

/* Enhanced Info Card Styles for Better Responsiveness */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  margin-bottom: 20px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  /* Enhanced responsive behavior */
  flex-wrap: wrap;
  min-height: auto;
}

.info-card:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateX(10px);
  border-left-color: #667eea;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  /* Ensure icon stays consistent across screen sizes */
  min-width: 50px;
}

.info-card:hover .info-icon {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  transform: scale(1.1);
}

.info-icon i {
  font-size: 1.3rem;
  color: white;
}

.info-details {
  flex: 1;
  min-width: 0; /* Allows text to wrap properly */
}

.info-details h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.2;
}

.info-details p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  word-wrap: break-word;
}

/* Responsive improvements for .info-card */
@media (max-width: 1024px) {
  .info-card {
    padding: 20px;
    gap: 15px;
  }

  .info-details h4 {
    font-size: 1.2rem;
  }

  .info-details p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .info-card {
    padding: 18px;
    gap: 12px;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .info-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .info-icon i {
    font-size: 1.1rem;
  }

  .info-details {
    text-align: center;
    width: 100%;
  }

  .info-details h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .info-details p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .info-card {
    padding: 15px;
    gap: 10px;
    margin-bottom: 15px;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }

  .info-icon i {
    font-size: 1rem;
  }

  .info-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .info-details p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

@media (max-width: 360px) {
  .info-card {
    padding: 12px;
    gap: 8px;
  }

  .info-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }

  .info-icon i {
    font-size: 0.9rem;
  }

  .info-details h4 {
    font-size: 0.95rem;
  }

  .info-details p {
    font-size: 0.8rem;
  }
}

/* Enhanced location info panel responsive behavior */
.location-info-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: fit-content;
}

@media (max-width: 1024px) {
  .location-info-panel {
    padding: 30px;
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .location-info-panel {
    padding: 25px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .location-info-panel {
    padding: 20px;
    border-radius: 15px;
  }
}

@media (max-width: 768px) {
  .materials-container {
    flex-direction: column;
    text-align: center;
  }

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

  .materials-text h2 {
    font-size: 28px;
  }

  .materials-text p {
    font-size: 16px;
  }
}
/* Responsive Design */
@media (max-width: 900px) {
  .about-hero h1 {
    font-size: 3rem;
  }
  .marble-features {
    padding: 60px 30px;
    flex-direction: column;
  }
  .feature-card {
    width: 90%;
    max-width: 400px;
  }
  .expertise-section {
    flex-direction: column;
    padding: 80px 40px;
    text-align: center;
  }
  .expertise-text h2 {
    font-size: 2.5rem;
  }
  .services-section h2 {
    font-size: 2.5rem;
  }
  footer h3 {
    font-size: 2.5rem;
    margin-left: 30px;
  }
  .icons,
  .foot-nav {
    margin-left: 30px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 15px;
  }
  .about-hero h1 {
    font-size: 2.5rem;
  }
  .overlay {
    padding: 40px 20px;
  }
  .marble-features {
    padding: 40px 20px;
  }
  .expertise-section {
    padding: 60px 20px;
  }
  .expertise-text h2 {
    font-size: 2rem;
  }
  .services-section {
    padding: 80px 20px;
  }
  .services-section h2 {
    font-size: 2rem;
  }
  .s-2 {
    margin: 40px 20px;
    padding: 40px 25px;
  }
  .contact-1 {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  footer {
    padding: 60px 20px 30px;
  }
  footer h3 {
    font-size: 2rem;
    margin-left: 0;
    text-align: center;
  }
  .icons,
  .foot-nav {
    margin-left: 0;
    justify-content: center;
  }
}

/* Additional spacing & responsiveness tweaks (refinement pass) */
@media (max-width: 1024px) {
  .marble-features {
    padding: 80px 30px;
  }
  .services-section {
    padding: 100px 30px;
  }
  .expertise-section {
    padding: 80px 30px;
  }
  .cta-section {
    padding: 80px 30px;
  }
  .hero-section {
    min-height: 155vh;
  }
  .hero-overlay {
    padding: 40px 18px;
  }
}

@media (max-width: 768px) {
  .marble-features {
    padding: 50px 18px;
  }
  .hero-section {
    min-height: 155vh;
  }
  .feature-card {
    padding: 28px 20px;
  }
  .feature-card h3 {
    font-size: 1.25rem;
  }
  .expertise-section {
    padding: 60px 18px;
  }
  .expertise-images img,
  .service-item img,
  .materials-image img {
    height: auto;
    max-height: 360px;
  }
  .services-section {
    padding: 60px 18px;
  }
  .services-grid {
    gap: 24px;
  }
  .services-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  .cta-section {
    padding: 60px 18px;
  }
  .cta-features {
    gap: 18px;
  }
  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.8rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  /* Make nav menu links easier to tap on small screens */
  .nav-menu a {
    padding: 20px 28px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .marble-features {
    padding: 40px 12px;
  }
  .feature-card {
    padding: 22px 16px;
    width: 100%;
  }
  .expertise-section {
    padding: 40px 12px;
  }
  .expertise-images img,
  .service-item img {
    max-height: 240px;
  }
  .services-section {
    padding: 40px 12px;
  }
  .services-section h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  .cta-section {
    padding: 40px 12px;
  }
  .hero-stats {
    gap: 10px;
  }
  .hero-section {
    min-height: 155vh;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  .nav-menu a {
    font-size: 1.15rem;
    padding: 14px 18px;
  }
}

/* Small touch improvements for header/nav */
.nav-menu a,
.nav {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.nav {
  touch-action: manipulation;
}

/* Ensure large images don't overflow in narrow layouts */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Center CTA buttons and ensure marble features content is centered */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.marble-features {
  /* already flex, ensure center alignment across contexts */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Global responsive improvements for hero sections */
@media (max-width: 1024px) {
  .about-hero h1,
  .hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
  }

  .hero-subtitle,
  .hero-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
  }

  .hero-overlay {
    padding: 40px 18px;
  }
}

@media (max-width: 768px) {
  .about-hero h1,
  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .hero-subtitle,
  .hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  }

  .hero-overlay {
    padding: 30px 12px;
  }

  .hero-stats {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-stat {
    padding: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .hero-buttons {
    gap: 12px;
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .about-hero h1,
  .hero-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }

  .hero-subtitle,
  .hero-content p {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }

  .hero-overlay {
    padding: 20px 8px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 8px;
  }

  .hero-stat {
    padding: 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}
/* =========================================
   HERO & RESPONSIVE FIXES (ADD TO BOTTOM)
   ========================================= */

/* Fix Hero Height & Layout on Mobile/Tablet */
@media (max-width: 900px) {
    .hero-section {
        /* Reset the excessive 155vh height */
        min-height: 100svh !important; 
        height: auto !important;
        
        /* Add spacing so header doesn't cover content */
        padding-top: 100px !important; 
        padding-bottom: 60px !important;
        
        /* Ensure vertical centering */
        display: flex;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        padding: 0 20px;
        transform: none !important; /* Stop layout shifts */
    }

    .hero-title {
        /* Resize text dynamically so it fits */
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    /* Fix Stats Grid */
    .hero-stats {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .hero-stat {
        /* 2 items per row on tablet, nicely spaced */
        flex: 1 1 40%; 
        min-width: 140px;
        margin: 0 !important;
    }
}

/* Fixes specifically for Phones */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 110px !important; /* More space for header on small screens */
    }

    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stat {
        /* Stack stats 1 per row on very small phones for readability */
        flex: 1 1 100%; 
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        display: block;
    }
    
    /* Ensure background image covers full height without white gaps */
    .hero-bg {
        height: 100% !important;
        min-height: 100svh;
    }
}
/* =======================================================
   ABOUT US & iPHONE SE (375px) RESPONSIVE FIXES
   ======================================================= */

/* 1. Global Container Fix for Small Screens */
@media (max-width: 480px) {
  .container, 
  .story-container, 
  .process-container, 
  .values-container,
  .materials-container,
  .factory-gallery-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
  }
}

/* 2. Hero Section Fixes (About Us Specific) */
@media (max-width: 900px) {
  .hero-section {
    min-height: 100svh !important; /* Fix height */
    height: auto !important;
    padding-top: 100px !important; /* Space for nav */
    padding-bottom: 60px !important;
    align-items: center !important;
    display: flex !important;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem) !important;
    line-height: 1.1;
  }
}

/* 3. iPhone SE (375px) & Small Mobile Specifics */
@media (max-width: 400px) {
  /* Hero Adjustments */
  .hero-title {
    font-size: 2rem !important; /* Smaller title for SE */
  }
  
  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }

  /* Force Stats to Stack */
  .hero-stats {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .hero-stat {
    width: 100% !important;
    margin: 0 !important;
    padding: 15px !important;
  }

  /* Story Section (Image vs Text) */
  .story-grid {
    display: flex !important;
    flex-direction: column;
    gap: 30px !important;
  }

  .story-image {
    order: -1; /* Show image first on mobile */
    margin-bottom: 20px;
  }
  
  .image-wrapper img {
    height: 250px !important; /* Reduce height */
  }

  /* Factory Gallery Grid Fix */
  .gallery-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

  .gallery-secondary {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Keep 2 cols for small images */
    gap: 10px !important;
  }

  .gallery-secondary .gallery-item {
    height: 120px !important;
  }

  /* Materials Section */
  .materials-container {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  .materials-image img {
    max-height: 250px !important;
    width: 100% !important;
  }

  .materials-stats {
    grid-template-columns: 1fr !important; /* Stack stats */
    gap: 15px !important;
  }

  /* Values Cards */
  .values-grid {
    grid-template-columns: 1fr !important;
  }
  
  .mission-stats, .values-stats {
    flex-direction: column !important;
    width: 100%;
  }
  
  .mission-stat, .values-stat {
    width: 100% !important;
    flex-direction: row !important; /* Keep icon next to text */
    justify-content: center;
  }

  /* Footer Adjustments */
  footer {
    padding: 40px 15px 20px !important;
  }
  
  footer h3 {
    font-size: 2rem !important;
    margin-left: 0 !important;
    text-align: center;
  }
  
  .icons, .foot-nav {
    margin-left: 0 !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 20px !important;
  }
}
/* ==================================================
   HOME HERO OPTIMIZATION FOR iPHONE SE (375px)
   ================================================== */

@media (max-width: 400px) {
    /* 1. Container & Spacing Fixes */
    .hero-section {
        min-height: 100svh !important; /* Full height but respects browser bars */
        padding-top: 80px !important;  /* Prevent header overlap */
        padding-bottom: 40px !important;
        background-attachment: scroll !important; /* Fix mobile scroll jitter */
    }

    .hero-content {
        padding: 0 15px !important;
        width: 100% !important;
    }

    /* 2. Typography Adjustments */
    .hero-badge {
        font-size: 0.8rem !important;
        padding: 6px 16px !important;
        margin-bottom: 1rem !important;
    }

    .hero-title {
        /* Clamp font size to fit "ქუთაისის ქვის ქარხანა" on two lines */
        font-size: 2.4rem !important; 
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
    }

    /* 3. Stats Stack (Vertical Layout) */
    .hero-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 2.5rem !important;
        width: 100% !important;
    }

    .hero-stat {
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: row !important; /* Keep number next to label */
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        text-align: left !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 0 !important;
        min-width: 60px !important; /* Align numbers */
        text-align: right !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
        text-align: left !important;
    }

    /* 4. Buttons (Full Width Stack) */
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .hero-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
    }
}