@charset "utf-8";

:root {
    /* Font settings Segoe UI */
    --font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    --font-size-base: 17px; /* Increased by 0.5px */

    /* Color settings */
    --primary-color: #6266f3; /* Slightly altered */
    --secondary-color: #8d5efa; /* Slightly altered */
    --accent-color: #f39f0f; /* Slightly altered */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f182c 0%, #1f2a3d 50%, #322f83 100%); /* Slightly altered */
    color: var(--text-light);
    padding: 3.1rem 0 2.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="13" height="13" patternUnits="userSpaceOnUse"><path d="M 13 0 L 0 0 0 13" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
    opacity: 0.45;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 22% 82%, rgba(99, 102, 241, 0.11) 0%, transparent 50%),
        radial-gradient(circle at 82% 22%, rgba(139, 92, 246, 0.09) 0%, transparent 50%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    position: relative;
    z-index: 2;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem; /* Increased */
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 2.1rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 1rem; /* Increased */
    transition: all 0.3s ease;
    position: relative;
}

.footer-right a:hover {
    color: var(--text-light);
    transform: translateY(-1.5px);
}

.footer-right a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -4px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-right a:hover::after {
    width: 100%;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.6rem;
    }

    .footer-right {
        justify-content: center;
        gap: 1.6rem;
    }

    .footer-right a {
        font-size: 0.95rem; /* Increased */
    }
}

@media (max-width: 480px) {
    .footer-right {
        flex-direction: column;
        gap: 1.1rem;
    }
}

:root {
    --primary-color: #6568f3; /* Slightly altered */
    --secondary-color: #8d5ef8; /* Slightly altered */
    --accent-color: #f7a00d; /* Slightly altered */
    --accent-pink: #ed499b; /* Slightly altered */
    --accent-cyan: #07b7d6; /* Slightly altered */
    --text-primary: #0e162a; /* Slightly altered */
    --text-secondary: #65758c; /* Slightly altered */
    --text-light: #fefefe;
    --bg-primary: #fdfdfd;
    --bg-secondary: #f9fbff; /* Slightly altered */
    --bg-dark: #0e162a; /* Slightly altered */
    --bg-card: rgba(254, 254, 254, 0.98); /* Slightly altered */
    --gradient-primary: linear-gradient(135deg, #6780fc 0%, #774cb3 100%); /* Slightly altered */
    --gradient-secondary: linear-gradient(135deg, #f194fc 0%, #f6586d 100%); /* Slightly altered */
    --gradient-tertiary: linear-gradient(135deg, #50cfee 0%, #02f3ff 100%); /* Slightly altered */
    --gradient-elegant: linear-gradient(135deg, #6780fc 0%, #774cb3 50%, #f194fc 100%); /* Slightly altered */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.11), 0 2px 4px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.11), 0 4px 6px -2px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.11), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.26);
    --glass: rgba(255, 255, 255, 0.16);
    --glass-border: rgba(255, 255, 255, 0.21);
}

body {
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    line-height: 1.8; /* Increased */
    color: var(--text-primary);
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-primary);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(21px);
    z-index: 1000;
    padding: 1.05rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-lg);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 1.9rem; /* Increased */
    font-weight: 700;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.55px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.6rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.05rem; /* Increased */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.55rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1.5px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2.2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1.1px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.55rem;
    z-index: 1001;
}

.hamburger {
    width: 26px;
    height: 3.1px;
    background: var(--text-primary);
    margin: 3.1px 0;
    transition: all 0.3s ease;
    border-radius: 1.1px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-46deg) translate(-5.5px, 6.5px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(46deg) translate(-5.5px, -6.5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(14, 22, 41, 0.99);
    backdrop-filter: blur(21px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2.1rem 0;
    opacity: 0;
    transform: translateY(31px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-links a {
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 2.7rem; /* Increased */
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-links a:hover {
    transform: scale(1.06);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-elegant);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="11" height="11" patternUnits="userSpaceOnUse"><path d="M 11 0 L 0 0 0 11" fill="none" stroke="rgba(255,255,255,0.11)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 26s ease-in-out infinite;
    opacity: 0.75;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 21% 81%, rgba(255, 255, 255, 0.11) 0%, transparent 50%),
        radial-gradient(circle at 81% 21%, rgba(255, 255, 255, 0.11) 0%, transparent 50%);
    animation: pulse 4.1s ease-in-out infinite alternate;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 50%;
}

.shape-1 {
    width: 82px;
    height: 82px;
    top: 21%;
    left: 11%;
    animation: floatShape1 21s ease-in-out infinite;
}

.shape-2 {
    width: 122px;
    height: 122px;
    top: 61%;
    right: 16%;
    background: rgba(255, 255, 255, 0.09);
    animation: floatShape2 26s ease-in-out infinite reverse;
}

.shape-3 {
    width: 62px;
    height: 62px;
    top: 31%;
    right: 26%;
    background: rgba(255, 255, 255, 0.13);
    animation: floatShape3 19s ease-in-out infinite;
}

.shape-4 {
    width: 102px;
    height: 102px;
    bottom: 26%;
    left: 21%;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 21px;
    animation: floatShape4 23s ease-in-out infinite;
}

.shape-5 {
    width: 42px;
    height: 42px;
    top: 16%;
    right: 41%;
    background: rgba(255, 255, 255, 0.16);
    animation: floatShape5 17s ease-in-out infinite reverse;
}

.shape-6 {
    width: 142px;
    height: 142px;
    bottom: 16%;
    right: 11%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 31px;
    animation: floatShape6 29s ease-in-out infinite;
}

@keyframes floatShape1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-31px) translateX(21px) rotate(91deg);
    }

    50% {
        transform: translateY(-16px) translateX(-11px) rotate(181deg);
    }

    75% {
        transform: translateY(-41px) translateX(16px) rotate(271deg);
    }
}

@keyframes floatShape2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(26px) translateX(-21px) scale(1.11);
    }

    66% {
        transform: translateY(-21px) translateX(26px) scale(0.91);
    }
}

@keyframes floatShape3 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-26px) translateX(-31px) rotate(181deg);
    }
}

@keyframes floatShape4 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(21px) translateX(-16px) rotate(46deg);
    }

    50% {
        transform: translateY(-11px) translateX(31px) rotate(91deg);
    }

    75% {
        transform: translateY(16px) translateX(-21px) rotate(136deg);
    }
}

@keyframes floatShape5 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-36px) translateX(21px) scale(1.21);
    }
}

@keyframes floatShape6 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-16px) translateX(11px) rotate(61deg);
    }

    66% {
        transform: translateY(11px) translateX(-26px) rotate(121deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-21px) rotate(1.1deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.55;
    }

    100% {
        opacity: 0.85;
    }
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 2.1rem;
}

.hero-subtitle {
    font-size: 1.3rem; /* Increased */
    font-weight: 500;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(31px);
    animation: fadeInUp 1s ease 0.2s forwards;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 5.6rem; /* Increased */
    font-weight: 700;
    margin-bottom: 1.6rem;
    opacity: 0;
    transform: translateY(31px);
    animation: fadeInUp 1s ease 0.4s forwards;
    line-height: 1.12;
    letter-spacing: -1.1px;
}

.hero .subtitle {
    font-size: 1.5rem; /* Increased */
    margin-bottom: 3.1rem;
    opacity: 0;
    transform: translateY(31px);
    animation: fadeInUp 1s ease 0.6s forwards;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3.1rem;
    background: rgba(255, 255, 255, 0.21);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 51px;
    font-weight: 600;
    font-size: 1.05rem; /* Increased */
    transform: translateY(31px);
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2.1px solid rgba(255, 255, 255, 0.31);
    backdrop-filter: blur(11px);
    letter-spacing: 0.55px;
}

.cta-button:hover {
    transform: translateY(-3.5px);
    background: rgba(255, 255, 255, 0.26);
    box-shadow: 0 21px 41px rgba(0, 0, 0, 0.21);
    border-color: rgba(255, 255, 255, 0.41);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 41px;
    left: 50%;
    transform: translateX(-50%);
    width: 31px;
    height: 51px;
    border: 2.1px solid rgba(255, 255, 255, 0.65);
    border-radius: 26px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    border-color: rgba(255, 255, 255, 0.95);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    width: 6.2px;
    height: 6.2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2.1s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(21px);
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 8.2rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.1rem;
}

.section-title {
    text-align: center;
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 4rem; /* Increased */
    font-weight: 600;
    margin-bottom: 4.1rem;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 62px;
    height: 4.2px;
    background: var(--gradient-primary);
    bottom: -21px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2.1px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 11% 21%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1.4fr; /* Slightly altered */
    gap: 5.7rem; /* Slightly altered */
    align-items: center;
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    background: url('../images/smiling-girl-computer-desktop.jpg') center/cover;
    border-radius: 31px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(-2.1deg);
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.03);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.31) 0%, rgba(139, 92, 246, 0.21) 100%);
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 0.75;
}

.about-text h3 {
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 2.9rem; /* Increased */
    margin-bottom: 2.1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.32;
}

.about-text p {
    font-size: 1.3rem; /* Increased */
    color: var(--text-secondary);
    margin-bottom: 2.1rem;
    line-height: 1.85;
}

.skills {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-top: 3.1rem;
}

.skill-tag {
    padding: 0.8rem 1.6rem;
    background: var(--bg-card);
    color: var(--primary-color);
    border-radius: 31px;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.21);
    transition: all 0.3s ease;
    backdrop-filter: blur(11px);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2.5px);
    box-shadow: var(--shadow-lg);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.1rem;
    margin-top: 2.1rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(21px);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.21);
    backdrop-filter: blur(11px);
}

.portfolio-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-image {
    width: 100%;
    height: 185px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.portfolio-item:nth-child(1) .portfolio-image {
    background-image: url('../images/working-business-women.jpg');
}

.portfolio-item:nth-child(2) .portfolio-image {
    background-image: url('../images/computer-desk-stickers.jpg');
}

.portfolio-item:nth-child(3) .portfolio-image {
    background-image: url('../images/curved-display-pinky-girl.jpg');
}

.portfolio-item:nth-child(4) .portfolio-image {
    background-image: url('../images/dashboard-interfaces-transparent-displays.jpg');
}

.portfolio-item:nth-child(5) .portfolio-image {
    background-image: url('../images/marketing-strategy-women.jpg');
}

.portfolio-item:nth-child(6) .portfolio-image {
    background-image: url('../images/portfolio-website-girl.jpg');
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.31) 0%, rgba(0, 0, 0, 0.11) 100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.41) 0%, rgba(139, 92, 246, 0.31) 100%);
}

.portfolio-content {
    padding: 2.1rem;
}

.portfolio-content h4 {
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 1.7rem; /* Increased */
    margin-bottom: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1.6rem;
    line-height: 1.75;
    font-size: 1.1rem; /* Increased */
}

.portfolio-tech {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 0.45rem 1.05rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 21px;
    font-size: 0.87rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #3d4ecb 0%, #4c2e67 50%, #9e37aa 100%); /* Slightly altered */
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="8.5" height="8.5" patternUnits="userSpaceOnUse"><path d="M 8.5 0 L 0 0 0 8.5" fill="none" stroke="rgba(255,255,255,0.09)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
    animation: contactFloat 31s ease-in-out infinite;
    opacity: 0.65;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 26% 76%, rgba(255, 255, 255, 0.09) 0%, transparent 50%),
        radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 51% 51%, rgba(139, 92, 246, 0.11) 0%, transparent 70%);
    animation: contactPulse 6.1s ease-in-out infinite alternate;
}

/* Contact Floating Shapes */
.contact-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.contact-shape-1 {
    width: 72px;
    height: 72px;
    top: 16%;
    left: 9%;
    animation: contactFloatShape1 25s ease-in-out infinite;
}

.contact-shape-2 {
    width: 112px;
    height: 112px;
    top: 66%;
    right: 13%;
    background: rgba(255, 255, 255, 0.07);
    animation: contactFloatShape2 29s ease-in-out infinite reverse;
}

.contact-shape-3 {
    width: 57px;
    height: 57px;
    top: 26%;
    right: 31%;
    background: rgba(255, 255, 255, 0.11);
    animation: contactFloatShape3 21s ease-in-out infinite;
}

.contact-shape-4 {
    width: 92px;
    height: 92px;
    bottom: 21%;
    left: 19%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    animation: contactFloatShape4 27s ease-in-out infinite;
}

.contact-shape-5 {
    width: 37px;
    height: 37px;
    top: 13%;
    right: 46%;
    background: rgba(255, 255, 255, 0.13);
    animation: contactFloatShape5 19s ease-in-out infinite reverse;
}

.contact-shape-6 {
    width: 132px;
    height: 132px;
    bottom: 13%;
    right: 9%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 36px;
    animation: contactFloatShape6 33s ease-in-out infinite;
}

@keyframes contactFloatShape1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-26px) translateX(16px) rotate(91deg);
    }

    50% {
        transform: translateY(-11px) translateX(-9px) rotate(181deg);
    }

    75% {
        transform: translateY(-36px) translateX(13px) rotate(271deg);
    }
}

@keyframes contactFloatShape2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(21px) translateX(-16px) scale(1.06);
    }

    66% {
        transform: translateY(-16px) translateX(21px) scale(0.96);
    }
}

@keyframes contactFloatShape3 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-21px) translateX(-26px) rotate(181deg);
    }
}

@keyframes contactFloatShape4 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(16px) translateX(-13px) rotate(31deg);
    }

    50% {
        transform: translateY(-9px) translateX(26px) rotate(61deg);
    }

    75% {
        transform: translateY(13px) translateX(-19px) rotate(91deg);
    }
}

@keyframes contactFloatShape5 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-31px) translateX(16px) scale(1.16);
    }
}

@keyframes contactFloatShape6 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-13px) translateX(9px) rotate(46deg);
    }

    66% {
        transform: translateY(9px) translateX(-21px) rotate(91deg);
    }
}

@keyframes contactFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-16px) rotate(0.6deg);
    }

    66% {
        transform: translateY(-11px) rotate(-0.6deg);
    }
}

@keyframes contactPulse {
    0% {
        opacity: 0.45;
    }

    100% {
        opacity: 0.75;
    }
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact .section-title {
    color: var(--text-light);
    background: linear-gradient(135deg, #ffffff 0%, #e3e9f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-form {
    display: grid;
    gap: 2.1rem;
    margin-top: 3.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.1rem;
}

.form-group {
    display: grid;
    gap: 0.8rem;
    text-align: left;
}

.form-group label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.form-group input,
.form-group textarea {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.21);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-light);
    font-family: 'Roboto', 'Segoe UI',  'Arial', sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(11px);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.11);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.submit-btn {
    padding: 1.25rem 3.1rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 51px;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.1rem;
    letter-spacing: 0.55px;
}

.submit-btn:hover {
    transform: translateY(-3.5px);
    box-shadow: 0 21px 41px rgba(99, 102, 241, 0.31);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(41px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-61px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(61px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Comparison Cards */
.comparison-wrapper {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 23px; /* Slightly altered */
    padding: 2.1rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2.1rem;
    border: 1px solid rgba(0, 0, 0, 0.06); /* Added border */
}

.comparison-cards {
    display: flex;
    flex-direction: column;
    min-width: 800px;
}

.comparison-card {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Slightly altered */
}

.comparison-card:last-child {
    border-bottom: none;
}

.comparison-card.header-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px 16px 0 0;
}

.comparison-card.header-card .card-header {
    font-weight: 700;
    background: transparent;
}

.card-header {
    flex: 0 0 235px; /* Slightly altered */
    padding: 1.75rem; /* Slightly altered */
    font-weight: 600;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
}

.card-content {
    flex: 1;
    display: flex;
}

.product-name,
.feature-value {
    flex: 1;
    padding: 1.75rem; /* Slightly altered */
    text-align: center;
    font-weight: 500;
}

.feature-value.positive {
    color: #11bA82; /* Slightly altered */
    font-weight: bold;
}

.feature-value.negative {
    color: #f04545; /* Slightly altered */
}

.feature-value.neutral {
    color: #f69f0c; /* Slightly altered */
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.6rem;
    margin-top: 2.1rem;
}

.testimonial-card {
    background: var(--bg-primary);
    border-radius: 21px;
    padding: 2.6rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-11px);
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.6rem;
}

.testimonial-initials {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.55rem;
    font-weight: bold;
    margin-right: 1.6rem;
    flex-shrink: 0;
}

.testimonial-card:nth-child(5n+1) .testimonial-initials { background: var(--gradient-primary); }
.testimonial-card:nth-child(5n+2) .testimonial-initials { background: var(--gradient-secondary); }
.testimonial-card:nth-child(5n+3) .testimonial-initials { background: var(--gradient-tertiary); }
.testimonial-card:nth-child(5n+4) .testimonial-initials { background: linear-gradient(135deg, var(--accent-pink), var(--accent-color)); }
.testimonial-card:nth-child(5n+5) .testimonial-initials { background: linear-gradient(135deg, var(--accent-cyan), var(--primary-color)); }


.testimonial-info {
    line-height: 1.42;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.2rem; /* Increased */
    color: var(--text-primary);
}

.testimonial-title {
    color: var(--text-secondary);
    font-size: 1rem; /* Increased */
}

.testimonial-body p {
    font-style: italic;
    line-height: 1.75;
    color: #344256;
    margin-bottom: 1.6rem;
    position: relative;
    padding-left: 2.1rem;
    font-size: 1.1rem; /* Increased */
}

.testimonial-body p::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -0.6rem;
    font-size: 3.1rem;
    color: var(--primary-color);
    opacity: 0.22;
    font-family: Georgia, serif;
}

.testimonial-rating {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.12rem;
}


/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 4.1rem;
    }

    .hero h1 {
        font-size: 4.4rem; /* Increased */
    }

    .comparison-wrapper {
        padding: 1.1rem;
    }

    .card-header {
        flex: 0 0 200px;
        padding: 1.1rem;
        font-size: 0.92rem;
    }

    .product-name,
    .feature-value {
        padding: 1.1rem;
        font-size: 0.87rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3.4rem; /* Increased */
    }

    .hero .subtitle {
        font-size: 1.2rem; /* Increased */
    }

    .section-title {
        font-size: 2.8rem; /* Increased */
    }

    .portfolio-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.6rem;
    }

    section {
        padding: 5.1rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .about-text h3 {
        font-size: 2.3rem; /* Increased */
    }

    .skills {
        margin-top: 2.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem; /* Increased */
    }

    .section-title {
        font-size: 2.3rem; /* Increased */
    }

    .nav-container {
        padding: 0 1.1rem;
    }

    .container {
        padding: 0 1.1rem;
    }
}