:root {
    --primary-color: #2c3e50;
    --secondary-color: #DC143C;
    --accent-color: #DC143C;
    --red-primary: #DC143C;
    --red-dark: #B71C1C;
    --red-light: #FF5252;
    --dark-color: #1a252f;
    --light-color: #ecf0f1;
    --gradient-1: linear-gradient(135deg, #DC143C 0%, #B71C1C 100%);
    --gradient-2: linear-gradient(135deg, #FF5252 0%, #DC143C 100%);
    --gradient-3: linear-gradient(135deg, #DC143C 0%, #FF5252 100%);
    --gradient-red-white: linear-gradient(135deg, #DC143C 0%, #ffffff 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: rgba(26, 37, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #ffffff;
}

.navbar-brand {
    color: #ffffff;
}

.navbar-brand:hover {
    color: #ffffff;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-1);
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.85) 0%, rgba(183, 28, 28, 0.85) 100%);
    z-index: 0;
}

.hero-section::after {
    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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.2;
    z-index: 1;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section .lead,
.hero-section .text-white {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

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

.hero-image {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
    text-align: center;
    display: none; /* Hide icon since we're using background image */
}

@media (min-width: 992px) {
    .hero-image {
        display: block; /* Show on larger screens as decorative element */
    }
}

.hero-image i {
    animation: float 3s ease-in-out infinite;
}

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

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

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

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(220, 20, 60, 0.2);
    border-color: var(--red-primary);
}

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

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-weight: 600;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.cta-section h2,
.cta-section p,
.cta-section .lead {
    color: #ffffff;
}

.cta-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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: top;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-3);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.6);
    background: var(--red-dark);
    color: white;
}

.btn-outline-primary {
    border-color: var(--red-primary);
    color: var(--red-primary);
}

.btn-outline-primary:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: white;
}

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    background: transparent;
}

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

.btn-light {
    background-color: #ffffff !important;
    color: var(--red-primary) !important;
    border-color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background-color: var(--red-primary) !important;
    color: #ffffff !important;
    border-color: var(--red-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

/* Ensure CTA section buttons are styled correctly */
.cta-section .btn-light {
    background-color: #ffffff !important;
    color: var(--red-primary) !important;
    border-color: #ffffff !important;
}

.cta-section .btn-light:hover,
.cta-section .btn-light:focus,
.cta-section .btn-light:active {
    background-color: var(--red-primary) !important;
    color: #ffffff !important;
    border-color: var(--red-primary) !important;
}

/* Footer */
.footer {
    position: relative;
    margin-top: 3rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #212529;
}

.social-links a:hover {
    background: var(--red-primary);
    color: #ffffff;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.25);
}

/* Projects Grid */
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image {
    height: 250px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.project-content {
    padding: 1.5rem;
}

.project-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-3);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 8px;
    transition: all 0.3s ease;
    object-fit: contain;
    display: block;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar-brand span {
    white-space: nowrap;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .logo-img {
        height: 28px;
        margin-right: 6px;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 24px;
        margin-right: 5px;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-image {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-image {
        font-size: 6rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .scroll-top {
        display: none !important;
    }
    
    body {
        background: white;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .stat-card,
    .project-card {
        border: 2px solid var(--red-primary);
    }
}

/* Loading Animation */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Text Colors */
.text-primary {
    color: var(--red-primary) !important;
}

.text-secondary {
    color: var(--red-dark) !important;
}

/* Badge Colors */
.badge.bg-primary {
    background-color: var(--red-primary) !important;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.6);
    background: var(--red-dark);
}

.scroll-top.show {
    display: flex;
}

/* Professional Enhancements */
.hero-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

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

.service-card,
.stat-card,
.project-card,
.team-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.lead {
    font-weight: 400;
    line-height: 1.6;
}

/* Enhanced Cards */
.service-card h3,
.project-card h3,
.team-card h4 {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card:hover h3,
.project-card:hover h3 {
    color: var(--red-primary);
}

/* Loading Animation with Red */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--red-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

/* Accordion Styling */
.accordion-button:not(.collapsed) {
    background-color: rgba(220, 20, 60, 0.1);
    color: var(--red-primary);
}

.accordion-button:focus {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 0.25rem rgba(220, 20, 60, 0.25);
}

/* Professional Spacing */
section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

/* Enhanced Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 37, 47, 0.98) !important;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.15);
    padding: 0.75rem 0;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 20, 60, 0.25);
}

.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");
}

/* Improved Form Styling */
.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-check-label a {
    color: var(--red-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-check-label a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

/* Alert Styling */
.alert-success {
    background-color: rgba(220, 20, 60, 0.1);
    border-color: var(--red-primary);
    color: var(--red-dark);
}

/* Professional Section Dividers */
section:not(:last-child) {
    border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

/* Fix readability - text-muted on light backgrounds should be darker */
.bg-light .text-muted,
section.bg-light .text-muted,
.bg-white .text-muted,
.services-section .text-muted,
.about-section .text-muted {
    color: #495057 !important;
}

/* Ensure all text in light sections is dark */
section:not(.hero-section):not(.cta-section):not(.footer) .text-muted {
    color: #6c757d;
}

section.bg-light .text-muted,
.bg-light .text-muted {
    color: #495057 !important;
}

/* Light sections should have dark text */
.bg-light,
section.bg-light {
    color: #212529;
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6,
section.bg-light h1,
section.bg-light h2,
section.bg-light h3,
section.bg-light h4,
section.bg-light h5,
section.bg-light h6 {
    color: #212529;
}

.bg-light p,
section.bg-light p {
    color: #495057;
}

/* Service cards and other white cards should have dark text */
.service-card,
.stat-card,
.project-card,
.team-card,
.contact-form {
    color: #212529;
}

.service-card h3,
.project-card h3,
.team-card h4 {
    color: #212529;
}

.service-card p,
.stat-label,
.project-card p,
.team-card p {
    color: #495057;
}

/* Ensure text-muted is readable */
.text-muted {
    color: #6c757d !important;
}

.bg-light .text-muted {
    color: #495057 !important;
}

/* Fix dark text on dark backgrounds */
.bg-dark .text-dark,
.footer .text-dark,
.navbar .text-dark {
    color: #ffffff !important;
}

/* Fix white text on white/light backgrounds */
.bg-light .text-white,
.bg-white .text-white,
section.bg-light .text-white {
    color: #212529 !important;
}

/* About section team cards - ensure dark text on light background */
.team-card .text-dark {
    color: #212529 !important;
}

.team-card .text-muted {
    color: #6c757d !important;
}

/* Service cards with dark backgrounds should have white text */
.service-card[style*="background"],
.service-card[style*="gradient"] {
    color: #ffffff !important;
}

.service-card[style*="background"] p,
.service-card[style*="gradient"] p,
.service-card[style*="background"] h4,
.service-card[style*="gradient"] h4,
.service-card[style*="background"] h5,
.service-card[style*="gradient"] h5 {
    color: #ffffff !important;
}

/* Badges on dark backgrounds should have light text */
.service-card[style*="background"] .badge,
.service-card[style*="gradient"] .badge {
    background-color: #ffffff !important;
    color: #212529 !important;
}

/* Contact page - ensure text is readable */
.contact-form .text-muted {
    color: #6c757d !important;
}

/* Projects page - ensure text is readable */
.project-card .text-muted {
    color: #6c757d !important;
}

/* Enhanced CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    opacity: 0.2;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Improved Card Shadows */
.service-card,
.stat-card,
.project-card,
.team-card,
.contact-form {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover,
.stat-card:hover,
.project-card:hover,
.team-card:hover {
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.15);
}

/* Professional Link Styling */
a {
    transition: all 0.3s ease;
}

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

.text-muted a {
    color: var(--red-primary);
}

.text-muted a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    position: relative;
    color: #ffffff;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
}

.footer-heading {
    color: #ffffff;
}

.footer-text {
    color: #e9ecef;
}

.footer-link {
    color: #e9ecef;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer h5,
.footer h6 {
    color: #ffffff;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.footer .bi {
    color: #ffffff;
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 30px;
    }
}

/* Dark sections always use dark logo (for visibility on dark backgrounds) */
.navbar .logo-light,
.footer .logo-light {
    display: none !important;
}

.navbar .logo-dark,
.footer .logo-dark {
    display: block !important;
}

/* Ensure all text in dark sections is light colored */
.navbar *,
.footer *,
.hero-section *,
.cta-section * {
    color: inherit;
}

.navbar,
.footer {
    color: #ffffff;
}

.navbar a,
.footer a {
    color: inherit;
}

.navbar .text-white,
.footer .text-white,
.hero-section .text-white,
.cta-section .text-white {
    color: #ffffff !important;
}

/* Professional Image Handling */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--red-primary);
    outline-offset: 2px;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner-border {
    border-color: currentColor;
    border-right-color: transparent;
}
