/* Base Styles */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #34495e;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-color: rgb(231, 207, 207);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 55%;
}

.hero-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text);
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    align-items: start;
    justify-content: start;
    
}

.cta-buttons button{
    width: fit-content;
    padding: 15px 25px;
    border-radius: 20px;
    margin-right: 20px;
    &:hover{
        cursor: pointer;
    }
}

.cta-buttons a:first-child button{
    background: #3498db;
    color: white;
    border: none;
    outline: none;
}

.cta-buttons a:last-child button{
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    outline: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    margin-left: 42%;
    margin-top: 2%;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 70%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-container {
    width: 80%;
    height: 100%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.students-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.achievement-badge {
    position: absolute;
    background-color: #fff;
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.badge-1 {
    bottom: 20px;
    left: -30px;
}

.badge-2 {
    top: 40px;
    right: -20px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: var(--secondary);
}

.badge-text h4 {
    font-size: 0.9rem;
    color: var(--dark);
}

.badge-text p {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.8;
}

/* About Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text);
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    align-items: center;
}

.about-image {
    grid-column: span 5;
    position: relative;
}

.about-img-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-content {
    grid-column: span 7;
    padding-left: 30px;
}

.about-text {
    margin-bottom: 30px;
    font-size: 1.05rem;
    color: var(--text);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary);
    font-size: 20px;
}

.feature-text h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text);
}

/* Courses Section */
.courses-section {
    background-color: #f8f9fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-header {
    background-color: var(--secondary);
    color: white;
    padding: 20px;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
}

.course-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.course-body {
    padding: 25px;
}

.course-description {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text);
}

.course-features {
    list-style: none;
    margin-bottom: 25px;
}

.course-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.feature-check {
    color: #2ecc71;
    margin-right: 10px;
}

.course-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-subtitle {
    background-color: rgba(255, 255, 255, 0.1);
    color: #3498db;
}

.testimonials-section .section-title,
.testimonials-section .section-description {
    color: white;
}

.testimonials-container {
    position: relative;
    padding: 30px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -30px;
    left: -10px;
    color: rgba(52, 152, 219, 0.1);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 15px;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.contact-info {
    grid-column: span 5;
}

.contact-heading {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-subheading {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary);
}

.contact-text {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    grid-column: span 7;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}




/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-contact-icon {
    margin-right: 10px;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        width: 100%;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-bg {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 0.1;
    }

    
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image,
    .about-content,
    .contact-info,
    .contact-form {
        grid-column: span 12;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
   
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: white;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-img-container {
        height: 350px;
    }
    
    .experience-badge {
        padding: 15px;
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-primary{
        margin-left: 1%;
        margin-top: 2%;
    }
}

a{
    text-decoration: none;
    color: inherit;
}


/* Show form */

.formdata{
    max-width: 100%;
    min-height: 100vh;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
}

.formdata h1{
    color: #2980b9;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}

table{
    width: 80%;
    box-shadow: 0 0 5px gray;
}
.thead, tbody{
    text-align: center;
    width: 100%;
}

.thead{
    background-color: #2980b9;
    color: white;
}

tbody tr:nth-child(even){
    background-color: rgb(231, 229, 229);
}

th,td{
    padding: 8px;
}
td{
    border-right: 1px solid black;
}
td:last-child{
    border-right: none;
}

.formdata p{
    color: crimson;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.formdata button{
    padding: 10px 25px;
    border-radius: 10px;
    border: none;
    outline: none;
    box-shadow: 0 0 5px gray;
    cursor: pointer;
}


/* -------------- */


/* Privacy policy */

.privacy{
    max-width: 100%;
    min-height: fit-content;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    padding: 30px;
    padding-top: 100px;
    line-height: 2;
}

.policy{
    width: 70%;
    height: 100%;
}

/* ---------- */