.topbar {

    background: var(--secondary);
    color: #fff;
    padding: .8rem 0;

}

.topbar-content {

    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--navbar-bg);
    color: var(--text-color);

}

.navbar {

    position: sticky;
    top: 0;
    background: var(--navbar-bg);

    z-index: 1000;

    box-shadow: var(--shadow-sm);

}

.nav-container {

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 90px;

}

.logo img {

    height: 65px;

}

.nav-menu {

    display: flex;
    align-items: center;
    gap: 2rem;

}

.nav-menu a {

    font-weight: 500;

    color: var(--text-color);

    position: relative;

}

.nav-menu a.active,
.nav-menu a:hover {

    color: var(--primary);

}

.apply-btn {

    margin-left: 2rem;

}

.hamburger {

    display: none;
    cursor: pointer;

}

.hamburger span {

    display: block;

    width: 28px;
    height: 3px;

    background: var(--secondary);

    margin: 5px 0;

}

.footer {

    background: var(--footer-bg);

    color: var(--footer-text);

    padding: 80px 0 30px;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;

}

.footer-logo {

    height: 70px;

    margin-bottom: 20px;

}

.copyright {

    margin-top: 50px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, .1);

    text-align: center;

}

@media(max-width:992px) {

    .nav-menu {

        position: fixed;

        top: 90px;
        left: -100%;

        width: 100%;
        height: calc(100vh - 90px);

        background: #fff;

        flex-direction: column;

        padding: 40px;

        transition: .3s;

    }

    .nav-menu.active {

        left: 0;

    }

    .hamburger {

        display: block;

    }

    .apply-btn {

        display: none;

    }

    .footer-grid {

        grid-template-columns: 1fr;

    }

}

.hero {

    position: relative;

    min-height: 40vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding: 60px 0;

}

.hero-container {

    position: relative;

    z-index: 5;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;
}

.hero-video {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(rgba(15, 42, 29, 0.1),
            rgba(15, 44, 29, 0.3));

    z-index: 2;
}

.hero-badge {

    display: inline-block;

    padding: 12px 22px;

    background: var(--footer-text);

    backdrop-filter: blur(50px);

    border: 1px solid var(--primary);

    color: var(--primary);

    border-radius: 50px;

    font-weight: 600;

    margin-bottom: 20px;
}

.hero h1 {

    font-size: 2rem;

    line-height: 1.1;

    margin-bottom: 20px;

    color: var(--primary);

}

.hero p {

    font-size: 1.1rem;

    margin-bottom: 30px;

}

.hero-buttons {

    display: flex;

    gap: 15px;

}

.hero-image {

    text-align: center;
}

.hero-image img {

    max-width: 450px;

    width: 100%;
    align-content: center;
    align-items: center;

    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }

}

@media(max-width:992px) {

    .hero-container {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-buttons {

        justify-content: center;
    }

    .hero-image {

        order: -1;
    }

    .hero-title {

        font-size: 2.5rem;
    }

}

.section-heading {

    text-align: center;

    margin-bottom: 60px;

}

.section-heading span {

    color: var(--primary);

    font-weight: 600;

}

.section-heading h2 {

    font-size: 2.5rem;

    margin-top: 10px;

}

.bg-light {

    background: var(--secondary-bg);

}

.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}

.video-box video {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.section-tag {

    display: inline-block;

    background: rgba(22, 163, 74, .1);

    color: var(--primary);

    padding: 10px 20px;

    border-radius: 30px;

    margin-bottom: 20px;

    font-weight: 600;
}

.services-section{

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary)
    );

    padding:120px 0;

    z-index:1;
}

.services-section h2{
    color: var(--gray-100);
}
.services-wave-top{

    position:absolute;

    top:0;

    left:0;

    width:100%;

   

}

/* .services-wave-top img{

     width:100%;

    display:block;

    filter: brightness(0) invert(1);

 

} */
.services-grid,
.course-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 25px;
}

.service-card {

    background: var(--card-bg);

    border-radius: 20px;

    padding: 35px 20px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: .4s;
}

.service-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-md);
}

.service-icon {

    width: 140px;
    height: 140px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 35px;

    border-radius: 90%;

    background:
        rgba(22, 163, 74, .1);

    margin-bottom: 20px;
}


.products-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;
}

.product-card{

    position:relative;

    height:350px;

    border-radius:var(--radius-lg);

    overflow:hidden;

    display:block;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);
}

.product-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center center;

    transition:.6s ease;
}

.product-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    padding:25px;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.95),
        rgba(0,0,0,.55),
        transparent
    );

    color:var(--white);
}

.product-content{

    max-width:80%;
}

.product-content h3{

    font-size:1.35rem;

    margin-bottom:10px;

    line-height:1.3;
}

.product-content p{

    font-size:.95rem;

    line-height:1.6;

    color:rgba(255,255,255,.85);
}

.product-arrow{

    width:50px;

    height:50px;

    min-width:50px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    transition:var(--transition);
}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-md);
}

.product-card:hover img{

    transform:scale(1.08);
}

.product-card:hover .product-arrow{

    transform:translateX(6px);
}
@media (max-width: 992px) {

    .products-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .products-grid {

        grid-template-columns: 1fr;
    }
}

.counter-wrapper{

    background:var(--primary);

    border:1px solid var(--counter-border);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-sm);

    padding:40px;

}

.counter-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:30px;
}

.counter-card{

    text-align:center;

    padding:20px;

    border-right:
    1px solid var(--counter-border);
}
.counter-card i{

    color:var(--bg-color);

    font-size:2rem;

    margin-bottom:15px;
}
.counter-card:last-child{

    border-right:none;
}

.counter-card h2{

    color:var(--white);

    font-size:3rem;

    font-weight:700;

    margin-bottom:10px;
}

.counter-card p{

    color:var(--gray-100);

    font-size:1rem;

    font-weight:500;
}
@media(max-width:992px){

    .counter-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

    .counter-card:nth-child(2){

        border-right:none;
    }

}
@media(max-width:576px){

    .counter-grid{

        grid-template-columns:1fr;
    }

    .counter-card{

        border-right:none;

        border-bottom:
        1px solid var(--counter-border);
    }

    .counter-card:last-child{

        border-bottom:none;
    }

}
.why-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.why-card {

    padding: 35px;

    border-radius: 20px;

    background: var(--card-bg);

    box-shadow: var(--shadow-sm);

    border-top:
        4px solid var(--primary);

    transition: .4s;
}

.why-card:hover {

    transform: translateY(-8px);
}

/* ==========================
   TEAM SECTION
========================== */

.team-section{

    background:var(--secondary-bg);
}

.team-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.team-card{

    background:var(--card-bg);

    border-radius:var(--radius-lg);

    overflow:hidden;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

    border:2px solid transparent;

    height:100%;
}

.team-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow-md);
}

.team-image{

    height:280px;

    overflow:hidden;
}

.team-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s ease;
}

.team-card:hover .team-image img{

    transform:scale(1.08);
}

.team-content{

    text-align: center;
    align-items: center;

    padding:25px;
}

.team-content h3{

    color:var(--text-color);

    margin-bottom:8px;

    font-size:1.4rem;

    font-weight:700;
}

.team-content span{

    display:inline-block;

    color:var(--primary);

    font-weight:600;

    margin-bottom:15px;
}

.team-content p{

    color:var(--text-color);

    line-height:1.7;

    font-size:.95rem;
}

@media (max-width:992px){

    .team-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

}

@media (max-width:768px){

    .team-grid{

        grid-template-columns:1fr;
    }

    .team-image{

        height:240px;
    }

}

@media (max-width:576px){

    .team-content{

        padding:20px;
    }

    .team-content h3{

        font-size:1.2rem;
    }

}
.counter-section {

    background: var(--secondary-bg);

    color: var(--text-color);

    padding: 80px 0;

}

.counter-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    text-align: center;

    gap: 20px;

}

.counter-grid h2 {

    font-size: 3rem;

}

.cta {

    padding: 100px 0;

    text-align: center;

    background:
        linear-gradient(135deg,
            var(--primary),
            #22c55e);

    color: #fff;

}

.cta h2 {

    margin-bottom: 25px;

    font-size: 2.5rem;

}

@media(max-width:992px) {

    .hero-container,
    .about-grid {

        grid-template-columns: 1fr;

    }

    .service-grid,
    .course-grid,
    .counter-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .hero h1 {

        font-size: 3rem;

    }

}

@media(max-width:768px) {

    .service-grid,
    .course-grid,
    .counter-grid {

        grid-template-columns: 1fr;

    }

    .hero {

        text-align: center;

    }

    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;

    }

    .hero h1 {

        font-size: 2.3rem;
        color: var(--text-color);

    }

    .section-heading h2 {

        font-size: 2rem;

    }

}

.loader {

    position: fixed;

    inset: 0;

    background: var(--bg-color);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 99999;

    transition: .5s ease;
}

.loader.hide {

    opacity: 0;

    visibility: hidden;
}

.loader-content {

    position: relative;

    width: 180px;

    height: 180px;

    display: flex;

    justify-content: center;

    align-items: center;
}

.loader-logo {

    width: 110px;

    height: 110px;

    object-fit: contain;

    border-radius: 50%;

    animation: logoPulse 2s ease infinite;

    z-index: 2;
}

.loader-ring {

    position: absolute;

    width: 160px;

    height: 160px;

    border-radius: 50%;

    border-top: 4px solid var(--primary);

    border-right: 4px solid transparent;

    border-bottom: 4px solid var(--primary);

    border-left: 4px solid transparent;

    animation: rotateRing 1.8s linear infinite;
}

@keyframes rotateRing {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}

@keyframes logoPulse {

    0% {

        transform: scale(1);

    }

    50% {

        transform: scale(1.08);

    }

    100% {

        transform: scale(1);

    }

}

.whatsapp-btn {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;

    color: #fff;

    font-size: 26px;

    border-radius: 50%;

    z-index: 1000;

    box-shadow: var(--shadow-md);

}

#scrollTop {

    position: fixed;

    right: 25px;
    bottom: 100px;

    width: 50px;
    height: 50px;

    border: none;

    background: var(--primary);

    color: #fff;

    border-radius: 50%;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

}

#scrollTop.show {

    opacity: 1;
    visibility: visible;

}

.dark-theme {

    --bg-color: #0f172a;

    --text-color: #e2e8f0;

    --secondary-bg: #1e293b;

    --card-bg: #1e293b;

    --navbar-bg: #111827;

    --footer-bg: #020617;

    --footer-text: #ffffff;
}

.dark-theme .card {

    background: var(--card-bg);

    color: var(--text-color);

}

.dark-theme .footer {

    background: var(--footer-bg);

    color: var(--footer-text);

}

.theme-toggle {

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background: var(--secondary-bg);

    color: var(--text-color);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: var(--transition);
}

.theme-toggle:hover {

    transform: rotate(15deg);
}

.nav-actions {

    display: flex;

    align-items: center;

    gap: 15px;
}

/* ==========================
   CLIENT TESTIMONIALS
========================== */
.testimonials{

    padding:80px 0;
}

.clients-slider{

    overflow:hidden;

    position:relative;
    padding:0 70px;
}

.clients-track{

    display:flex;

    gap:30px;

    width:max-content;

    animation:clientScroll 15s linear infinite;
}

.clients-slider:hover .clients-track{

    animation-play-state:paused;
}

.testimonial-flip{

    width:340px;

    height:450px;

    flex-shrink:0;

    perspective:1200px;
}

.flip-inner{

    position:relative;

    width:100%;

    height:100%;

    transition:transform .9s ease;

    transform-style:preserve-3d;
}

.testimonial-flip:hover .flip-inner{

    transform:rotateY(180deg);
}

.flip-front,
.flip-back{

    position:absolute;

    inset:0;

    backface-visibility:hidden;

    border-radius:var(--radius-lg);

    overflow:hidden;

    background:var(--card-bg);

    box-shadow:var(--shadow-md);
}

.flip-front{

    padding:35px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    border-top:5px solid var(--primary);
}

.client-logo{

    width:160px;

    height:160px;

    border-radius:50%;

    background:var(--gray-100);

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:25px;
}

.client-logo img{

    width:80px;

    height:80px;

    object-fit:contain;
}

.flip-front h3{

    margin-bottom:10px;

    color:var(--text-color);
}

.client-type{

    color:var(--primary);

    font-weight:600;

    margin-bottom:15px;
}

.rating{

    font-size:1.2rem;

    color:gold;
}

.flip-back{

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:var(--text-color);

    padding:35px;

    text-align:center;

    display:flex;

    flex-direction:column;

    justify-content:center;

    transform:rotateY(180deg);
}

.flip-back i{

    font-size:2rem;

    margin-bottom:20px;

    opacity:.7;
}

.flip-back p{

    line-height:1.8;

    margin-bottom:25px;
}

.flip-back h4{

    margin-bottom:5px;
}

.case-btn{

    margin-top:20px;

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    border-radius:50px;

    background:var(--white);

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

    transition:var(--transition);
}

.case-btn:hover{

    transform:translateY(-3px);
}
@keyframes clientScroll{

    from{

        transform:translateX(0);
    }

    to{

        transform:translateX(-80%);
    }

}
@media(max-width:768px){

    .testimonial-flip{

        width:280px;

        height:380px;
    }

}
.testimonial-nav{

    display:flex;

    justify-content:flex-end;

    gap:15px;

    margin-bottom:30px;
}

.testimonial-nav button{

    width:50px;

    height:50px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    background:var(--card-bg);

    color:var(--primary);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);
}

.testimonial-nav button:hover{

    background:var(--primary);

    color:var(--white);

    transform:translateY(-3px);
}

.hero-content {

    color: var(--white);
}

.hero-title {

    color: var(--primary);

    font-size: clamp(2.5rem, 5vw, 2rem);

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 20px;
}

.hero-content p {

    color: var(--footer-text)
}


.cursor {

    color: var(--primary);

    animation: blink .8s infinite;
}

@keyframes blink {

    50% {
        opacity: 0;
    }

}

.contact-page{
    padding:80px 0;
    background:#f8fafc;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:40px;
    margin-top:50px;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.info-card{
    display:flex;
    align-items:center;
    gap:20px;
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.info-card:hover{
    transform:translateY(-5px);
}

.info-card i{
    width:60px;
    height:60px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.info-card h4{
    margin-bottom:5px;
    font-size:18px;
}

.info-card p{
    color:#666;
    line-height:1.6;
}

.contact-form-box{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
}

.form-row{
    margin-bottom:20px;
}

.form-row input,
.form-row textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    outline:none;
    transition:.3s;
}

.form-row input:focus,
.form-row textarea:focus{
    border-color:#2563eb;
}

.btn-primary{
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    border:none;
    padding:15px 35px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

@media(max-width:768px){

    .contact-grid{
        grid-template-columns:1fr;
    }

}
/* ==========================
   CONTACT HERO
========================== */

.contact-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -120px;
    left: -80px;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.contact-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-outline:hover {
    background: #fff;
    color: #2563eb;
}

@media (max-width:768px){

    .contact-hero {
        padding: 90px 0;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .contact-hero p {
        font-size: 16px;
    }

}


/* ==========================
   TEAM HERO SECTION
========================== */

.team-hero{
    position: relative;
    padding-top: 80px;
    padding-bottom: 0;
}

.team-hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:320px; /* Sirf upper area */
    background:url('../images/team/ceo.png') center center/cover no-repeat;
    z-index:1;
}

.team-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:320px;
    background:var(--primary);
    opacity:.6;
    z-index:1;
}

.team-title,
.ceo-card{
    position:relative;
    z-index:2;
}



.team-title{
    position:relative;
    z-index:2;
    text-align:center;
}

.team-title h1{
    color:var(--white);
    font-size:46px;
    font-weight:800;
    text-transform:uppercase;
    margin-bottom:40px;
}

.ceo-card{
    position:relative;
    z-index:2;

    background:var(--white);
    border-radius:30px;

    padding:30px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:40px;

    max-width:1000px;
    margin:0 auto;

    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.ceo-content{
    flex:1;
}

.ceo-content h2{
    font-size:24px;
    color:var(--counter-text);
}

.ceo-content span{
    color:var(--primary);
    font-size:18px;
    font-weight:500;
    display:block;
}

.ceo-content p{
    color:var(--text-color);
    margin-bottom:5px;
    font-weight: bold;
}
.ceo-content .p2{
    color:var(--text-color);
    margin-bottom:5px;
    font-weight:300;
}

.ceo-image{
    width:360px;
}

.ceo-image img{
    width:100%;
    border-radius:25px;
    display:block;
}

/* Responsive */

@media(max-width:991px){

    .ceo-card{
        flex-direction:column-reverse;
        text-align:center;
    }

    .ceo-image{
        width:100%;
        max-width:400px;
    }

    .team-title h1{
        font-size:40px;
    }

}

@media(max-width:576px){

    .team-title h1{
        font-size:30px;
    }

    .ceo-card{
        padding:20px;
    }

    .ceo-content h2{
        font-size:24px;
    }

}