/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Prevent horizontal scrolling issues */
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

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

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col, .col-*, [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    word-wrap: break-word;
}

/* Fix for potential Bootstrap conflicts */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

:root {
    /* Modern Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --purple-color: #8b5cf6;
    --orange-color: #f97316;
    
    /* Neutral Colors */
    --dark-color: #1f2937;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Utility Classes */
.highlight {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
}

/* Top Contact Bar */
.top-contact-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 12px 0;
    color: var(--white);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
    width: 100%;
    position: relative;
    z-index: 1001;
}

.top-contact-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.top-contact-bar .row {
    align-items: center;
    margin: 0;
}

.contact-info {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 500;
}

.contact-info .contact-item i {
    color: #60a5fa;
    font-size: 1.1rem;
    background: rgba(96, 165, 250, 0.1);
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-services {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
    flex-wrap: wrap;
}

.service-tag {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.service-tag:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(16, 185, 129, 0.3));
    transform: translateY(-1px);
}

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.main-header.scrolled {
    top: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.main-header .navbar {
    padding: 1.2rem 0;
}

.main-header .logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Navigation */
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--gray-800) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    transition: var(--transition-fast);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    margin: 5px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn {
    font-weight: 700;
    border-radius: 30px;
    padding: 1rem 2.5rem;
    transition: var(--transition-fast);
    border: none;
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8, #1e40af);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    font-weight: 700;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-light {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Banner Section */
.banner-section {
    margin-top: 120px;
    padding: 0;
}

.banner-image {
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    position: relative;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-title .highlight {
    color: var(--primary-color);
    font-weight: 900;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--gray-600);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    min-width: 150px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* Portfolio Preview */
.portfolio-preview {
    padding: 0;
    background: var(--gray-50);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(16, 185, 129, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

/* Section Styles */
.services-section,
.about-section,
.detailed-services,
.portfolio-section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-icon.green {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.service-icon.blue {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.service-icon.purple {
    background: linear-gradient(135deg, var(--purple-color), #7c3aed);
}

.service-icon.orange {
    background: linear-gradient(135deg, var(--orange-color), #ea580c);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* About Section */
.about-section {
    background: var(--gray-50);
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-700);
}

.about-image {
    position: relative;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* Detailed Services */
.detailed-services {
    background: var(--white);
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-detail-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.service-list i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--gray-50);
}

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

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
}

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

.portfolio-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item-main {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    aspect-ratio: 4/3;
}

.portfolio-item-main:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    color: var(--gray-500);
    text-align: center;
    padding: 2rem;
}

.portfolio-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-placeholder span {
    font-weight: 600;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--white);
    padding: 5rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Footer */
.modern-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-section h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-list li:hover {
    color: var(--white);
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: 3rem;
    padding-top: 2rem;
}

.copyright {
    color: var(--gray-400);
    margin-bottom: 0;
}

.footer-contact {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.contact-link {
    color: var(--gray-400);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .contact-info {
        gap: 1rem;
    }
    
    .top-services {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .footer-contact {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .top-contact-bar {
        padding: 8px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .contact-info .contact-item {
        font-size: 0.75rem;
    }
    
    .top-services {
        justify-content: flex-start;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .service-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .main-header {
        top: 70px;
    }
    
    .main-header .navbar {
        padding: 0.75rem 0;
    }
    
    .banner-section {
        margin-top: 140px;
    }
    
    .banner-image img {
        max-height: 250px;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info .contact-item {
        font-size: 0.7rem;
    }
    
    .top-services {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .service-tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
    
    .main-header {
        top: 90px;
    }
    
    .banner-section {
        margin-top: 160px;
    }
    
    .banner-image img {
        max-height: 200px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-detail-card .service-content {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

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

.fade-in-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Loading States */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Enhanced Mobile Menu */
.navbar-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Smooth transitions for top bar */
.top-contact-bar {
    transition: transform 0.3s ease-in-out;
}

/* Enhanced scroll effects */
.main-header.scrolled {
    backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.95);
}

/* Parallax container */
.hero-img,
.hero-content {
    transition: transform 0.1s ease-out;
}

/* Enhanced hover effects */
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* Glowing effects */
.btn-primary:hover {
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5), 0 0 20px rgba(37, 99, 235, 0.3);
}

.nav-link:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* Pulse animation for scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite, pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Gradient text animation */
.hero-title .highlight {
    background: linear-gradient(45deg, #2563eb, #10b981, #f59e0b, #8b5cf6);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced service icons */
.service-icon {
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.service-card:hover .service-icon::before {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Enhanced portfolio grid animations */
.portfolio-item-main {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item-main:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Staggered animation delays */
.fade-in-element:nth-child(1) { transition-delay: 0.1s; }
.fade-in-element:nth-child(2) { transition-delay: 0.2s; }
.fade-in-element:nth-child(3) { transition-delay: 0.3s; }
.fade-in-element:nth-child(4) { transition-delay: 0.4s; }
.fade-in-element:nth-child(5) { transition-delay: 0.5s; }
.fade-in-element:nth-child(6) { transition-delay: 0.6s; }

/* Enhanced button effects */
.btn {
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d4ed8, #1e40af, #2563eb);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Floating animation for stats */
.stat-item {
    animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 2s;
}

.stat-item:nth-child(3) {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Enhanced backdrop blur */
@supports (backdrop-filter: blur(20px)) {
    .main-header {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .stat-item {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

/* Focus States for Accessibility */
.btn:focus,
.filter-btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Service Page Styles */
.service-hero-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    margin-top: 120px;
    position: relative;
}

.service-hero-content {
    padding-right: 2rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.service-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.service-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--gray-600);
}

.service-hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.service-hero-image {
    position: relative;
}

.service-hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.service-hero-badge i {
    font-size: 1.25rem;
}

/* Service Features Section */
.service-features-section {
    padding: 6rem 0;
    background: var(--white);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Services Offered Section */
.services-offered-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.service-offering-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    gap: 1.5rem;
}

.service-offering-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-offering-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-offering-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-offering-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-offering-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-offering-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.service-offering-list i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Technologies Section */
.technologies-section {
    padding: 6rem 0;
    background: var(--white);
}

.tech-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.tech-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-card h5 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.tech-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--white);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.process-step:hover .process-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.process-step p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Responsive Design for Service Pages */
@media (max-width: 992px) {
    .service-hero-section {
        padding: 6rem 0 4rem;
    }
    
    .service-hero-title {
        font-size: 3rem;
    }
    
    .service-hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .service-hero-badge {
        position: static;
        margin-top: 1rem;
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .service-hero-section {
        padding: 4rem 0 3rem;
        margin-top: 140px;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-offering-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-offering-icon {
        align-self: center;
    }
    
    .feature-card,
    .service-offering-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-hero-section {
        margin-top: 160px;
    }
    
    .service-hero-title {
        font-size: 2rem;
    }
    
    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-card,
    .service-offering-card {
        padding: 1.5rem 1rem;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
    }
}

/* Print Styles */
@media print {
    .modern-header,
    .back-to-top,
    .hero-buttons,
    .service-hero-buttons {
        display: none !important;
    }
    
    .hero-section,
    .service-hero-section {
        margin-top: 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* Contact Page Styles */
.contact-section {
    background: #ffffff;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    display: block;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
    background: #ffffff;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.contact-info-sidebar {
    padding-left: 30px;
}

.contact-info-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.contact-info-card h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.detail-icon i {
    color: #ffffff;
    font-size: 18px;
}

.detail-content h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.detail-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.contact-info-card .social-links h6 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-card .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.contact-info-card .social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.quick-services-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.quick-services-card h5 {
    color: #333333;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666666;
}

.service-list li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 14px;
}

.map-section {
    background: #f8f9fa;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-section {
    background: #ffffff;
}

.accordion {
    border: none;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: #ffffff;
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: #333333;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #007bff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 20px 25px;
    color: #666666;
    line-height: 1.6;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 80px 0 60px;
    margin-bottom: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ffffff;
}

/* Responsive Fixes for Contact Page */
@media (max-width: 991.98px) {
    .contact-info-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-info-card {
        padding: 30px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-form-wrapper {
        padding: 25px 15px;
    }
    
    .contact-info-card {
        padding: 25px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .detail-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .detail-icon i {
        font-size: 16px;
    }
    
    .contact-detail {
        margin-bottom: 20px;
    }
}

/* Additional Layout Fixes to Prevent Skewed Views */
.section {
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix for image responsiveness */
.hero-image, .banner-image, .service-image, .portfolio-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Ensure cards don't break layout */
.service-card, .portfolio-item, .team-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix for long text in cards */
.card-title, .card-text {
    word-wrap: break-word;
    hyphens: auto;
}

/* Prevent text overflow in navigation */
.navbar-nav .nav-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile navigation fixes */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
}

/* Navigation Dropdown Styles */
.dropdown-menu {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 5px;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
    padding-left: 25px;
}

.dropdown-divider {
    margin: 10px 0;
    border-color: #e9ecef;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 8px;
    font-size: 12px;
}

/* Ensure proper spacing on all devices */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Fix for potential transform issues */
@media (prefers-reduced-motion: reduce) {
    * {
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Header and Footer Alignment Fixes */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    width: 100%;
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.main-header .navbar {
    padding: 1.2rem 0;
    width: 100%;
}

.main-header .navbar-brand {
    display: flex;
    align-items: center;
}

.main-header .logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-nav {
    align-items: center;
    margin-left: auto;
}

.navbar-nav .nav-item {
    margin: 0 8px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* Footer Styles */
.main-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 20px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.widget-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #007bff;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #007bff;
    transform: translateY(-2px);
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #cccccc;
}

.contact-info .contact-item i {
    width: 20px;
    margin-right: 15px;
    color: #007bff;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 30px;
    margin-top: 40px;
}

.footer-bottom .row {
    align-items: center;
}

.copyright {
    color: #cccccc;
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: #007bff;
}

/* Responsive Fixes for Header and Footer */
@media (max-width: 991.98px) {
    .main-header {
        top: 0;
    }
    
    .top-contact-bar {
        display: none;
    }
    
    .navbar-nav {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .top-services {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .footer-bottom-links {
        text-align: center;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .main-header .navbar {
        padding: 1rem 0;
    }
    
    .main-header .logo {
        height: 45px;
    }
    
    .contact-info {
        gap: 0.5rem;
    }
    
    .contact-info .contact-item {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .contact-info .contact-item i {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
    
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .top-services {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .service-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        border: none;
    }
    
    .main-header .navbar-brand {
        margin-right: 0;
    }
}
