/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding-top: 56px; /* For the fixed navbar */
}

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

/* Navigation */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
}

/* Hero Carousel */
.carousel-item {
    height: 70vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

/* Sections */
section {
    padding: 60px 0;
}

section.py-5 {
    padding: 60px 0;
}

section.bg-light {
    background-color: #f8f9fa !important;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: bold;
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Footer */
footer {
    background-color: #212529 !important;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* Timeline styles for corporate history */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    background: #0d6efd;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::after {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 40px !important;
    }
}

/* Contact form styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Service cards */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card .card-body {
    flex: 1 1 auto;
}

/* Map container */
.map-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}