/* Global Styles */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #0a3d62;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #495057;
    --border-color: #dee2e6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

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

a:hover {
    color: #ff8c3a;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff8c3a;
    border-color: #ff8c3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

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

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #6c757d;
}

/* Navbar */
.navbar {
    background-color: rgba(10, 61, 98, 0.9);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 61, 98, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

.brand-text {
    color: #fff;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

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

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-item img {
    height: 100vh;
    min-height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.carousel-caption p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.3s;
    animation-fill-mode: both;
}

.carousel-caption .btn {
    animation: fadeInUp 1s 0.6s;
    animation-fill-mode: both;
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    transition: transform 0.5s ease;
}

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

.about-content {
    padding: 20px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature {
    flex: 1 0 50%;
    padding: 15px;
    text-align: center;
}

.feature i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
}

/* Services Section */
.services-section {
    background-color: #fff;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: #6c757d;
}

/* Gallery Section */
.gallery-section {
    background-color: #f8f9fa;
}

.gallery-container {
    margin-top: 30px;
}

.gallery-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 98, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

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

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

.gallery-info {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.gallery-info h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.gallery-info p {
    font-size: 14px;
    color: #ddd;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-info {
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 15px;
    color: #6c757d;
}

.contact-form .form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 0;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 30px;
}

.footer h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: #ddd;
}

.footer a {
    color: #ddd;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    padding: 8px 0;
    font-size: 14px;
}

.footer-links ul li:first-child {
    padding-top: 0;
}

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

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-newsletter input[type="email"] {
    border: 0;
    padding: 10px 15px;
    width: 100%;
    border-radius: 5px 0 0 5px;
}

.footer-newsletter input[type="submit"] {
    background-color: var(--primary-color);
    border: 0;
    padding: 10px 15px;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

.footer-newsletter input[type="submit"]:hover {
    background-color: #ff8c3a;
}

.footer-newsletter form {
    display: flex;
    margin-top: 20px;
}

.copyright {
    background-color: #082d48;
    padding: 20px 0;
    color: #ddd;
    font-size: 14px;
}

.copyright p {
    margin-bottom: 0;
}

.credits {
    font-size: 13px;
}

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

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #ff8c3a;
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        background-color: var(--secondary-color);
        padding: 20px;
        border-radius: 5px;
        margin-top: 15px;
    }
    
    .carousel-caption h1 {
        font-size: 36px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .carousel-caption h1 {
        font-size: 28px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .feature {
        flex: 1 0 100%;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-info, .footer-links, .footer-newsletter {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .carousel-caption h1 {
        font-size: 24px;
    }
    
    .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
}