/* Global Styles */
:root {
    --primary-red: #d0272d;
    --primary-blue: #033558;
    --light-red: rgba(208, 39, 45, 0.1);
    --light-blue: rgba(3, 53, 88, 0.1);
    --secondary-color: #6c757d;
    --accent-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-blue);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    background-color: white !important;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
}

/* Page Headers */
.page-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-weight: 600;
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-blue);
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Icon Box */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.icon-box i {
    color: var(--primary-color);
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .lead {
    color: var(--primary-red);
}

/* About Section */
.about-section {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.about-section .img-fluid {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-section .img-fluid:hover {
    transform: scale(1.02);
}

.about-section .position-absolute {
    z-index: 2;
}

.about-section .bg-primary {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-section .display-5 {
    color: var(--dark-color);
    line-height: 1.2;
}

.about-section .lead {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.about-section .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
}

.about-section .btn-outline-primary {
    border-width: 2px;
}

/* Services Section */
.service-card {
    text-align: center;
    padding: 2rem;
}

.service-card .icon-box {
    margin-bottom: 1.5rem;
}

.service-icon {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

/* Team Section */
.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 5px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.team-member .social-links a {
    color: var(--primary-blue);
}

.team-member .social-links a:hover {
    color: var(--primary-red);
}

/* Contact Section */
.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-form .form-control {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(208, 39, 45, 0.25);
}

/* Map Section */
.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: #b32127;
    border-color: #b32127;
}

.btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline-primary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer .social-links a {
    color: white;
    margin-right: 1rem;
    font-size: 1.25rem;
    transition: color 0.3s ease;
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.footer .social-links a:hover {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-red) !important;
    transform: translateX(5px);
}

/* Design Credit */
.footer .text-primary {
    transition: all 0.3s ease;
}

.footer .text-primary:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    z-index: 99;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 80vh;
    }

    .card {
        margin-bottom: 2rem;
    }

    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary-red) !important; }
.bg-primary { background-color: var(--primary-red) !important; }
.bg-light { background-color: var(--light-color) !important; }
.shadow-sm { box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important; }
.rounded { border-radius: 0.5rem !important; }
.border-primary { border-color: var(--primary-red) !important; }

/* Hover Effects */
.hover-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Testimonials */
.testimonial-card {
    border-left: 4px solid var(--primary-red);
}

/* Call to Action */
.cta-section {
    background-color: var(--primary-blue);
    color: white;
}

.cta-section .btn-outline-light:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
} 