html{
    scroll-behavior: smooth;
}


/* Reset Styles */
body, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    border-bottom: 1px solid grey;
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #111;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.navbar, main {
    width: 100%;
    max-width: 100vw;
}


/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.logo i {
    margin-right: 8px;
    font-size: 20px;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00c3ff;
}

/* Right Section (Icons + Button) */
.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.right-section i {
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.right-section i:hover {
    color: #00c3ff;
}


.instagram-link {
    font-size: 24px; 
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    -webkit-background-clip: text; 
    color: transparent; 
    transition: background 0.3s ease-in-out; 
}


.instagram-link:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); 
    -webkit-background-clip: text; 
    color: transparent; 
}

/* Contact Button */
.contact-btn {
    background: white;
    color: black;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
}

.contact-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}


/* Main Content */
main {
    padding: 50px 30px;
    background-color: #111; 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    width: 100%; 
    flex-direction: column; 
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background-color: #000; 
    width: 100%;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px; 
    width: 100%; 
    margin: 0 auto; 
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left; 
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.hero__cta a {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero__cta .btn--primary {
    background-color: #007bff;
    color: white;
}

.hero__cta .btn--primary:hover {
    background-color: #0056b3;
}

.hero__cta .btn--secondary {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.hero__cta .btn--secondary:hover {
    background-color: #007bff;
    color: white;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #007bff;
    box-shadow: 0 0 20px rgba(0,123,255,0.3);
}

/* About Me Section */
.about-me {
    padding: 50px 30px;
    background-color: #222; 
    color: white;
    text-align: center;
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; 
}

.about-me h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00c3ff; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 195, 255, 0.7); 
}

.about-me p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px; 
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
    text-align: justify; 
}




/* Tech Stack Section */
.tech-stack {
    padding: 50px 30px;
    background-color: #000000; 
    color: white;
    text-align: center;
    width: 100%; 
}

.tech-stack h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00c3ff; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 195, 255, 0.7); 
}

.tech-stack p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px; 
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #ccc;
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tech-stack p:hover {
    color: #00c3ff; 
    transform: scale(1.05); 
}

/* Tech Cards Container */
.tech-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Individual Card */
.tech-card {
    width: 300px; 
    height: 300px; 
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    position: relative;
}

.tech-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.5); 
}

.card-front {
    background: linear-gradient(45deg, #FF6F61, #FF7F50, #FF6347); 
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.card-front:hover {
    background: linear-gradient(45deg, #00c3ff, #0a74da, #0066cc); 
}

.card-front .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card-front p {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-front:hover .icon {
    transform: rotate(15deg); 
}

/* Card Back */
.card-back {
    background-color: #000000; 
    padding: 10px;
    display: none; 
    flex: 1;
    border-radius: 10px;
    text-align: center;
}

.tech-card:hover .card-back {
    display: block; 
}

.card-back .tech-item {
    background-color: #333;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
    font-size: 0.9rem;
    text-transform: capitalize;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card-back .tech-item:hover {
    background-color: #00c3ff;
    transform: scale(1.1);
}

/* Specific Card Colors */
.frontend .card-front {
    background: linear-gradient(45deg, #ff9a8b, #ff6a88, #d97b7b);
}

.backend .card-front {
    background: linear-gradient(45deg, #61c0bf, #6dbf82, #6fa35f);
}

.database .card-front {
    background: linear-gradient(45deg, #8b85ff, #4a0fee, #30045f);
}




/* Projects Section */
.projects {
    padding: 50px 30px;
    background-color: #222;
    color: white;
    text-align: center;
    width: 100%;
}

.projects h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00c3ff; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 195, 255, 0.7); 
}

.projects p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project Cards */
.project-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Individual Project Card */
.project-card {
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    background-color: #333;
    color: white;
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 25px rgba(0, 195, 255, 0.4);
}

.project-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #00c3ff;
}

.project-card .project-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.project-card .project-link {
    display: inline-block;
    background-color: #00c3ff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-card .project-link:hover {
    background-color: #009bb2; 
    transform: translateY(-3px); 
}

/* Mobile Responsive */

.testimonials {
    padding: 50px 30px;
    background-color: #000000;
    color: white;
    text-align: center;
    width: 100%;
}

.testimonials h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00c3ff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 195, 255, 0.7); 
}

.testimonials p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 350px;
    margin: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}
.testimonial-text {
    font-style: italic;
    color: #ddd;
}
.client-name {
    font-weight: bold;
    margin-top: 10px;
    color: #fff;
}
.client-role {
    font-size: 0.9em;
    color: #bbb;
}




/* General Styles */
.contact-section {
    display: flex;
    justify-content: space-between;
    padding: 50px;

}


.contact-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00c3ff; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 195, 255, 0.7); 
}


.contact-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.8rem;
    color: #007BFF; 
    margin-right: 10px;
}

.contact-link {
    text-decoration: none;
    color: #f4f1f1;
    font-size: 1.1rem;
}

/* Right Side Form */
.contact-form {
    flex: 1;
    background-color: #61b0d4;
    padding: 30px;
    margin-left: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007BFF;
}

.form-button {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: #0056b3;
}

.form-button:active {
    transform: scale(0.98);

}



.footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.logo i {
    margin-right: 8px;
    color: #0ba0fc;
}
.footer-text {
    font-size: 14px;
    opacity: 0.8;
}



/* ==================== 900px Breakpoint ==================== */
@media (max-width: 900px) {
    /* Hero Section Adjustments */
    .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero__cta {
        justify-content: center;
    }

    /* Tech Stack Cards */
    .tech-cards {
        justify-content: center;
    }

    /* Contact Section */
    .contact-section {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form {
        margin-left: 0;
    }
}

/* ==================== 600px Breakpoint ==================== */
@media (max-width: 600px) {
    /* Navbar Adjustments */
    .navbar {
        padding: 10px 15px;
    }

    nav ul {
        gap: 15px;
    }

    .right-section {
        gap: 10px;
    }

    /* Hero Section */
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    /* Tech Stack Cards */
    .tech-card {
        width: 100%;
    }

    /* Project Cards */
    .project-card {
        width: 100%;
    }

    /* Testimonials */
    .testimonial-card {
        width: 90%;
    }

    /* Contact Form */
    .contact-form {
        padding: 20px;
    }
}

/* ==================== 400px Breakpoint ==================== */
@media (max-width: 400px) {
    /* Navbar Adjustments */
    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .logo {
        font-size: 16px;
    }

    .contact-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Hero Section */
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    /* Section Headers */
    h2 {
        font-size: 2rem !important;
    }

    /* Tech Stack */
    .tech-stack p {
        font-size: 1rem;
    }

    /* Contact Section */
    .contact-icon {
        font-size: 1.5rem;
    }

    .contact-link {
        font-size: 1rem;
    }

    /* Form Elements */
    .form-input,
    .form-textarea {
        padding: 10px;
    }

    .form-button {
        padding: 10px 15px;
        font-size: 1rem;
    }
}

/* Existing 768px Media Query Adjustments */
@media (max-width: 768px) {
    /* Add these to ensure compatibility with existing styles */
    .navbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .right-section {
        margin-left: auto;
    }

    /* About Me Section */
    .about-me p {
        padding: 0 15px;
    }
}
