:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #00BFFF;
    /* Deep Sky Blue */
    --accent-hover: #009ACD;
    --secondary-bg: #111111;
    --font-main: 'Outfit', sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .main-nav a:hover::after {
        width: 100%;
    }
}

.main-nav a.active::after {
    width: 100%;
}

.nav-social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 4px;
}

.nav-social-links a {
    display: flex;
    align-items: center;
    color: inherit;
    transition: color 0.3s ease;
}

.nav-social-links a::after {
    display: none;
}

.nav-social-links svg {
    height: 1rem;
    width: auto;
    fill: currentColor;
}

.nav-social-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: flex-start;
    /* Align to top */
    padding: 150px 20px 0;
    /* Add top padding to clear header */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-quote {
    margin-bottom: 5rem;
    /* Increased spacing */
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 1.1rem;
    align-self: flex-start;
    padding-left: 10%;
    text-align: left;
}

.hero-quote blockquote {
    margin: 0;
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
}

.hero-quote cite {
    display: block;
    margin-top: 5px;
    font-weight: 600;
    font-style: normal;
    color: var(--accent-color);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 6px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) {
    .cta-button:hover {
        background-color: var(--accent-hover);
        transform: translateY(-2px);
    }
}

/* Footer */
.main-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background-color: var(--secondary-bg);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent-color);
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.lead {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 60%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent-color);
    }

    .service-card:hover .card-image img {
        transform: scale(1.1);
    }
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 15px;
    color: #fff;
    padding: 0 20px;
}

.service-card p {
    color: #aaa;
    padding: 0 20px 30px;
}

/* Course Details */
.course-details {
    max-width: 800px;
    margin: 0 auto;
}

.course-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.course-details ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 40px;
    color: #ccc;
}

.course-details li {
    margin-bottom: 10px;
}

.pricing-box {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--accent-color);
    margin-top: 40px;
}

.pricing-box .price {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
    color: #fff;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-bg);
    padding: 80px 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid var(--accent-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content blockquote {
    font-style: italic;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-content cite {
    font-weight: 700;
    color: #fff;
    font-style: normal;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(5, 5, 5, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-social-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* Useful Links Styles */
.course-details ul li a {
    color: var(--accent-color);
    text-decoration: underline;
}

.course-details ul li a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}