/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2c3e50;
    --secondary-blue: #3498db;
    --accent-green: #27ae60;
    --light-green: #2ecc71;
    --light-gray: #f5f5f5;
    --medium-gray: #ecf0f1;
    --dark-gray: #7f8c8d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-green);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--accent-green);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

/* Left side logo image */
.logo-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 5px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right side text */
.logo-text h2 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.logo-text span {
    color: var(--accent-green);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-blue);
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(39, 174, 96, 0.1));
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: var(--accent-green);
    border-radius: 3px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.hero-buttons .btn i {
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    max-width: 550px;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
    padding: 20px;
    border-radius: 15px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.about-text {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--secondary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat p {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Courses Section */
.courses {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.courses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 0;
}

.courses .container {
    position: relative;
    z-index: 1;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-green));
}

.course-card-inner {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.course-icon {
    font-size: 2.2rem;
    color: var(--secondary-blue);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(39, 174, 96, 0.1));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-green));
    color: white;
}

.course-content {
    flex: 1;
}

.course-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.3;
}

.course-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.course-footer {
    text-align: right;
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(39, 174, 96, 0.1);
    transition: all 0.3s ease;
}

.course-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateX(5px);
}

.course-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.course-link:hover i {
    transform: translateX(3px);
}



















/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    height: 280px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}










/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.contact-item p {
    color: var(--dark-gray);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background-color: white;
}

.map-container {
    margin-top: 50px;
}

.map-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    text-align: center;
}

.map-placeholder {
    background-color: var(--medium-gray);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-frame {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
}

.map-frame p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.map-frame i {
    color: var(--accent-green);
    margin-right: 10px;
}

.map-note {
    font-size: 1rem !important;
    color: var(--dark-gray);
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-blue), var(--accent-green));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Fixed Contact Buttons */
.fixed-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.call-now-btn, .whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.call-now-btn {
    background-color: var(--secondary-blue);
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-now-btn:hover, .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-us-container {
        flex-direction: column;
    }
    
    .why-us-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stats-card,
    .testimonial-card,
    .cta-card {
        flex: 1;
        min-width: 300px;
    }
    
    .why-us .section-header .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fixed-contact-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .call-now-btn, .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .why-us::before {
        height: 250px;
    }
    
    .why-us .section-header .section-title {
        font-size: 2rem;
    }
    
    .why-us .section-header .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .feature-badge {
        align-self: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-tabs-nav {
        display: flex;
        justify-content: space-around;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat {
        padding: 20px 10px;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .why-us::before {
        height: 200px;
    }
    
    .why-us .section-header .section-title {
        font-size: 1.7rem;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.2rem;
    }
    
    .stats-card,
    .testimonial-card,
    .cta-card {
        min-width: 100%;
    }
    
    .why-us-sidebar {
        gap: 20px;
    }
}

@media (max-width: 375px) {
    .logo-text h2 {
        font-size: 0.95rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 15px 12px;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .fixed-contact-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .call-now-btn, .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Touch-friendly tap targets */
button, 
a, 
input[type="submit"], 
input[type="button"] {
    -webkit-tap-highlight-color: transparent;
}

/* Improve form readability on mobile */
input, select, textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
}




