/* Enhanced CSS Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #ff9900;
    --secondary-color: #0b3d91;
    --accent-color: #3c8dbc;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 6px 24px rgba(0, 0, 0, 0.12);
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #ff9900 0%, #ff6b00 100%);
}

body {
    line-height: 1.6;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

header .logo {
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .logo img {
    width: 100px;
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}



.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

#nav-icon {
    font-size: 28px;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 14, 14, 0.2);
}

.mobile-nav button {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

nav .cta {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

nav .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}



/* Hero Section */
.hero {
    /* background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%); */
    color: white;
    padding: 120px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
    /* opacity: 0.3; */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
        url('/assets/mauli1.jpg') center/cover no-repeat;
    filter: blur(4px);
    /* Adjust blur here */
    z-index: -1;
    transform: scale(1.05);
    /* Prevent edge blur cut-off */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Projects Section */
.projects-section {
    max-width: 1200px;
    margin: 60px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    color: #ff6a00;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    border-radius: 2px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
    position: relative;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 3px;
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    border-radius: 2px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-content p {
    color: #666;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-content p::before {
    content: '📍';
    font-size: 1.2rem;
}

/* Project Details Section */
.project-details {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.detail-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #ff6a00;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-title {
    font-size: 1.3rem;
    color: #ff6a00;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6a00;
    font-weight: bold;
}


/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 1rem;
}

.modal-content input {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-content button {
    padding: 0.7rem 2rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
}

.close-btn {
    position: relative;
    top: -20px;
    right: -160px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin: 60px 0 0;
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #ff6a00;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: #222;
    color: #ddd;
    text-align: center;
    padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-details {
        padding: 30px 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .close-btn {
        top: -2px;
        right: -140px;
        font-size: 20px;
    }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .close-btn {
        top: -2px;
        right: -140px;
        font-size: 20px;
    }

}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}