:root {
    --primary-color: #00796B; /* Deep Teal */
    --secondary-color: #FFB300; /* Warm Amber */
    --accent-color: #5E35B1; /* Muted Purple */
    --dark-bg: #1A202C; /* Dark Blue-Gray */
    --light-dark-bg: #212121; /* Slightly lighter dark */
    --text-light: #F8F9FA; /* Off-white */
    --text-dark: #333333; /* Dark gray for contrast */
    --font-family-base: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-light);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

/* Global Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-light);
}

p {
    color: var(--text-light);
}

.bg-light-dark {
    background-color: var(--light-dark-bg);
}

.bold-title {
    font-size: 2.8rem;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.bold-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.btn-primary:hover {
    background-color: #004d40; /* Darker teal */
    border-color: #004d40;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.btn-secondary:hover {
    background-color: #4527A0; /* Darker purple */
    border-color: #4527A0;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.custom-btn {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-btn-submit {
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Utility for RGB values for rgba() */
:root {
    --primary-color-rgb: 0, 121, 107;
    --secondary-color-rgb: 255, 179, 0;
    --accent-color-rgb: 94, 53, 177;
    --text-light-rgb: 248, 249, 250;
}

/* Header */
.main-header {
    background-color: rgba(26, 32, 44, 0.95); /* Semi-transparent dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand .logo-img {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand .brand-name {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section */
.hero-section {
    background: url('uploads/uploads/Of-On-With-Dice-A-Table-Colorful-It-Bunch-A.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--text-light);
    padding-top: 100px; /* Adjust for fixed header */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section > .container-fluid {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-image {
    max-height: 500px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-section {
    background-color: var(--dark-bg);
}

.about-text {
    max-width: 800px;
    font-size: 1.15rem;
}

/* Services Section */
.services-section {
    background-color: var(--light-dark-bg);
}

.service-card {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--primary-color-rgb), 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure equal height */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.3));
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    background-color: rgba(var(--secondary-color-rgb), 0.1);
    border-radius: 50%;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.service-title {
    color: var(--text-light);
    font-size: 1.6rem;
}

.service-description {
    color: rgba(var(--text-light-rgb), 0.8);
}

/* Features Section */
.features-section {
    background-color: var(--dark-bg);
}

.feature-item {
    background-color: var(--light-dark-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-title {
    color: var(--text-light);
    font-size: 1.8rem;
}

.feature-description {
    color: rgba(var(--text-light-rgb), 0.8);
    margin-bottom: 15px;
}

.feature-badge {
    background-color: var(--primary-color) !important;
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.feature-badge:hover {
    transform: scale(1.05);
}

/* How It Works Section */
.howitworks-section {
    background-color: var(--light-dark-bg);
}

.steps-carousel {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.steps-carousel .carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.steps-carousel .step-card {
    flex: 0 0 100%;
    min-width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 40px 20px;
    height: auto; /* Allow content to dictate height */
    box-sizing: border-box;
}
.step-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.step-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.step-title {
    color: var(--text-light);
    font-size: 1.8rem;
}

.step-description {
    text-align: center;
    color: rgba(var(--text-light-rgb), 0.8);
    max-width: 500px;
    margin: 0 auto;
}

.carousel-indicators {
    position: static;
    margin-top: 30px;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(var(--text-light-rgb), 0.5);
    border: none;
    margin: 0 5px;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.steps-carousel .carousel-control-prev, .steps-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-color-rgb), 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.steps-carousel .carousel-control-prev:hover, .steps-carousel .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-color);
}

.steps-carousel .carousel-control-prev .bx, .steps-carousel .carousel-control-next .bx {
    font-size: 2rem;
    color: var(--text-light);
}

/* Team Section */
.team-section {
    background-color: var(--dark-bg);
}

.founder-avatar, .team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 0 8px rgba(var(--primary-color-rgb), 0.2);
}

.team-name {
    color: var(--text-light);
    font-size: 1.7rem;
    margin-top: 15px;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
}

.team-bio {
    color: rgba(var(--text-light-rgb), 0.8);
}

.team-member {
    background-color: var(--light-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-dark-bg);
}

.search-input {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.search-input::placeholder {
    color: rgba(var(--text-light-rgb), 0.6);
}

.search-input:focus {
    background-color: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
    color: var(--text-light);
}

.faq-item .card {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item .card-header {
    background-color: var(--dark-bg);
    border-bottom: none;
    padding: 0;
}

.faq-question {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none; /* Remove underline */
    background-color: transparent;
    border: none;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.faq-question .toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: #1A202C;
    color: rgba(var(--text-light-rgb), 0.8);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg);
}

.contact-form {
    max-width: 600px;
    background-color: var(--light-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .form-control {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(var(--text-light-rgb), 0.6);
}

.contact-form .form-control:focus {
    background-color: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
    color: var(--text-light);
}

.contact-form .form-text {
    color: rgba(var(--text-light-rgb), 0.7);
    font-size: 0.85rem;
}

.contact-form .invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-img-footer {
    height: 35px;
    margin-right: 8px;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(var(--text-light-rgb), 0.7);
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-links li a {
    color: rgba(var(--text-light-rgb), 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--secondary-color);
}

.data-widget {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: rgba(var(--text-light-rgb), 0.7);
}

.footer-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.widget-label {
    font-weight: 600;
    margin-right: 5px;
}

.widget-value {
    color: var(--secondary-color);
    font-weight: 700;
    animation: countUp 1s ease-out forwards;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cookie Banner */
.cookie-banner {
    display: flex;
    z-index: 1040;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease-out;
}

.cookie-banner p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-banner .btn {
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    text-decoration: none; /* Remove underline */
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-content {
    background-color: var(--light-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.modal-title {
    color: var(--text-light);
}

.modal-body p {
    color: rgba(var(--text-light-rgb), 0.9);
}

.form-check-label {
    color: var(--text-light);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        background-color: rgba(26, 32, 44, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        text-align: center;
    }
    .navbar-nav .nav-link::after {
        width: 50%;
        left: 25%;
    }

    .hero-section .row {
        flex-direction: column-reverse; /* Image above text on small screens */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        max-height: 350px;
        margin-bottom: 30px;
    }

    .bold-title {
        font-size: 2rem;
    }

    .feature-item .col-md-6 {
        text-align: center !important;
    }

    .feature-img {
        margin-bottom: 20px;
    }

    .steps-carousel .carousel-control-prev, .steps-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .steps-carousel .carousel-control-prev .bx, .steps-carousel .carousel-control-next .bx {
        font-size: 1.5rem;
    }

    .founders-bio .col-md-6 {
        text-align: center !important;
    }
    .founder-avatar {
        margin-bottom: 15px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cookie-banner p {
        margin-bottom: 10px;
    }
    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .cookie-banner .btn:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .text-md-start {
        text-align: left !important;
    }
    .text-md-end {
        text-align: right !important;
    }
}/* Parent wrapper for content */
.regShieldWrap {
    padding: 40px 20px; /* Padding top/bottom and left/right */
    margin: 0 auto; /* Center the block */
    max-width: 1200px; /* Max width for content readability */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

/* Heading 1 styles */
.regShieldWrap h1 {
    font-size: 2.2rem; /* Moderate font size for H1 */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light); /* Inherit from global or use a specific color */
}

/* Heading 2 styles */
.regShieldWrap h2 {
    font-size: 1.8rem; /* Moderate font size for H2 */
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

/* Heading 3 styles */
.regShieldWrap h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Heading 4 styles */
.regShieldWrap h4 {
    font-size: 1.3rem; /* Moderate font size for H4 */
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* Heading 5 styles */
.regShieldWrap h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    line-height: 1.6;
    margin-bottom: 0.6rem;
    color: var(--text-light);
}

/* Paragraph styles */
.regShieldWrap p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.7;
    margin-bottom: 1rem;
    color: rgba(var(--text-light-rgb), 0.9); /* Slightly muted text color */
}

/* Unordered list styles */
.regShieldWrap ul {
    list-style: disc; /* Default disc style */
    margin: 0 0 1rem 20px; /* Top, right, bottom, left margin */
    padding: 0; /* No default padding from browser */
    color: rgba(var(--text-light-rgb), 0.9);
}

/* List item styles */
.regShieldWrap li {
    font-size: 1rem; /* Font size for list items */
    line-height: 1.6;
    margin-bottom: 0.5rem; /* Space between list items */
    color: rgba(var(--text-light-rgb), 0.9);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .carousel-control-next {
        display: none !important;
    }
    .carousel-control-prev {
          display: none !important;
    }
    .regShieldWrap {
        padding: 30px 15px; /* Adjust padding for smaller screens */
    }

    .regShieldWrap h1 {
        font-size: 1.8rem;
    }

    .regShieldWrap h2 {
        font-size: 1.6rem;
    }

    .regShieldWrap h3 {
        font-size: 1.3rem;
    }

    .regShieldWrap h4 {
        font-size: 1.1rem;
    }

    .regShieldWrap h5 {
        font-size: 1rem;
    }

    .regShieldWrap p,
    .regShieldWrap li {
        font-size: 0.95rem;
    }

    .regShieldWrap ul {
        margin-left: 15px; /* Adjust list indent */
    }
}
