html {
    scroll-behavior: smooth;
}

:root {
    --branding-color: #6c63ff;
    --accent-color: #00bcd4;
    --secondary-color: #f9f7fe;

    --text-dark: #272142;
    --text-heading: #1a1a1a;
    --text-muted: #4a4a4a;

    --heading-font-family: "Playfair Display", serif;
    --default-font-family: "Poppins", sans-serif;
}

body {
    font-family: var(--default-font-family);
    color: var(--text-dark);
    margin: 0;
    background: linear-gradient(-45deg, #ffffff, #e0f7fa, #b2ebf2, #f0fdfa);
    background-size: 400% 400%;
    animation: gentleWaves 15s ease infinite;
}

@keyframes gentleWaves {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-family: var(--heading-font-family);
    font-weight: bold;
}

nav {
    padding: 20px 0;
}

nav ul {
    padding: 0;
    margin: 0;
}

nav li {
    display: inline;
    list-style: none;
    line-height: 42px;
    margin-left: 15px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 100ms ease-in-out;
}

nav a:hover,
nav li.active a {
    color: var(--accent-color);
}

footer {
    margin: 60px 0;
}

footer .contact-box {
    padding: 30px 120px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

footer .email-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 24px;
    transition: color 100ms ease-in-out;
}

footer .email-link:hover {
    color: var(--accent-color);
}

footer .social-links a {
    margin: 0 20px;
    color: var(--branding-color);
    background: var(--secondary-color);
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 18px;
    transition: all 100ms ease-in-out;
}

footer .social-links a:hover {
    color: white;
    background: var(--branding-color);
}

.btn-branding {
    background: var(--branding-color);
    border-radius: 6px;
    color: white;
    font-size: 16px;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    border: 2px solid var(--branding-color);
}

.btn-branding:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--branding-color);
    color: var(--branding-color);
    border-radius: 6px;
    font-size: 16px;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--branding-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.hero-title {
    font-size: 80px;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-family: var(--default-font-family);
}

.hero-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.fun-fact {
    background: rgba(108, 99, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--branding-color);
}

.fun-fact h3 {
    margin-top: 0;
    color: var(--branding-color);
    font-size: 20px;
}

.hero-image-container {
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.projects-grid,
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.project-card,
.toolkit-group {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);

    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.project-card:hover,
.toolkit-group:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.3);
}

.project-card img {
    border-radius: 8px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tags span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--branding-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.project-links .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    margin-top: 0;
}

.toolkit-group h3 {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.icon-list img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.text-skill {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-image-container {
        order: -1;
    }

    .hero-image {
        max-width: 250px;
    }

    footer .contact-box {
        padding: 30px 20px;
    }
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    margin-bottom: 60px;
}

.hero p {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    color: var(--text-muted);
}

.hero h2 {
    font-family: var(--heading-font-family);
    font-weight: normal;
    line-height: 1.5;
    font-size: 24px;
}

.project-desciption {
    padding: 120px 60px;
}

.btn-branding-outline {
    color: var(--branding-color);
    border: 1px solid var(--branding-color);
    border-radius: 4px;
    font-size: 18px;
    line-height: 27px;
    padding: 15px 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-branding-outline:hover {
    background: var(--branding-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

@media (max-width: 900px) {
    .project-desciption {
        padding: 0;
        text-align: center;
        margin-top: 30px;
    }
}

.btn-branding {
    background-color: var(--branding-color) !important;
    border: 2px solid var(--branding-color) !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-outline {
    background-color: transparent !important;
    border: 2px solid var(--branding-color) !important;
    color: var(--branding-color) !important;
    border-radius: 6px !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 40px !important;
}