@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    /* background-color: black; */
    color: black;

}
.first_container {
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
   
    color: white;
    height: auto;  /* Let it adjust based on content */
    display: flex;
    flex-direction: column;  

}
.second_container{
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    background-color: rgb(245, 245, 247);
    color: white;
    height: auto;  /* Let it adjust based on content */
    display: flex;
    flex-direction: column;  

}
.third_container{
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    background-color: rgb(245, 245, 247);
    color: white;
    height: auto;  /* Adjust the height automatically based on content */
    display: flex;
    flex-direction: column;  /* Arrange cards in a column */
   
}
.fourth_container{
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    background-color:#F1F0E8;
    color: white;
    height: auto;  /* Adjust the height automatically based on content */
    display: flex;
    flex-direction: column; 
}
.fifth_container{
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    background-color:#09b9ee;
    color: white;
    height: auto;  /* Adjust the height automatically based on content */
    display: flex;
    flex-direction: column;
}
.sixth_container{
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    background-color: rgb(209, 233, 246);
    color: white;
    height: auto;  /* Adjust the height automatically based on content */
    display: flex;
    flex-direction: column; 

}
.seventh_container{
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Poppins', sans-serif;
    background-color:#001F3F;
    color: white;
    height: auto;  /* Adjust the height automatically based on content */
    display: flex;
    flex-direction: column; 

}

/* Navbar Animation */
/* .animated-navbar {
    background: linear-gradient(135deg, #af4c99 50%, #c781ae 50%);
    transition: background 0.7s ease-in-out, box-shadow 0.5s;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Hover effect for a dynamic gradient */
/* .animated-navbar:hover {
    background: linear-gradient(135deg, #c781ae 50%, #af4c99 50%);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
} */

/* Optional: Inner highlight effect */
/* .animated-navbar {
    background: linear-gradient(90deg, #0e7fd0, #d4066a, #c228a0);
    transition: background 1s ease-in-out, box-shadow 0.5s;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
} */

/* Hover Effect: Animate gradient */
/* .animated-navbar:hover {
    background: linear-gradient(270deg, #872163, #af4c99, #4185e5);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
} */

/* Subtle Animated Glow */
/* .animated-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.7s ease-in-out;
} */

/* .animated-navbar:hover::before {
    opacity: 1;
} */


/* Text Animation */
.navbar {
    position: relative; /* Ensure dropdown menu positions correctly */
    overflow: visible;
    background-color:#062d3d; /* Prevent cutting off child elements */
}
.menu {
    
    padding: 20px;
    right: 20px;
  
    
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
   
}

.menu li {
    position: relative;
    
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* Hover effect - Simple underline animation */
.menu a:hover {
    
    color: #0ef;
  
}
.menu a span{
    
    position: absolute;
    left:0;
    top: 0;
    width:100%;
    height:100%;
    z-index:-1;
    border-bottom:2px solid #0ef;
    border-radius:15px;
    transform: scale(0) translateY(50px);
    transition: .5s;
}
.menu a:hover span{
    opacity:1;
    transform: scale(1) translateY(0);
}

.register-btn {
    position: relative;
    display: inline-block;
    font-size: .8em;
    letter-spacing: .1em;
    color:#0ef;
    text-decoration: none;
    text-transform: uppercase;
    border:2px solid #0ef;
    padding: 10px 20px;
    transition: 1s;
    z-index:1;
    overflow:hidden;
    

}
.register-btn::before{
    content: " ";
    position: absolute;
    top: 0;
    left: -50px;
    width:0;
    height:100%;
    background: #0ef;
    transform: skewX(35deg);
    transition:color 1s, box-shadow 1s;
    transition-delay: 0s,1s;
}
.register-btn:hover{
    color:#fff;
    box-shadow: 
    0 0 10px #0ef,
    0 0 40px #0ef,
    0 0 60px #0ef,
    0 0 100px #0ef;
    
}
.register-btn:hover:before{
    width:100%;
}




.login-btn{
    position: relative;
    display: inline-block;
    font-size: .8em;
    letter-spacing: .1em;
    color:rgb(182, 20, 168);
    text-decoration: none;
    text-transform: uppercase;
    border:2px solid rgb(146, 22, 105);
    padding: 10px 20px;
    transition: 1s;
    z-index:1;
    overflow:hidden;

}
.login-btn::before{
    content: " ";
    position: absolute;
    top: 0;
    left: -50px;
    width:0;
    height:100%;
    background:  rgb(146, 22, 105);
    transform: skewX(35deg);
    transition:color 1s, box-shadow 1s;
    transition-delay: 0s,1s;
}
.login-btn:hover{
    color:#fff;
    box-shadow: 
    0 0 10px  rgb(146, 22, 105),
    0 0 40px  rgb(146, 22, 105),
    0 0 60px  rgb(146, 22, 105),
    0 0 100px  rgb(146, 22, 105);
    
}
.login-btn:hover:before{
    width:100%;
}
.home{
    position:relative;
    width:100%;
    justify-content: space-between;
    height:60vh;
    background-color:#062d3d;
    background-position: center;
    display: flex;
    align-items: center;
    padding:70px 10% 0;
    color:#fff;
    margin-bottom:150px;
    
    
}
.home-content{
    max-width: 600px;

}
.home-content h3{
    font-size: 28px;
    font-weight: 700;

}
.home-content h1{
    font-size: 56px;
    font-weight:700;
    margin: -3px 0;
    
}
.btn-box{
    display: inline-block;
    padding:10px 25px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color:#081b29;
    letter-spacing:1px;
    text-decoration: none;
    font-weight: 600;
    margin-top:25px;
    box-shadow: 0 0 100px cyan;
   
}
.btn-box:hover{
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 50px cyan,
    0 0 10px cyan,0 0 200px cyan;
}
.text{
    color:cyan;
}
.home-pic .rounded-img {
    border-radius: 50%; /* Makes the image circular */
    width: 400px; /* Adjust the width as needed */
    height: 400px; /* Ensure height matches width for a perfect circle */
    object-fit: cover;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,0 0 50px cyan,
    0 0 10px cyan,0 0 200px cyan;
}

/* Keyframes for rotation */
/* Ensures the image scales properly */

.navbar .toggle_btn{
    color:#fff;
    font-size: 1.5rem;
    cursor:pointer;
    display:none;
}
/*DROPDOWNMENU*/
.dropdown_menu{
    position: absolute;
    right: 1rem;
    top:60px;
    width:100%;
    background: #062d3d;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: visible; 
    display: none; /* Hidden by default */
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    

}
.dropdown_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.dropdown_menu li {
    padding: 10px 20px;
    text-align: center;
    width: 100%; /* Stretch across the dropdown width */
}

.dropdown_menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

.dropdown_menu.open {
    display: flex; /* Show dropdown when open */
}
.dropdown_menu .menubutton a {
    text-align: center; /* Center-align button text */
    padding: 10px 15px;
    font-size: 14px;
    background-color: #0b0b0c; /* Add a background color */
    color: white; /* Text color */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.dropdown_menu .menubutton a:hover {
    background-color: #0056b3; /* Darker background on hover */
}



.second_part .header h1{
    color:rgb(136, 7, 82);
    background: linear-gradient(45deg, cyan, rgb(8, 145, 145)); /* Gradient colors */
    background-clip: text; /* Makes the gradient apply to the text itself */
    text-align: center;
    padding:25px;
    font-weight: 500;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.4), 
    2px 2px 5px rgba(0, 0, 0, 0.2), 
    3px 3px 15px rgba(0, 0, 0, 0.1);
    transform: rotateX(5deg);
    animation: fadeIn 3s ease-in 1s, colorChange 5s infinite alternate; /* Color animation */
}
.card_container {
    display: grid;
    justify-content: space-between; /* Adjust the space between cards */
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));  /* Optional: Adds space between the cards */
    margin: auto;
    align-items: center;
    width:80%;
    height:auto;
    flex-wrap: wrap;
    padding:50px; /* Allows the cards to wrap on smaller screens */
}
.first_card, .second_card, .third_card {
    display: flex;
    flex-direction: column;
    height: 500px; /* Same height for all */
    margin: 10px;
    border-radius: 10px;
    background-color: #1f1f1f; /* Background color for the cards */
    box-shadow: 
    0 0 10px rgb(1, 19, 20),
    0 0 40px rgb(0, 13, 14);
    /* Box shadow for a soft 3D effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add hover effect for extra animation */
.first_card:hover, .second_card:hover, .third_card:hover {
    transform: translateY(-5px);
    box-shadow: 
    0 0 10px #0ef,
    0 0 40px #0ef;


}

/* Style the card body content */
.card-body {
    padding: 20px;
    color: #fff;
    flex-grow: 1; /* Ensure content fills available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card title and text style */
.card-body h5 {
    font-size: 18px;
    font-weight: 600;
    color: #00bcd4; /* Cyan color for title */
}
.card-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1b0431;
    align-items: center;
    justify-content: center;
    text-align:center; /* Cyan color for title */
}

.card-body p {
    font-size: 14px;
    color: #bbb; /* Light gray for the paragraph */
    margin-bottom: 10px;
}

/* Add shadow to card images */
.card-img-top {
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Hover effect on card images */
.first_card:hover .card-img-top, .second_card:hover .card-img-top, .third_card:hover .card-img-top {
    box-shadow: 
    0 0 10px #0ef,
    0 4px 20px rgba(0, 0, 0, 0.1);

}
.logo {
    margin-right: 25px; /* Adjust space between the logo and text */
    vertical-align: middle;
    padding:25px; /* Align the logo vertically with the text */
    /* Optional: Adjust logo size */
}
.big_card{
    margin:12px;
    margin-top: 30px; 
   
}
/* General Card Style */
.big_card .card {
    border: none; /* Remove default border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    overflow: hidden;
    background-color: rgb(209, 233, 246);
    margin-bottom: 20px; /* Space between cards */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.big_card .card:hover {
    transform: translateY(-5px); /* Hover effect - slight lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 15px 40px rgba(0, 0, 0, 0.1); /* Hover shadow */
}

/* Card Image Style */
.big_card .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease; /* Smooth transform on hover */
}

.big_card .card-img-top:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Card Body */
.big_card .card-body {
    padding: 20px;
    background-color: #f8f9fa; /* Light background for the card body */
    position: relative;
    background-color: rgb(209, 233, 246);
}

/* Card Title */
.big_card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color:rgb(143, 4, 124); /* Dark color for title */
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;

   
}

/* Card Text */
.big_card .card-text {
    font-size: 1rem;
    color: #030303; /* Lighter color for text */
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

/* Button Box Style */

.big_card .btn-box {
    display: inline-block;
    padding: 10px 25px;
    background: rgb(143, 4, 124);
    border-radius: 40px;
    font-size: 16px;
    color: #f1f3f5;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    width: 25%;
    margin-top: 25px;
    box-shadow: 0 0 100px cyan;
    text-align: center; 
    margin-left:37%;/* Ensure the text inside the button is centered */
}
.big_card .btn-box:hover {
    background:#0ef; /* Dark background on hover */
    color: #fff;
    box-shadow: 0 0 25px rgba(168, 14, 135, 0.5); /* Bright glow on hover */
}
.big_card .btn-box i {
    margin-right: 8px; /* Adjust the space as needed */
}
@media (max-width: 768px) {
    .big_card .btn-box {
        width: 60%; /* Increase the width to 60% on smaller screens */
        margin-left: 20%; /* Adjust the margin to center better on smaller screens */
        font-size: 14px; /* Reduce the font size for better readability */
        padding: 12px 30px; /* Increase padding slightly to maintain button height */
    }
}

/* For mobile devices (up to 480px) */
@media (max-width: 480px) {
    .big_card .btn-box {
        width: 80%; /* Button width takes up 80% on mobile devices */
        margin-left: 10%; /* Center it better */
        font-size: 12px; /* Smaller font size for mobile */
        padding: 12px 25px; /* Adjust padding to suit mobile screens */
    }
}
.fourth_container .fourth h1{
    color:rgb(136, 7, 82);
    background: linear-gradient(45deg, cyan, rgb(8, 145, 145)); /* Gradient colors */
    background-clip: text; /* Makes the gradient apply to the text itself */
    text-align: center;
    padding:25px;
    font-weight: 500;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.4), 
    2px 2px 5px rgba(0, 0, 0, 0.2), 
    3px 3px 15px rgba(0, 0, 0, 0.1);
    transform: rotateX(5deg);
    animation: fadeIn 3s ease-in 1s, colorChange 5s infinite alternate; /* Color animation */
}
.spec_card_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-content: center; /* Centers the content */
    padding: 0 10px;
    margin-bottom:20px;
    margin:60px;

   
}

/* Card styling */
.speccard {
    background: linear-gradient(135deg, #d4e6f1, #a9c9d9); /* Subtle gradient for a polished look */
    border-radius: 15px; /* Rounded corners for modern aesthetics */
    box-shadow: 
    0 0 10px rgb(27, 78, 173);
    /* Depth effect with larger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px; /* Adjusted width for uniformity */
    height: 270px; /* Slightly taller for better content fit */
    padding: 15px; /* Inner padding for spacing */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #2b3e50; /* Professional dark text for readability */
    margin: 20px; /* Add spacing between cards */
}

/* Stylish border */
.speccard::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255, 255, 255, 0.3); /* Inner border effect */
    border-radius: 15px;
    z-index: -1;
    filter: blur(5px); /* Glowing blur effect */
}

/* Hover Effect */
.speccard:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

/* Hover Background Animation */
.speccard:hover {
    background: linear-gradient(135deg, #82a3b3, #d4e6f1); /* Change gradient on hover */
}

/* Card Body styling */
.card-body {
    padding: 20px;
}
.fourth{
    margin-bottom:75px;
}
.icon-container {
    background: linear-gradient(135deg, #3498db, #8e44ad);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container i {
    font-size: 50px;
    color: #fff;
}
.applycard_head{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive grid */
    gap: 18px;
    justify-content: center; /* Centers the content */
    padding: 0 10px;
    margin-bottom:10%;
    margin-left:12%;
    margin-top:10%;



}
.workcard{
    background-color: #1387da;
    border-radius: 5%;
    box-shadow: 0 6px 25px #1387da; 

}
.icon-container i {
    transition: transform 0.3s ease; /* Smooth transition for the rotation */
}
.workcard:hover {
    transform: scale(1.05); /* Slightly enlarges the card on hover */
    box-shadow: 0 12px 35px #084068; /* Increases the shadow on hover */
}

.workcard:hover .icon-container i {
    transform: rotate(360deg);
    /* Rotates the icon 360 degrees */
}

.fifth_container h5{
    color:#8f0888;
    font-weight: bold;
    justify-content: center;
    text-align: center;
    margin:2% 10% 0 10%;
}
.fifth_container h1{
    color:#fdfaff;
    font-weight: bold;
    justify-content: center;
    text-align: center;
  
}
.sixth_part {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); /* Grid will have columns that adjust */
    width: 100%;
    gap: 5px;
    padding: 20px; /* Optional, to add space around content */
}

.doing_image{
    margin:25px;
}
.text-part{
    margin:50px;
    width:60%;
}
.text-part h3{
    color:rgb(175, 9, 153);
    font-weight: bold;

}
.text-part h1{
    color:rgb(8, 44, 110);
    font-weight: bold;
    padding-top:15px;
   
   
}
.text-part h5{
    color:rgb(8, 92, 189);
    font-weight: bold;
    padding-top:15px;
   
   
}
.text-part h6{
    color:rgb(24, 123, 236);
    font-weight: bold;
    padding-top:15px;
   
   
}
.header_part {
    display: flex; /* Ensures each item takes up full width and stacks vertically *//* Adds space between each section */
    width: 100%;
    padding: 20px; /* Optional, to add space around the container */
    justify-items: center; /* Centers items horizontally */
    align-items: flex-start;
    /* Aligns items to the top (or you can use center or baseline as needed) */
}

.about, .contact, .extra_div, .extra_div2 {
    width: 70%; /* Ensures each div takes full width */
    padding: 10px; /* Optional, adds internal padding */
    box-sizing: border-box;
   
    margin:20px;
    height:250px; 
    /* Includes padding in width/height */
} 
.header_part h6{
    padding-top:25px;
    align-items: center;
    text-align: center;
}
.header_part h5{
    padding-top:25px;
    color:#13a1e2;
    font-weight: bolder;
}

/* Optional: For responsiveness on smaller screens */
@media (max-width: 768px) {
    .header_part {
        padding: 10px;
        display: inline; /* Adjust padding for mobile */
    }

    .about, .contact, .extra_div, .extra_div2 {
        padding: 15px; /* Adjust padding for better spacing on smaller screens */
    }
}


/* @keyframes colorChange {
    0% {
        color: rgb(42, 180, 180);
    }
    50% {
        color: rgb(7, 85, 85); 
    }
    100% {
        color: rgb(4, 37, 37); 
    }
} /* 
 */

@keyframes fadeIn {
    0% {
        opacity: 0; /* Start with 0 opacity */
        transform: translateY(-20px); /* Start slightly above */
    }
    100% {
        opacity: 1; /* End with full opacity */
        transform: translateY(0); /* End at original position */
    }
}

/* RESPONSIVE DESIGN NAVBAR*/ 
@media(max-width:992px){
    .menu a,
    .menubutton {
        display: none;
    }
    .navbar .toggle_btn{
        display:block;
    }
    .dropdown_menu .menubutton {
        display: flex; /* Display buttons inside dropdown menu */
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Add spacing between buttons */
        margin-top: 10px;
    }

    .dropdown_menu ul {
        padding: 0;
        list-style: none;
        margin: 0;
    }
    .first_card, .second_card, .third_card {
        width: 100%;
        margin-bottom: 20px;
        /* height:550px; */
    }
    .card_container{
        padding:0px;
        gap:0;

        width:100%;
    }

}
@media(max-width:1200px){
    .first_card, .second_card, .third_card {
        width: 100%;
        margin-bottom: 20px;
        /* height:550px; */
    }
    .card_container{
        padding:0px;
        gap:0;

        width:100%;
    }

}
@media (max-width: 768px) {
    .first_card, .second_card, .third_card {
        width: 800px;
        margin-bottom: 20px;
        /* height:550px; */
    }
    .card_container{
        padding:0px;
        width:100%;
        gap:0;
    }
}
@media (max-width: 890px) {
    .first_card, .second_card, .third_card {
        width: 800px;
        margin-bottom: 20px;
        /* height:550px; */
    }
    .card_container{
        padding:0px;
        width:100%;
        gap:0;
    }
}
@media (max-width: 768px) {
    .navbar .menu {
        display: none; /* Hide regular menu */
    }
    .navbar .toggle_btn {
        display: block; /* Show toggle button */
    }
    .dropdown_menu { /* Fixed position for better display */
        top: 60px; /* Adjust based on navbar height */
        width: 100%;
        left: 0;
        right: 0;
    }
}
@media (max-width: 926px) {
    .second_container,
    .third_container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .card_container {
        display: flex;/* Stack the cards vertically */
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .first_card, .second_card, .third_card {
        width: 100%; /* Full width for each card */
        max-width: 300px; /* Optional: limit max width for cards */
        margin: 10px 0; /* Optional: add margin for spacing */
    }

    /* Ensure the third container stays on the bottom */
    .third_container {
        margin-top: 30px;  /* Ensure no overlap */
    }
}





/* Smooth fade-in effect for the menu items */


/* Animation for the fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect - Scale the menu item slightly */
.menu a:hover {
    transform: scale(1.1);
}
@media (max-width: 1024px) {
    .sixth_part {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* Smaller screens, fewer columns */
    }
}

@media (max-width: 768px) {
    .sixth_part {
        grid-template-columns: 1fr; /* Single column for small screens (e.g., phones) */
    }

    .sixth .doing_image img {
        height: auto; /* Allow image height to adjust automatically on smaller screens */
    }

    .sixth .text-part h1 {
        font-size: 1.5rem; /* Adjust font size for smaller screens */
    }

    .sixth .text-part h5 {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
    }

    .sixth .text-part h6 {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }
}
@media (max-width: 768px) {
    .home {
        flex-direction: column; /* Stack text and image vertically */
        text-align: center; /* Center align text */
        height: auto; /* Let it adjust based on content */
        padding: 50px 5%;
    }

    .home-pic {
        margin-top: 20px; /* Add spacing between content and image */
    }
}

/* For mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .home {
        flex-direction: column; /* Stacks content vertically */
        text-align: center; /* Center align the text */
        padding: 40px 5%; /* Adjust padding for smaller devices */
        height: auto; /* Adjust height based on content */
    }

    .home-pic {
        margin-top: 15px; /* Space between the text and image */
    }

    .home-content h1 {
        font-size: 35px; /* Smaller text on mobile */
    }

    .home-content h3 {
        font-size: 20px; /* Adjust font size for mobile */
    }

    .home-pic .rounded-img {
        width: 250px; /* Adjust image size for mobile */
        height: 250px;
    }
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 120px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 5px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #23c1d6;
}
.register-dropdown a {
    background-color: rgb(234, 240, 234); /* Light green for Register dropdown buttons */
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    border: 1px solid #0ef; /* Optional border for separation */
}

.register-dropdown a:hover {
    background-color: #0ef; /* Dark green on hover */
    color: white;
}

/* Login Dropdown Buttons */
.login-dropdown a {
    background-color: rgb(247, 251, 252); /* Light blue for Login dropdown buttons */
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    border: 1px solid rgb(241, 8, 203); /* Optional border for separation */
}

.login-dropdown a:hover {
    background-color: rgb(241, 8, 203); /* Dark blue on hover */
    color: white;
}
li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 100;
}

.dropdown li {
    margin: 5px 0;
}

.dropdown li a {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    display: block;
    border-radius: 3px;
}

.dropdown li a:hover {
    background-color: #f0f0f0;
}
