:root {
    /* Colors */
    --primary-color: #007bff;
    --primary-hover: #0069d9;
    --text-color: #333;
    --text-light: #555;
    --text-lighter: #4f4b4b;
    --text-dark: #222;
    --text-darker: #282626;
    --bg-color: #f3f4ff;
    --white: #ffffff;
    --black: #000000;
    --footer-bg: #222;
    --footer-text: #aaa;
    --footer-border: #444;

    /* Fonts */
    --font-main: "Inter", sans-serif;
    --font-heading: "Sora", sans-serif;

    /* Spacing */
    --section-padding: 30px;
    --mobile-section-padding: 40px;
    --content-padding: 0 86px;
    --mobile-content-padding: 0 20px;

    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.09);
    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Sora:wght@100..800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

section {
    padding: var(--section-padding) 10%;
    /* padding: var(--content-padding); */
    width: 100%;
    min-height: 90vh;
    scroll-snap-align: start;
}

span.highlight {
    color: var(--primary-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 86px;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 9;
}

.logo {
    font-weight: bold;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-fast);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.hire-me {
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.hire-me:hover {
    background-color: var(--primary-hover);
}

/* Mobile Menu Toggle Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--transition-fast);
    margin: 0;
}

.menu-toggle span:nth-child(1) {
    margin-bottom: 5px;
}

.menu-toggle span:nth-child(2) {
    margin-bottom: 5px;
}

/* Active state transformations */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: all var(--transition-medium);
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        left: 0;
    }

    .hire-me {
        display: none;
    }

    header {
        padding: 15px 5%;
    }

    nav {
        display: flex;
        align-items: center;
        gap: 20px;
    }
}

#hero {
    display: flex;
    align-items: end;
}

.sub-hero {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    padding: 80px 0;
}

#hero h1 {
    font-size: 24px;
    font-weight: normal;
}

#hero h2 {
    font-size: 64px;
    font-weight: bolder;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: normal;
    color: var(--text-dark);
}

#hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-image {
    position: relative;
    width: 450px;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.hero-image img {
    z-index: 8;
    height: 500px;
    width: 100%;
    object-fit: contain;
}

.hero-image .circle {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.2;
    top: 25%;
}

.hero-image .sub-circle {
    position: absolute;
    width: 425px;
    height: 425px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.4;
    top: 30%;
}

/* Section titles */
.section-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.section-title .highlight {
    display: block;
    margin-bottom: 5px;
}

.section-heading {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: normal;
    color: var(--text-darker);
    text-align: center;
}

.section-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-lighter);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About section styles */
#about {
    background-color: var(--white);
}

.tools {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 0;
}

.tools-title {
    font-size: 18px;
    text-align: center;
    color: var(--text-dark);
}

.tools ul {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    gap: 15px;
}

.tools ul li {
    padding: 8px 15px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    color: var(--primary-color);
}

.about-content {
    display: flex;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: normal;
    color: var(--text-dark);
}

.about-text .para {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-lighter);
}

#about .stats {
    display: grid;
    grid-template-columns: repeat(2, 210px);
    gap: 20px;
}

#about .stat-item {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    text-align: center;
}

#about .stat-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

#about .stat-item h3 {
    font-size: 32px;
    color: var(--text-darker);
    margin-bottom: 5px;
}

#about .stat-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Skill section styles */
#skills {
    padding-bottom: 80px;
}

#skills .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#skills .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform var(--transition-fast);
}

#skills .stat-item:hover {
    transform: translateY(-5px);
}

#skills .stat-item img {
    width: 35px;
    height: 35px;
    margin-bottom: 15px;
}

#skills .stat-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-darker);
    margin-bottom: 10px;
}

#skills .stat-item p {
    font-size: 14px;
    color: var(--text-lighter);
    line-height: 1.5;
}

/* Project section styles */
#projects {
    background-color: var(--white);
    padding-bottom: 80px;
}

#projects .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#projects .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    text-align: center;
    overflow: hidden;
    transition: transform var(--transition-fast);
}

#projects .stat-item:hover {
    transform: translateY(-5px);
}

#projects .stat-item img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-fast);
}

#projects .stat-item:hover img {
    transform: scale(1.05);
}

#projects .stat-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-darker);
    padding: 15px 0;
    width: 100%;
}

/* Contact section styles */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-container .hero-image {
    position: relative;
    width: 550px;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.contact-container .hero-image img {
    z-index: 10;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.contact-container .hero-image .circle {
    position: absolute;
    width: 475px;
    height: 475px;
    border-radius: 50%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0.1;
    top: 25%;
}

.contact-container .hero-image .sub-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0.2;
    top: 30%;
}

.contact-form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    width: 480px;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control,
.submit-btn {
    width: 100%;
    padding: 6px 6px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

textarea.form-control {
    min-height: 60px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 10% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    grid-column: span 1;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--footer-text);
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact a {
    text-decoration: none;
    /* removes underline */
    color: var(--footer-text);
    /* sets text color to white */
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-links h4,
.footer-tools h4,
.footer-contact h4,
.social-icons h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-tools h4::after,
.footer-contact h4::after,
.social-icons h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-tools ul,
.social-icons ul {
    list-style: none;
}

.footer-links li,
.footer-tools li,
.social-icons li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-tools a,
.social-icons a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-tools a:hover,
.social-icons a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--footer-text);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.social-icons a {
    color: var(--white);
    background-color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
    font-size: 14px;
}


.swal-high-zindex {
    z-index: 99999999 !important;
}
/* Responsive Styles */
@media (max-width: 1200px) {
    section {
        padding: var(--section-padding) 5%;
        height: auto;
        padding: var(--mobile-content-padding);
    }

    header {
        padding: 20px 5%;
    }

    .hero-content h2 {
        font-size: 56px;
    }

    .hero-image {
        width: 400px;
    }

    .contact-container .hero-image {
        width: 450px;
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 48px;
    }

    .hero-image {
        width: 350px;
    }

    .hero-image .circle,
    .hero-image .sub-circle {
        width: 350px;
        height: 350px;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    #about .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    #skills .stats,
    #projects .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-container .hero-image {
        width: 100%;
        max-width: 500px;
    }

    .contact-form {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    header {
        padding: 15px 5%;
    }

    .sub-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
    }

    .hero-image .circle,
    .hero-image .sub-circle {
        width: 300px;
        height: 300px;
    }

    .tools ul {
        justify-content: center;
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    #about .stats,
    #skills .stats,
    #projects .stats {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-tools h4::after,
    .footer-contact h4::after,
    .social-icons h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons ul {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}
