/* Root Variables */
:root {
  --color-primary: #1a1a1a;
  --color-secondary: #2d3748;
  --color-accent: #4a5568;
  --color-light: #f7fafc;
  --color-white: #ffffff;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-border: #e2e8f0;

  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-secondary: Georgia, "Times New Roman", serif;

  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 1.5rem 0;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  font-size: 1.75rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

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

.navbar-nav .nav-link:hover {
  color: var(--color-white) !important;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a9d 0%, #2d37488a 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: fixed; /* Sabitlenir */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}


.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-align: center;
  padding: 2rem;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

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

.hero-description {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--color-white);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* About Section */
.about-section {
  background: var(--color-white);
  padding: 6rem 0;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.about-content {
  padding: 2rem 0;
}

.about-content .lead {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.feature-item {
  padding: 1.5rem;
  background: var(--color-light);
  border-radius: 8px;
  transition: var(--transition);
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.feature-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.feature-item p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
  background: var(--color-light);
  padding: 6rem 0;
}

.project-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.project-location {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.project-location i {
  margin-right: 0.25rem;
}

.project-description {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* References Section */
.references-section {
  background: var(--color-white);
  padding: 6rem 0;
}

.reference-card {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reference-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.reference-text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.7;
}

.reference-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reference-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
}

.reference-author h5 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-primary);
}

.reference-author p {
  margin: 0;
  font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
  background: var(--color-light);
  padding: 6rem 0;
}

.contact-info-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.contact-info-card h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--color-text-light);
  margin: 0;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.1);
}

.business-hours {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.business-hours h4 {
  color: var(--color-primary);
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.125rem;
}

.social-links a:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-white);
}

/* Modal Styles */
.modal-content {
  border-radius: 8px;
  border: none;
}

.modal-header {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 8px 8px 0 0;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-body h6 {
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.modal-body ul {
  padding-left: 1.5rem;
}

.modal-body ul li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.createdBy {
  font-family: "Shalimar", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
}


/* Responsive Design */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-nav {
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
  }

  .navbar {
    background: rgba(26, 26, 26, 0.95);
  }

  .navbar-nav .nav-link::after {
    background: none;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-section,
  .projects-section,
  .references-section,
  .contact-section {
    padding: 4rem 0;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .hero-section {
    height: 100svh;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .feature-item {
    padding: 1rem;
  }

  .project-content {
    padding: 1.25rem;
  }

  .reference-card {
    padding: 1.5rem;
  }
}




.logo-topbar {
    height: 52px !important;
}
