/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #3498db, #2c3e50);
    --gradient-accent: linear-gradient(135deg, #e74c3c, #c0392b);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}
.logo{
    filter: invert(0.9);

}
/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding-top: 80px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.contact-form-card h3 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Services Section */
/* Ensure all service cards have equal height */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

/* Equal height for all service card containers */
.row > .col-md-4 {
    display: flex;
}

/* Inner card takes full height */
.col-md-4 .service-card {
    flex: 1;
}

/**/
.service-card {
    padding: 2.5rem;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    color: white;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover i,
.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.4s ease;
}

.service-card h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-card p {
    color: #666;
    transition: all 0.4s ease;
}
/* Why Choose Us Section Styles */
#why-choose-us {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1581093458791-4a2b6219268f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.03;
    z-index: 0;
}

.choose-us-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.choose-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.choose-us-card:hover {
    transform: translateY(-10px);
}

.choose-us-card:hover::before {
    transform: scaleX(1);
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.4s ease;
}

.choose-us-card:hover .icon-container {
    transform: rotateY(180deg);
}

.icon-container i {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.choose-us-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.choose-us-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.choose-us-card:hover h3::after {
    width: 60px;
}

.choose-us-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .choose-us-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .icon-container {
        width: 70px;
        height: 70px;
    }
    
    .icon-container i {
        font-size: 1.75rem;
    }
    
    .choose-us-card h3 {
        font-size: 1.3rem;
    }
}

/* Animation for section entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#why-choose-us .choose-us-card {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(0.1s * var(--animation-order, 0));
}

#why-choose-us .col-md-3:nth-child(1) .choose-us-card {
    --animation-order: 1;
}

#why-choose-us .col-md-3:nth-child(2) .choose-us-card {
    --animation-order: 2;
}

#why-choose-us .col-md-3:nth-child(3) .choose-us-card {
    --animation-order: 3;
}

#why-choose-us .col-md-3:nth-child(4) .choose-us-card {
    --animation-order: 4;
}
/* Portfolio Section */
.portfolio-section {
    position: relative;
    overflow: hidden;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    cursor: pointer;
}

.portfolio-card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.portfolio-card:hover .portfolio-overlay h4,
.portfolio-card:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

/* Contact Section Enhancement */
.contact-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.1;
    animation: zoomInOut 20s infinite alternate;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-section .lead {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.contact-form-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.form-control {
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: white;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-buttons .btn {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.contact-buttons .btn:hover::before {
    left: 100%;
}

.contact-buttons .btn-success {
    background: #27ae60;
    border: none;
}

.contact-buttons .btn-primary {
    background: var(--secondary-color);
    border: none;
}

.contact-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-section h2 {
        font-size: 2.5rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        margin-top: 10px;
    }
    
    .contact-form-card {
        margin-top: 2rem;
    }
    
    .service-card,
    .portfolio-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .portfolio-card, .testimonial-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Stats Section (New) */
.stats-section {
    padding: 5rem 0;
    background: white;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.4s ease;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.stat-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Enhanced Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.service-card i {
    animation: float 3s ease-in-out infinite;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    animation: pulse 2s ease-in-out infinite;
} 
 /* Chat Widget Styles */
 .chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.chat-window.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 5px;
    position: relative;
}

.bot-message {
    background: #f1f1f1;
    align-self: flex-start;
    border-bottom-left-radius: 3px;
}

.user-message {
    background: #3498db;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    background: #f1f1f1;
    border-radius: 15px;
    align-self: flex-start;
    margin-bottom: 5px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #777;
    border-radius: 50%;
    animation: typing-animation 1.5s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-animation {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: #3498db;
}

.chat-send {
    background: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-send:hover {
    background: #2980b9;
}

.quick-responses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-response {
    padding: 8px 12px;
    background: #f1f1f1;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quick-response:hover {
    background: #e1e1e1;
}

/* Animation for new messages */
@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message {
    animation: messageIn 0.3s ease-out forwards;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .chat-window {
        width: 90%;
        height: 70vh;
        right: 5%;
        left: 5%;
        bottom: 80px;
    }
    
    .chat-button {
        width: 50px;
        height: 50px;
    }
    /*.hero-section h1 {*/
    /*    font-size: 20px;*/
    /*    margin-top: 50px;*/
    /*}*/
}