/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Mobile-First Approach */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.nav-links {
    display: none;
    list-style: none;
}

.nav-links li a {
    color: #2c3e50;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #3498db;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 2px 0;
    transition: all 0.3s;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-top: 60px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #3498db;
}

/* Projects Section */
.projects {
    padding: 60px 20px;
    background: #fff;
}

.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.project-card img {
    width: 100%;
    height: auto;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .project-images {
        flex-direction: row;
        gap: 15px;
    }

    .project-image {
        width: 48%; /* Approx half width on desktop */
        max-height: 150px; /* Adjusted for side-by-side */
    }
}

.project-card h3 {
    font-size: 1.3rem;
    margin: 15px;
}

.project-card p {
    margin: 0 15px 15px;
    color: #666;
}

.project-link {
    display: inline-block;
    margin: 0 15px 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.project-link:hover {
    text-decoration: underline;
}

/* Slider Styles */
.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.slide {
    min-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2c3e50; /* Dark navy from the first theme */
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-prev:hover, .slider-next:hover {
    background: #3498db; /* Blue accent from the first theme */
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    background: #ddd; /* Light gray to match the light theme */
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #3498db; /* Blue accent for active dot */
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .slide {
        max-height: 200px; /* Match original card height */
    }
        }

/* About Section */
.about {
    padding: 60px 20px;
    background: #f4f4f4;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 600px;
    margin: 0 auto 15px;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 20px;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.social-links a:hover {
    color: #3498db;
}

/* Media Queries for Desktop */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 20px;
    }
    .hamburger {
        display: none;
    }
    .hero h2 {
        font-size: 3.5rem;
    }
    .hero h3 {
        font-size: 2rem;
    }
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}l
