* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-button:hover {
  background-color: #a32a2a;
}
:root {
  --primary-color: #8B1A1A;
  --primary-dark: #5A0F0F;
  --primary-light: #A32424;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --white: #ffffff;
  --cream: #F8F6F3;
  --gray-light: #F5F5F5;
  --border-color: #e0e0e0;
  --shadow: 0 4px 12px rgba(139, 26, 26, 0.08);
  --shadow-lg: 0 8px 24px rgba(139, 26, 26, 0.12);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--bg-light);
    border-radius: 20px;
    margin: 4rem 0;
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(139, 26, 26, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 26, 26, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo {
  height: 70px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 10px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
  border-radius: 2px;
}

.hero {
  position: relative;
  height: 650px;
 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(90, 15, 15, 0.85), rgba(139, 26, 26, 0.75));
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.6rem;
  margin-bottom: 40px;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.15rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(139, 26, 26, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(139, 26, 26, 0.4);
}

.cta-button-secondary {
  display: inline-block;
  padding: 18px 50px;
  background-color: var(--white);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  font-weight: 600;
  font-size: 1.15rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(139, 26, 26, 0.15);
}

.cta-button-secondary:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.3);
}

.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.features h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.features h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.feature-card {
  text-align: center;
  padding: 45px 30px;
  background-color: var(--white);
  border-radius: 16px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 25px;
  filter: grayscale(0.2);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: var(--primary-color);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.services-preview {
  padding: 100px 0;
  /* background-color: var(--white); */
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.services-preview h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.services-preview h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--primary-color);
  font-weight: 600;
}

.service-content p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer {
  background-color: #1A1A1A;
  color: var(--white);
  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 120px;
  filter: brightness(0) invert(1);
  width: auto;
  margin-bottom: 25px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4);
}
/* Dropdown (select) uchun stil */
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    color: #333;
    appearance: none; /* brauzerning standart o‘qchasini yashirish */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238B1A1A' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover holati */
.form-group select:hover {
    border-color: var(--primary-color);
}

/* Fokus holati */
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

/* Disabled holati */
.form-group select:disabled {
    background-color: #f5f5f5;
    color: #888;
    cursor: not-allowed;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer-col p {
  line-height: 1.8;
  color: #CCCCCC;
}

.footer-col h4 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--primary-light);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #CCCCCC;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

.page-header {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.services-detail {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse .service-detail-content {
  direction: ltr;
}

.service-detail-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(139, 26, 26, 0.15);
  transition: transform 0.4s ease;
}

.service-detail-card:hover .service-detail-image img {
  transform: scale(1.03);
}

.service-detail-content h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 700;
}

.service-detail-content p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.15rem;
  line-height: 1.9;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 14px 0;
  padding-left: 40px;
  position: relative;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 50%, var(--white) 100%);
}


/* Xarita tugmasi uchun stil */
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 16px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.map-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.map-btn:hover::before {
    left: 100%;
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.map-btn:active {
    transform: translateY(-1px);
}

.map-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.map-btn:hover svg {
    transform: scale(1.1);
}

/* Address input group uchun stil */
.address-input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
    margin-bottom: 10px;
}

.address-input-group input {
    flex: 1;
    margin-bottom: 0;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.address-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.address-input-group input:read-only {
    background-color: var(--gray-light);
    cursor: pointer;
}

.address-input-group input:read-only:hover {
    border-color: var(--primary-light);
}

.address-hint {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 8px;
    display: block;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .address-input-group {
        flex-direction: column;
    }
    
    .map-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
    }
    
    .address-input-group input {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .map-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .map-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Leaflet marker customization */
.custom-marker {
    background: var(--primary-color);
    border: 3px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}



/* Xarita chegarasi ko'rinishi */
.leaflet-interactive {
    stroke-dasharray: 5, 5;
}

/* Xarita chegarasi matni */
.map-boundary-notice {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 26, 26, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}













/* Reviews Section Updates */
.reviews-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.reviews-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.review-screenshot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.review-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.review-card:hover .review-screenshot img {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover .screenshot-overlay {
  opacity: 1;
}

.zoom-btn {
  background: rgba(139, 26, 26, 0.8);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  background: rgba(139, 26, 26, 1);
  transform: scale(1.1);
}

.zoom-btn svg {
  width: 30px;
  height: 30px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--primary-light);
}

.modal-caption {
  text-align: center;
  color: white;
  padding: 10px 0;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reviews-section h2 {
    font-size: 2.5rem;
  }
  
  .modal-content {
    max-width: 95%;
    max-height: 70%;
  }
  
  .close-btn {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .reviews-section h2 {
    font-size: 2rem;
  }
  
  .zoom-btn {
    width: 50px;
    height: 50px;
  }
  
  .zoom-btn svg {
    width: 25px;
    height: 25px;
  }
}


/* body.preloader-active {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
} */

/* Modal uchun yangi stillar */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  animation: fadeIn 0.3s ease;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  overflow: hidden;
  z-index: 3001;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
}

.modal-close {
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--cream);
  transform: scale(1.1);
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.modal-body p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  justify-content: center;
}

.telegram-btn {
  background: linear-gradient(135deg, #0088cc, #006699);
  color: white;
}

.instagram-btn {
  background: linear-gradient(135deg, #E1306C, #C13584);
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-btn:active {
  transform: translateY(-1px);
}

/* Modal ochilganda body ga scroll qilishni o'chirish */
body.modal-open {
  overflow: hidden;
}

/* Responsive design */
@media (max-width: 768px) {
  .modal-container {
    width: 95%;
  }
  
  .modal-header {
    padding: 20px 25px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-body {
    padding: 25px;
  }
  
  .modal-body p {
    font-size: 1.1rem;
  }
  
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .social-btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .modal-header {
    padding: 18px 20px;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-body p {
    font-size: 1rem;
  }
  
  .social-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}




.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5A0F0F 0%, #8B1A1A 50%, #5A0F0F 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.preloader-content {
    text-align: center;
    position: relative;
    animation: floatIn 1.2s ease-out;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preloader-logo {
    position: relative;
    margin-bottom: 50px;
    display: inline-block;
}

.preloader-logo img {
    height: 140px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(255, 255, 255, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: pulse 2.5s ease-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.preloader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
}

.spinner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid transparent;
}

.spinner-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    border-top: 3px solid rgba(255, 255, 255, 0.9);
    border-right: 3px solid rgba(255, 255, 255, 0.9);
    animation: rotate 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    border-bottom: 3px solid rgba(255, 255, 255, 0.7);
    border-left: 3px solid rgba(255, 255, 255, 0.7);
    animation: rotate 2s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    border-top: 3px solid rgba(255, 255, 255, 0.5);
    border-right: 3px solid rgba(255, 255, 255, 0.5);
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.preloader-text {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

.preloader-subtext {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 35px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.7);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

body.preloader-active {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

/* Asosiy kontent */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.main-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.main-content p {
    font-size: 1.2rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .preloader-logo img {
        height: 110px;
    }

    .logo-pulse {
        width: 160px;
        height: 160px;
    }

    .preloader-spinner {
        width: 100px;
        height: 100px;
        margin-bottom: 35px;
    }

    .preloader-text {
        font-size: 1.6rem;
    }

    .preloader-subtext {
        font-size: 1rem;
    }

    .main-content h1 {
        font-size: 2.2rem;
    }

    .main-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .preloader-logo img {
        height: 90px;
    }

    .logo-pulse {
        width: 140px;
        height: 140px;
    }

    .preloader-spinner {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }

    .preloader-text {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .preloader-subtext {
        font-size: 0.95rem;
    }

    .loading-dots span {
        width: 10px;
        height: 10px;
    }

    .main-content h1 {
        font-size: 1.8rem;
    }

    .main-content p {
        font-size: 0.95rem;
    }
}








/* FAQ Section Styles */
.faq-section {
  padding: 100px 0;
  /* background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); */
  background-color: var(--white);
}

.faq-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.faq-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.faq-question {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(139, 26, 26, 0.03);
}

.faq-question h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 300;
  transition: all 0.3s ease;
  min-width: 30px;
  text-align: center;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
  padding-bottom: 30px;
}

/* Active state for FAQ items */
.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .faq-question {
    padding: 25px 20px;
  }
  
  .faq-question h3 {
    font-size: 1.2rem;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .faq-section h2 {
    font-size: 2rem;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .faq-answer p {
    font-size: 1rem;
  }
}








.about-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: 700;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.15rem;
  line-height: 1.9;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  margin-bottom: 100px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 50px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  transition: transform 0.5s ease;
}

.stat-card:hover::before {
  transform: translate(-25%, -25%);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(139, 26, 26, 0.3);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.values-section {
  margin-bottom: 100px;
}

.values-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.values-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
}

.value-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.value-icon {
  font-size: 4rem;
  margin-bottom: 25px;
  filter: grayscale(0.2);
}

.value-card h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--primary-color);
  font-weight: 600;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.mission-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(139, 26, 26, 0.1);
}

.mission-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 35px;
  color: var(--primary-color);
  font-weight: 700;
}

.mission-content p {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 25px;
  text-align: center;
}

.reviews-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 35px;
}

.review-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.review-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.review-card:hover .review-image img {
  transform: scale(1.08);
}

.review-content {
  padding: 30px;
}

.review-stars {
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: #FFA000;
}

.review-text {
  color: var(--text-light);
  margin-bottom: 25px;
  font-style: italic;
  line-height: 1.8;
  font-size: 1.05rem;
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.review-location {
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}




@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr; /* Yonma-yon emas, ustma-ust */
        gap: 2rem;
    }

    .contact {
        padding: 50px 0; /* Mobil ekranlar uchun biroz kichikroq padding */
    }

    .contact-item {
        flex-direction: row;
        align-items: center;
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.8rem;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 12px 16px;
    }

    .btn {
        width: 100%; /* Tugma to‘liq kenglikda chiqadi */
        padding: 12px;
    }
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 96px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 30px 0;
    gap: 20px;
  }

  .nav-menu.active {
    left: 0;
  }
  .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
  .hero {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .service-detail-card,
  .service-detail-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: 35px;
    gap: 35px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .features h2,
  .services-preview h2,
  .page-header h1,
  .values-section h2,
  .mission-section h2 {
    font-size: 2.5rem;
  }

  .cta-section h2 {
    font-size: 2.5rem;
  }

 .footer-col p {
    color: #CCCCCC;
    line-height: 1.6;
}
}

@media (max-width: 480px) {
  .hero {
    height: 450px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .cta-button,
  .cta-button-secondary {
    padding: 15px 35px;
    font-size: 1rem;
  }

  .features,
  .services-preview,
  .services-detail,
  .about-content,
  .reviews-section,
  .cta-section {
    padding: 60px 0;
  }

  .service-detail-image img,
  .about-image img {
    height: 280px;
  }


  .service-detail-card {
    padding: 25px;
  }

  .mission-section {
    padding: 40px 25px;
  }

  .features h2,
  .services-preview h2,
  .values-section h2 {
    font-size: 2rem;
  }
}

