/* Global Styles */
:root {
    --primary-color: #004080;
    --secondary-color: #0077cc;
    --accent-color: #ff6600;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

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

.line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    font-weight: 600;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 64, 128, 0.8), rgba(0, 64, 128, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Welcome Section */
.welcome-section {
    background-color: #fff;
}

.welcome-section .card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 119, 204, 0.1);
    border-radius: 50%;
}

/* Services Preview */
.services-preview {
    background-color: var(--light-color);
}

.service-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    height: 200px;
    object-fit: cover;
}

/* Events Preview */
.events-preview {
    background-color: #fff;
}

.event-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card img {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

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

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255,255,255,0.8);
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* About Us Page */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/about-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 5rem 0;
}

/* Services Page */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/services-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 5rem 0;
}

.service-detail {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-detail:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Gallery Page */
.gallery-filter {
    margin-bottom: 2rem;
}

.gallery-item {
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Contact Page */
.contact-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
}