/* for testimonials page */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
}


.main-font {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.header-font {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 4rem;

    /* Adjusted for better responsiveness */
    @media screen and (max-width: 1200px) {
        font-size: 3.5rem;
    }

    @media screen and (max-width: 992px) {
        font-size: 3rem;
    }

    @media screen and (max-width: 768px) {
        font-size: 2.5rem;
    }

    @media screen and (max-width: 576px) {
        font-size: 2rem;
    }

    @media screen and (max-width: 480px) {
        font-size: 1.75rem;
    }
}


.inpage-title-font {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 3rem;
    /* Adjusted for better responsiveness */
}

@media screen and (max-width: 768px) {
    .main-font {
        font-size: 0.8rem;
        /* Slightly smaller font size for mobile */
    }

    .header-font {
        font-size: 3rem;
        /* Smaller header font size for mobile */
    }

    .inpage-title-font {
        font-size: 2rem;
        /* Smaller header font size for mobile */
    }
}

/* timeline pages */
.top-info-header {
    background: #30D5C8;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.top-info-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('{% static "assets/pattern.png" %}') repeat;
    opacity: 0.1;
}

.top-info-header .container {
    position: relative;
    z-index: 1;
}

.top-info-header h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.top-info-header .lead {
    font-size: 2.0rem;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 300;
}

.benefits-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.benefits-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefits-icon {
    font-size: 2rem;
    color: #30D5C8;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background-color: #30D5C8;
}

.timeline-item {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 0.5s, transform 0.5s;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:before,
.timeline-item:after {
    content: " ";
    display: table;
}

.timeline-item:after {
    clear: both;
}

.timeline-item .timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background-color: #30D5C8;
}

.timeline-item .timeline-content {
    position: relative;
    width: 45%;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-item.left .timeline-content {
    float: left;
}

.timeline-item.right .timeline-content {
    float: right;
}

/* Hover Effect for Timeline Images */
.timeline-content {
    overflow: hidden;
    /* Prevents the image from exceeding the container */
    position: relative;
}

.timeline-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    /* Ensures the image doesn't exceed its container's width */
    height: auto;
    /* Maintains aspect ratio */
}

.timeline-image:hover {
    transform: scale(1.05);
    /* Reduced scaling factor */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow for better focus effect */
}

.cta-button {
    background: #30D5C8;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(18, 165, 129, 0.3);
}


/* account pages */

.profile-header {
    background: #00CED1;
    color: white;
    padding: 3rem 0;
    margin-bottom: -4rem;
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    color: #088395;
    margin-bottom: 1rem;
}

.info-card h4 i {
    color: #0A4D68;
    margin-right: 0.5rem;
}

.info-card p {
    color: #6c757d;
}

.stat-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.challenge-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    color: #088395;
    margin-bottom: 1rem;
}

.info-card h4 i {
    color: #0A4D68;
    margin-right: 0.5rem;
}

.info-card p {
    color: #6c757d;
}

.btn-primary {
    background-color: #0f536a;
    border-color: #0f536a;
    color: white;
}

.btn-primary:hover {
    background-color: #0f536a;
    border-color: #0f536a;
    color: rgb(202, 202, 202);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: #0f536a;
    color: #0f536a;
}

.btn-outline-primary:hover {
    background-color: #0f536a;
    border-color: #0f536a;
    color: rgb(202, 202, 202);
}

.stat-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-card h2 {
    color: #088395;
}

.stat-card p {
    color: #6c757d;
}



/* register pages */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #757575;
}

.step-name {
    font-size: 1rem;
}

.step.active {
    background-color: #007bff;
    color: white;
}

.step.completed {
    background-color: #28a745;
    color: white;
}

.progress-line {
    flex-grow: 1;
    height: 3px;
    background-color: #e0e0e0;
    margin: 0 10px;
    align-self: center;
}

.progress-line.active {
    background-color: #007bff;
}

@media (max-width: 576px) {
    .step-indicator {
        margin-bottom: 1rem;
    }

    .step {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }

    .progress-line {
        margin: 0 5px;
    }

    .step-name {
        font-size: 0.6rem;
    }
}

.form-title {
    color: #333;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.form-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* problem details page */

.problem-header {
    background: #00CED1;
    color: white;
    padding: 3rem 0;
    margin-bottom: -4rem;
}

.problem-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.problem-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.problem-image {
    object-fit: cover;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
}

.hover-elevate:hover .problem-image {
    transform: scale(1.1);
}

.badge {
    padding: 0.5em 1em;
    font-size: 0.8em;
}

.btn-success {
    background-color: #30D5C8;
    border-color: #30D5C8;
}

.btn-success:hover {
    background-color: #0A4D68;
    border-color: #0A4D68;
}

.comment-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* grid details page */

.hover-elevate {
    transition: all 0.3s ease;
}

.hover-elevate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* who we are page */

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    background-color: #30D5C8ae;
    border-radius: 10px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: #b2dcdc;
}

.card-custom {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card-custom:hover {
    transform: translateY(-5px);
}

/* for login page */

.custom-input {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-input:focus {
    border-color: #30D5C8;
    box-shadow: 0 0 0 0.2rem rgba(8, 131, 149, 0.25);
}

.custom-btn {
    background-color: #30D5C8;
    border-color: #30D5C8;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #071952;
    border-color: #071952;
}

.modal-content {
    border-radius: 1rem;
}

.modal-header {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* for navigation_top */

.navbar-nav .nav-item .nav-link .nav-text {
    color: #30D5C8;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.navbar-nav .nav-item .nav-link small {
    text-transform: none;
    /* Ensure sub-items are not affected */
}

.navbar-nav .nav-item .nav-link {
    color: #333;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #003232;
}

.navbar-nav .nav-item .nav-link.active {
    background-color: #e6f3f0;
    color: #30D5C8;
}

.navbar-nav .nav-item .nav-link .nav-text {
    color: #30D5C8;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:hover {
    color: #003232;
}

.btn-teal {
    background-color: #12a581;
    border-color: #30D5C8;
    color: white;
}

.btn-teal:hover {
    background-color: #0f8d6f;
    border-color: #0f8d6f;
    color: white;
}

/* for custom design */

.btn-custom-dark {
    color: white;
    background-color: #0f536a;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.5s ease;
    text-decoration: none;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
}

.btn-custom-default {
    background-color: #30D5C8;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    border: 0px;
    text-decoration: none;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
}


.btn-custom-default:hover {
    background-color: #2bc0b4;
    color: #f0f0f0;
    padding: 8px 20px;
    border-radius: 50px;
    border: 0px;
    text-decoration: none;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
}


.btn-custom-light {
    background-color: white;
    color: #239fa4;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.5s ease;
    text-decoration: none;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
}

.btn-custom-light:hover {
    background-color: #1e8a8e;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.5s ease;
    text-decoration: none;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
}

.btn-custom-danger {
    color: white;
    background-color: #c70404;
    border: 1px solid #c70404;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.5s ease;
    font-family: "Comfortaa", sans-serif;
}

.btn-custom-danger:hover {
    color: white;
    background-color: #a80303;
    /* Darker shade of red */
    border: 1px solid #a80303;
    /* Matching border color */
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.5s ease;
    font-family: "Comfortaa", sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for focus */
}

/* for features page */

.custom-title {
    font-weight: 600;
    color: #30D5C8;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 3s ease-out;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.custom-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


.custom-icon {
    font-size: 2rem;
    height: 4rem;
    width: 4rem;
    display: flex;
    color: #30D5C8;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom-card:hover .custom-icon {
    transform: scale(1.2);
}

.custom-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0A4D68;
}

.custom-card p {
    font-size: 0.9rem;
    color: #6c757d;
}


/* for animation */

/* Slide-in-left animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-150px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}


/* slide-in-right animation */
.slide-in-right {
    opacity: 0;
    transform: translateX(150px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* slide-in-bottom animation */
.slide-in-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}

/* slide-in-up animation */
.slide-in-up {
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* for testimonials page */
.testimonial-quote {
    font-family: 'Courgette', cursive;
}


.bg-primary-turquoise {
    background-color: #00CED1;
}

.text-dark2-turquoise {
    color: #034b5b;
}

.text-dark-turquoise {
    color: #287f87;
}

.bg-light-turquoise {
    background-color: #e5f6f7;
}

.text-light-turquoise {
    color: #e7e7e7;
}


/* Social Media Buttons */
.btn-facebook {
    background-color: #0766ff;
    color: white;
}

.btn-facebook:hover {
    background-color: #3b5998;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
    color: white;
}

.btn-twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.btn-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1da1f2;
    color: white;
}


.bg-orange {
    background-color: #ffa500;
}

.text-orange {
    color: #ffa500;
}


/* for info message used in connector account page  */
.info-message {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #30D5C8;
}

/* Vertical Line in Center */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #007b8f;
    transform: translateX(-50%);
    z-index: 1;
}

/* Circle Indicator */
.timeline-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    background-color: #f8f9fa;
    border: 2px solid #287f87;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #287f87;
    font-weight: bold;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

/* Add media query for mobile devices */
@media screen and (max-width: 768px) {
    .timeline-line {
        width: 1px;
        /* Thinner line for mobile */
    }

    .timeline-circle {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        max-width: 30px;
        max-height: 30px;
        font-size: 14px;
        aspect-ratio: 1/1;
        flex-shrink: 0;
    }
}

/* Animation when active */
.timeline-circle.animation-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Adjust margins for roadmap content */
.row.d-flex.justify-content-between {
    margin-top: 80px;
    margin-bottom: 80px;
    position: relative;
}

/* Add these styles for the roadmap title */
.roadmap-title {
    font-size: 2.5rem;
    /* Default size for desktop */
}

@media screen and (max-width: 768px) {
    .roadmap-title {
        font-size: 1.8rem;
        /* Smaller size for mobile */
    }
}

.testimonial-content {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.testimonial-decoration {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 1.2rem !important;
    }
}