/* Global Font and Reset */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #F5F5F5; /* Light gray background for professionalism */
}

/* Header */
header {
    background: linear-gradient(135deg, #003366 0%, #004080 100%); /* Dark navy gradient */
    color: #ffffff;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #ffffff;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease; /* Smoother hover */
}

nav a:hover {
    color: #C0C0C0; /* Silver accent */
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Hero */
.hero {
    background: url('images/photo2.avif') no-repeat center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #ffffff;
}

.hero-overlay {
    background: rgba(0, 51, 102, 0.8); /* Semi-transparent dark navy */
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

.cta-button {
    display: inline-block;
    background: #C0C0C0; /* Silver */
    color: #003366; /* Dark navy text */
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.4s ease; /* Smoother hover */
    margin-top: 1rem;
}

.cta-button:hover {
    background: #A8A8A8; /* Darker silver */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Header Layout */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 50%; /* Rounded corners for circular logo */
    transition: transform 0.4s ease; /* Smoother hover */
}

.logo:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background: #ffffff; /* White background */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.services-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card, .testimonial-card {
    background: #F5F5F5; /* Light gray */
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease; /* Smoother hover */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 2rem;
    color: #003366; /* Dark navy */
    margin-bottom: 1rem;
}

/* Expandable Service Cards */
.service-card.expandable {
    cursor: pointer;
}

.sub-options {
    margin-top: 1rem;
}

.sub-sub-options {
    margin-top: 1rem;
    text-align: left;
}

.sub-option-btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #C0C0C0; /* Silver */
    color: #003366; /* Dark navy */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s ease; /* Smoother hover */
}

.sub-option-btn:hover {
    background: #A8A8A8; /* Darker silver */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Photo Gallery */
.gallery-container {
    text-align: center;
    margin-top: 2rem;
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-image.active {
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #003366 0%, #004080 100%); /* Dark navy */
    color: #ffffff;
    margin-top: 2rem;
}

.social-links a {
    color: #ffffff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: transform 0.4s ease; /* Smoother hover */
}

.social-links a:hover {
    transform: scale(1.2);
    color: #C0C0C0; /* Silver */
}

/* Chatbot Styles */
#chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #003366 0%, #004080 100%); /* Dark navy */
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease; /* Smoother hover */
    z-index: 1000;
}

#chat-btn:hover {
    background: linear-gradient(135deg, #004080 0%, #005099 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    font-size: 0.9rem;
    overflow-y: auto;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

#close-chat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.4s ease; /* Smoother hover */
}

#close-chat:hover {
    color: #333;
}

#chat-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

#chat-form label {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #003366; /* Dark navy */
}

#chat-form .input-group {
    position: relative;
    margin-bottom: 1rem;
}

#chat-form .input-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #C0C0C0; /* Silver icon */
    font-size: 1rem;
}

#chat-form input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem; /* Extra left padding for icon */
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded corners */
    font-size: 0.9rem;
    background: #F9F9F9; /* Light background */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth focus */
}

#chat-form input:focus {
    border-color: #003366; /* Dark navy on focus */
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.2); /* Focus shadow */
    outline: none;
}

#chat-form .submit-btn {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%); /* Silver gradient */
    color: #003366; /* Dark navy */
    padding: 0.75rem;
    border: none;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    font-weight: bold;
    transition: all 0.4s ease; /* Smoother hover */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
}

#chat-form .submit-btn:hover {
    background: linear-gradient(135deg, #A8A8A8 0%, #909090 100%); /* Darker gradient */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    .logo {
        height: 40px;
    }
    h1 {
        font-size: 1.5rem;
    }
    .hero {
        height: 50vh;
    }
    .hero-overlay {
        padding: 1rem;
    }
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    nav a {
        margin: 0 0.5rem;
    }
    section {
        padding: 2rem 1rem;
    }
    #chat-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    #chat-window {
        width: 90%;
        right: 5%;
        bottom: 70px;
    }
    #close-chat {
        font-size: 1.2rem;
    }
}