/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-placeholder img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6b6b;
}

/* Landing Section */
.landing {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.landing h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: #333;
}

.landing h2 {
    font-size: 2em;
    color: #666;
}

.floating-calculations {
    position: absolute;
    width: 100%;
    height: 100%;
}

.calculation {
    position: absolute;
    font-size: 1.2em;
    color: rgba(0, 0, 0, 0.2);
    animation: float 10s linear infinite;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: #fff;
}

.about-image {
    max-width: 800px;
    margin: 0 auto 50px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
}

.service-icon {
    margin: 20px 0 30px;
    text-align: center;
}

.service-icon i {
    font-size: 3rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 25px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.15);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: #fff;
}

.testimonial-slider {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: center;
}

.testimonial {
    color: #ff6b6b;
    font-style: italic;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: #f9f9f9;
}

.contact-container {
    max-width: 600px;
    margin: 50px auto 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, select, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 150px;
}

button {
    padding: 15px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #ff5252;
}

/* Date Time Picker Styles */
.date-time-picker {
    display: flex;
    gap: 20px;
}

.date-time-picker input[type="date"],
.date-time-picker select {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.date-time-picker input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 5px;
}

/* Footer */
footer {
    padding: 30px 20px;
    background: #333;
    color: #fff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin-left: 20px;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ff6b6b;
}

/* Animations */
@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Form validation styles */
.error-message {
    color: #ff3333;
    font-size: 0.875em;
    margin-top: 5px;
    animation: slideIn 0.3s ease-in-out;
}

input.error, select.error {
    border-color: #ff3333;
    background-color: #fff8f8;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Button and Window Styles */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ff6b6b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-window.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.chat-header {
    background-color: #ff6b6b;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    color: white;
}

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

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

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
}

.message.bot {
    background-color: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message.user {
    background-color: #ff6b6b;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

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

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.chat-input button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
