/* Base Styles */
body {
    font-family: Arial, sans-serif;
    padding-top: 80px;
    text-align:justify;


}
.mainheader{
    background-color:#FFE7EC;
    padding-bottom:20px;

}
a {
    text-decoration: none;
    color: inherit;
}
#textarea1 {
    cursor:default;
    width: 100%;
    background-color: #CED4DA;
    color: #CED4DA;
    font-size: 16px;
    resize: none;
    outline: none;
    overflow: hidden;
    white-space: pre-wrap;
    border: none;
}

/* header */
header {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* Ensures it's visible */
    z-index: 1000; /* Keeps it above other elements */
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds shadow for better visibility */
}

    

/* Logo Section */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 14px;
}

/* Flag Section */
.flags-section {
    display: flex;
    gap: 10px;
}

.flag {
    max-width: 30px;
    max-height: 20px;
}

/* Centering navbar */
.navbar {
    justify-content: center;
    margin-top: 40px;
}

/* Align navbar items */
.navbar-nav {
    background-color: inherit;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 15px;
}

/* Navbar item styling */
.nav-item {
    background-color: #384184; /* Blue background */
    border-radius: 5px;
}

.nav-link {
    color: white;
    padding: 10px 15px;
}

/* Navbar item hover effect */
.nav-item:hover {
    background-color: #E9247E; /* Pink background */
    color: black;
}

/* Dropdown menu styling */
.dropdown-menu {
    background-color: #384184; /* Blue background */
    border: none;
}

/* Dropdown item styling */
.dropdown-item {
    color: white !important;
    background-color: #384184; /* Blue background */
    padding: 10px 15px;
}

/* Hover effect for dropdown items */
.dropdown-item:hover {
    background-color: #E9247E !important; /* Pink background */
    color: black !important;
}

/* Fix for clicked (active) dropdown items */
.dropdown-item:focus, 
.dropdown-item:active {
    background-color: #384184 !important; /* Blue background */
    color: white !important;
}

/* Fix for dropdown toggles (like OFFLINE) when clicked */
.dropdown-toggle:focus,
.dropdown-toggle:active {
    background-color: #384184 !important; /* Blue background */
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure nested dropdown positioning */
.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0.1rem;
}


/*  marquee styles */
.action-area.marquee-head.marquee {
  width: 100%;  /* Full width */
  overflow: hidden;  /* Hide overflowed content */
  background-color: #ffb7c5;  
  padding: 10px 0; 
  box-sizing: border-box;
}

.action-area.marquee-head.marquee ul {
  display: flex;  /* Flex layout for horizontal scrolling */
  padding: 0;
  margin: 0;
  animation: marquee 20s linear infinite;  /* Slower animation for all screen sizes */
  white-space: nowrap;  /* Prevent text wrapping */
}

.action-area.marquee-head.marquee ul li {
  list-style-type: none;
  margin-right: 50px; /* Space between items */
}

@keyframes marquee {
  0% {
    transform: translateX(100%);  /* Start from the right */
  }
  100% {
    transform: translateX(-100%);  /* End at the left */
  }
}

/* Ensure marquee adapts well on smaller screens */
@media (max-width: 768px) {
  .action-area.marquee-head.marquee ul {
    animation: marquee 5s linear infinite;  /* Slower animation for tablets and mobile */
  }

  .action-area.marquee-head.marquee ul li {
    margin-right: 30px;  /* Slightly reduced margin on smaller screens */
  }
}

@media (max-width: 480px) {
  .action-area.marquee-head.marquee ul {
    animation: marquee 5s linear infinite;  /* Even slower animation for small mobile screens */
  }

  .action-area.marquee-head.marquee ul li {
    margin-right: 20px;  /* Reduced margin on mobile */
  }
}


/* Carousel */
/* Center the carousel */
#carouselExampleControls,#carouselExampleControls2{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    margin: auto;
    border: 3px solid #000;
    border-radius: 10px;
    overflow: hidden;

}

/* Ensure images fit properly */
.carousel-inner img {
    width: 100%;
    height: 50vh;
    max-height: 60vh;
    object-fit: contain; /* Prevent zooming */
    transition: transform 0.5s ease-in-out;
}


.carousel-item {
    transition: opacity 1s ease-in-out;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

/* Mobile View */
@media (max-width: 768px) {
    #carouselExampleControls2{
        max-width: 100%;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        background-color:#384184;
    }

    .navbar-toggler {
        display: block;
    }
    .flags-section {
    gap: 0px;
    }
    #carouselExampleControls {
        max-width: 90%;
    }
    .carousel-inner img {
        height: 30vh; /* Ensure proper scaling */
    }

}

/* Mobile & Tablet View */
@media (max-width: 992px) { /* Tablet */
    #carouselExampleControls {
        max-width: 80%; /* Increase width for better view */
    }
}



/*boxy css*/
boxg, #box1, box1, box2, box3, boxy {
  display: grid;
  grid-template-columns: 1fr;
  padding: 10px;
  border-radius: 20px;
  /*font-family: Arial, sans-serif;*/
  line-height: 1.6;
  /*max-width: 800px;*/
  margin: 10px auto;
  transition: all 0.3s ease;
}
boxy {
  background-color: #FFE7EC; /* Light pink */

}
/* Hover Effects */
boxy:hover {
  border:2px solid #9F2B68;
  transform: scale(1.001);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#head1{
    background-color:#384184;
    color:white;
    font-weight:bold;
    text-transform:uppercase;

    padding:20px ;
    margin-bottom:20px;
    border-radius:5px;
}
#blueheighlight{
    color:darkblue;
}
#partners{
    display:flex;
    justify-content:center;
    background-color:pink;
    border-radius:10px;
    
}

/*cards*/
.custom-card {
    height: 100%;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  /* Different background colors for each card */
  .card-1 { background-color: #37475a; } /* Dark Blue */
  .card-2 { background-color: #503C60; } /* Deep Purple */
  .card-3 { background-color: #7A2E2E; } /* Dark Red */
  .card-4 { background-color: #5A3E36; } /* Dark Brown */
  .card-5 { background-color: #6B2D40; } /* Dark Maroon */
  .card-6 { background-color: #264653; } /* Dark Maroon */
  .card-7 { background-color: #4B2C39; } /* Dark Maroon */
  
  .section {
      text-align:left;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.section:nth-child(odd) {
    background: #e82583;
    color: white;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #000066, #333399);
    color: white;
}

.section:hover {
    transform: scale(1.03);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.section h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.section ul {
    list-style: none;
    padding: 0;
}

.section ul li {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.section ul li:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(10px);
}

.highlight {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    display: inline-block;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.highlight:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(10px);
}

#alltime ul li {
    font-weight: bold;
    color: white;
}
#tmimg {
    display: block;
    margin: 20px auto; /* Centers the image */
    border: 5px solid #ff66b2; /* Beautiful pink border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* Soft shadow for beauty */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth hover effect */
    width: 80%; /* Default size */
    max-width: 600px; /* Prevents it from getting too large */
}

#tmimg:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.5); /* Enhanced shadow on hover */
}

/* Responsive Design */
@media (max-width: 768px) { /* Tablet view */
    #tmimg {
        width: 60%; /* Make smaller */
        max-width: 400px;
    }
}

@media (max-width: 480px) { /* Mobile view */
    #tmimg {
        width: 90%; /* Adjust to fit smaller screens */
        max-width: 300px;
    }
}
@media (min-width: 1024px) { /* Apply only for PC and desktop view */
    .banner4 img {
        width: 70% !important; /* Set image width to 70% */
    }
}
  @media (max-width: 768px) {
    span {
      content: "___"; /* Not applicable for span, use JavaScript instead */
    }
  }

