* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --primary-light: #3182ce;
    --primary-dark: #1a202c;
    --accent-color: #ffd700;
    --accent-hover: #ffed4e;
    --accent-secondary: #ff6b6b;
    --accent-tertiary: #4cd137;
    --accent-quaternary: #9c88ff;
    --text-dark: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 10px 20px rgba(49, 130, 206, 0.15);
    --shadow-accent: 0 10px 20px rgba(255, 215, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --border-radius-full: 50px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-white);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    background-attachment: fixed;
}

/* Decorative Elements */
.decorative-shape {
    position: fixed;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
    display: none; /* Hide all decorative shapes */
}

.shape-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(49, 130, 206, 0.05), rgba(255, 215, 0, 0.05));
    top: 20%;
    right: 5%;
    animation: float-slow 20s ease-in-out infinite alternate;
}

.shape-square {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(49, 130, 206, 0.05), rgba(49, 130, 206, 0.02));
    bottom: 15%;
    left: 5%;
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 120px solid rgba(49, 130, 206, 0.03);
    top: 60%;
    right: 10%;
}

.shape-plus {
    width: 80px;
    height: 80px;
    background: rgba(49, 130, 206, 0.03);
    top: 40%;
    left: 10%;
    position: fixed;
}

.shape-plus::before,
.shape-plus::after {
    content: '';
    position: absolute;
    background: rgba(255, 215, 0, 0.1);
}

.shape-plus::before {
    width: 100%;
    height: 30%;
    top: 35%;
    left: 0;
}

.shape-plus::after {
    width: 30%;
    height: 100%;
    top: 0;
    left: 35%;
}

.shape-dots {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.05) 3px, transparent 3px) 0 0 / 20px 20px;
    bottom: 30%;
    right: 20%;
    border-radius: 50%;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(45deg); }
}

::selection {
    background-color: var(--primary-light);
    color: white;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    animation: loading 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loading {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.nav-logo:hover .logo {
    transform: rotate(5deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.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="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-left: 40px;
}

.hero-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transform: translateY(-50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 215, 0, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature i {
    color: var(--accent-color);
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.code-animation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.code-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.5;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.code-line {
    height: 24px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin: 15px 0;
    border-radius: var(--border-radius-sm);
    animation: typing 2.5s infinite;
    position: relative;
    overflow: hidden;
}

.code-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.code-line:nth-child(1) {
    width: 95%;
}

.code-line:nth-child(2) {
    width: 80%;
    animation-delay: 0.5s;
}

.code-line:nth-child(3) {
    width: 60%;
    animation-delay: 1s;
}

.code-line:nth-child(4) {
    width: 90%;
    animation-delay: 1.5s;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* animation: float-around 10s linear infinite;
    animation-delay: var(--delay, 0s); */
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 20%;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 15%;
}

.floating-icon:nth-child(3) {
    top: 30%;
    right: 20%;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 15%;
}

.floating-icon:nth-child(5) {
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes float-around {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -10px);
    }
    50% {
        transform: translate(0, 15px);
    }
    75% {
        transform: translate(-10px, -5px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes typing {
    0%, 50% { opacity: 0.3; }
    25% { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.hero-scroll-indicator a:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.hero-scroll-indicator span {
    margin-bottom: 8px;
}

.hero-scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Background Elements */
.bg-element {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.bg-element-5 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(49, 130, 206, 0.03) 0%, rgba(49, 130, 206, 0.01) 100%);
    top: 150vh;
    left: 30%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: none; /* Hide the additional background elements */
}

.bg-element-6 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.02) 0%, rgba(255, 215, 0, 0.01) 100%);
    top: 220vh;
    right: 15%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: none; /* Hide the additional background elements */
}

.bg-element-7 {
    width: 120px;
    height: 120px;
    background: linear-gradient(to right, rgba(49, 130, 206, 0.02) 0%, transparent 100%);
    top: 280vh;
    left: 10%;
    clip-path: circle(50% at 50% 50%);
    display: none; /* Hide the additional background elements */
}

/* Geometric shapes for background */
.bg-element-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.05) 0%, rgba(49, 130, 206, 0.02) 100%);
    top: 120vh;
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.bg-element-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.03) 0%, rgba(255, 215, 0, 0.01) 100%);
    top: 180vh;
    left: 0;
    clip-path: circle(50% at 0 50%);
}

.bg-element-3 {
    width: 100%;
    height: 300px;
    background: linear-gradient(to right, rgba(49, 130, 206, 0.02) 0%, transparent 100%);
    top: 240vh;
    left: 0;
    clip-path: polygon(0 0, 100% 30%, 100% 70%, 0% 100%);
}

.bg-element-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.02) 0%, transparent 100%);
    top: 300vh;
    right: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* About Section */
.about {
    padding: 60px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about {
    --scroll-offset: 0px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(49, 130, 206, 0.08) 100%);
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * 0.5));
    animation: color-shift 15s infinite alternate;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(255, 215, 0, 0.05) 70%);
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * -0.3));
    animation: pulse-slow 10s infinite alternate;
}

@keyframes pulse-slow {
    0% { transform: scale(1) translateY(calc(var(--scroll-offset) * -0.3)); opacity: 0.5; }
    100% { transform: scale(1.2) translateY(calc(var(--scroll-offset) * -0.3)); opacity: 0.8; }
}

@keyframes color-shift {
    0% { background: linear-gradient(135deg, transparent 0%, rgba(49, 130, 206, 0.08) 100%); }
    50% { background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 107, 0.08) 100%); }
    100% { background: linear-gradient(135deg, transparent 0%, rgba(76, 209, 55, 0.08) 100%); }
}

.section-header {
    text-align: left;
    margin-bottom: 2rem;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    background-image: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(49, 130, 206, 0.2);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
    border-radius: 4px;
    animation: width-pulse 3s infinite alternate;
}

@keyframes width-pulse {
    0% { width: 60px; }
    100% { width: 100px; }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1.2rem;
    max-width: 90%;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-mission {
    font-style: italic;
    border-left: 3px solid var(--primary-light);
    background: rgba(49, 130, 206, 0.03);
    padding: 1.25rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.value-item {
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.value-item:nth-child(1) {
    border-top: 3px solid var(--accent-color);
}

.value-item:nth-child(2) {
    border-top: 3px solid var(--accent-secondary);
}

.value-item:nth-child(3) {
    border-top: 3px solid var(--accent-tertiary);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-colored);
}

.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(49, 130, 206, 0.05) 50%);
    z-index: 0;
    border-radius: 0 0 0 100px;
    opacity: 0;
    transition: var(--transition);
}

.value-item:hover::after {
    opacity: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: all 0.5s ease;
    position: relative;
}

.value-item:nth-child(1) .value-icon {
    background: rgba(255, 215, 0, 0.1);
}

.value-item:nth-child(2) .value-icon {
    background: rgba(255, 107, 107, 0.1);
}

.value-item:nth-child(3) .value-icon {
    background: rgba(76, 209, 55, 0.1);
}

.value-icon i {
    font-size: 1.8rem;
    transition: all 0.5s ease;
}

.value-item:nth-child(1) .value-icon i {
    color: #ffc107;
}

.value-item:nth-child(2) .value-icon i {
    color: #ff6b6b;
}

.value-item:nth-child(3) .value-icon i {
    color: #4cd137;
}

.value-item:hover .value-icon {
    transform: rotateY(180deg) scale(1.1);
}

.value-item:nth-child(1):hover .value-icon {
    background: #ffc107;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.value-item:nth-child(2):hover .value-icon {
    background: #ff6b6b;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.value-item:nth-child(3):hover .value-icon {
    background: #4cd137;
    box-shadow: 0 5px 15px rgba(76, 209, 55, 0.3);
}

.value-item:hover .value-icon i {
    color: white;
    transform: rotateY(180deg);
}

.value-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat {
    text-align: center;
    background: var(--bg-white);
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat:nth-child(1) {
    background: linear-gradient(to bottom right, var(--bg-white) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.stat:nth-child(2) {
    background: linear-gradient(to bottom right, var(--bg-white) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.stat:nth-child(3) {
    background: linear-gradient(to bottom right, var(--bg-white) 0%, rgba(76, 209, 55, 0.05) 100%);
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat:hover::before {
    opacity: 1;
    animation: rotate 15s linear infinite;
}

.stat:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-colored);
}

.stat:nth-child(1):hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.stat:nth-child(2):hover {
    border-color: rgba(255, 107, 107, 0.3);
}

.stat:nth-child(3):hover {
    border-color: rgba(76, 209, 55, 0.3);
}

.stat h4 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.stat:nth-child(1) h4 {
    background-image: linear-gradient(45deg, var(--primary-light), var(--accent-color));
    text-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.stat:nth-child(2) h4 {
    background-image: linear-gradient(45deg, var(--primary-light), var(--accent-secondary));
    text-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.stat:nth-child(3) h4 {
    background-image: linear-gradient(45deg, var(--primary-light), var(--accent-tertiary));
    text-shadow: 0 5px 15px rgba(76, 209, 55, 0.2);
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Projects Section */
.projects {
    padding: 60px 0 60px;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
    --scroll-offset: 0px;
}

.projects::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.08) 0%, rgba(49, 130, 206, 0.03) 70%);
    z-index: 0;
    animation: pulse-slow 12s infinite alternate-reverse;
}

.projects::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.03) 70%);
    z-index: 0;
    /* animation: pulse-slow 15s infinite alternate; */
}

.profile-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(49, 130, 206, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
}

.profile-image {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-light), transparent, var(--accent-color));
    z-index: -1;
    opacity: 0.5;
    animation: rotate 10s linear infinite;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.profile-card:hover .profile-placeholder {
    transform: scale(1.1);
}

.profile-info h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.profile-details {
    margin-bottom: 1.5rem;
}

.profile-details p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-details i {
    color: var(--primary-light);
}

.profile-badge {
    margin: 1rem 0;
}

.profile-badge span {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(72, 187, 120, 0.2);
    display: inline-block;
    transition: all 0.3s ease;
}

.profile-badge span:hover {
    background: rgba(72, 187, 120, 0.2);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    padding: 40px 0 40px;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.projects {
    --scroll-offset: 0px;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, transparent 70%);
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * 0.3));
}

.projects::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.03);
    z-index: 0;
    /* transform: translateY(calc(var(--scroll-offset) * -0.4)); */
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-light);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.project-card.web {
    border-left: 3px solid var(--accent-color);
}

.project-card.data {
    border-left: 3px solid var(--accent-secondary);
}

.project-card.mobile {
    border-left: 3px solid var(--accent-tertiary);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-card.web:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.project-card.data:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.1);
}

.project-card.mobile:hover {
    border-color: var(--accent-tertiary);
    box-shadow: 0 20px 40px rgba(76, 209, 55, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, rgba(49, 130, 206, 0.08) 50%);
    z-index: 0;
    border-radius: 0 0 0 120px;
    transition: all 0.4s ease;
}

.project-card.web::before {
    background: linear-gradient(135deg, transparent 50%, rgba(255, 215, 0, 0.08) 50%);
}

.project-card.data::before {
    background: linear-gradient(135deg, transparent 50%, rgba(255, 107, 107, 0.08) 50%);
}

.project-card.mobile::before {
    background: linear-gradient(135deg, transparent 50%, rgba(76, 209, 55, 0.08) 50%);
}

.project-card:hover::before {
    width: 140px;
    height: 140px;
    opacity: 0.8;
}

.project-card.web:hover::before {
    background: linear-gradient(135deg, transparent 50%, rgba(255, 215, 0, 0.12) 50%);
}

.project-card.data:hover::before {
    background: linear-gradient(135deg, transparent 50%, rgba(255, 107, 107, 0.12) 50%);
}

.project-card.mobile:hover::before {
    background: linear-gradient(135deg, transparent 50%, rgba(76, 209, 55, 0.12) 50%);
}

.project-card.featured {
    grid-column: span 2;
}

.project-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card.web .project-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffc107 100%);
}

.project-card.data .project-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
}

.project-card.mobile .project-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4cd137 100%);
}

.project-card:hover .project-image {
    height: 180px;
}

.project-image::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="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.15)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.project-overlay {
    color: white;
    font-size: 3.5rem;
    z-index: 1;
    transition: all 0.4s ease;
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-overlay::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: scale(1.2) rotate(10deg);
    background: rgba(255, 255, 255, 0.2);
}

.project-card:hover .project-overlay::after {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.project-badge span {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.project-card.web .project-badge span {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.project-card.data .project-badge span {
    background: var(--accent-secondary);
    color: white;
}

.project-card.mobile .project-badge span {
    background: var(--accent-tertiary);
    color: white;
}

.project-card:hover .project-badge span {
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    padding: 0.5rem 1.2rem;
}

.project-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.5) 100%);
    transition: all 0.4s ease;
}

.project-card:hover .project-content {
    padding-top: 2rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(248, 250, 252, 0.8) 100%);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-date {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-status {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.project-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    background: rgba(49, 130, 206, 0.08);
    color: var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(49, 130, 206, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tech-stack span:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(49, 130, 206, 0.2);
}

.project-features {
    margin-top: auto;
}

.project-features h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.project-features h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.project-features ul {
    list-style: none;
}

.project-features li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.project-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.projects-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Skills Section */
.skills {
    padding: 40px 0 40px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skills {
    --scroll-offset: 0px;
}

.skills::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="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(26, 54, 93, 0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.7;
    z-index: -1;
    transform: translateY(calc(var(--scroll-offset) * 0.2));
}

.skills::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.05) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * -0.5));
}

.skills::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.1) 0%, rgba(49, 130, 206, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
}

.skill-category i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-items span {
    background: var(--primary-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(49, 130, 206, 0.2);
}

.skill-items span:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
    background: var(--primary-color);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.section-tag {
    display: inline-block;
    background: rgba(49, 130, 206, 0.1);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-shape {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.05) 0%, rgba(49, 130, 206, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.services-intro {
    padding-right: 2rem;
}

.services-intro h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.services-intro p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.services-cta {
    margin-top: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(49, 130, 206, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-light);
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 40px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials {
    --scroll-offset: 0px;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L50,0 L25,25 L0,25 Z" fill="rgba(49, 130, 206, 0.03)"/></svg>');
    background-size: 100px 100px;
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -1;
    transform: translateY(calc(var(--scroll-offset) * 0.3));
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.05) 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * -0.4));
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="3" cy="3" r="3" fill="%233182ce" fill-opacity="0.1"/></svg>');
    opacity: 0.5;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    position: relative;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 2.5rem;
    color: rgba(49, 130, 206, 0.1);
    z-index: 0;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-rating {
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    padding: 40px 0 40px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 100%);
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact {
    --scroll-offset: 0px;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * 0.4));
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transform: translateY(calc(var(--scroll-offset) * -0.3));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    margin-bottom: 2.5rem;
}

.contact-intro h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.contact-intro p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-item:hover i {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--accent-color);
}

.contact-social h4 {
    color: white;
    margin-bottom: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    font-family: inherit;
    color: white;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-color), var(--primary-light));
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    display: inline-block;
    position: relative;
}

.footer-logo h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact {
    margin-top: 2rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer .social-links {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.footer .social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.5rem;
}

.footer .social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.newsletter h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: var(--accent-color);
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.footer-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.1) 0%, rgba(49, 130, 206, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}

.heart {
    color: #e53e3e;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Success Message Styling */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 3rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .about-content, 
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-intro {
        padding-right: 0;
        text-align: center;
    }
    
    .services-cta {
        display: flex;
        justify-content: center;
    }
    
    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Fluid grid adjustments */
    .projects-grid,
    .skills-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .project-card.featured {
        grid-column: auto;
    }
    
    .footer-logo p {
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    /* Hide profile card on mobile */
    .about-image {
        display: none;
    }
    
    /* Make about section full width when profile is hidden */
    .about-text {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .projects-grid,
    .services-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        height: 40px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Adjust section padding for better mobile experience */
    section {
        padding: 40px 0;
    }
}

/* Additional fluid responsive adjustments */
@media (max-width: 480px) {
    .project-content h3 {
        font-size: 1.3rem;
    }
    
    .tech-stack {
        flex-wrap: wrap;
    }
    
    .tech-stack span {
        margin-bottom: 0.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem;
    }
}
/* Maintain reduced whitespace but with professional styling */
.about, .projects, .skills, .services, .testimonials, .contact {
    padding: 30px 0 40px; /* Reduced from 40px 0 60px */
}

/* Reduce card padding while maintaining professional look */
.project-content {
    padding: 1.5rem; /* Reduced from 2rem */
}

/* Reduce spacing between elements inside cards */
.project-content h3 {
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    font-size: 1.4rem; /* Slightly smaller */
}

.project-content p {
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.tech-stack {
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

/* Modify hover effects to be more professional */
.project-card:hover {
    transform: translateY(-10px); /* Reduced from -15px */
    box-shadow: var(--shadow-lg);
}

/* Modify value items and stats layout */
.about-values, .stats {
    gap: 1rem; /* Reduced from 1.5rem and 2rem */
}

.value-item, .stat {
    padding: 1.25rem 1rem; /* Reduced from 1.5rem 1rem */
}
/* Add this at the end of your CSS file */
@media screen and (max-width: 768px) {
    .hero-image .code-animation,
    .floating-elements {
        display: none;
    }
    
    .hero-image {
        min-height: 0;
        height: auto;
        margin: 0;
        padding: 0;
    }

    .hero-content {
        padding: 3rem 1rem;
        width: 100%;
        margin: 0;
    }

    .hero-section {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
}