/* Custom Variables */
:root {
    --primary-blue: #0d6efd;
    --primary-green: #198754;
    --dark-blue: #0a58ca;
    --dark-green: #146c43;
    --light-blue: #e7f1ff;
    --light-green: #e8f5e9;
    --header-height: 400px;
    --carousel-height: 500px;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    --gradient-dark: linear-gradient(135deg, #212529 0%, #343a40 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-header: linear-gradient(135deg, rgba(13,110,253,0.95) 0%, rgba(25,135,84,0.95) 100%);
    --navbar-height: 76px;
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: var(--gradient-dark) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    border-radius: 8px;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Headers */
header {
    position: relative;
    overflow: hidden;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    background: var(--gradient-header);
    margin-top: var(--navbar-height);
    padding: 4rem 0;
}

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

header .row {
    align-items: center;
}

header h1, header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    color: white;
}

header img {
    max-height: 250px;
    width: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Page Headers */
.gallery-header,
.services-header,
.team-header,
.contact-header {
    background: var(--gradient-header);
    padding: 4rem 0;
    margin-top: var(--navbar-height);
    text-align: center;
    color: white;
}

.gallery-header h1,
.services-header h1,
.team-header h1,
.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gallery-header p,
.services-header p,
.team-header p,
.contact-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    border: none;
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

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

.card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    height: 250px;
    object-fit: cover;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

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

.btn-success {
    background: var(--gradient-primary);
    border: none;
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 1rem;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}

/* Contact Section */
.contact-info i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    border-radius: 50%;
    margin-right: 10px;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

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

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

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --header-height: 350px;
        --carousel-height: 400px;
        --navbar-height: 66px;
    }

    header {
        padding: 3rem 0;
        min-height: auto;
    }

    header h1, header h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    header p {
        font-size: 1rem;
    }

    header img {
        max-height: 200px;
        margin-top: 1.5rem;
    }

    .gallery-header,
    .services-header,
    .team-header,
    .contact-header {
        padding: 3rem 0;
    }

    .gallery-header h1,
    .services-header h1,
    .team-header h1,
    .contact-header h1 {
        font-size: 2rem;
    }

    .gallery-header p,
    .services-header p,
    .team-header p,
    .contact-header p {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .section-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .team-card img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 300px;
        --carousel-height: 350px;
    }

    header {
        padding: 2rem 0;
    }

    header h1, header h2 {
        font-size: 1.8rem;
    }

    header img {
        max-height: 150px;
    }

    .gallery-header,
    .services-header,
    .team-header,
    .contact-header {
        padding: 2rem 0;
    }

    .gallery-header h1,
    .services-header h1,
    .team-header h1,
    .contact-header h1 {
        font-size: 1.8rem;
    }

    .gallery-header p,
    .services-header p,
    .team-header p,
    .contact-header p {
        font-size: 0.9rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Image Modal */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-blue);
    color: white;
}

.modal-body img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.service-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.team-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--light-blue);
    transition: all 0.3s ease;
}

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

.team-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Progress Bars */
.progress {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: var(--primary-blue);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--light-blue);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Carousel Styles */
#heroCarousel {
    height: var(--carousel-height);
    margin-top: var(--navbar-height);
    margin-bottom: 4rem;
}

.carousel-item {
    height: var(--carousel-height);
    background: var(--gradient-header);
}

.carousel-image-container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.carousel-item.active img {
    transform: scale(1);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
    padding: 0 1rem;
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    background-size: 50%;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

.bg-gradient-light {
    background: var(--gradient-light);
}

/* Section Headers */
.section-header {
    position: relative;
    padding: 3rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
} 