
:root {
    --primary: #3F918F;
    --primary-dark: #3a3c40;
    --secondary: #7E7E7E;
    --light: #F8F8F8;
    --dark: #0F254A;
    --gradient-gray: linear-gradient(135deg, #fff, #a6a6a6 );
    --gradient-green: linear-gradient(135deg, #3F918F, #0F254A);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(to left, #a6a6a6 0%, #d9d9d9 30%, #ffffff 100%);
    color: var(--primary);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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



.logo-img {
    height: 75px;
    width: 250px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 100%;
    max-width: 100%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
}

    .logo img:hover {
        transform: scale(1.05);
    }

.logo-mobile {
    display: none;
}


@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 60px;
    }


    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        height: 60px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

    .logo-text h1 {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .logo-text p {
        font-size: 0.9rem;
        opacity: 0.8;
    }


nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    nav ul {
        display: flex;
        list-style: none;
        gap: 2rem;
        margin: 0;
    }

        nav ul li a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }

            nav ul li a:after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background: var(--primary);
                transition: width 0.3s ease;
            }

            nav ul li a:hover:after,
            nav ul li a.active:after {
                width: 100%;
            }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

    .slide.active {
        opacity: 1;
        pointer-events: auto;
    }

.slide-content {
    background: rgba(135, 145, 155, 0.80);
    padding: 3rem;
    border-radius: 15px;
    max-width: 800px;
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s forwards 0.5s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

    .btn:hover {
        background: transparent;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.btn-outline {
    background: transparent;
    margin-left: 1rem;
}

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

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background: white;
        transform: scale(1.2);
    }

/* Section Styling */
section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    padding: 1.2rem 5%;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

    .about-content h3 {
        font-size: 2rem;
        color: var(--primary-dark);
        margin-bottom: 1.5rem;
    }

    .about-content p {
        margin-bottom: 1.5rem;
        line-height: 1.8;
        color: var(--secondary);
    }

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary);
}

/* Services Section */
.services-section {
    /*    color: white;*/
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    color: white;
}

.service-card {
    background: var(--gradient-green);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

    .service-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.15);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        color: var(--primary);
    }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    /*    color: white;*/
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}


.clients-section {
    color: var(--primary);
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #222;
}

.clients-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.2rem;
}

.client-item {
    background: var(--gradient-green);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

    .client-item:hover {
        transform: scale(1.1);
    }

.client-logo {

    box-shadow: 0 0 0 rgba(0,0,0,0);
    max-width: 100%;
    max-height: 100%;

}

    .client-logo:hover {
        filter: grayscale(0);
        opacity: 1;
/*        transform: scale(1.1) rotate(1deg);*/
    }




/* Floating animation */
/*@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animated-float {
    animation: float 3s ease-in-out infinite;
}*/

/* Optional pulse glow on hover */


/* vision Section */
.vision-section {
    background: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .course-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.course-image {
    height: 200px;
    overflow: hidden;
}

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.course-description {
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Team Section */
.team-section {
    background: white;
}

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

.team-member {
    text-align: center;
    position: relative;
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 5px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
}

    .member-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        image-rendering: auto;
        image-rendering: crisp-edges;
        image-rendering: -webkit-optimize-contrast;
    }

.team-member:hover .member-photo {
    border-color: var(--primary);
    transform: scale(1.05);
}

.member-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.member-position {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        color: var(--light);
        background: var(--primary);
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: white;
            color: var(--primary);
            transform: translateY(-5px);
        }

/* Contact Section */
.contact-section {
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}




/*.contact-item {
    display: flex;
    gap: 1.5rem;
    border: 1px solid gray;
    padding: 7px;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    transition: all 0.3s ease;
}

    .contact-item:hover {
        cursor: pointer;
        
        box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    }
*/

.contact-item {
    display: flex;
    gap: 1.5rem;
    border: 1px solid gray;
    padding: 7px;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    /*    transition: all 0.3s ease;*/
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

    .contact-item:hover {
        cursor: pointer;
        border-color: var(--primary);
        background: rgba(63, 145, 143, 0.05);
        box-shadow: rgba(63, 145, 143, 0.2) 0px 4px 15px;
        transform: translateY(-2px);
    }

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-details p {
    color: var(--secondary);
    line-height: 1.6;
}

.contact-form {
    background: #f8f8f8;
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--primary-dark);
    }

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(63, 145, 143, 0.2);
    }

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

    .submit-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
    }

/* Footer */
footer {
    font-family: 'Open Sans', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.footer-col {
    flex: 1 1 300px;
    margin: 20px;
}

    .footer-col h3 {
        font-size: 22px;
        margin-bottom: 20px;
        border-bottom: 2px solid #3F918F;
        display: inline-block;
        padding-bottom: 5px;
    }

    .footer-col p {
        line-height: 1.8;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #3F918F;
        }

.social-icons {
    margin-top: 15px;
}

    .social-icons a {
        display: inline-block;
        color: #fff;
        font-size: 20px;
        margin-right: 15px;
        transition: color 0.3s ease;
    }

        .social-icons a:hover {
            color: #3F918F;
        }

.copyright {
    background: linear-gradient(to left, #a6a6a6 0%, #d9d9d9 30%, #ffffff 100%);
    text-align: center;
    padding: 20px;
    border-top: 1px solid #3F918F;
    font-size: 14px;
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        max-width: 600px;
    }

    nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--gradient-gray);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 2rem;
        transition: left 0.3s ease;
    }

        nav ul.active {
            left: 0;
        }


    .slide-content {
        padding: 2rem;
    }

        .slide-content h2 {
            font-size: 2.2rem;
        }

    .section-title {
        font-size: 2rem;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-outline {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin: 0 auto;
    }




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

    .vision-card {
        background: rgba(255,255,255,0.1);
        border-radius: 15px;
        padding: 2.5rem;
        text-align: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1);
    }




        .vision-card:hover {
            transform: translateY(-10px);
            background: rgba(255,255,255,0.15);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
}


#scrollToTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    background-color: var(--primary);
    color: white;
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    #scrollToTopBtn:hover {
        background-color: var(--primary-dark);
        transform: scale(1.1);
    }
