/* General Styles */
html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */

}




/* Header styles */
header {
    
    color: black;
    background-color: transparent; /* Transparent by default */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0); /* Optional shadow for clarity */
    padding: 15px 30px;
    display: flex;
    justify-content: space-evenly; /* Align logo and navigation properly */
    align-items: center;
    position: fixed; /* Fixed to stay on top */
    top: 0;
    left: 0;
    width: 100%; /* Ensure header spans full width */
    z-index: 1000; /* Keep above video */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    

    
}

header.scrolled {
    background-color: white; /* Header turns white on scroll */
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0); /* Add shadow for clarity */

}

.logo img {
    max-height: 33px;
}

/* Navigation Menu */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

/* Highlight the active page link */
nav ul li a.active {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Hover effect for navigation links */
nav ul li a:hover {
    color: #4B9FD0;
}

/* Button */
.main-button {
    background-color: transparent;
    color: black;
    border: 2px solid #4B9FD0;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.main-button:hover {
    background-color: #4B9FD0;
    color: white;
}




#video-section {
    position: relative;
    width: 100%;
    height: 65vh; /* Adjust as needed */
    overflow: hidden;

}

#video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-section h2 {
    color: #4B9FD0;
}



/* Main Section */
.contact-us {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 0;
    background: white;
    position: relative;
    max-width: 1140px; /* Ensures equal spacing on both sides */
    margin: 0 auto; /* Centers content */
}

/* Left Side - Text */
.contact-text {
    max-width: 50%;
    text-align: left;
}

.contact-text h2 {
    font-size: 32px;
    color: #4B9FD0;
    margin-bottom: 15px;
}

.contact-text p {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Contact Container - Larger Boxes in One Line */
.contact-container {
    display: flex;
    gap: 30px; /* Increased space between boxes */
    justify-content: flex-start;
    max-width: 100%;
}

/* Individual Contact Box - Larger Size */
.contact-box {
    background: #f9f9f9; /* Restored original background */
    border-radius: 0px; /* Removed oval shape */
    padding: 30px; /* Increased padding */
    text-align: center;
    width: 300px; /* Larger width */
    height: 180px; /* Increased height */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 0px solid #ccc;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.0);
}

/* Icons Inside Contact Box */
.contact-box i {
    font-size: 35px; /* Increased size */
    color: #4B9FD0;
    margin-bottom: 10px;
}

/* Buttons */
.chat-btn, .demo-btn {
    background: #4B9FD0;
    color: white;
    padding: 12px 18px; /* Bigger buttons */
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-btn:hover, .demo-btn:hover {
    background: lightblue;
}

/* Floating Image - Fully Blends into Background */
.floating-image {
    position: absolute;
    top: 0;
    right: 0; /* Fully aligned right */
    width: 500px; /* Increased width */
    max-width: 40%; /* Adjusts based on screen */
    z-index: 0; /* Ensures it's behind the text */
}

/* Image with Full Fading Effect */
.floating-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0px;
    position: relative;

    /* Masking Effect (Smoothly fades all edges) */
    -webkit-mask-image: radial-gradient(circle, rgba(255,255,255,1) 90%, rgba(255,255,255,0) 90%);
    mask-image: radial-gradient(circle, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 90%);

    /* Alternative Fallback (If mask-image is not supported) */
    background: radial-gradient(circle, rgba(255,255,255,0.2), rgba(255,255,255,1));
}



   /* Chatbox Container */
   .chatbox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chatbox.active {
    display: flex;
}

.chatbox-header {
    padding: 15px;
    background: #4B9FD0;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chatbox-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.chatbox-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chatbox-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.send-btn {
    padding: 8px 15px;
    background: #4B9FD0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

.user-message {
    background: #4B9FD0;
    color: white;
    margin-left: auto;
}

.bot-message {
    background: #f1f1f1;
    margin-right: auto;
}



/* Modal Base */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background: none;
    color: #666;
}

/* Calendar Styles */
.calendar-container {
    margin: 20px 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #4B9FD0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-header-cell {
    text-align: center;
    font-weight: bold;
    padding: 5px;
    color: #666;
}

.calendar-day {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: center;
}

.calendar-day:hover:not(.past):not(.empty) {
    background: #f0f0f0;
}

.calendar-day.selected {
    background: #4B9FD0;
    color: white;
    border-color: #4B9FD0;
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.past {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

.calendar-day.today {
    border-color: #4B9FD0;
    font-weight: bold;
}

/* Time Slots */
.time-slots {
    margin: 20px 0;
}

#availableSlots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover:not(.disabled) {
    background: #f0f0f0;
}

.time-slot.selected {
    background: #4B9FD0;
    color: white;
    border-color: #4B9FD0;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* Booking Form */
.booking-form {
    position: relative;
    z-index: 1001;
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    border-color: #4B9FD0;
    outline: none;
}

.booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

.booking-form button {
    background: #4B9FD0;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.booking-form button:hover {
    background: #3a8cb9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        width: 95%;
        padding: 15px;
    }

    #availableSlots {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .calendar-day {
        padding: 8px;
        font-size: 14px;
    }
}


/* Footer Section */
.footer-section {
    background-color: white; /* Black background */
    color: #666666; /* White text color */
    padding: 50px 20px;
}




.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.footer-logo-description {
    text-align: left;
    display: flex;
    flex-direction: column; /* Stack the logo and text */
    justify-content: flex-start; /* Align items at the top */
    gap: 15px; /* Add spacing between the logo and the text */
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo-description p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.linkedin-link {
    color: #4B9FD0; /* Red for LinkedIn icon */
    text-decoration: none;
    font-size: 16px;
    margin-top: -30px;
}

.linkedin-link:hover {
    text-decoration: underline;
}



/* Contact Info */
.footer-contact-info h4,
.footer-useful-info h4,
.footer-newsletter h4 {
    font-size: 16px;
    font-weight: bold;
    color: #4B9FD0;
    margin-bottom: 10px;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: #4B9FD0;
    margin-right: 10px;
}

/* Useful Info */
.footer-useful-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-useful-info li {
    margin-bottom: 10px;
}

.footer-useful-info a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
}

.footer-useful-info a:hover {
    color: #4B9FD0;
    text-decoration: underline;
}

/* Newsletter */
.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666666;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: 2px solid #4B9FD0;
    border-radius: 5px;
    font-size: 14px;
    flex: 1;
    background-color: white;
    color: #666666;
}

.newsletter-form input::placeholder {
    color: #666666;
    opacity: 0.8;
}

.newsletter-form button {
    background-color: white;
    border: 2px solid #4B9FD0;
    color: #4B9FD0;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #4B9FD0;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #4B9FD0;
    padding-top: 15px;
    font-size: 14px;
    color: #666666;
}

.newsletter-form {
    position: relative;
    margin-bottom: 10px;
}

#newsletter-message {
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}