:root {
    --primary: #0b6fb7;
    --primary-dark: #085a93;
    --secondary: #35b24a;
    --accent: #16a4a6;
    --text-dark: #1b2430;
    --text-light: #ffffff;
    --bg-light: #f4f8fb;
    --bg-dark: #0b1f2a;
    --bs-primary: #0b6fb7;
    --bs-secondary: #35b24a;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

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

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(11, 111, 183, 0.14) 0%, rgba(53, 178, 74, 0.12) 100%);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: clamp(420px, 68vh, 640px);
    margin-top: 80px;
}


.hero-section .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section .overlay {
    z-index: 1;
}

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

.hero-section .min-vh-100 {
    min-height: auto !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-card i {
    color: var(--primary);
}

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

.form-control {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(11, 111, 183, 0.25);
}

/* Stats Box */
.stats-box {
    border-left: 4px solid var(--primary);
}

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

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* About Section */
.about-features {
    margin-top: 2rem;
}

.about-image {
    position: relative;
}

.experience-badge {
    bottom: -20px;
    right: -20px;
    transform: rotate(-5deg);
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-overlay p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments for About and Gallery */
@media (max-width: 768px) {
    .about-image {
        margin-top: 2rem;
    }
    
    .experience-badge {
        bottom: -10px;
        right: -10px;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
}
