/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #222222;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #70dbdb;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Section dividers */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #008080, transparent);
}

.section:first-child::before {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, 0.7);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}



.hero-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #70dbdb;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 1.5rem;
    color: #70dbdb;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-location {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-location i {
    margin-right: 8px;
    color: #008080;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #008080, #70dbdb);
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.4);
}

/* About Section */
.about {
    background-color: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    /* text-align: justify; */
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    /* text-align: justify; */
}

.skills-grid {
    display: grid;
    gap: 2rem;
}

.skill-category h3 {
    color: #70dbdb;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background-color: #333333;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid #008080;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: #008080;
    transform: translateY(-2px);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.projects-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #008080, #70dbdb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #008080;
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    color: #70dbdb;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(112, 219, 219, 0.1);
}

.project-link:hover {
    color: #008080;
    background-color: rgba(0, 128, 128, 0.2);
    transform: scale(1.1);
}

.project-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    background-color: #333333;
    color: #70dbdb;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(112, 219, 219, 0.3);
}

/* Project video - clickable thumbnail (embed disabled by video owner) */
.project-video {
    margin: 1.5rem 0;
}

.project-video .video-thumbnail-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-video .video-thumbnail-link:focus {
    outline: 2px solid #70dbdb;
    outline-offset: 2px;
}

.project-video .video-wrapper.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #111;
}

.project-video .video-wrapper.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-video .video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    color: #70dbdb;
    font-size: 3rem;
    transition: background 0.3s ease;
}

.project-video .video-play-overlay span {
    font-size: 0.9rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.project-video .video-thumbnail-link:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.project-video .video-label {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #70dbdb;
    margin-bottom: 0;
}
/* Testimonials Section */
.testimonials {
    background-color: #1a1a1a;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.testimonials-carousel.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author strong {
    color: #70dbdb;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #999999;
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background-color: #333333;
    border: 1px solid #008080;
    color: #70dbdb;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.carousel-btn:hover {
    background-color: #008080;
    color: #ffffff;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #333333;
    border: 1px solid #008080;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #008080;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
}

.contact-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-info p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cccccc;
    text-decoration: none;
    padding: 15px 25px;
    background-color: #333333;
    border-radius: 50px;
    border: 1px solid #008080;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    background-color: #008080;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

.contact-link i {
    font-size: 1.2rem;
    color: #70dbdb;
}

.contact-link:hover i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #999999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

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



    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .carousel-controls {
        gap: 1rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

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

    .project-card {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .download-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }


}