/* ======== Global Styles & Variables ======== */
:root {
    --primary-color: #7e34df; /* Warm Orange */
    --primary-color-dark: #7e34df;
    --secondary-color: #b187bb1f; /* Light Beige Background */
    --dark-text: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --border-light: #EEEEEE;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 
}

body {
    background-image: url('assets/dddd.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps image fixed while scrolling */
    background-repeat: no-repeat;
    font-family: 'Poppins', sans-serif;
    color: var(--light-text);
    line-height: 1.6;
    animation: fadeInPage 0.5s ease-out forwards;       
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text);
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

/* ======== Buttons ======== */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-image: linear-gradient(to right, var(--primary-color-dark), var(--primary-color));
    color: var(--white);
    border: none;
    margin-left: 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(249, 168, 37, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--border-light);
    margin-left: 10px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ======== Header / Navigation ======== */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.logomob{
    width: 60px;
    height: 60px;
    object-fit: cover;
    position: relative;
    right: 432px;

}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.logo span {
    color: var(--primary-color);
    font-weight: 500;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger-menu {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-text);
}

/* ======== Hero Section ======== */
.hero {
    background-color: #ffffff;
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hro-image {
    transform: scaleX(-1);
    margin-left: 60px;
    width: 270px;
    height: 400px;
}
.her-image-mob{
    display: none;
}

/* ======== Courses Section ======== */
.courses {
    background: var(--secondary-color);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.course-card img {
    width: 100%;
    object-fit: cover;
}

.course-card h3 {
    font-size: 1.3rem;
    padding: 20px 20px 10px 20px;
}

.course-card p {
    padding: 0 20px 20px 20px;
}

.card-link {
    display: block;
    padding: 0 20px 20px 20px;
    font-weight: 500;
}

.card-link i {
    margin-left: 5px;
}

/* ======== Why Choose Us Section ======== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-icon img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ======== Footer ======== */
footer {
    background: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 8px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col .logo {
    margin-bottom: 15px;
    display: inline-block;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    margin-right: 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-text);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.post-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0;
}

.post-item small {
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(-10px); /* Gives a subtle slide-down effect */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .course-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        order: 2;/* Buttons will be below video */
    }
    .hro-image{
        display: none;
    }
    .hero-image {
        display: block;
        margin: 0 auto;
        transform: scaleX(-1);
        width: 250px;
        height: auto;
        margin-top: 30px;
    }
    .her-image-mob{
        display: block;
        margin-top: 20px;
        width: 200px;
        height: auto;
    }
    
    .logo {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--dark-text);
        position: relative;
    }
    .logomob{
        width: 50px;
        height: 50px;
        object-fit: cover;
        position: relative;
        right: 380px;
        display: none;
    }
}
@media (max-width: 480px) {
    .logomob{
        width: 50px;
        height: 50px;
        object-fit: cover;
        position: relative;
        right: 260px;
        display: none;
    }
}
@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Mobile Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.815);
        position: absolute;
        top: 60px; /* Height of header */
        left: 0%;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        border: #762bee00 2px solid;
    }
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .burger-menu {
        display: block;
    }

    header .btn-primary {
        display: none; /* Hide CTA button on small screens */
    }

    .course-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    .post-item {
        display: none;
    }    
    .footer-col h3 {
        display: none;
    }
}

/* ======== Form Page Styles ======== */
.form-section {
    padding: 80px 0;
    background: var(--secondary-color);
    min-height: 60vh;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.form-container h2 {
    margin-bottom: 15px;
}

.form-container p {
    margin-bottom: 30px;
    font-size: 1rem;
}

.btn-whatsapp {
    font-size: 1.1rem;
    padding: 12px 30px;
    width: 100%;
    display: flex;
    position: relative;
    right: 15px;
    justify-content: center;
    align-items: center;
    max-width: 350px;
    background-image: linear-gradient(to right, #25D366, #128C7E);
    color: var(--white);
}

.btn-whatsapp i {
    margin-right: 10px;
}

/* Specifics for the Registration Form */
.form-container {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-container .btn-whatsapp {
    width: 100%;
    max-width: none; /* Allow button to be full-width of form */
}

/* Simple Footer for new pages */
.footer-simple {
    background: var(--secondary-color);
}.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 12px;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
}

