/* assets/css/style.css */
:root {
    --primary: #002d5b;
    --secondary: #0056b3;
    --accent: #ffcc00;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gradient: linear-gradient(135deg, #002d5b 0%, #0056b3 100%);
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.container {
    max-width: 100% !important;
    overflow-x: hidden;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.brand-text {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.brand-subtext {
    color: var(--secondary);
    font-weight: 400;
}

.nav-link {
    font-weight: 500;
    color: var(--primary) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-slider {
    height: 80vh;
    min-height: 500px;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 91, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease;
}

/* Cards & Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
}

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

.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    background: var(--gradient);
    color: var(--white);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card:hover .service-icon {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/* Chatbot Modern UI */
#chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 45, 91, 0.4);
    font-size: 24px;
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    animation: slideUp 0.4s ease-out;
}

.chatbot-header {
    background: var(--gradient);
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: messagePop 0.3s ease;
}

.message.user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.bot {
    background: #fff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chatbot-input {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #f0f0f0;
    padding: 12px 18px;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
    background: #fcfcfc;
    transition: all 0.3s;
}

.chatbot-input input:focus {
    border-color: var(--secondary);
    background: #fff;
}

.chatbot-input button {
    background: var(--gradient);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

@keyframes messagePop {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}


/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Stats Counter */
.stats-section {
    background: var(--gradient);
    padding: 60px 0;
    color: var(--white);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
}

/* Client Logo Marquee */
.client-marquee {
    overflow: hidden;
    padding: 40px 0;
    background: #fdfdfd;
}

.marquee-content {
    display: flex;
    gap: 50px;
    animation: marquee 20s linear infinite;
}

.marquee-content img {
    height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Team Section */
.team-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px; /* Fixed height for all images */
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the area without stretching */
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(0, 45, 91, 0.8);
    padding: 10px;
    transition: bottom 0.3s;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: #fff;
    margin: 0 10px;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-left: 5px solid var(--secondary);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.2;
}

/* Logo Sizing */
.header-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* --- Mobile Responsiveness Fixes --- */
@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-slider, .carousel-item {
        height: auto;
        min-height: 400px;
        padding: 60px 0;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .client-marquee {
        padding: 20px 0;
    }
    
    .marquee-content img {
        height: 30px;
    }
    
    .team-img-wrapper {
        height: 300px;
    }
    
    .chatbot-container {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
        height: 450px;
    }
    
    section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .header-logo {
        height: 40px;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .service-card, .glass-card {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }
}


