/* 
 /*
  AL KHAYT Fashion Academy -style.css
  Developed by: 1442abhi
*/


/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ========================================
   TYPOGRAPHY SYSTEM
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05px;
    color: #45260a;
}

h1 {
    font-size: 6.2rem;
    margin-bottom: 2.4rem;
}

h2 {
    font-size: 4.4rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 3rem;
    margin-bottom: 1.6rem;
}

h4 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

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

/* ========================================
   NAVIGATION BAR
======================================== */
.navbar {
    background-color: #fff;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.6rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 2.4rem;
    font-weight: 700;
    color: #45260a;
}

.logo img {
    height: 8rem;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.2rem;
}

.nav-menu a {
    font-size: 1.8rem;
    font-weight: 500;
    color: #555;
    padding: 0.8rem 1.6rem;
    border-radius: 9px;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #45260a;
    background-color: #DCD0FF;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.hamburger span {
    width: 2.5rem;
    height: 0.3rem;
    background-color: #45260a;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(135deg, #e0d5ff 0%, #DCD0FF 100%);
    padding: 9.6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
    align-items: center;
}

.hero-content {
    opacity: 1;
}

.hero-title {
    font-size: 6.2rem;
    color: #45260a;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 2.6rem;
    font-style: italic;
    color: #6f6f6f;
    margin-bottom: 2.4rem;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.hero-description {
    font-size: 2rem;
    color: #555;
    margin-bottom: 4rem;
    line-height: 1.8;
    max-width: 54rem;
}

.hero-buttons {
    display: flex;
    gap: 1.6rem;
}

.hero-image {
    opacity: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 11px;
    box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-block;
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: #DCD0FF;
    color: #45260a;
    border: 2px solid #45260a;
}

.btn-primary:hover {
    background-color: #c6bbe6;
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: #45260a;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a3210;
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 2rem 4.8rem;
    font-size: 2rem;
}

/* ========================================
   SECTIONS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 6.4rem;
}

.section-header h2 {
    color: #45260a;
    margin-bottom: 1.2rem;
}

.section-header p {
    font-size: 2rem;
    color: #6f6f6f;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: 9.6rem 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 2.4rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 3.2rem;
    border-radius: 11px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 4.4rem;
    margin-bottom: 1.6rem;
}

.feature-card h3 {
    font-size: 2rem;
    color: #45260a;
    margin-bottom: 1.2rem;
}

.feature-card p {
    font-size: 1.6rem;
    color: #777;
    margin-bottom: 0;
}

/* ========================================
   COURSES PREVIEW SECTION
======================================== */
.courses-preview {
    padding: 9.6rem 0;
    background-color: #f9f9f9;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.2rem;
    margin-bottom: 4.8rem;
}

.course-preview-card {
    background-color: #fff;
    padding: 3.2rem;
    border-radius: 11px;
    text-align: center;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.course-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.1);
}

.course-icon {
    font-size: 5.2rem;
    margin-bottom: 1.6rem;
}

.course-preview-card h3 {
    font-size: 2.4rem;
    color: #45260a;
    margin-bottom: 1.2rem;
}

.course-preview-card p {
    font-size: 1.6rem;
    color: #777;
    margin-bottom: 0;
}

/* ========================================
   TESTIMONIALS SECTION (NEW)
======================================== */
.testimonials {
    padding: 9.6rem 0;
    background: var(--card-gradient);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3.2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
}

.testimonial-stars {
    font-size: 2rem;
    margin-bottom: 1.6rem;
    color: var(--accent-gold);
}

.testimonial-text {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.4rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.testimonial-author strong {
    font-size: 1.8rem;
    color: var(--deep-espresso);
}

.testimonial-author span {
    font-size: 1.4rem;
    color: #999;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    background: linear-gradient(135deg, #45260a 0%, #5a3210 100%);
    padding: 9.6rem 0;
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    color: #fff;
    font-size: 4.4rem;
    margin-bottom: 2.4rem;
}

.cta-content p {
    font-size: 2rem;
    margin-bottom: 3.2rem;
    color: #e0d5ff;
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
    background: linear-gradient(135deg, #e0d5ff 0%, #DCD0FF 100%);
    padding: 6.4rem 0;
    text-align: center;
}

.page-header h1 {
    color: #45260a;
    margin-bottom: 1.2rem;
}

.page-header p {
    font-size: 2rem;
    color: #6f6f6f;
    margin-bottom: 0;
}

/* ========================================
   COURSES SECTION (DETAILED)
======================================== */
.courses-section {
    padding: 9.6rem 0;
}

.course-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    align-items: center;
    margin-bottom: 8rem;
    padding: 4.8rem;
    background-color: #f9f9f9;
    border-radius: 11px;
}

.course-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.course-card.reverse .course-images {
    order: 2;
}

.course-card.reverse .course-content {
    order: 1;
}

.course-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.course-images img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.1);
}

.course-content h2 {
    color: #45260a;
    margin-bottom: 2.4rem;
}

.course-content p {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 2.4rem;
    line-height: 1.6;
}

/* ========================================
   REGISTRATION FORM
======================================== */
.registration-section {
    padding: 6.4rem 0 9.6rem;
    background-color: #f9f9f9;
}

.form-container {
    max-width: 80rem;
    margin: 0 auto;
    background-color: #fff;
    padding: 4.8rem;
    border-radius: 11px;
    box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

.form-section h2 {
    color: #45260a;
    margin-bottom: 3.2rem;
    font-size: 3rem;
}

.form-hint {
    color: #777;
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
}

.form-group {
    margin-bottom: 2.4rem;
}

.form-group label {
    display: block;
    font-size: 1.6rem;
    font-weight: 600;
    color: #45260a;
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.6rem;
    font-size: 1.6rem;
    font-family: inherit;
    border: 2px solid #DCD0FF;
    border-radius: 9px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c6bbe6;
    box-shadow: 0 0 0 4px rgba(220, 208, 255, 0.3);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 1.2rem;
    border-radius: 9px;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background-color: #f9f9f9;
}

.checkbox-label input[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.terms-section {
    padding: 2.4rem;
    background-color: #f9f9f9;
    border-radius: 9px;
}

.terms-section .checkbox-label {
    font-size: 1.6rem;
}

.terms-section a {
    color: #45260a;
    text-decoration: underline;
}

.form-actions {
    text-align: center;
}

.form-message {
    padding: 1.6rem;
    border-radius: 9px;
    margin-top: 2.4rem;
    text-align: center;
    font-size: 1.6rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========================================
   RULES SECTION
======================================== */
.rules-section {
    padding: 6.4rem 0 9.6rem;
}

.rules-content {
    max-width: 90rem;
    margin: 0 auto;
}

.rule-item {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 3.2rem;
    margin-bottom: 4.8rem;
    padding: 3.2rem;
    background-color: #f9f9f9;
    border-radius: 11px;
    transition: all 0.3s;
}

.rule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.1);
}

.rule-number {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #DCD0FF 0%, #c6bbe6 100%);
    color: #45260a;
    font-size: 3.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rule-text h3 {
    color: #45260a;
    margin-bottom: 1.2rem;
}

.rule-text p {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.rules-footer {
    text-align: center;
    padding: 4.8rem 3.2rem;
    background-color: #f9f9f9;
    border-radius: 11px;
    margin-top: 4.8rem;
}

.rules-footer p {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 3.2rem;
    font-weight: 500;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: #45260a;
    color: #e0d5ff;
    padding: 6.4rem 0 3.2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.8rem;
    margin-bottom: 4.8rem;
}

.footer-section h3,
.footer-section h4 {
    color: #DCD0FF;
    margin-bottom: 2.4rem;
}

.footer-section p {
    font-size: 1.6rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1.2rem;
}

.footer-section ul li a {
    color: #e0d5ff;
    font-size: 1.6rem;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: #DCD0FF;
    padding-left: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3.2rem;
    border-top: 1px solid rgba(220, 208, 255, 0.2);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: #c6bbe6;
}