:root {
    /* Color Palette */
    --primary-color: #1C2A39; /* Dark Navy for Text */
    --accent-color: #FFC0CB; /* Soft Pink / Peach */
    --accent-color-hover: #FFB6C1;
    --background-color: #FFFFFF;
    --bg-secondary: #FCFCFC;
    --text-color: #333333;
    --text-light: #777777;
    --border-color: #EEEEEE;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-family: 'Cairo', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.3;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utility */
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 192, 203, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: var(--background-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--background-color);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title span {
    font-size: 32px;
    font-weight: 400;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image .image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: #FFF0F5;
    padding: 20px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.decor {
    position: absolute;
    background-image: radial-gradient(var(--accent-color) 20%, transparent 20%);
    background-size: 20px 20px;
}

.decor-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
    z-index: -1;
}

.decor-2 {
    width: 80px;
    height: 80px;
    bottom: -10px;
    left: -10px;
    z-index: -1;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--background-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #FFF0F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

.service-card .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-images {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--background-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item img {
    cursor: pointer;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.footer-logo i {
    color: var(--accent-color);
    margin-left: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-soft);
    font-size: 18px;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px); /* Because it's RTL, left means moving right visually or standard depending on perspective. Actually let's use standard translate */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image .image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .nav-links, .navbar .btn-outline {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }

    .course-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.course-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    padding-top: 50px;
}
