
:root {
    --primary: #630592;
    --secondary: #fac900;
    --light: #F6F4F9;
    --dark: #04000B;
}

body{
    font-family: "Poppins";

}



/* logo */
.navbar {
    position: fixed;
    width: 100%;
    /* background-color: #630592; Initial navbar background */
    transition: background-color 0.3s;
}

.navbar.scrolled {
    background-color: white; /* Background after scrolling */
}

#logo {
    height: 50px; /* Adjust as needed */
    transition: opacity 0.3s;
}



h3{
    text-align: center;
    font-family: "Poppins";
    color: #630592;
}

.welcome{
    text-align: left;
}

.whychoose{
    text-align: center;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
/*** Navbar ***/

.navbar {
    background: var(--primary);
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.sticky-top {
    padding: 20px 0;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f067";
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--light);
    transition: all 0.3s ease;
}

.navbar.scrolled .dropdown-toggle::after {
    color: var(--dark);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    padding: 35px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important; /* Hover uses #fac900 */
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--secondary) !important; /* Hover uses #fac900 */
}

.navbar-btn {
    background: var(--light);
    color: var(--primary) !important;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.navbar.scrolled .navbar-btn {
    background: var(--secondary);
    color: var(--dark) !important;
}

.navbar-btn:hover {
    opacity: 0.9;
}

/* Ensure content is visible below navbar */
.main-content {
    padding-top: 100px; /* Increased to ensure visibility */
}

/*** Mobile Styles ***/
@media (max-width: 991.98px) {
    .navbar {
        padding: 15px 20px;
        min-height: 70px; /* Explicit height for mobile */
    }

    .navbar-collapse {
        position: fixed;
        top: 70px; /* Matches navbar height */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar.scrolled .navbar-collapse {
        background: var(--light);
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.scrolled .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-light .navbar-nav .dropdown-menu {
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        padding: 10px 20px;
        position: static;
    }

    .navbar.scrolled .navbar-nav .dropdown-menu {
        background: rgba(0, 0, 0, 0.05);
    }

    .dropdown-item {
        color: var(--light);
        padding: 10px 20px;
    }

    .navbar.scrolled .dropdown-item {
        color: var(--dark);
    }

    .navbar-btn {
        display: block !important;
        width: 100%;
        margin: 15px 0 0;
        text-align: center;
    }

    .main-content {
        padding-top: 80px; /* Adjusted for mobile navbar height */
    }
}

/*** Desktop Styles ***/
@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        background: var(--light);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border: none;
        margin-top: 0;
        top: 100%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    .dropdown-item {
        color: var(--dark);
    }

    .navbar-btn {
        display: inline-block !important;
    }
}


/* Custom Hero Section */
.custom-hero-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 10em 8% 0;
    background-color: #630592;
    position: relative;
    overflow: hidden;
    height: 100vh; /* Keeps it well structured */
}

/* Hero Content */
.custom-hero-content {
    max-width: 45%;
    color: black;
    text-align: left;   
    padding-bottom: 3rem;
}

.custom-hero-content h1 {
    font-size: 2.8em !important; 
    margin-bottom: 20px;
    color: white;
}

.custom-hero-content p {
    font-size: 12pt !important;
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary-custom,
.btn-secondary-custom {
    display: inline-block;
    padding: 12px 24px;
    font-size: 12pt;
    text-decoration: none !important;
    border-radius: 50px;
    transition: 0.3s ease-in-out;
}

.btn-primary-custom {
    background-color: #fac900;
    color: black;
    margin-right: 15px;
}

.btn-primary-custom:hover {
    background-color: #e5b800;
}

.btn-secondary-custom {
    background-color: white;
    color: #630592;
}

.btn-secondary-custom:hover {
    background-color: #ddd;
}

/* Hero Image */
.custom-hero-image {
    width: 500%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0;
}

.custom-hero-image img {
    width: 1200%;
    height: auto;
    object-fit: contain;
    max-height: 500% !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .custom-hero-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: auto;
        padding: 5rem 5% 3rem;
    }

    .custom-hero-content {
        max-width: 90%;
        padding-bottom: 20px;
        text-align: center;
    }

    .custom-hero-content h1 {
        font-size: 2em;
        margin-bottom: 15px;
        margin-top: 20px;
    }

    .custom-hero-content p {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    /* Buttons properly spaced */
    .custom-hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 5px !important;
        align-items: center;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 80%; /* Make buttons stretch a bit for better mobile UX */
        max-width: 300px; /* Prevents overly wide buttons */
        padding: 12px 20px;
        font-size: 1.1em;
    }

    .custom-hero-image {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
    }

    .custom-hero-image img {
        width: 90%;
        max-height: 300px;
        object-fit: cover;
    }
}



/*** Section Title ***/
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    width: 30px;
    height: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    top: 0;
    right: -20px;
}

.section-title span:last-child::after {
    right: auto;
    left: -20px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background: var(--primary);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #FFFFFF;
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}


/*** Why beyondstem Matters***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Fact ***/
.fact {
    margin-top: 1rem;
    margin-bottom: 2rem;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
    
}

.price{
    text-align: center;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

.service-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/blob-primary.png) center center no-repeat;
    background-size: contain;
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

.service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #630592;
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/*** Newsletter ***/
.newsletter {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 0 30px 30px 30px;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}



/* columns */
.columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.column {
    flex: 1 1 calc(70% - 20px); /* Makes each column take 50% minus the gap */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.column h3 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.column p {
    margin: 0;
}

.container, .section {
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
}

.vision-mission{
    color: #fac900;
}



/* Partners */

.sec-heading {
	margin-bottom: 30px;
}
.sec-heading h2 {
	text-align: center;
	font-family: allura;
	font-size: 80px;
}
.clients {
	padding: 50px 0;
    margin-top: 10px;
    margin-bottom: 100px;
}
.box {
	display: grid;
	align-items: center;
	justify-items: center;
	width: 60%;
	height: auto;
	transition: transform .4s ease-in;
	margin: 8px auto;
}
.box img {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
}
.box:hover {
	transform: scale(1.2);
}





/* Custom Styles for the Accordion */
.accordion-button {
    font-family: 'Poppins', sans-serif;
    background-color: #630592;
    color: #fff;
    border: none;
    outline: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .accordion-button:hover,
  .accordion-button:focus {
    background-color: #7c24a8;
    color: #e9e9e9;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: #501075;
    color: #ffffff;
    box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .accordion-item:last-of-type {
    margin-bottom: 0;
  }
  
  .accordion-collapse {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    padding: 1rem;
    line-height: 1.6;
  }
  
  .accordion-body {
    font-size: 1rem;
  }
  
  .accordion-header {
    border-radius: 0.5rem;
  }
  
  #accordionFlushExample {
    max-width: 800px;
    margin: auto;
  }
  
  /* Media Query for Mobile Devices */
  @media (max-width: 576px) {
    .accordion-button {
      font-size: 1rem;
      padding: 0.8rem;
    }
  
    .accordion-body {
      font-size: 0.9rem;
    }
  }
  




/*** Team ***/
.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    
}

/* custom hero */

.custom-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #630592;
    padding: 50px;
    margin-top: 30px;
    flex-wrap: wrap; /* Ensures wrapping on small screens */
}

.custom-hero-content {
    flex: 1;
    padding-right: 20px;
    max-width: 600px; /* Prevents text from stretching too wide */
}

.custom-hero-content h2 {
    font-size: 2.5em;
    margin: 0;
    color: white;
}

.custom-hero-content p {
    font-size: 1.2em;
    color: white;
    margin: 10px 0 20px;
}

.custom-hero-content .btn {
    background-color: #fac900;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.custom-hero-image {
    flex: 1;
    text-align: center;
    max-width: 400px; /* Prevents image from getting too large */
}

.custom-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 📱 Responsive Design for Mobile */
@media (max-width: 768px) {
    .custom-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .custom-hero-content {
        padding: 0;
    }

    .custom-hero-content h2 {
        font-size: 2em;
    }

    .custom-hero-content p {
        font-size: 1em;
    }

    .custom-hero-content .btn {
        font-size: 1em;
        padding: 10px 15px;
    }

    .custom-hero-image {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .custom-hero-content .btn {
        display: block; /* Makes the button full width */
        margin-bottom: 20px; /* Adds space below the button */
    }

    .custom-hero-image img {
        margin-top: 20px; /* Adds space above the image */
    }
}




/* benefit */
.benefits-unique {
    background-color: #fff;
    color: #333;
}

.benefits-unique h2 {
    color: #630592;
}

.benefit-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 2.5em;
    color: #630592;
}

.benefit-title {
    color: #630592;
    font-size: 1.25em;
    margin: 0.5em 0;
}

.benefit-description {
    color: #666;
    font-size: 1em;
}




/* Service Details Section with Brand Color */
.service-details .service-box {
    background-color: white;
    padding: 20px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  }
  
  .service-details .service-box h4 {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #630592;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  
  .why-learn{
    line-height: 2;
}
  .service-details .services-list a {
    color: #630592;
    background-color: rgba(99, 5, 146, 0.05);
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-top: 15px;
    transition: 0.3s;
  }
  
  .service-details .services-list a:first-child {
    margin-top: 0;
  }
  
  .service-details .services-list a i {
    font-size: 16px;
    margin-right: 8px;
    color: #630592;
  }
  
  .service-details .services-list a.active {
    color: #fff;
    background-color: #630592;
  }
  
  .service-details .services-list a.active i {
    color: #fff;
  }
  
  .service-details .services-list a:hover {
    background-color: rgba(99, 5, 146, 0.15);
    color: #630592;
  }
  
  .service-details .download-catalog a {
    color: #630592;
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: 0.3s;
    border-top: 1px solid rgba(99, 5, 146, 0.2);
  }
  
  .service-details .download-catalog a i {
    font-size: 24px;
    margin-right: 8px;
    color: #630592;
  }
  
  .service-details .download-catalog a:hover {
    color: #fff;
    background-color: #630592;
  }
  
  .service-details .help-box {
    background-color: #630592;
    color: white;
    margin-top: 30px;
    padding: 30px 15px;
  }
  
  .service-details .help-box h4,
  .service-details .help-box a {
    color: #fff;
  }
  
  .service-details ul li i {
    color: #630592;
  }
  
  .service-details{
    background-color: white;
  }

  /* request a call back */
  .aa {
    text-align: center;
 
}

.aa p {
    color: #ff6600;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.two-column-list {
    columns: 2;
    column-gap: 2px; /* Adjust as necessary */
}

.list-group-item {
    border: none;
    padding: 0px 0; /* Reduce padding for a more compact list */
    color: #666;
    font-size: 1.1em;
}




/* Form */

/* Centering the entire form container */
body {
    
    height: 100vh; /* Full height of the viewport */
 
}

/* Form container styles */
/* Center and style the form container for a section within an existing layout */
.form-container {
    background: black; /* Black background for the form */
    color: #fff; /* White text color */
    padding: 20px 40px; /* Space around the content inside the form */
    border-radius: 10px; /* Rounded corners */
    width: 100%; /* Full width for responsiveness */
    max-width: 1000px; /* Restrict the form width to a reasonable size */
    margin: 0 auto; /* Center horizontally */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Form styles */
form h2 {
    text-align: center; /* Center the heading text */
    margin-bottom: 20px; /* Add space below the heading */
    color: #fff; /* White text for heading */
}

form label {
    display: block; /* Make labels take up the full width */
    margin: 15px 0 5px; /* Space around labels */
    font-weight: bold; /* Bold font for labels */
}

form input, form select {
    width: 100%; /* Full width for input fields and dropdowns */
    padding: 10px; /* Inner space for fields */
    border: none; /* Remove default borders */
    border-radius: 5px; /* Rounded corners for inputs */
    background: #fff; /* White background for inputs */
    color: #000; /* Black text for inputs */
    font-size: 16px; /* Larger font size for readability */
    margin-bottom: 15px; /* Space below each input field */
}

form input::placeholder {
    color: #888; /* Light grey color for placeholders */
}

form button {
    width: 100%; /* Full width button */
    padding: 10px; /* Inner space for the button */
    background: #28a745; /* Green background for the button */
    color: #fff; /* White text color */
    border: none; /* Remove default borders */
    border-radius: 5px; /* Rounded button corners */
    font-size: 18px; /* Larger font size for visibility */
    cursor: pointer; /* Pointer cursor for buttons */
    margin-top: 20px; /* Space above the button */
    /* transition: background 0.3s ease; Smooth hover transition */
}

form button:hover {
    background: #218838; /* Darker green on hover */
}

.required {
    color: #f00; /* Red color for required indicators */
    font-size: 14px; /* Smaller font size for required text */
}


/* Contact Section Styling */
#contact-form-container {
    background: #f9f9f9;
    padding: 80px 0;
}

/* Centering text & title */
#contact-form-container .text-center {
    text-align: center;
}

#contact-form-container .contact-title {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#contact-form-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

/* Contact form card */
.form-card {
    background: #fff;
    max-width: 700px;
    margin: 30px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form fields */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

/* Input focus effect */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #630592;
    outline: none;
    box-shadow: 0 0 5px rgba(99, 5, 146, 0.2);
}

/* Adjusting text area */
.form-group textarea {
    min-height: 150px;
    resize: none;
}

/* Button Styling */
button[type="submit"] {
    background: #630592;
    color: #fff;
    border: none;
    padding: 14px 0;
    font-size: 1.2rem;
    font-weight: 600;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.checkbox-group {
    display: flex;
    gap: 70px; /* Adjusts spacing between checkboxes */
    flex-wrap: wrap; /* Ensures it wraps if the screen is too small */
}
.checkbox-group label {
    white-space: nowrap; /* Prevents text from breaking */
}

.bold-red{
    color: red;
}

button[type="submit"]:hover {
    background: #4a0470;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-card {
        padding: 30px;
    }

    #contact-form-container h1 {
        font-size: 2rem;
    }
}





/* thank you */
.thank-you-container {
    min-height: 100vh; /* Ensures full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem 0; /* Adds some breathing space */
}

/* Widening the Card */
.thank-you-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 3rem;
    text-align: center;
    max-width: 800px; /* Wider appearance */
    width: 90%; /* Ensures responsiveness */
    margin: 0 auto;
}

/* Centering and Styling the Success Section */
.section-title.thank-you-section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 1.5rem;
    font-weight: bold;
}

.section-title.thank-you-section-title span {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: #630592;
}

.section-title.thank-you-section-title span:first-child {
    left: -60px;
}

.section-title.thank-you-section-title span:last-child {
    right: -60px;
}

/* Success Icon */
.icon-check {
    font-size: 4.5rem;
    color: #28a745;
}

/* Success Message Text */
.lead {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Button Styling */
.btn-custom.thank-you-btn {
    display: inline-block;
    background: #630592;
    color: #fff;
    padding: 14px 35px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.btn-custom.thank-you-btn:hover {
    background: #4a0470;
    color: #fff;
}




/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background:
        url(../img/bg-top.png),
        url(../img/map.png);
    background-position:
        center top,
        center center;
    background-repeat: no-repeat;
    background-color: #630592; /* Your brand color */
    color: var(--light);
}

.contact-info {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 10px; /* Space between items */
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

.info-item i {
    color: var(--light);
}

.info-item p {
    margin: 0;
    color: var(--light);
}

.age-selection {
    text-align: center;
    margin: 20px 0;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.age-btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #630592;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.age-btn:hover {
    background-color: #630592;
}


/* Floating WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

/* WhatsApp Chat Popup */
.whatsapp-popup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 101;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Chat Popup Active */
.whatsapp-popup.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

/* Chat Header */
.chat-header {
    background: #075E54;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.profile {
    display: flex;
    align-items: center;
}

.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.contact-name {
    font-weight: bold;
    display: block;
}

.contact-status {
    font-size: 12px;
    color: #0f0;
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Chat Body */
.chat-body {
    padding: 15px;
    text-align: left;
}

.message {
    background: #DCF8C6;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    margin-bottom: 10px;
}

.received {
    align-self: flex-start;
}

/* Chat Footer */
.chat-footer {
    display: flex;
    padding: 10px;
    background: #f1f1f1;
}

.chat-footer input {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.chat-footer button {
    background: #25D366;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}

/* WhatsApp Link */
.whatsapp-link {
    text-align: center;
    padding: 10px;
}

.whatsapp-link a {
    display: block;
    background: #25D366;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.whatsapp-link a:hover {
    background: #1ebe57;
}






/* FOOTER */
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--secondary); /* Use secondary brand color here */
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Poppins";
    font-weight: 900;
    margin-right: 10px;
}
 
.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary); /* Use secondary brand color here */
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary); /* Use secondary brand color here */
}
