/* Universal Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298, #b3c8d8);
    color: #fff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Background Animation Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="10" cy="10" r="2" fill="%23f7d794" opacity="0.5"/%3E%3Ccircle cx="90" cy="90" r="3" fill="%2300d4b4" opacity="0.4"/%3E%3Ccircle cx="50" cy="30" r="1" fill="%23ff8c00" opacity="0.6"/%3E%3C/svg%3E');
    background-size: 50px 50px;
    animation: floatParticles 20s infinite linear;
}

@keyframes floatParticles {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
    100% { transform: translate(0, 0); }
}

.gradient-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.3), rgba(42, 82, 152, 0.3), rgba(0, 212, 180, 0.2));
    animation: waveFlow 15s infinite ease-in-out;
    opacity: 0.3;
}

@keyframes waveFlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-40%, -60%) rotate(10deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

.pulse-glow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pulse-glow::before, .pulse-glow::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(247, 215, 148, 0.5), transparent);
    border-radius: 50%;
    animation: pulse 10s infinite ease-in-out;
}

.pulse-glow::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.pulse-glow::after {
    top: 70%;
    right: 15%;
    animation-delay: 5s;
}

@keyframes pulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(3); opacity: 0.3; }
    100% { transform: scale(0); opacity: 0; }
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Futuristic Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: none;
    transition: all 0.3s ease;
}

header.scrolled .social-media {
    display: none;
}

header.scrolled .left-section {
    justify-content: center;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    opacity: 0.9;
    filter: blur(10px);
    z-index: -1;
}

.three-d-model {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: rotateCube 8s infinite linear;
}

.three-d-model::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(247, 215, 148, 0.3);
    transform: rotateX(90deg) translateZ(30px);
    border-radius: 10px;
}

.three-d-model::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 180, 0.4);
    transform: rotateY(90deg) translateZ(30px);
    border-radius: 10px;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 10px;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #f7d794;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.social-media {
    display: flex;
    gap: 8px;
}

.social-media a {
    color: #f7d794;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
    color: #ff8c00;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 20px;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover {
    background: rgba(247, 215, 148, 0.3);
    color: #ff8c00;
    transform: translateY(-2px);
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.login-btn {
    padding: 8px 20px;
    background: #ff8c00;
    color: #fff;
    border-radius: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.login-btn:hover {
    background: #f7d794;
    color: #1e3c72;
    transform: scale(1.05);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    min-width: 180px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(247, 215, 148, 0.3);
    color: #ff8c00;
}

/* Slider */
.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.85;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.slider-text {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    background: rgba(30, 60, 114, 0.4);
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.word {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInBounce 0.5s ease forwards;
}

@keyframes fadeInBounce {
    0% { opacity: 0; transform: translateY(20px); }
    50% { transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.complaint-btn {
    padding: 15px 30px;
    font-size: 20px;
    background: #ff8c00;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.complaint-btn:hover {
    background: #f7d794;
    color: #1e3c72;
    transform: scale(1.05);
}

/* About Us */
#about {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #e6f0fa);
    border-radius: 20px;
    margin: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#about.visible {
    opacity: 1;
    transform: translateY(0);
}

#about h2 {
    font-size: 40px;
    color: #2a5298;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

#about h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #00d4b4;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

#about p {
    font-size: 18px;
    color: #1e3c72;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    background: rgba(247, 215, 148, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInText 1s ease forwards 0.5s;
}

@keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stats div {
    font-size: 36px;
    color: #00d4b4;
    font-weight: 700;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.stats div:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 212, 180, 0.4);
}

.stats p {
    font-size: 16px;
    color: #2a5298;
    font-weight: 500;
    margin-top: 8px;
    text-transform: uppercase;
}

/* Modern Action Section */
#action {
    padding: 80px 40px;
    text-align: center;
    margin: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#action.visible {
    opacity: 1;
    transform: translateY(0);
}

#action h2 {
    font-size: 42px;
    background: linear-gradient(45deg, #ff8c00, #f7d794);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(247, 215, 148, 0.5);
    position: relative;
}

#action h2::after {
    content: '';
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #00d4b4, #ff8c00);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.action-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.action-card {
    position: relative;
    width: 320px;
    height: 380px;
    perspective: 1000px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 180, 0.4);
}

.action-front, .action-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: 25px;
}

.action-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7f7f7, #ffffff);
}

.action-front img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-bottom: 3px solid #00d4b4;
}

.action-front h3 {
    margin-top: 20px;
    font-size: 26px;
    color: #2a5298;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-back {
    background: linear-gradient(135deg, #1e3c72, #00d4b4);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: #fff;
}

.action-card:hover .action-front {
    transform: rotateY(-180deg);
}

.action-card:hover .action-back {
    transform: rotateY(0deg);
}

.animated-icon {
    font-size: 50px;
    margin-bottom: 20px;
    animation: bounce 1.5s infinite;
    color: #f7d794;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-10px); }
}

.action-back p {
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

/* Services */
#services {
    padding: 80px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#services.visible {
    opacity: 1;
    transform: translateY(0);
}

#services h2 {
    font-size: 36px;
    color: #2a5298;
    margin-bottom: 40px;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    position: relative;
    width: 200px;
    height: 250px;
    perspective: 1000px;
}

.service-front, .service-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backface-visibility: hidden;
    transition: transform 0.6s ease;
}

.service-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #00d4b4;
    color: #fff;
    font-weight: 500;
}

.service-item:hover .service-front {
    transform: rotateY(-180deg);
}

.service-item:hover .service-back {
    transform: rotateY(0deg);
}

.service-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #f7d794;
}

.service-item p {
    margin-top: 10px;
    font-weight: 500;
    color: #2a5298;
}

/* Modern Gallery */
#gallery {
    padding: 80px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin: 40px 20px 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#gallery.visible {
    opacity: 1;
    transform: translateY(0);
}

#gallery h2 {
    font-size: 36px;
    color: #2a5298;
    margin-bottom: 20px;
    position: relative;
}

#gallery h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #f7d794;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.gallery-filters {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: #b3c8d8;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    color: #1e3c72;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 44px;
    min-height: 44px;
}

.filter-btn:hover, .filter-btn.active {
    background: #00d4b4;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 212, 180, 0.3);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.image {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 212, 180, 0.3);
}

.image:hover .overlay {
    opacity: 1;
}

.zoom {
    padding: 8px 16px;
    background: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.zoom:hover {
    background: #f7d794;
    color: #1e3c72;
    transform: scale(1.1);
}

.show-more-btn {
    display: block;
    padding: 10px 20px;
    margin: 20px auto;
    background: #00d4b4;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.show-more-btn:hover {
    background: #f7d794;
    color: #1e3c72;
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f7d794;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ff8c00;
}

/* Modern Footer */
.modern-footer {
    width: 100%;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: #fff;
    padding: 40px 40px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: none;
    transition: opacity 0.5s ease;
}

.modern-footer.visible {
    display: block;
    opacity: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f7d794;
}

.footer-section h3 i {
    font-size: 20px;
    color: #00d4b4;
}

.footer-section p {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-section p i {
    margin-right: 10px;
    color: #00d4b4;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #f7d794;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #00d4b4;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff8c00;
}

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

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    flex: 1;
    outline: none;
    background: #b3c8d8;
    color: #1e3c72;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #f7d794;
    color: #1e3c72;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(247, 215, 148, 0.2);
    padding-top: 10px;
}

.footer-bottom p {
    font-size: 14px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 28px;
    color: #f7d794;
    cursor: pointer;
}

/* Chatbot styles */
.chatbot-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #00d4b4;
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 212, 180, 0.4);
}

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 450px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

.chatbot-container.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a3463;
}

.chatbot-header h3 {
    margin: 0;
}

.bot-logo {
    height: 30px;
    width: 30px;
}

.chatbot-header .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chatbot-header .close-btn:hover {
    color: #ff8c00;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f5f5f5;
}

/* Chat message bubbles */
.message {
    padding: 12px 18px;
    border-radius: 20px;
    max-width: 85%;
    word-wrap: break-word;
    font-size: 15px;
    line-height: 1.4;
    animation: scaleIn 0.3s ease-in-out;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}

.user-message {
    background-color: #e0e0e0;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

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

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
}

.quick-reply-btn {
    background: #00d4b4;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quick-reply-btn:hover {
    background: #ff8c00;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.chatbot-input input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 10px 15px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.chatbot-input input:focus {
    border-color: #2a5298;
}

.chatbot-input button {
    border: none;
    background-color: #ff8c00;
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot-input button:hover {
    background: #00d4b4;
    transform: scale(1.05);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .slider-text {
        font-size: 32px;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 250px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .image {
        max-width: 100%;
        margin: 0 auto;
    }

    .gallery-filters {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0 10px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 15px;
    }

    .hidden-mobile {
        display: none;
    }

    .show-more-btn {
        display: block;
    }

    .action-card {
        width: 280px;
        height: 340px;
    }

    .action-front h3 {
        font-size: 22px;
    }

    .action-back p {
        font-size: 14px;
    }

    .animated-icon {
        font-size: 40px;
    }

    .stats {
        gap: 30px;
    }

    .stats div {
        font-size: 28px;
        padding: 15px;
        min-width: 100px;
    }

    .stats p {
        font-size: 14px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background: linear-gradient(135deg, #1e3c72, #2a5298);
        padding: 50px 15px 15px;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.5);
        border-radius: 15px 0 0 15px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 10px;
        right: 0;
    }

    .nav-links::before {
        content: '\f00d'; /* Font Awesome 'x' icon for close */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 28px;
        color: #f7d794;
        cursor: pointer;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .nav-links::before:hover {
        color: #ff8c00;
        transform: rotate(90deg);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 15px;
        font-size: 16px;
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        text-transform: uppercase;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links li a:hover {
        background: #ff8c00;
        color: #fff;
        transform: translateX(10px);
        box-shadow: 4px 15px rgba(255, 140, 0, 0.4);
    }

    .nav-links li a i {
        font-size: 18px;
    }

    .dropdown {
        position: relative;
    }

    .dropdown .login-btn {
        background: none;
        padding: 12px 15px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        color: #fff;
        font-weight: 600;
        text-transform: uppercase;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .dropdown .login-btn:hover {
        background: #ff8c00;
        transform: translateX(10px);
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    }

    .dropdown-content {
        display: none;
        position: static;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        margin-top: 5px;
        padding: 5px;
    }

    .dropdown-content.active {
        display: block;
    }

    .dropdown-content a {
        padding: 10px 12px;
        font-size: 14px;
        color: #f7d794;
        background: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
    }

    .dropdown-content a:hover {
        background: rgba(247, 215, 148, 0.2);
        color: #fff;
        transform: translateX(5px);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .three-d-model {
        width: 40px;
        height: 40px;
    }

    .three-d-model::before, .three-d-model::after {
        width: 40px;
        height: 40px;
    }

    .left-section {
        justify-content: center;
    }

    /* Chatbot Responsive Styles */
    .chatbot-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .chatbot-container {
        width: 90%;
        right: 5%;
        bottom: 80px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .slider-text {
        font-size: 24px;
        padding: 8px 15px;
    }

    #gallery, #about, #action, #services {
        padding: 40px 15px;
        margin: 20px 10px;
    }

    #gallery {
        margin-bottom: 60px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .image {
        max-width: 100%;
    }

    .gallery-filters {
        gap: 5px;
        padding: 0 5px;
    }

    .filter-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .action-card {
        width: 240px;
        height: 300px;
    }

    .action-front h3 {
        font-size: 22px;
    }

    .action-back p {
        font-size: 14px;
    }

    .animated-icon {
        font-size: 40px;
    }

    .stats {
        gap: 20px;
    }

    .stats div {
        font-size: 24px;
        padding: 12px;
        min-width: 90px;
    }

    .stats p {
        font-size: 12px;
    }

    .modern-footer {
        padding: 20px;
    }

    .complaint-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .left-section {
        flex-direction: row;
        gap: 8px;
    }

    .social-media a {
        font-size: 16px;
    }

    .nav-links {
        width: 250px;
        padding: 40px 10px 10px;
    }

    .nav-links li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .nav-links li a i {
        font-size: 16px;
    }

    .dropdown .login-btn {
        font-size: 14px;
        padding: 10px 12px;
    }

    .dropdown-content a {
        font-size: 12px;
        padding: 8px 10px;
    }
}