* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Itim", cursive;
    text-decoration: none;
}

:root {
    --text-color: #ffffff;
    --main-color: #400080;
    --h1-font: 5.5rem;
    --p-font: 1rem;
    --background-color: #ffffff;
    --header-background: transparent;
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px; /* Base font size for better readability on mobile */
    line-height: 1.6; /* Line height for improved readability */
    overflow: hidden;
    
    padding-bottom: 40%; /* Ensures space for the scroll indicator */
}
*, *::before, *::after {
    box-sizing: border-box;
}

/* Dark mode styles */
body.dark-mode {
    --background-color: #121212;
    --text-color: #ffffff;
    --main-color: #bb86fc;
    --header-background: #1f1f1f;
}

/* Header styling */
header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    background: var(--header-background);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 5%; /* Adjust padding for smaller screens */
    transition: all .55s ease;
}

.logo {
    display: flex;
    align-items: center; /* Aligns logo and text vertically */
    font-family: "Changa", sans-serif;
    font-size: 1.5rem; /* Adjust font size for better readability */
    text-decoration: none;
    color: var(--text-color);
}

header .logo img.website-logo {
    max-height: 70px; /* Adjust the size of the logo */
    margin-right: 8px; /* Space between the logo and text */
    transition: all 0.3s ease; /* Smooth transition for the highlight effect */
}

/* Highlight effect on click */
.logo img.website-logo:active {
    opacity: 0.7; /* Slightly transparent when clicked */
    filter: brightness(1.7); /* Increase brightness when clicked */
    transform: scale(1.1); /* Slightly scale up */
    
}

.navmenu {
    display: flex;
    flex-wrap: wrap; /* Wrap items on smaller screens */
}

.navmenu a {
    display: inline-block;
    margin: 0 50px; /* Adjust margin for smaller screens */
    font-family: "Mukta", sans-serif;
    font-size: 20px;
    transition: all .6s;
    color: var(--text-color);
    text-decoration: none;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 2px rgb(203, 24, 39);
    }
    50% {
        box-shadow: 0 0 10px rgb(203, 24, 39), 0 0 30px rgb(203, 24, 39), 0 0 40px rgb(203, 24, 39);
    }
    100% {
        box-shadow: 0 0 5px rgb(203, 24, 39);
    }
}

.navmenu a {
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
}

.navmenu a:hover {
    transform: translateY(-5px);
    color: rgb(203, 24, 39);
}

.navmenu a:active {
    animation: glow 0.5s ease-in-out;
    color: rgb(203, 24, 39);
}

.navmenu a:focus {
    animation: glow 0.2s ease-in-out;
    outline: none;
    color: rgb(203, 24, 39);
}


.nav-right {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.nav-btn {
    display: inline-block;
    background: var(--main-color); /* Main background color */
    border-radius: 16px;
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    margin-right: 20px;
    border: 2px solid #1100ff; /* Light blue border */
    box-shadow: 0 0 2px #070ec4 inset; /* Inner shadow effect */
    cursor: pointer; /* Pointer cursor on hover */
}

.nav-btn:hover {
    background: #0004f2; /* Lighten or change background color on hover */
    box-shadow: 0 0 5px #040cf1 inset; /* Intensify inner shadow on hover */
}

#menu-icon {
    font-size: 42px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

/* Dark mode toggle styling */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dark-mode-toggle input {
    display: none;
}

.dark-mode-toggle .dark-mode-label {
    font-size: 1.5rem;
    margin-left: 8px;
}


/* Hero section styling */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: linear-gradient(65deg, #000000 30.22%, #591688 70%); /* Diagonal gradient from black to dark purple */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items to the start (left) */
    padding-left: 20px; /* Adjust padding for smaller screens */
    overflow: hidden; /* Hide any overflow */
    min-height: 100vh;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.1) 76%, transparent 77%), 
                      linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.1) 76%, transparent 77%);
    background-size: 50px 50px; /* Grid size */
    z-index: 0; /* Ensure the grid is behind the content */
    pointer-events: none; /* Make sure the grid doesn't interfere with other elements */
}



/* Ensure the content inside .hero is above the grid pattern */
.hero > * {
    position: relative;
    z-index: 1;
}

/* Container for the images */
.hero-img {
    display: flex; /* Arrange images in a row */
    gap: 20px; /* Space between images */
    flex-shrink: 0; /* Prevent the image container from shrinking */
    width: 35%; /* Adjust the width as needed */
    position: relative;
    overflow: hidden; /* Ensure content does not overflow */
    margin-left: auto; /* Push the image to the right */
    margin-right: 20%;
    top: -25.5px;
}

/* Style for individual images */
.hero-img img {
    width: 90%;
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for animation and highlight */
    transform-origin: center center; /* Center of rotation */
}

.hero-img img:hover {
    transform: scale(1.3); /* Increase the size by 30% on hover */
}


/* Glowing effect with animation on hover */
.hero-img img:hover {
    animation: glow 1.5s infinite alternate; /* Continuous glow animation */
}

/* Keyframes for glowing effect */
@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 255, 0, 0.5); /* Start with a subtle glow */
        transform: scale(1); /* Normal size */
    }
    to {
        box-shadow: 0 0 30px rgba(255, 255, 0, 1); /* Intense glow */
        transform: scale(1.1); /* Slightly scale up */
    }
}

/* Hero text styling */
.hero-text {
    max-width: 50%; /* Ensure it takes up no more than half of the container */
    margin-right: 20px; /* Add margin to separate from image */
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Arrange children in column */
    align-items: flex-start; /* Align items to the start */
    
}

.hero-text span {
    font-size: 1.2rem;
    font-weight: bold;
    /* margin-left: 45%; */
    background: linear-gradient(to bottom, #fb9c04, #e0e0e0 50%, #14ee05 100%); /* Darker shades of saffron, white, and green */
    -webkit-background-clip: text; /* Clip the background to the text */
    -webkit-text-fill-color: transparent; /* Make the text color transparent to show the gradient */
    display: inline-block; /* Ensure it respects the gradient */
}



/* Keyframes for scrolling effect */
@keyframes scroll-left {
    0% {
        transform: translateX(100%); /* Start from outside the right edge */
    }
    100% {
        transform: translateX(-100%); /* Move to outside the left edge */
    }
}
.hero{
    min-width: 100vh;
}   
.hero-text{
    min-width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
}
.hero-text h5 {
    font-size: 2rem;
    color: #fff;
    white-space: nowrap; /* Prevents the text from wrapping */
    overflow: hidden; /* Ensures the text does not overflow the container */
    text-overflow: ellipsis; /* Adds ellipsis (...) if text overflows */
    display: inline-block; /* Required for the animation to work */
    animation: scroll-left 8s linear infinite; /* Apply the scrolling animation */
    padding-right: 100%; /* Ensures there's space for the text to scroll into view */
}


.hero-text h1 {
    font-family: "Yatra One", system-ui;
    font-size: 97px;
    position: relative;
    color: #fff;
}

.hero-text p {
    font-size: var(--p-font);
    color: #fff;
    margin-bottom: 20px;
}

.hero-btn {
    display: flex;
    gap: 20px; /* Space between buttons */
}

.hero-btn a {
    background: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn a:hover {
    background: #0004f2; /* Lighten background color on hover */
    transform: scale(1.05); /* Slightly scale up on hover */
}

.btn2 {
    background: #ffeb3b; /* Custom button color */
    color: #000; /* Custom text color */
}

.btn2:hover {
    background: #fdd835; /* Lighter yellow on hover */
}


.image-box {
    position: absolute;
    bottom: 7%;
    right: 10%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.box {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.1); /* Transparent white background */
    box-shadow: rgba(33, 35, 38, 0.1) 0px 30px 30px -4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px; /* Increased gap to ensure spacing between image and text */
    border-radius: 12px; /* Optional: add rounded corners */
    border: 0.5px solid transparent;
    transition: all .6s;
}

.box-img {
    height: 50px; /* Adjusted size */
    width: 50px;  /* Adjusted size */
    object-fit: cover;
    border-radius: 50%; /* Makes the image round */
    margin-right: 10px; /* Space between image and text */
}
.box-img img{
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.box-text h5{
    font-size: 13px;
    font-family: "Yatra One", system-ui;
    font-weight: 500;
    color: var(--text-color);
}

.box-text a{
    font-size: 12px;
    color: #0bdcb6;
}

.box:hover{
    transform: translateY(-5px);
    cursor: pointer;
    border: 1px solid var(--text-color);
}
/* Blinking effect */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.social-icons {
    position: absolute;
    top: 60%;
    left: 20;
     /* Align to the left edge */
    transform: translateY(-50%); 
    /* Center vertically */
    padding: 0 34px; 
    /* Adjust if needed for spacing from the edge */
}

.social-icons i {
    display: block;
    margin: 25px 0;
    color: var(--text-color);
    font-size: 25px;
    transition: color 0.6s; /* Transition for color change */
    text-decoration: none; /* Remove underline */
}

.social-icons i:hover {
    animation: blink 1s infinite; /* Apply blink animation on hover */
}

.scroll-btn{
    position: absolute;
    bottom: 7%;
    left: 9%;
}

.scroll-btn a{
    font-size: 17px;
    color: var(--text-color);
}

.scroll-btn i{
    height: 45px;
    width: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    color: var(--text-color);
    background: rgb(132, 4, 4);
    margin-right: 6px;
    transition: all .6s; 
}

.scroll-btn i:hover{
    background: var(--text-color);
    color: #101010;
}

@media(max-width:1050px){
    .scroll-btn{
        display: none;
    }
    .image-box{
        display: none;
    }
    .logo{
        font-size: 26px;
    }
    .hero{
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center; /* Centering the content */
        align-items: center; /* Centering the content */
    }
    .nav-btn{
        padding: 8px 18px;
    }
    .hero-text a{
        padding: 8px 18px ;
        font-size: 16px; /* Adjusting font size */
        margin: 10px; /* Adding some margin to space the buttons */
        display: inline-block; /* Ensuring buttons are displayed inline */
    }
    .hero-text{
        padding-top: 100px;
        text-align: center; /* Centering the text */
    }
    .hero-img{
        margin: 0 auto;
        max-width: 80%; /* Limiting the image size for smaller screens */
    }
    :root{
        --h1-font: 3.8rem;
        --p-font: 15px;
    }
}

@media(max-width: 750px){
    #menu-icon{
        display: block;
        font-size: 32px;
    }
    .navmenu{
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 50px 30px;
        top: 0;
        right: 0;
        bottom: 0;
        left: 100%;
        display: flex;
        flex-direction: column;
        backdrop-filter: blur(32px);
        transition: all .6s ease-in-out;
    }
    .navmenu a{
        display: block;
        padding: 0;
        margin:  0px 0px 24px 0px;
        font-size: 1.5rem;
    }
    .navmenu.open{
        left: 0;
    }
    .hero-text a{
        padding: 10px 20px;
        font-size: 1.2rem;
        margin: 8px 0;
    }
    .hero-text{
        padding-top: 80px;
        text-align: center;
    }
}

@media(max-width: 470px){
    :root{
        --h1-font: 3.5rem;
        --p-font: 14px;
    }
    .hero{
        height: 100vh;
    }
    .hero-text h1{
        margin: 0 0 15px;
    }
    .hero-text p{
        margin-bottom: 25px;
    }
}

@media(max-width: 400px){
    :root{
        --h1-font: 3rem;
        --p-font: 14px;
    }
}

/* Style for the registration form container */
#register-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(65deg, #9b1515 30.22%, #07000c 70%); /* Diagonal gradient from black to dark purple */ 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 400px;
    width: 100%;
    z-index: 1000; /* Ensure it's on top */
    display: none; /* Initially hidden */
}

/* Style for form elements */
#register-form form {
    display: flex;
    flex-direction: column;
}

#register-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #ece0e0;
}

#register-form input {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#register-form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
/* Register Section */
#register-form button:hover {
    background-color: #0056b3;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #cc0a0a;
}

.close-btn:hover {
    color: red; /* Change color on hover */
}


/* Scroll Button Styling */
#scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #400080; /* Main color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#scroll-btn:hover {
    background-color: #350075;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */

#about {
    padding: 50px 20px;
    padding-bottom: 300px;
    background-color: #f9f9f9; /* Light background for the section */
    position: relative; /* Ensure the pseudo-element is positioned relative to the section */
    background: linear-gradient(65deg, #000000 37.22%, #c03309 70%); /* Dark background gradient */
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.1) 76%, transparent 77%), 
                      linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.1) 76%, transparent 77%);
    background-size: 50px 50px; /* Grid size */
    z-index: 0; /* Ensure the grid is behind the content */
    pointer-events: none; /* Make sure the grid doesn't interfere with other elements */
    scroll-behavior: smooth;
}


/* Team Section Styling */
.team {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

/* Center Title */
.team .center {
    text-align: center;
    margin-bottom: 20px;
}

.team .center h1 {
    font-size: 2.5em;
    color: #e6dbe6; /* Black color for the title */
    font-family: "Changa", sans-serif;

}

/* Team Content Styling */
.team-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start; /* Align items to the start to reduce white space */
    flex-wrap: wrap;
    gap: 20px; /* Adds space between items */
    padding-top: 110px; /* Add padding to push items down */
}

.boxes {
    background: #fff; /* White background for each box */
    border-radius: 8px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 220px; /* Small width for each box */
    height: auto; /* Automatically adjust height based on content */
    text-align: center;
    padding: 10px;
    margin-bottom: 50px; /* Add margin at the bottom */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.boxes:hover {
    background-color: rgba(255, 255, 0, 1); /* Slightly white effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Larger shadow effect on hover */
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); /* Glowing effect */
    transform: scale(1.05); /* Slightly enlarge the box */
    content: "Lead";
}

.boxes img {
    width: 40%;
    height: auto;
    border-radius: 500%; /* Makes the image circular */
}

.boxes h3 {
    font-size: 1.5em;
    font-family: "Yatra One", system-ui;
    margin: 10px 0;
    color: #000;

}

.boxes h5 {
    font-size: 1.1em;
    color: #bb2c2c; /* Lighter color for the subtitle */
    margin-bottom: 20px;
}

h1 {
    font-size: 36px; /* Increase font size */
    font-weight: bold; /* Make the font bold */
    font-family: "Yatra One", system-ui;
    color: #b7c405; /* Change the text color */
    margin-top: 20px; /* Adjust margin if needed */
}


.iconsx i {
    display: inline-block;
    color: #041fb6;
    font-size: 20px;
    margin: 0 8px;
    justify-content: center;
}

.iconsx i:hover {
    transform: scale(1.2);
}

.iconsx a {
    font-size: 1.5em;
    color: #333; /* Icon color */
    margin: 0 10px;
    text-decoration: none;
}

/* Optional Responsive Styling */
@media (max-width: 768px) {
    .team-content {
        flex-direction: column;
        align-items: center;
    }

    .boxes {
        width: 90%;
    }
}


/* .scroll-btn */

html {
    scroll-behavior: smooth;
}

.scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    display: none; /* Initially hidden */
    transition: opacity 0.3s;
}

#scrollTopBtn:hover {
    background-color: #555;
}


