:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #34495e;
    --light-bg: #f0f9f4;
}

/* General Styles */
body {
    padding-top: 76px;
    font-family: 'Arial', sans-serif;
    background-color: var(--light-bg);
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 100;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.navbar-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, height 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 45px;
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(46, 204, 113, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--light-bg);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-logo {
        height: 45px;
    }
}

/* Hero Section */
.hero {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/static/images/b_a/one.jpg'); */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0;
    /* margin-top: -76px; */
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero .lead {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Section */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.form-label {
    color: var(--secondary-color);
    font-weight: 500;
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
}

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

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

/* Section Headers */
section h2 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .hero {
        padding: 80px 0;
    }
}

/* Gallery Section */
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    z-index: 1;
}

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

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

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

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

.gallery-text {
    text-align: center;
    color: white;
    padding: 1rem;
}

.gallery-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-text p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
} 


.resume-div {
    width: 33%;
    background-image: url('/static/images/resume.png');
    background-position: center;
    background-size: cover;
}




