/* Umumiy sahifa */
.education-page {
    background: #0d0d0d;
    color: #fff;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.lux-title {
    font-size: 42px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1.5s ease;
}

.lux-subtitle {
    font-size: 18px;
    margin: 15px 0 30px;
    color: #ccc;
    animation: fadeInUp 1.5s ease;
}

/* Tugmalar */
.btn-golden {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}
.btn-golden:hover {
    background: linear-gradient(90deg, #ffd700, #d4af37);
    transform: scale(1.05);
}

/* Section titles */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Afzalliklar */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.adv-card i {
    font-size: 40px;
    color: #ffd700;
    margin-bottom: 15px;
}

/* Yo‘nalishlar */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.program-card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: 0.3s;
}
.program-card:hover {
    transform: scale(1.05);
    border-color: #ffd700;
}

/* Grants */
.grants {
    background: linear-gradient(135deg, #1a1a1a, #111);
    padding: 80px 20px;
    text-align: center;
}

/* Testimonials */
.edu-testimonials {
    padding: 80px 20px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.testimonial {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: fadeIn 2s ease;
}
.testimonial span {
    display: block;
    margin-top: 10px;
    color: #ffd700;
    font-weight: 600;
}

/* FAQ */
.faq {
    padding: 80px 20px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-item h3 {
    font-size: 20px;
    color: #ffd700;
}
.faq-item p {
    color: #b40404be;
    margin-top: 5px;
}

/* Animatsiyalar */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(30px); }
}

/* Responsiv */
@media (max-width: 768px) {
    .lux-title {
        font-size: 28px;
    }
    .section-title {
        font-size: 24px;
    }
}

/* Gradient yozuv */
.nav-link-golden {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    background-size: 250% 100%;
    background-position: 0 0;
    transition: background-position 0.7s ease;
    display: inline-block;
}

/* Hover effekti */
.nav-link-golden:hover {
    background-position: 100% 0;
}

/* Gradient tugma */
.btn-golden {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #F8E08E, #cfa77d, #A87B3F, #cfa77d, #F8E08E);
    color: #111;
    background-size: 250% 100%;
    transition: background-position 0.7s ease, transform 0.3s ease;
}

.btn-golden:hover {
    background-position: 100% 0;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(200, 160, 80, 0.4);
}

.hero-education {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;      /* rasm butun ekran bo‘ylab cho‘zilsin */
    background-position: center;
}

.hero-education .container {
    position: relative;
    z-index: 2;
}

/* Orqa fon rasmlari */
.hero-education::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    z-index: 1;
}

.hero-education::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.advantages {
    position: relative;
    padding: 80px 20px;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.15), transparent 70%);
    text-align: center;
}

.advantages h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.adv-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

.adv-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 50px 20px 30px; /* tepadan joy qoldirdik */
    text-align: center;
    color: #fff;
    position: relative;
    overflow: visible; /* ikonka tashqariga chiqishi uchun */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    margin: auto;
    height: 200px;
}
.adv-card img.icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
}

.adv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.programs {
  padding: 40px 20px;
  background: #0e0e0e;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(15, 15, 15, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.15);
}

.program-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card:hover .program-img img {
  transform: scale(1.1);
}

.program-content {
  padding: 20px;
}

.program-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.program-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #ddd;
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #cfa77d;
  border-radius: 25px;
  color: #cfa77d;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  color: #000;
}

.programs h2 {
  text-align: center;              /* markazga olib keladi */
  font-size: 2.4rem;               /* kattalashtiramiz */
  margin-bottom: 50px;             /* pastga bo‘sh joy */
  font-weight: 700;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F, #cfa77d, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 250% 100%;
  animation: shine 5s linear infinite; /* jilolanadigan effekt */
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* === HERO SECTION === */
.contact-hero-section {
  background: linear-gradient(135deg, #111, #1a1a1a);
  padding: 100px 20px;
  text-align: center;
}

.contact-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.contact-hero-subtitle {
  font-size: 1.2rem;
  color: #ddd;
}

/* === INFO SECTION === */
.contact-info-section {
  background: #0f0f0f;
  padding: 80px 20px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 15px;
  text-align: center;
  padding: 40px 20px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.contact-info-card i {
  font-size: 40px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

/* === FORM SECTION === */
.contact-form-section {
  background: #181818;
  padding: 80px 20px;
  text-align: center;
}

.contact-form-title {
  font-size: 2rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form-subtitle {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 30px;
}

.contact-form-box {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-box input,
.contact-form-box textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 8px;
  padding: 15px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.btn-contact {
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
}

.btn-contact:hover {
  background-position: right center;
  transform: translateY(-3px);
}

/* === MAP SECTION === */
.contact-map-section {
  background: #0f0f0f;
  padding: 80px 20px;
  text-align: center;
}

.contact-map-title {
  font-size: 2rem;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-map-section iframe {
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}
/* === HERO === */
.docs-hero-section {
  background: linear-gradient(135deg, #111, #1a1a1a);
  padding: 100px 20px;
  text-align: center;
}

.docs-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.docs-hero-subtitle {
  font-size: 1.2rem;
  color: #ccc;
}

/* === CATEGORY === */
.docs-category {
  padding: 20px 20px;
  background: #0f0f0f;
}

.docs-category-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === GRID === */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.docs-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.docs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.docs-card-image img {
  width: 100%;
  object-fit: contain;
  background: rgba(255, 215, 0, 0.05);
}

.docs-card-content {
  padding: 20px;
  text-align: center;
}

.docs-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.docs-card-content p {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 20px;
}

.btn-docs {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-docs:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}
/* === HERO === */
.docs-hero-section {
  position: relative;
  background: url("https://southernmarylandlaw.com/wp-content/webp-express/webp-images/doc-root/wp-content/uploads/2021/03/CIV-Documents-768x512.jpeg.webp") center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.docs-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  z-index: 1;
}

.docs-hero-section .container {
  position: relative;
  z-index: 2;
}

.docs-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.docs-hero-subtitle {
  font-size: 1.2rem;
  color: #ddd;
}

.lang_hero-education {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;      /* rasm butun ekran bo‘ylab cho‘zilsin */
    background-position: center;
}

.lang_hero-education .container {
    position: relative;
    z-index: 2;
}

/* Orqa fon rasmlari */
.lang_hero-education::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    z-index: 1;
}

.lang_hero-education::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* === Hero === */
.apply-hero {
  position: relative;
  background: url("images/apply-bg.jpg") center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}
.apply-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.apply-hero .container {
  position: relative;
  z-index: 2;
}
.apply-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.apply-subtitle {
  font-size: 1.2rem;
  color: #ddd;
}

/* === Form === */
.apply-form-section {
  background: #111;
  padding: 60px 20px;
  color: #fff;
}
.apply-form {
  max-width: 700px;
  margin: 0 auto;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #cfa77d;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 8px #cfa77d;
}
.btn-apply {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #FFD700, #cfa77d, #A87B3F);
  color: #111;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.btn-apply:hover {
  transform: scale(1.03);
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}
.work-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
}

.work-hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.work-hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.work-hero-slider .slide.active {
  opacity: 1;
}

/* qoramtir overlay */
.work-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.work-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.work-hero-title {
  font-size: 42px;
  font-weight: 700;
  margin: 20px 0;
}

.btn-golden {
  display: inline-block;
  background: linear-gradient(45deg, #d4af37, #b8860b);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-golden:hover {
  opacity: 0.9;
}
