/* === ABOUT PAGE STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Almarai');

/* Navigation Brand */
.floating-nav .navbar-brand {
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

/* === ABOUT HERO SECTION === */
.about-hero {
    padding: 120px 0 80px;
    background: var(--gradient-bg-subtle);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    filter: blur(50px);
    opacity: 0.05;
    animation: floatAnimation 8s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    animation-delay: 6s;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-5xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: var(--transition-all);
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.1);
}

.glowing-text {
    font-family: 'Almarai', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-xl);
    animation: glowPulse 3s infinite;
    white-space: nowrap;
}

.hero-content .lead {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    color: var(--text-primary);
    opacity: 0.9;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-base);
    margin-top: var(--space-2xl);
}

.btn-book,
.btn-whatsapp {
    padding: var(--space-base) var(--space-2xl);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-book:hover,
.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-book::after,
.btn-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-book:hover::after,
.btn-whatsapp:hover::after {
    transform: translateX(100%);
}

/* === HERO IMAGE STYLES === */
.hero-image-wrapper {
    position: relative;
    padding: var(--space-2xl);
}

.hero-image-container {
    position: relative;
    width: 450px;
    height: 550px;
    margin: 0 auto;
}

.hero-image-shape {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-clip {
    position: absolute;
    inset: 0;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    background: var(--gradient-primary);
    padding: 5px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.hero-image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0.3;
    z-index: -1;
    animation: borderRotate 8s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero-image-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: var(--font-size-2xl);
    animation: float 6s infinite ease-in-out;
}

.item-1 {
    top: 10%;
    right: -25px;
    animation-delay: 0s;
}

.item-2 {
    bottom: 20%;
    left: -25px;
    animation-delay: 2s;
}

.item-3 {
    top: 50%;
    right: -25px;
    animation-delay: 4s;
}

/* === PHILOSOPHY SECTION === */
.philosophy-section {
    padding: var(--space-5xl) 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-base);
    color: var(--text-primary);
}

.section-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-base);
    margin: var(--space-base) 0 var(--space-2xl);
}

.section-decoration .line {
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.section-decoration i {
    color: var(--primary);
    font-size: var(--font-size-xl);
}

.philosophy-card {
    background: var(--card-bg);
    border-radius: var(--radius-3xl);
    padding: var(--space-2xl);
    height: 100%;
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-bg-strong);
    opacity: 0;
    transition: var(--transition-base);
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.card-icon i {
    color: white;
    font-size: var(--font-size-2xl);
}

.philosophy-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-base);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.philosophy-card p {
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: var(--space-5xl) 0;
    background: var(--gradient-bg);
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius-3xl);
    padding: var(--space-2xl);
    height: 100%;
    position: relative;
    transition: var(--transition-all);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.quote-icon {
    position: absolute;
    top: -20px;
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon i {
    color: white;
    font-size: var(--font-size-xl);
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.student-info h4 {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.student-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* === MODAL STYLES === */
.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-3xl);
    border: none;
}

.modal-header {
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    padding: var(--space-xl);
}

.modal-title {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.booking-form {
    padding: var(--space-base);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-control {
    background-color: var(--background);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    color: var(--text-primary);
    transition: var(--transition-all);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
    background-color: var(--background);
    color: var(--text-primary);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left var(--space-base) center;
    padding-left: var(--space-3xl);
}

select.form-control option {
    background-color: var(--background);
    color: var(--text-primary);
}

/* Dark theme specific styles */
[data-theme="dark"] .form-control {
    background-color: var(--background);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-control:focus {
    background-color: var(--background);
    border-color: var(--primary);
}

[data-theme="dark"] select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
}

[data-theme="dark"] select.form-control option {
    background-color: var(--background);
    color: var(--text-primary);
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 992px) {
    .hero-image-container {
        width: 320px;
        height: 400px;
    }

    .hero-content {
        text-align: center;
        padding: var(--space-base);
        margin: 0 auto;
    }

    .mobile-profile-wrapper {
        margin: var(--space-2xl) auto;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 120px;
    }

    .hero-image-wrapper {
        padding: var(--space-base);
        margin-top: var(--space-base);
    }

    .hero-content {
        padding: var(--space-sm);
        margin-top: var(--space-2xl);
    }

    .hero-image-container {
        width: 260px;
        height: 325px;
    }
    
    .decoration-item {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }

    .glowing-text {
        font-size: 2.5rem;
        white-space: nowrap;
        padding: var(--space-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-book,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-image-container {
        width: 280px;
        height: 350px;
    }
}
