*{
    margin: 0;
    padding: 0; 
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root{
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
    
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body{
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
}

.container{
    width: var(--container-width-lg);
    margin: 0 auto;
}

section{
    padding: 6rem 0;
}

section h2{
    text-align: center;
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5{
    line-height: 1.2;
}

h1{
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3{
    font-size: 1.6rem;
}

h4{
    font-size: 1.3rem;
}

a{
    color: var(--color-black);
}

img{
    width: 100%;
    display: block;
    object-fit: cover;
}

/*================ NAVBAR =======================*/
nav{
    background: #6EC1E4;
    width: 100vw;
    height: 4.5rem;
    position: fixed;
    top: 0;
    z-index: 9999;
}
/* // change navbar by scrolling using javascript // */
.window-scroll{
    background: #61afd0;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    color: rgb(61, 59, 59);
}
.window-scroll a{
    color: rgb(255, 254, 254);
}

.nav_container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav button{
    display: none;
}

.nav_menu{
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav_menu a{
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav_menu a:hover{
    color: var(--color-bg2);
}

.whts-foot{
    width: 65px; /* Ensure both buttons are the same size */
    height: 65px; 
    position: fixed;
    right: 10px;
    border-radius: 60%; /* Make it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add subtle shadow for better visibility */
    bottom: 30px;
    background: #25D366; /* WhatsApp green color */
}
.whts-foot img{
    width: 50px;
    height: 50px;
}

/* Fullscreen Carousel */
#carousel {
    margin-top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Carousel Wrapper */
.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
}

/* Images Container */
.carousel-images {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

/* Each Image */
.carousel-images img {
    width: 100%;
    height: 100vh;
    background-position: center;
    object-fit: cover;
    display: none;
}

/* Active Image */
.carousel-images img.active {
    display: block;
}

/* Indicators (Dots) */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.indicator.active {
    background: #6c63ff;
    opacity: 1;
}

/* Controls (Arrows) */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* ================ Popular courses ================== */
.courses{
    margin-top: 2rem;
    background: #e0e0e0;

}

.courses_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course{
    background: #ffffff;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}
 .course:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
 }

 .course_info{
    padding: 2rem;
 }

 .course_info p{
    margin: 1.2rem 0 2rem;
    font-size: 1rem;
    color: #919191;
 }
 .course_image {
    width: 100%;
    height: 120px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.course_image img {
    max-width: 100px; /* Adjust size */
    max-height: 100px; 
    display: block;
}


/* =========================== OFFERS =================== */

.workprocess {
    background: linear-gradient(145deg, #68CBB7, #381370); /* Background color */
    color: var(--color-white);
    text-align: center;
    padding: 3rem 1rem;
}

.section_title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 2rem; /* Increased space between heading and boxes */
}

.workprocess_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.process_box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.process_card {
    padding: 2rem 3rem;
    width: auto;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(240, 217, 217, 0.2);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, transform 0.3s;
    margin-bottom: 2rem;
    flex-grow: 1; /* Ensures all cards stretch equally */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.process_card.blue {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 3rem; 
}
.process_card.pink label {
    display: block; /* Taake label apni full width le */
    text-align: left; /* Left align karega text ko */
    font-weight: 500; /* Better visibility ke liye */
    margin-bottom: 3px !important; /* Forcefully remove space */
}
.process_card.pink input {
    margin-top: 0 !important; /* Upper margin bhi hataye */
}
.pink .submitbtn{
    cursor: pointer;
    width: 50%;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 2rem;
    border: 2px solid rgb(174, 8, 154);
    font-size: 1rem;
}
.pink .submitbtn:hover{
    background: linear-gradient(145deg, #f365d4, #d118a9);
    color: white;
}

.blue {
    background: linear-gradient(145deg, #474461, #03023c); /* Green Gradient */
}

.pink {
    background: linear-gradient(145deg, #AE02B6, #E92466); /* Green Gradient */
}

.emoji {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 200;
}

.process_card h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.process_card p {
    font-size: 1rem;
}

 /* ====================== FEATURES ============================ */

 .features h2 {
    background: #6EC1E4;
    padding: 2.5rem;
    position: relative;
    text-align: center;
    display: inline-block;
    font-size: 2.5rem;
    color: rgb(0, 0, 0);
    width: 100%;
}

/* Background mai fa-gem icon add karne ke liye */
.features h2::before {
    content: "\f3a5"; /* Unicode for fa-gem */
    font-family: "Font Awesome 5 Free"; /* Font Awesome ka use karein */
    font-weight: 900; /* Solid style */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem; /* Large size */
    color: rgba(46, 117, 232, 0.2); /* Light transparent color */
    z-index: 1; /* Behind the text */
}

.features_container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.feature_image {
    background: cadetblue;
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature_info h4 {
    white-space: nowrap;
    font-size: 1rem;
    max-width: 90%;
    margin-top: 1rem;
}


/* ======================== COMPANIES ==================== */
.brands {
    text-align: center;
    padding: 3rem 1rem;
    position: relative;
    background: #f9f9f9;
}

.brands h2 {
    font-size: 2.5rem;
    color: #333;
    position: relative;
    display: inline-block;
}

.brands h2::before {
    content: "\f57d"; /* FontAwesome Global Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    color: rgba(0, 0, 0, 0.08); 
    z-index: 11;
}

.brands-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 80%;
    margin: auto;
    overflow: hidden;
}

.brands-wrapper {
    width: 100%;
    overflow: hidden;
    max-width: 900px; 
}

.brands-track {
    display: flex;
    gap: 3rem;
    transition: transform 0.8s ease-in-out;
    width: max-content; 
}

.brands-track img {
    width: 200px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brands-track img:hover {
    transform: scale(1.1);
}

.carousel-control {
    background: white;
    color: rgb(105, 104, 104);
    border: none;
    padding: 10px;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
    z-index: 20;
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}

/* ========================= TIPS & TRICKS ======================================== */

.tips {
    background: #6EC1E4;
    text-align: center;
    overflow-x: hidden; /* Horizontal scroll remove */
}

.tips h2 {
    margin-top: 0;
    font-size: 3rem;
}

/* Grid container */
.tips_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop */
    gap: 1.2rem;
    justify-content: center;
}

/* Tip Card */
.tip {
    width: 100%;
    background: #ffffff;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.tip:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Tip Content */
.tip_info {
    padding: 1rem;
}

.tip_info p {
    margin: 0.8rem 0 1rem;
    font-size: 0.9rem;
    color: #6c6c6c;
}

/* Tip Image */
.tip_image {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip_image img {
    max-width: 100%;
    max-height: 100vh;
    display: block;
    border-radius: 0.5rem;
}


/* ==================== FOOTER ================= */
footer{
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/1.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 5rem;
    font-size: 0.9rem;
    border-top-right-radius: 0rem;
    border-top-left-radius: 8rem;
    margin-top: 1rem;
}


.footer_container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    color: white;
}

.footer_container > div h4{
    margin-bottom: 1.2rem;
}

.footer_1 p{
    margin: 0 0 2rem;
}

footer ul li{
    margin-bottom: 0.7rem;
}

footer ul li a{
    color: white;
}

footer ul li a:hover{
    text-decoration: underline;
}

.footer_socials{
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.footer_copyright{
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-bg2);
}




       /* =============================== RESPONSIVE ======================== */
/* ==================== MEDIA QUERIES(TABLETS) ==================== */

       @media screen and (max-width: 1024px){
        .container{
            width: var(--container-width-md);
        }
        h1{
            font-size: 2.2rem;
        }
        h2{
            font-size: 1.7rem;
        }
        h3{
            font-size: 1.4rem;
        }
        h4{
            font-size: 1.2rem;
        }
    
        /* ==================== NAVBAR =================== */
        nav button{
            display: inline-block;
            background: #61afd0;
            font-size: 1.8rem;
            color: var(--color-white);
            cursor: pointer;
        }
    
        nav button#close-menu-btn{
            display: none;
        }
    
        .nav_menu{
            position: fixed;
            top: 5rem;
            right: 5%;
            height: fit-content;
            width: 18rem;
            flex-direction: column;
            gap: 0;
            display: none;
        }
    
        .nav_menu li{
            width: 100%;
            height: 5.8rem;
            animation: animateNavItems 400ms linear forwards;
            transform-origin: top right;
            opacity: 0;
        }
    
        .nav_menu li:nth-child(2){
            animation-delay: 200ms;
        }
    
        .nav_menu li:nth-child(3){
            animation-delay: 400ms;
        }
        .nav_menu li:nth-child(4){
            animation-delay: 600ms;
        }
    
        @keyframes animateNavItems {
            0%{
                transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
            }
            100%{
                transform: rotateZ(0) rotateX(0) scale(1);
                opacity: 1;
            }
        }
    
        .nav_menu li a{
            background: var(--color-primary);
            box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
            width: 100%;
            height: 100%;
            display: grid;
            place-items: center;
        }
    
        .nav_menu li a:hover{
            background: var(--color-bg2);
            color: var(--color-white);
    
        }
        #carousel {
            height: 60vh; /* Reduce height for tablets */
        }
    
        .carousel-images img {
            height: 60vh;
            object-fit: cover; /* Adjust for better fit */
        }
    
        .carousel-control {
            font-size: 24px; /* Smaller arrows */
            padding: 8px;
        }
    
        .indicator {
            width: 10px;
            height: 10px;
        }
  /* ==================== Popular Courses ======================= */
  .courses{
    margin-top: 0;
}

.courses_container{
    grid-template-columns: 1fr 1fr;
}
.workprocess_container {
    grid-template-columns: repeat(2,1fr);
}
.process_card{
height: auto;
}

.features_container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 2rem; /* Gap thoda kam */
}

.feature_image {
    width: 80px;
    height: 80px;
}

.feature_info h4 {
    font-size: 1rem;
}

.brands-carousel {
    max-width: 90%;
}
.brands-track {
    gap: 2rem;
}
.brands-track img {
    width: 160px;
    height: 100px;
}
.carousel-control {
    font-size: 1.5rem;
    padding: 8px;
}


.tips_container {
    grid-template-columns: repeat(2,  1fr) ; /* 2 Columns for Tablet */
}
.tip_info p {
    font-size: 1rem; /* Slightly bigger for readability */
}

  /* ==================== FOOTER ======================= */
  .footer_container{
    grid-template-columns: 1fr 1fr;
}

       }




    /* ==================== MEDIA QUERIES(PHONES) ======================= */
@media screen and (max-width: 600px) {
    .container{
        width: var(--container-width-sm);
    }

/* ==================== NAVBAR ======================= */
.nav_menu{
    right: 3%;
}

#carousel {
    height: 65vh; /* Reduce height for phones */
    margin-bottom: 0;
    margin-top: 0;
}

.carousel-images img {
    height: 60vh;
    object-fit: cover; /* Cover screen properly */
}

.carousel-control {
    font-size: 20px; /* Smaller arrows */
    padding: 6px;
}

.indicator {
    width: 6px;
    height: 6px;
}

    /* ==================== Popular Courses ======================= */
    .courses_container {
        margin-top: 1rem;
        grid-template-columns: 1fr;
    }
    .workprocess_container {
        grid-template-columns: repeat(1,1fr);
        gap: .5rem;
    }
.process_card{
    height: auto;
}

.features_container {
    grid-template-columns: 1fr; /* Single column */
    gap: 1.5rem;
}

.features h2 {
    font-size: 2rem; /* Heading chhoti */
    padding: 2rem;
}

.features h2::before {
    font-size: 6rem; /* Icon chhota */
}

.feature_image {
    width: 70px;
    height: 70px;
}

.feature_info h4 {
    font-size: 0.9rem; /* Chhoti heading */
}

.brands-carousel {
    max-width: 100%;
}
.brands-track {
    gap: 1.5rem;
}
.brands-track img {
    width: 140px;
    height: 90px;
}
.carousel-control {
    font-size: 1.2rem;
    padding: 6px;
}

.tips_container {
    grid-template-columns: 1fr; /* Single column */
    gap: 0.8rem;
}
.tips h2{
    font-size: 2.4rem;
}
.tip {
    max-width: 100%;
    padding: 1rem;
}

.tip_info h4 {
    font-size: 1rem; /* Chhoti heading */
}

.tip_info p {
    font-size: 0.8rem; /* Chhota text */
}

.tip_image img {
    max-height: 150px; /* Small screen ke liye image chhoti */
}

   /* ==================== FOOTER ======================= */
   footer{
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/1.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 5rem;
    font-size: 0.9rem;
    border-top-left-radius: 8rem;
    margin-top: 1rem;
}
   .footer_container{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
}

.footer_1 p{
    margin: 1rem auto;
}

.footer_socials{
    justify-content: center;
}       
}