* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #f5f4f0;
  color: #2c2c2c;
  line-height: 1.7;
}

/* PROGRESS BAR */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #c8a96e;
  z-index: 9999;
  transition: width 0.1s;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1a2744;
  z-index: 1000;
  border-bottom: 3px solid #c8a96e;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-k {
  width: 44px;
  height: 44px;
  background: #c8a96e;
  color: #1a2744;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
}

.logo-sub {
  color: #c8a96e;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.menu li {
  cursor: pointer;
  color: #cbd5e1;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: 0.3s;
  padding-bottom: 2px;
}

.menu li:hover,
.menu li.active {
  color: #c8a96e;
  border-bottom: 1px solid #c8a96e;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a2744 0%, #243660 60%, #1a2744 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 60px;
}

.hero-inner {
  max-width: 800px;
}

.hero-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 56px;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: normal;
}

.hero p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  padding: 14px 36px;
  background: #c8a96e;
  color: #1a2744;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: #b8965a;
}

.btn-secondary {
  padding: 14px 36px;
  background: transparent;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: #c8a96e;
  color: #c8a96e;
}

/* HERO STATS */
.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 60px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 30px 50px;
}

.stat-item {
  text-align: center;
  padding: 0 40px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

.stat-number {
  display: block;
  font-size: 36px;
  color: #c8a96e;
  font-weight: bold;
}

.stat-label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* SECTIONS */
.section {
  padding: 90px 40px;
}

.section-alt {
  background: #eceae4;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.section-label {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c8a96e;
  margin-bottom: 12px;
}

h2 {
  font-size: 36px;
  color: #1a2744;
  font-weight: normal;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid #c8a96e;
  display: inline-block;
}

/* ABOUT */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  font-size: 16px;
  color: #444;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.about-card {
  background: white;
  padding: 28px;
  border-top: 3px solid #c8a96e;
  transition: 0.3s;
}

.about-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.about-icon {
  color: #c8a96e;
  font-size: 14px;
  margin-bottom: 12px;
}

.about-card h3 {
  font-size: 17px;
  color: #1a2744;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.mission-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #d4cfc4;
}

.mission-left, .mission-right {
  padding: 32px;
}

.mission-left {
  border-right: 1px solid #d4cfc4;
}

.mission-left h3, .mission-right h3 {
  font-size: 18px;
  color: #1a2744;
  margin-bottom: 16px;
}

.mission-left ul {
  padding-left: 20px;
}

.mission-left ul li {
  color: #555;
  font-size: 14px;
  margin-bottom: 8px;
}

.mission-right p {
  color: #555;
  font-size: 14px;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid #d4cfc4;
}

.service-item {
  padding: 28px;
  border-bottom: 1px solid #d4cfc4;
  border-right: 1px solid #d4cfc4;
  background: white;
  transition: 0.3s;
}

.service-item:hover {
  background: #1a2744;
}

.service-item:hover h3 {
  color: #c8a96e;
}

.service-item:hover p {
  color: #94a3b8;
}

.service-item:hover .service-num {
  color: rgba(200, 169, 110, 0.3);
}

.service-num {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 28px;
  color: #e0dbd0;
  font-weight: bold;
  margin-bottom: 8px;
  transition: 0.3s;
}

.service-item h3 {
  font-size: 16px;
  color: #1a2744;
  margin-bottom: 8px;
  transition: 0.3s;
}

.service-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  transition: 0.3s;
}

/* COLLABORATIONS */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.collab-card {
  background: white;
  padding: 28px;
  border-left: 4px solid #c8a96e;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.collab-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.collab-badge {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c8a96e;
  border: 1px solid #c8a96e;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.collab-card h3 {
  font-size: 24px;
  color: #1a2744;
  margin-bottom: 6px;
}

.collab-subtitle {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-bottom: 14px;
}

.collab-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.collab-link {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #1a2744;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: auto;
  display: inline-block;
  text-align: left;
}

.collab-link:hover {
  color: #c8a96e;
}

/* COLLAB MODAL */
.collab-modal {
  flex-direction: column !important;
  max-width: 650px;
}

.collab-modal-header {
  background: #1a2744;
  padding: 30px;
  border-bottom: 3px solid #c8a96e;
}

.collab-modal-header h3 {
  font-size: 32px;
  color: white;
  margin: 10px 0 6px;
}

.collab-modal-header .collab-badge {
  color: #c8a96e;
  border-color: #c8a96e;
}

.collab-modal-header .collab-subtitle {
  color: #94a3b8;
  margin: 0;
  font-style: italic;
  font-size: 14px;
}

/* PARTNERS */
.partners-section {
  background: #f5f4f0;
  border-top: 1px solid #e0dbd0;
  border-bottom: 1px solid #e0dbd0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px 36px;
  background: white;
  border: 1px solid #e0dbd0;
  border-top: 3px solid #c8a96e;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  min-width: 180px;
  font-family: Georgia, 'Times New Roman', serif;
}

.partner-card:hover {
  border-color: #c8a96e;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.partner-name {
  font-size: 22px;
  color: #1a2744;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}

.partner-card:hover .partner-name {
  color: #c8a96e;
}

.partner-sub {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #888;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: white;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #e0dbd0;
}

.team-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.team-img-wrap {
  overflow: hidden;
  height: 260px;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: 0.4s;
}

/* Azamat — yuzi rasmning chap tomonida */
.team-img-wrap img[src*="azamat"] {
  object-position: 15% 20%;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
  border-top: 2px solid #c8a96e;
}

.team-info h3 {
  font-size: 16px;
  color: #1a2744;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-bottom: 10px;
}

.team-more {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #c8a96e;
  letter-spacing: 0.5px;
}

/* MODAL */
.modal-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  overflow-y: auto;
}

.modal-bg.active {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.modal {
  background: white;
  max-width: 750px;
  width: 90%;
  position: relative;
  display: flex;
  flex-direction: row;
  margin: auto;
  border-top: 4px solid #c8a96e;
}

.modal img {
  width: 260px;
  min-width: 260px;
  align-self: stretch;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* Modal — har bir a'zo uchun maxsus pozitsiya */
.modal img[src*="azamat"] {
  object-position: 15% 20%;
}
.modal img[src*="kobil"] {
  object-position: center 20%;
}
.modal img[src*="dilshoda"] {
  object-position: center 20%;
}
.modal img[src*="nilufar"] {
  object-position: center 20%;
}
.modal img[src*="bekzod"] {
  object-position: center 20%;
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
  max-height: 70vh;
}

.modal-body h3 {
  font-size: 22px;
  color: #1a2744;
  margin-bottom: 4px;
}

.modal-role {
  color: #888;
  font-size: 13px;
  font-style: italic;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0dbd0;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section h4 {
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c8a96e;
  margin-bottom: 8px;
}

.modal-section p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.modal-section ul {
  padding-left: 18px;
}

.modal-section ul li {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1a2744;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
}

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: white;
  padding: 28px;
  border-left: 4px solid #1a2744;
  transition: 0.3s;
}

.news-card:hover {
  border-left-color: #c8a96e;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-tag {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  background: #1a2744;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.news-date {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 16px;
  color: #1a2744;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* CONTACT */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input, textarea {
  padding: 12px 16px;
  border: 1px solid #d4cfc4;
  background: white;
  font-family: Georgia, serif;
  font-size: 14px;
  color: #2c2c2c;
  outline: none;
  transition: 0.3s;
}

input:focus, textarea:focus {
  border-color: #1a2744;
}

textarea {
  height: 130px;
  resize: vertical;
}

button[type="submit"] {
  padding: 14px;
  background: #1a2744;
  color: white;
  border: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background: #c8a96e;
  color: #1a2744;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  font-size: 20px;
}

.info-item h4 {
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c8a96e;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 14px;
  color: #555;
}

.info-item a {
  color: #1a2744;
  text-decoration: none;
  transition: 0.3s;
}

.info-item a:hover {
  color: #c8a96e;
}

/* FOOTER */
.footer {
  background: #1a2744;
  padding: 30px 40px;
  border-top: 3px solid #c8a96e;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer p {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #64748b;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1a2744;
  color: #c8a96e;
  border: 1px solid #c8a96e;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: 0.3s;
}

.back-to-top:hover {
  background: #c8a96e;
  color: #1a2744;
}

.back-to-top.visible {
  display: block;
}

/* FADE ANIMATION */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ACCESSIBILITY — animatsiyalarni o'chirish */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hidden {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  .mission-box {
    grid-template-columns: 1fr;
  }
  .mission-left {
    border-right: none;
    border-bottom: 1px solid #d4cfc4;
  }
  .hero-stats {
    flex-wrap: wrap;
    padding: 20px 30px;
    gap: 20px;
    justify-content: center;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }
  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .menu li {
    font-size: 12px;
  }
  .hero {
    padding: 130px 20px 50px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
  .section {
    padding: 60px 16px;
  }
  h2 {
    font-size: 26px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-item {
    border-right: none;
  }
  .collab-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    gap: 12px;
  }
  .partner-card {
    min-width: 140px;
    padding: 22px 24px;
  }
  .partner-name {
    font-size: 18px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-img-wrap {
    height: 200px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .modal-bg.active {
    padding: 20px 12px;
    align-items: flex-start;
  }
  .modal {
    flex-direction: column;
    width: 100%;
    margin-top: 60px;
  }
  .modal img {
    width: 100%;
    min-width: unset;
    height: 220px;
    object-position: center 20%;
  }
  .modal-body {
    max-height: unset;
    padding: 20px;
  }
  .collab-modal {
    margin-top: 60px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }
  .logo-title {
    font-size: 15px;
  }
  .logo-sub {
    font-size: 9px;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}