/* Custom CSS for Aucwini Technologies Website */

/* CSS Variables for consistent theming - Aucwini Brand Colors */
:root {
    --primary-color: #00bcd4;
    --secondary-color: #e91e63;
    --success-color: #00e676;
    --info-color: #00bcd4;
    --warning-color: #ffb74d;
    --danger-color: #f06292;
    --light-color: #f8f9fa;
    --dark-color: #1a1a2e;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #00bcd4 0%, #e91e63 100%);
    --gradient-secondary: linear-gradient(135deg, #00e5ff 0%, #f48fb1 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-light: linear-gradient(135deg, #e0f2f1 0%, #fce4ec 100%);
    --box-shadow: 0 4px 20px rgba(0, 188, 212, 0.15);
    --box-shadow-lg: 0 10px 30px rgba(0, 188, 212, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px; /* Account for fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.display-4 {
    font-weight: 700;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background: var(--gradient-dark) !important;
    box-shadow: var(--box-shadow);
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    background: rgba(26, 26, 46, 0.95);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
    transition: var(--transition);
    max-width: none !important;
    white-space: nowrap;
}

.brand-logo-container {
    position: relative;
    display: inline-block;
}

.navbar-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 15px;
    background: var(--gradient-light);
    padding: 4px;
    box-shadow: 0 3px 15px rgba(0, 188, 212, 0.25);
    transition: var(--transition);
    flex-shrink: 0;
    filter: brightness(1.1);
}

.brand-logo-container:hover .navbar-logo {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.3);
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: rgba(0, 188, 212, 0.15);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: var(--transition);
}

.brand-logo-container:hover .brand-overlay {
    opacity: 1;
}

.brand-name-overlay {
    font-size: 8px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    line-height: 1;
}

.brand-tech-overlay {
    font-size: 6px;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    line-height: 1;
    margin-top: -1px;
}

.brand-info {
    line-height: 1.1;
    min-width: 0;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    white-space: nowrap;
    margin-top: -2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name-overlay {
        font-size: 7px;
    }
    
    .brand-tech-overlay {
        font-size: 5px;
    }
    
    .brand-text {
        font-size: 0.95rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
        padding: 10px;
    }
    
    .hero-brand-name {
        font-size: 14px;
    }
    
    .hero-brand-tech {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .navbar-logo {
        width: 35px;
        height: 35px;
    }
    
    .brand-name-overlay {
        font-size: 6px;
    }
    
    .brand-tech-overlay {
        font-size: 4px;
    }
    
    .brand-text {
        font-size: 0.85rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
        padding: 8px;
    }
    
    .hero-brand-name {
        font-size: 11px;
    }
    
    .hero-brand-tech {
        font-size: 7px;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-brand-container {
    display: inline-block;
    position: relative;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 25px;
    background: var(--gradient-light);
    padding: 15px;
    box-shadow: var(--box-shadow-lg);
    animation: logoGlow 3s ease-in-out infinite alternate;
    filter: brightness(1.1);
}

.hero-brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    background: var(--gradient-primary);
    opacity: 0.9;
    animation: overlayPulse 4s ease-in-out infinite;
}

.hero-brand-name {
    font-size: 18px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1;
}

.hero-brand-tech {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.8px;
    line-height: 1;
    margin-top: 2px;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.95; }
}

/* Hero responsive adjustments */
@media (max-width: 768px) {
    .hero-logo {
        width: 80px;
        height: 80px;
        padding: 8px;
    }
    
    .hero-section .display-4 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .floating-element.element-1 {
        width: 60px;
        height: 60px;
    }
    
    .floating-element.element-2 {
        width: 40px;
        height: 40px;
    }
    
    .floating-element.element-3 {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .hero-logo {
        width: 60px;
        height: 60px;
        padding: 6px;
    }
    
    .hero-section .display-4 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-section .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image {
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
    transform: perspective(800px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.02);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes logoGlow {
    0% { box-shadow: 0 0 20px rgba(0, 188, 212, 0.3); }
    100% { box-shadow: 0 0 30px rgba(233, 30, 99, 0.4); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Page Hero */
.page-hero {
    background: var(--gradient-primary);
    padding: 100px 0 80px;
    margin-top: -76px;
    padding-top: 176px;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Cards and Components */
.feature-card,
.service-card,
.testimonial-card,
.portfolio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* Feature Cards */
.feature-icon,
.service-icon,
.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon::before,
.service-icon::before,
.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition);
    z-index: -1;
}

.feature-icon:hover::before,
.service-icon:hover::before,
.value-icon:hover::before {
    left: 0;
}

.feature-icon:hover,
.service-icon:hover,
.value-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--box-shadow-lg);
}

/* Service Cards */
.service-card {
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
}

.service-detailed-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detailed-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-header .service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-header .service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition);
    z-index: -1;
}

.service-detailed-card:hover .service-icon::before {
    left: 0;
}

.service-detailed-card:hover .service-icon {
    transform: scale(1.05);
}

.service-technologies .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

/* Portfolio */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.portfolio-item {
    transition: var(--transition);
}

.portfolio-item.filtered {
    opacity: 0.3;
    transform: scale(0.95);
}

.portfolio-card {
    overflow: hidden;
    padding: 0;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    padding: 2rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-tech .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card.featured {
    border-left: 4px solid var(--primary-color);
}

.testimonial-rating {
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* Contact */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Stats */
.stat-item,
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-item h2,
.stat-card h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Industries */
.industry-card {
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

/* Team */
.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

/* Client Logos */
.client-logo {
    padding: 1.5rem;
    text-align: center;
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Mission/Vision Cards */
.mission-card,
.vision-card,
.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.mission-card:hover,
.vision-card:hover,
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.card-icon {
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-list {
    list-style: none;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

/* Chatbot Styles */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow-lg);
    transition: var(--transition);
    font-size: 1.5rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.chatbot-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition);
    z-index: -1;
}

.chatbot-toggle:hover::before {
    left: 0;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.chatbot-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.message-content {
    background: var(--light-color);
    padding: 0.75rem 1rem;
    border-radius: 18px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message .message-content {
    background: var(--primary-color);
    color: var(--white);
    border-bottom-left-radius: 6px;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: var(--light-color);
    color: var(--dark-color);
    border-bottom-right-radius: 6px;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    outline: none;
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 500px;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .page-hero {
        margin-top: -60px;
        padding-top: 140px;
        padding-bottom: 60px;
    }
    
    /* Mobile chatbot adjustments - Fixed positioning */
    .chatbot-window {
        width: calc(100vw - 20px);
        height: 65vh;
        max-height: 450px;
        bottom: 10px;
        right: 10px;
        left: 10px;
        position: fixed;
        z-index: 1060;
    }
    
    .chatbot-toggle {
        bottom: 10px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        position: fixed;
        z-index: 1050;
    }
    
    .chatbot-messages {
        max-height: 250px;
        padding: 0.75rem;
    }
    
    .message-content {
        max-width: 90%;
        font-size: 0.85rem;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 10px);
        height: 70vh;
        max-height: 400px;
        bottom: 5px;
        right: 5px;
        left: 5px;
        position: fixed;
        z-index: 1060;
    }
    
    .chatbot-toggle {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        position: fixed;
        z-index: 1050;
    }
    
    .hero-section .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
}
    
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .chatbot-window {
        width: 300px;
        height: 400px;
        right: -10px;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .chatbot-window {
        width: 280px;
        height: 350px;
        right: -20px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-item h2,
    .stat-card h2 {
        font-size: 2.5rem;
    }
}

/* Loading and Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom scrollbar */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--light-color);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Map placeholder styling */
.map-placeholder {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
}

/* Accordion customization */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* Footer enhancements */
footer {
    background: var(--gradient-dark) !important;
}

footer .social-links a {
    transition: var(--transition);
}

footer .social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Additional hover effects */
.navbar-brand:hover {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    .navbar,
    #chatbot-container,
    .flash-messages {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .page-hero {
        margin-top: 0;
        padding-top: 2rem;
    }
}

.gradient-icon {
    background: linear-gradient(135deg, #00bcd4 0%, #e91e63 100%); /* Blue → Pink */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-icon {
    width: 1000px;   /* icon size ke barabar */
    height: 100px;  /* square shape */
    object-fit: contain; /* distort na ho */
}