/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0f0f0f;
    color: #f0f0f0;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
}

/* Main Container */
.container {
    width: 100%;
    min-height: 100vh;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #f0f0f0;
    text-decoration: none;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    bottom: 5px;
    right: -10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #f0f0f0;
    cursor: pointer;
    z-index: 2;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4CAF50;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 68px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    color: #4CAF50;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #4CAF50;
    bottom: 10px;
    left: 0;
    transform: scaleX(0.3);
    transform-origin: left;
    animation: expand 3s ease-in-out infinite alternate;
}

@keyframes expand {
    0% { transform: scaleX(0.3); }
    100% { transform: scaleX(1); }
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    color: #c0c0c0;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #4CAF50;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #4CAF50;
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #f0f0f0;
}

.cta-button:hover::before {
    width: 100%;
}

/* Canvas Background */
#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Projects Section */
.projects {
    padding: 120px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #4CAF50;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    background-color: rgba(26, 26, 26, 0.7);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.project-description {
    font-size: 15px;
    line-height: 1.6;
    color: #c0c0c0;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tag {
    padding: 6px 12px;
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background-color: rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 120px 0;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(76, 175, 80, 0.3), transparent);
    top: 0;
    left: 0;
    pointer-events: none;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 42px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.about-title::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background-color: #4CAF50;
    left: 0;
    top: 0;
    border-radius: 3px;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #c0c0c0;
}

.skills {
    margin-top: 40px;
}

.skills-title {
    font-size: 26px;
    margin-bottom: 25px;
    color: #4CAF50;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tag {
    padding: 10px 20px;
    background-color: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: rgba(76, 175, 80, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    text-align: center;
    background-color: rgba(15, 15, 15, 0.7);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.1), transparent 60%);
    pointer-events: none;
}

.contact-title {
    font-size: 42px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background-color: #4CAF50;
    bottom: -15px;
    left: 20%;
}

.contact-description {
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #c0c0c0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(26, 26, 26, 0.7);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background-color: rgba(15, 15, 15, 0.8);
    color: #f0f0f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.form-control:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.submit-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4CAF50;
    color: #f0f0f0;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.submit-button:hover {
    background-color: #3e8e41;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100px;
    background-color: #0f0f0f;
    top: -50px;
    left: -50%;
    transform: rotate(2deg);
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.social-link {
    color: #f0f0f0;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #4CAF50;
}

.social-link:hover::before {
    width: 80%;
}

.footer-text {
    font-size: 14px;
    color: #c0c0c0;
    position: relative;
    z-index: 2;
}

.footer-textt {
    font-size: 15px;
    color: #c0c0c0;
    font-weight: 100;
    position: relative;
    z-index: 2;
}

/* Cursor Effect */
.cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #4CAF50;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 1;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .cursor, .cursor-follower {
        display: none;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-title, .contact-title {
        font-size: 32px;
    }
}




.notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.notification-content {
    background-color: #333;
    color: white;
    padding: 20px 30px;
    border-radius: 5px;
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.notification-button {
    background-color: #0078d4;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 14px;
}

.notification-button:hover {
    background-color: #0069b8;
}
