@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

:root {
    --brand: #3ab7d3;
    --dark: #092032;
    --body: #516171;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    
}

body {
    font-family: "Barlow", sans-serif;
    color: var(--body);
    line-height: 1.7;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 700;
    color: var(--dark);
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

img {
    width: 100%;
}

a {
    color: var(--dark);
    transition: all 0.4s ease;
    font-weight: 500;
}

a:hover {
    color: var(--brand);
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-brand {
    color: var(--brand) !important;
}


.hero-slider .owl-prev,
.hero-slider .owl-next{
    background-color: rgba(255, 255, 255, 0.3) !important;
    width: 60px !important;
    height: 60px !important;
    display: block;
    display: grid;
    place-items: center;
    color: #fff !important;
    border-radius: 100px;
    line-height: 0;
    border-radius: 100px !important;
    position: absolute;
    top: 50%;
    font-weight: 600 !important;
    font-size: 12px !important;
    transition: all 0.4s ease;
    margin-top: -30px !important;
}

.owl-prev {
    left: 0;
}
.owl-next {
    right: 0;
}

.hero-slider .owl-prev:hover,
.hero-slider .owl-next:hover {
    background-color: var(--brand) !important; 
}

.owl-dot.active span{
    background-color: var(--brand) !important;
}


 /* slide */
 .slide {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
}

.slide1 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Optional: Set height to full viewport */
}

.slide2 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/ui.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Optional: Set height to full viewport */
}


.slide .display-3 {
    text-transform: uppercase;
    color: #fff;
}

/* navbar */
.top-nav {
    background-color: var(--brand);
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.top-nav p {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 10px;
}

.top-nav span,
.top-nav i {
    vertical-align: middle;
}

.navbar {
    box-shadow: var(--shadow);
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: #fff;
    color: var(--brand);
}
.conditions-section{
    margin: 20px 0;
}
.conditions-section a{
   color: #fff;
   margin: 0 10px;
}

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

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

.navbar .navbar-nav .nav-link.active {
    color: var(--brand);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
}

.navbar-brand .dot {
    color: var(--brand);
}

.btn {
    padding: 8px 26px;
}

.btn-brand {
    border-color: var(--brand);
    background-color: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background-color: #0ea0df;
    border-color: #0ea0df;
    color: #fff;
}

.intro {margin-bottom: 36px;
text-align: center;}

.intro p {
    max-width: 500px;
}
.intro h6{
    color: var(--brand);
    font-weight: 400;
    text-transform: uppercase;
}

.intro h1 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.info-box {
    align-items: center;
    display: flex;
}

.info-box img {
    width: 90px;
}
.logo {
    width: 100%; /* Makes the logo responsive */
    height: auto; /* Maintains aspect ratio */
    max-width: 300px; /* Set a maximum width */
    display: block; /* Ensures there’s no space below the image */
    margin: 0 auto; /* Centers the logo if the column is wider */
}



#milestone {
    background: linear-gradient(rgba(23, 166, 218, 0.85), rgba(42, 154, 219, 0.85)), url(../img/bg_banner1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#milestone h1,
#milestone p {
    color: #fff;
}


.service {
    padding: 32px;
    background-color: #fff;
    box-shadow: var(--shadow);
}

.service h5 {
    margin-top: 24px;
    margin-bottom: 14px;
}

.service img {
    width: 90px;
}


.project {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.project img {
    width: 80%; /* Ensures the image takes the full width of its container */
    height: 500px; /* Set a fixed height to ensure uniformity */
    object-fit: cover; /* Maintain aspect ratio while covering the area */
}

.project h6 {
    font-weight: 400;
}

.project h6::before {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 10px;
}

.project .overlay {
    width: 100%;
    height: 220px; /* This can remain as it is */
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 76, 41, 0) 0%, var(--dark) 100%);
}

.project .content {
    position: absolute;
    left: 10%;
    bottom: 10%;
}

.project h2,
.project h6 {
    color: #fff;
}

.tool-card {
    width: 150px; /* Fixed width */
    height: 180px; /* Fixed height */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space between image and text */
    align-items: center;
    margin: 0 auto;
    text-align: center; /* Align text to the center */
}

.tool-card:hover {
    transform: translateY(-10px);
}

.tool-icon {
    max-width: 60px;
    height: auto;
    margin-bottom: 15px; /* Space below the image */
}

.card-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap; /* Ensures the text remains in one line */
}

@media (max-width: 768px) {
    .tool-card {
        width: 130px; /* Smaller fixed width for mobile */
        height: 180px; /* Smaller fixed height for mobile */
    }

    .tool-icon {
        max-width: 50px;
    }

    .card-text {
        font-size: 14px;
    }
}





/* Container for all team members */
.team-container {
    display: grid; /* Use CSS Grid for layout */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between team members */
}

/* Styles for each team member */
.team-member {
    text-align: center;
    position: relative; /* Added for better positioning */
    overflow: hidden; /* Ensures overflow is hidden */
    margin-bottom: 20px; /* Space between team members */
    border-radius: 10px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds shadow for depth */
}

/* Container for the image and overlay */
.team-member .image-container {
    position: relative; /* Positioning for overlay */
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps it square */
    overflow: hidden; /* Hides overflow */
}

/* Image styles */
.team-member .image-container img {
    width: 100%; /* Take full width */
    height: 100%; /* Full height of container */
    object-fit: cover; /* Cover while maintaining aspect ratio */
}

/* Overlay styles */
.team-member .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(126, 220, 239, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Team member name styling */
.team-member h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 1.2em; /* Optional: adjust font size */
}

/* Social icons positioning */
.team-member .social-icons {
    position: absolute;
    top: 50%; /* Centered vertically */
    left: 50%; /* Centered horizontally */
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Social icon link styles */
.team-member .social-icons a {
    width: 40px;
    height: 40px;
    margin: 0 5px; /* Space between social icons */
}

/* Show overlay and social icons on hover */
.team-member:hover .social-icons {
    opacity: 1;
}

.team-member:hover .overlay {
    opacity: 1;
}



#reviews {

    background: linear-gradient(-90deg, rgba(8, 32, 50, 0.8), rgba(8, 32, 50, 0.8)), url(../img/bg_banner1.jpg), #082032;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review {
    text-align: center;
    z-index: 2;
    position: relative;
    margin: 15px;
    max-width: 768px;
    margin: auto;
}

.review .bxs-quote-alt-left {
    font-size: 120px;
    position: absolute;
    opacity: 0.1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.review img {
    width: 80px !important;
    height: 80px;
    border-radius: 100px;
    margin: auto;
}

.review h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.review h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    line-height: 1.7;
}

.review small {
    color: var(--brand);
}

.review .stars {
    color: var(--brand);
}

.blog-post {
    position: relative;
    background-color: #fff;
    box-shadow: var(--shadow);
    width: 100%; /* Ensures it takes full width of its parent */
    height: 900px; /* Set a fixed height for uniformity */
    overflow: hidden; /* Hide any overflow content */
    display: flex; /* Enable flex layout */
    flex-direction: column; /* Arrange children vertically */
}

.blog-post .content {
    padding: 32px;
    flex-grow: 1; /* Allow content to take available space */
}

.blog-post a {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--brand);
    padding: 2px 12px;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
}

.blog-post h5 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.blog-post small {
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: underline;
}

/* Style for the chatbot icon */
.chatbot-icon {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px; /* Adjusted for a smaller icon */
    height: 70px; /* Adjusted for a smaller icon */
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(110, 145, 227, 0.2); /* Slightly darker shadow */
    cursor: pointer;
    z-index: 1000;
}

.chatbot-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Chatbot popup styling */
.chatbot-popup {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 320px; /* Slightly increased width */
    height: 400px;
    background: #ffffff; /* Background color for clarity */
    border-radius: 10px; /* Softer corners */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    display: none;
    flex-direction: column;
    z-index: 1001;
}

/* Header styling */
.chatbox-header {
    background: #f8f9f9;
    color: white;
    padding: 15px; /* Increased padding for better spacing */
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 16px; /* Increased font size */
    position: relative; /* For positioning the close button */
}

/* Close button styling */
.close-btn {
    background: none;
    border: none;
    font-size: 1.5em; /* Adjusted size for better visibility */
    color: rgb(231, 26, 26);
    position: absolute;
    top: 10px; /* Adjusted position */
    right: 15px; /* Adjusted position */
    cursor: pointer;
}

/* Chatbox content styling */
.chatbox-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}


.messages {
    flex-grow: 1; 
    overflow-y: auto; 
    margin-bottom: 10px; 
    height: 70%; 
}


input[type="text"] {
    width: calc(100% - 60px); 
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px; 
}

#sendBtn {
    width: 60px; 
    padding: 10px;
    background-color: #4f9be7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-end; 
    margin-left: 10px; 
    transition: background-color 0.3s; 
}

#sendBtn:hover {
    background-color: #3a7fbf; 
}


.user-message, .bot-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    font-size: 14px; 
}

.user-message {
    background-color: #d1e7dd; 
    align-self: flex-end;
}

.bot-message {
    background-color: #f8d7da; 
    align-self: flex-start;
}


@media (max-width: 600px) {
    .chatbot-popup {
        width: 90%; 
        right: 5%; 
    }

    .chatbot-icon {
        width: 60px;
        height: 60px;
    }

    .close-btn {
        right: 10px; 
    }
}



#quiz-section {
    padding: 50px 0;
    background-color: #cee5ec;
}

.quiz-container {
    background-color: rgb(179, 204, 230);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.quiz-container:hover {
    transform: scale(1.02); 
}

.quiz-container h2 {
    margin-bottom: 20px;
    color: #343a40;
}

.quiz-question {
    text-align: left; 
    margin: 15px 0;
}

.quiz-question p {
    margin-bottom: 10px;
    font-weight: bold; 
}

.quiz-question label {
    display: block; 
    margin-bottom: 8px;
    cursor: pointer; 
    color: #495057; 
}

#startQuiz, #submit {
    background-color: #d5dbe2; 
    color: rgb(24, 23, 23);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px; 
    transition: background-color 0.3s;
}

#startQuiz:hover, #submit:hover {
    background-color: #0056b3; 
}

#results {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}



footer {
    background: linear-gradient(0deg, rgba(8, 32, 50, 0.9), rgba(8, 32, 50, 0.9)), url(../img/bg_banner1.jpg), #082032;;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer .footer-top {
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    padding-top: 20px;
}

footer .navbar-brand {
    color: #fff;
}

footer p {
    color: #ADB3B9;
}

footer .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-left: 4px;
    margin-right: 4px;
}

.loader {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(77, 112, 237);
    z-index: 99999;
    position: fixed;
    left: 0;
    right: 0;
}


input.form-control {
    border-color: transparent;
    height: 44px;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.04);;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand);
}