/* style.css */

/* CSS Variables */
:root {
    --primary-color: #2D9CDB;
    --secondary-color: #6FCF97;
    --accent-color: #EB5757;
    --background-color: #F2F2F2;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --overlay-color: rgba(0, 0, 0, 0.5);
    --transition-speed: 0.3s;
    --font-header: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-header);
    color: var(--text-color);
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

button, .btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color var(--transition-speed), transform 0.2s;
    font-family: var(--font-header);
}

button:hover, .btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

button:active, .btn:active {
    transform: translateY(0);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--light-text);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo a {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

nav {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    font-size: 1rem;
    color: var(--text-color);
    transition: color var(--transition-speed);
}

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

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-section .btn {
    font-size: 1rem;
    padding: 15px 30px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-text);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.service-card {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-color);
}

/* Innovation Section */
.innovation-section {
    padding: 80px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: var(--light-text);
}

.innovation-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.innovation-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.innovation-section h2 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.innovation-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--light-text);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--text-color);
}

/* Insights Section */
.insights-section {
    padding: 80px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: var(--light-text);
}

.insights-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.insights-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.insights-section h2 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.insights-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--light-text);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Success Stories Section */
.success-stories-section {
    padding: 80px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: var(--light-text);
}

.success-stories-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.success-stories-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.success-stories-section h2 {
    color: var(--light-text);
    margin-bottom: 40px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding-bottom: 20px;
}

.carousel-item {
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: var(--light-text);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.carousel-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.carousel-item h4 {
    color: var(--secondary-color);
    font-weight: normal;
}

/* Instructors Section */
.instructors-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.instructors-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.instructor-card {
    background-color: var(--light-text);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.instructor-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.instructor-card h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.instructor-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: var(--light-text);
}

.faq-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section h2 {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-speed);
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Awards Section */
.awards-section {
    padding: 80px 0;
    background-color: var(--light-text);
}

.awards-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.awards-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.awards-gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.awards-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* External Resources Section */
.external-resources-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.external-resources-section h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: var(--light-text);
    padding: 20px;
    border-radius: 10px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.resource-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.resource-card a {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

.resource-card a:hover {
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: var(--light-text);
}

.contact-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    color: var(--light-text);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    margin-bottom: 5px;
    color: var(--light-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #FFFFFF;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px var(--secondary-color);
    outline: none;
}

.contact-form .btn {
    align-self: center;
    width: 50%;
    padding: 15px;
    font-size: 1rem;
    background-color: var(--primary-color);
}

.contact-form .btn:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--light-text);
    font-size: 1rem;
    transition: color var(--transition-speed);
}

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

.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-media a {
    color: var(--light-text);
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

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

footer p {
    font-size: 0.9rem;
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
}

.success-page .container {
    text-align: center;
}

.success-page h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-page p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Privacy and Terms Pages */
.privacy-terms {
    padding-top: 100px;
}

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

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

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

.grid {
    display: grid;
    gap: 20px;
}

.flex {
    display: flex;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--light-text);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .carousel {
        flex-direction: column;
        align-items: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid,
    .services-grid,
    .features-grid,
    .team-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}

/* Hover and Transition Effects */
.btn,
button,
a.btn {
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn:hover,
button:hover,
a.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.resource-card a {
    transition: color var(--transition-speed);
}

.resource-card a:hover {
    color: var(--accent-color);
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Parallax Effect */
.hero-section, 
.innovation-section, 
.insights-section, 
.faq-section {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Glassmorphism */
.carousel-item, 
.faq-item, 
.instructor-card, 
.success-stories-section .carousel-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Read More Links */
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-color);
    font-weight: bold;
    transition: color var(--transition-speed);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Social Media Icons as Text */
.social-media a::before {
    content: attr(data-icon);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Example data-icon Usage:
.social-media a.facebook::before { content: '📘'; }
.social-media a.twitter::before { content: '🐦'; }
.social-media a.instagram::before { content: '📸'; }
*/

/* Ensure text in hero is white */
.hero-section h1,
.hero-section p {
    color: var(--light-text);
}

/* Ensure content on privacy and terms has padding top */
body.privacy,
body.terms {
    padding-top: 100px;
}

/* Image Backgrounds */
.hero-section,
.innovation-section,
.insights-section,
.faq-section,
.contact-section,
.success-stories-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Additional Smooth Transitions */
section {
    transition: all var(--transition-speed) ease-in-out;
}
.burger{
    display: none;
}