/* home.css - Updated with specific changes */
:root {
    --primary-color: #fea70a;
    --secondary-color: #d18c00;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-accent: 'Playfair Display', serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-main);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(254, 167, 10, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.btn-feature {
    background-color: var(--primary-color);
    color: var(--dark-color);
    margin-top: 25px;
    padding: 12px 32px;
}

.btn-feature:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(254, 167, 10, 0.3);
}

.btn-cta {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 16px 50px;
    font-size: 18px;
    border-radius: 30px;
}

.btn-cta:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation - Transparent and Big Logo */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.4s ease;
}

.main-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-img {
    height: 80px; /* Bigger logo */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 17px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hamburger Menu - Opens from LEFT */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--light-color);
    transition: all 0.3s ease;
    transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(-3px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(3px);
}

/* Hero Section - Content on Left - FIXED: One line for first part */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('assets/Banner\ Image.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 800px;
    color: var(--light-color);
    padding-left: 40px;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--light-color);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

/* FIXED: "Shaping Professionals for the" in one line */
.hero-title span.typing-text {
    color: var(--primary-color);
    font-family: var(--font-accent);
    font-style: italic;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
    margin-top: 10px;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.mission-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--dark-color);
    flex: 1;
}

.highlight-text {
    color: var(--primary-color);
    font-family: var(--font-accent);
    font-style: italic;
}

.section-description {
    font-size: 1.2rem;
    color: #555;
    flex: 1;
    line-height: 1.8;
    padding-top: 10px;
}

/* Three Images Section - Full Width with GAPS */
.three-images-section {
    padding-bottom: 50px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px; 
    height: 400px;
}

.image-item {
    height: 100%;
    overflow: hidden;
    /* Added rounded corners */
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Stats Section - White Background with Gaps */
.stats-section {
    padding: 100px 0;
    background-color: var(--dark-color); /* White background */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Gap between stat cards */
}

.stat-card {
    background-color: var(--primary-color); /* Yellow background for cards */
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none; /* Removed border */
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(254, 167, 10, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color); /* Dark color for numbers */
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-color); /* Dark color for text */
}

/* About Us Section - Image on Left, Text on Right */
.about-section {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.about-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Courses Section - Image on LEFT side (FIXED) */
.courses-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.courses-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* FIXED: Image on LEFT side */
.courses-image {
    flex: 1;
    order: 1; /* Changed to 1 - Image on left */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.courses-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.courses-image:hover img {
    transform: scale(1.05);
}

.courses-text {
    flex: 1;
    order: 2; /* Changed to 2 - Text on right */
}

.courses-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.courses-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.cta-highlight {
    font-family: var(--font-accent);
    font-style: italic;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #999;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: var(--font-main);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 1.05rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #999;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-links img {
    width: 22px;
    height: 22px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .about-image img,
    .courses-image img {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .mission-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-content,
    .courses-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .about-image,
    .courses-image {
        width: 100%;
    }
    
    .cta-title {
        font-size: 2.8rem;
    }
    
    .images-grid {
        height: 350px;
        gap: 15px;
    }
}

/* Mobile Hamburger Menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px 40px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1001;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
        display: block;
    }
    
    .hero-section {
        padding-top: 140px;
    }
    
    .hero-content {
        text-align: center;
        padding-left: 0;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        align-items: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
    }
    
    .image-item {
        height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 40px 25px;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .about-title,
    .courses-title {
        font-size: 2rem;
    }
    
    .about-description,
    .courses-description {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .typing-text {

    animation: 
        type-delete 12s infinite,
}
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .images-grid {
        height: auto;
        gap: 10px;
    }
    
    .image-item {
        height: 250px;
    }
    
    .about-image img,
    .courses-image img {
        height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
       .footer-links {
        display: inline-block;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: left;
    }
}