/* Reset and Base Styles */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px;
}

/* Enhanced Navbar */
.navbar {
    background-color: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-light) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.3rem;
    transition: var(--transition);
    position: relative;
}

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

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

/* Improved Hero Section */
.hero-section {
    height: 100vh;
    background-image: url('Gallery/cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin-top: -76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    background-color: var(--accent-color);
    border: none;
    transition: var(--transition);
}

/* Enhanced Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-features {
    margin-bottom: 1.5rem;
}

.card-features p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Enhanced Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.heart {
    color: #e74c3c;
    display: inline-block;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav {
        background-color: rgba(44, 62, 80, 0.95);
        padding: 1rem;
        border-radius: 10px;
    }
    .nav-link::after {
        background-color: transparent; /* Remove the blue line only on mobile */
    }
    .navbar-toggler {
        border-color: transparent; /* Remove default border */
    }

    .navbar-toggler-icon {
        background-image: none;
        color: white; /* Set the color of the toggler icon to white */
        font-size: 1.5rem;
    }

    .navbar-toggler-icon::before {
        content: "\2630"; /* Hamburger icon (unicode) */
        color: white; /* Set the icon color to white */
    }
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.enlarge-btn {
    width: 50px;
    height: 50px;
    background-color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enlarge-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.1);
}

/* Modal styles */
.modal-content {
    background-color: transparent;
    border: none;
}

.modal-body {
    padding: 0;
}

#enlargedImage {
    width: 100%;
    height: auto;
}
/* Team Section Styles */
.team-section {
    background-color: #f8f9fa;
}

.team-member {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid #3498db;
    transition: all 0.3s ease;
}

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

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.team-member p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}