/* Reset and Base Styles */
:root {
    --primary: #6e45e2;
    --secondary: #89d4cf;
    --accent: #7fffd4; /* Seafoam green */
    --accent-hover: #66cdaa; /* Slightly darker seafoam for hover states */
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(40, 40, 50, 0.4);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes */
.background {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transform: translate(-50%, -50%);
    perspective: 1000px;
}

.shape {
    position: fixed;
    filter: blur(30px);
    opacity: 0.8;
    z-index: -1;
    transform-origin: center center;
    will-change: transform, opacity;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Fluid Floating Animation */
/* Smooth floating animations with more movement */
@keyframes float-1 {
    0% { 
        transform: translate(-50%, -50%) translate(calc(-15vw), calc(-15vh)) scale(1);
    }
    50% { 
        transform: translate(-50%, -50%) translate(calc(15vw), calc(15vh)) scale(1.1);
    }
    100% { 
        transform: translate(-50%, -50%) translate(calc(-15vw), calc(-15vh)) scale(1);
    }
}

@keyframes float-2 {
    0% { 
        transform: translate(-50%, -50%) translate(calc(15vw), calc(-15vh)) scale(0.9);
    }
    50% { 
        transform: translate(-50%, -50%) translate(calc(-15vw), calc(15vh)) scale(1.05);
    }
    100% { 
        transform: translate(-50%, -50%) translate(calc(15vw), calc(-15vh)) scale(0.9);
    }
}

@keyframes float-3 {
    0% { 
        transform: translate(-50%, -50%) translate(calc(-20vw), calc(20vh)) scale(1.1);
    }
    50% { 
        transform: translate(-50%, -50%) translate(calc(20vw), calc(-20vh)) scale(0.9);
    }
    100% { 
        transform: translate(-50%, -50%) translate(calc(-20vw), calc(20vh)) scale(1.1);
    }
}

@keyframes float-4 {
    0% { 
        transform: translate(-50%, -50%) translate(calc(15vw), calc(15vh)) scale(0.95);
    }
    50% { 
        transform: translate(-50%, -50%) translate(calc(-15vw), calc(-15vh)) scale(1.1);
    }
    100% { 
        transform: translate(-50%, -50%) translate(calc(15vw), calc(15vh)) scale(0.95);
    }
}

@keyframes float-5 {
    0% { 
        transform: translate(-50%, -50%) translate(calc(-18vw), calc(12vh)) scale(1);
    }
    50% { 
        transform: translate(-50%, -50%) translate(calc(18vw), calc(-12vh)) scale(1.1);
    }
    100% { 
        transform: translate(-50%, -50%) translate(calc(-18vw), calc(12vh)) scale(1);
    }
}

.shape-1 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(127, 255, 212, 0.9), rgba(100, 220, 180, 0.7));
    animation: float-1 25s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

.shape-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        rgba(255, 255, 255, 0.9) 0deg 180deg,
        rgba(200, 200, 255, 0.7) 180deg 360deg
    );
    animation: float-2 28s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

.shape-3 {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(120deg, rgba(110, 69, 226, 0.9), rgba(80, 40, 200, 0.7));
    animation: float-3 32s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

.shape-4 {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at 40% 60%,
        rgba(220, 240, 255, 0.8) 0%,
        rgba(220, 240, 255, 0.6) 20%
    );
    animation: float-4 30s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

.shape-5 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 182, 193, 0.9),
        rgba(255, 105, 180, 0.7)
    );
    animation: float-5 26s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

.shape-6 {
    width: 350px;
    height: 350px;
    background: linear-gradient(
        45deg,
        rgba(138, 43, 226, 0.7),
        rgba(147, 112, 219, 0.8)
    );
    border-radius: 50%;
    animation: float-2 34s ease-in-out infinite reverse;
    will-change: transform, opacity, filter;
}

.shape-7 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(
        180deg,
        rgba(64, 224, 208, 0.8),
        rgba(70, 130, 180, 0.6)
    );
    border-radius: 50%;
    animation: float-3 38s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 10px 20px;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-15deg);
    transition: 0.7s;
    z-index: -1;
}

.nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a.active {
    background: rgba(127, 255, 212, 0.15);
    border-color: rgba(127, 255, 212, 0.3);
    color: white;
    box-shadow: 0 4px 20px rgba(127, 255, 212, 0.2);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Add a subtle glow on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.nav-links a:hover::after {
    opacity: 0.7;
    animation: gradient 3s ease infinite;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero h1 .highlight {
    background: linear-gradient(120deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 3rem 0;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 3;
    border: 10px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.2));
    backdrop-filter: blur(10px);
    z-index: 1;
}

.floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.floating-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 20%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 4rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 3rem;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    /* Mobile spacing adjustments */
    .section {
        padding: 2.5rem 1rem !important;
    }

    .section-title {
        margin-bottom: 1.5rem !important;
    }

    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding-top: 5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        margin-top: 1.5rem;
        min-height: 300px;
    }
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
    color: var(--text);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-card {
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 10px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
}

.portfolio-card:hover .portfolio-image i {
    transform: scale(1.2);
    color: var(--accent);
}

.portfolio-content {
    padding: 1.8rem;
    text-align: center;
    background: var(--glass-bg)
}

.portfolio-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.portfolio-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.portfolio-card:hover .portfolio-content h3::after {
    width: 80px;
}

.portfolio-content p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.7;
    font-size: 0.95rem;
}


/* Resume Section */
.resume-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
}

.resume-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.resume-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.resume-section {
    margin-bottom: 2rem;
}

.resume-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.resume-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.resume-item:last-child {
    border-bottom: none;
}

.resume-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.company, .date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Button Styles */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #1a1a2e;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(127, 255, 212, 0.3);
}

.btn-compact {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}


/* Contact Section */
.contact {
    padding: 6rem 2rem;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 80%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--glass-border);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form {
    padding: 2.5rem;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(60, 60, 70, 0.5);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    border-radius: 20px;
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(127, 255, 212, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Base button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: none;
    gap: 0.75rem;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    margin: 0;
    background: linear-gradient(135deg, rgba(127, 255, 212, 0.7), rgba(127, 255, 212, 0.4));
    color: white;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Button hover effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

/* Button hover state */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(127, 255, 212, 0.3);
}

/* Button active state */
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(127, 255, 212, 0.2);
}

/* Button icon */
.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Button hover effect on icon */
.btn:hover i {
    transform: translateX(3px);
}

/* Compact button style */
.btn-compact {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
}

/* Ensure all button types have consistent styles */
button.btn,
a.btn,
input[type="submit"].btn,
input[type="button"].btn {
    font-family: inherit;
    line-height: 1.5;
}

button.btn i,
a.btn i,
input[type="submit"].btn i,
input[type="button"].btn i {
    font-size: 1.1rem;
}

button.btn::before,
a.btn::before,
input[type="submit"].btn::before,
input[type="button"].btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.6s;
}

button.btn:hover::before,
a.btn:hover::before,
input[type="submit"].btn:hover::before,
input[type="button"].btn:hover::before {
    left: 100%;
}

button.btn-primary,
a.btn-primary,
input[type="submit"].btn-primary,
input[type="button"].btn-primary {
    background: linear-gradient(
        135deg, 
        rgba(127, 255, 212, 0.7), 
        rgba(127, 255, 212, 0.4)
    );
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

button.btn-outline,
a.btn-outline,
input[type="submit"].btn-outline,
input[type="button"].btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

button.btn:hover,
a.btn:hover,
input[type="submit"].btn:hover,
input[type="button"].btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(127, 255, 212, 0.3);
}

button.btn:active,
a.btn:active,
input[type="submit"].btn:active,
input[type="button"].btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(127, 255, 212, 0.2);
}

/* Button shine effect */
@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.btn-shine {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 200% 100%;
    animation: shine 2s infinite;
}

/* Footer */
.footer {
    background: rgba(30, 30, 40, 0.7);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-muted);
    margin: 0;
}

/* Animations */
@keyframes slide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(100px); }
}

/* Removed old position-based animations */

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-40px); }
}

@keyframes slide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(100px); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-info p,
    .info-item {
        max-width: 100%;
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Hide the checkbox */
.menu-checkbox {
    display: none;
}

/* Style the menu toggle button */
.menu-toggle {
    display: none; /* Hide by default */
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text);
    z-index: 1001;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Section */
.contact {
    padding: 3rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Contact Info Items */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    gap: 0.75rem;
}

.info-item i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.info-item p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    color: #1a1a2e;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(127, 255, 212, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .contact {
        padding: 2rem 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-info p {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        gap: 0.75rem;
    }
    
    .info-item i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        color: var(--accent);
    }
    
    .info-item p {
        margin: 0;
        padding: 0;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        margin-left: auto;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh; /* Full viewport height */
        background: linear-gradient(135deg, rgba(15, 15, 30, 0.92), rgba(10, 10, 25, 0.95));
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        border-left: 1px solid rgba(127, 255, 212, 0.15);
        box-shadow: -5px 0 40px rgba(0, 0, 0, 0.4);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5rem 1.5rem 3rem;
        margin: 0;
        gap: 1.2rem;
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        pointer-events: none;
        overflow: hidden;
    }
    
    /* Animated background elements */
    .nav-links::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, 
            rgba(127, 255, 212, 0.05) 0%, 
            transparent 50%);
        opacity: 0;
        transition: opacity 0.6s ease;
        pointer-events: none;
    }
    
    .menu-checkbox:checked ~ .nav-links::before {
        opacity: 1;
    }
    
    /* When checkbox is checked, show the menu */
    .menu-checkbox:checked ~ .nav-links {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    /* Change menu icon to X when menu is open */
    .menu-checkbox:checked + .menu-toggle .fa-bars::before {
        content: '\f00d';
    }
    
    .nav-links a {
        position: relative;
        width: 100%;
        max-width: 280px;
        padding: 1.25rem 2rem;
        margin: 0;
        background: rgba(30, 30, 60, 0.4);
        border: 1px solid rgba(127, 255, 212, 0.2);
        border-radius: 15px;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 500;
        color: white;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        transform: translateX(30px);
        pointer-events: none;
        box-sizing: border-box;
        flex-shrink: 0;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }
    
    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(127, 255, 212, 0.1), 
            transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }
    
    .nav-links a:hover::before {
        transform: translateX(100%);
    }
    
    .nav-links a:hover {
        transform: translateX(35px) scale(1.02);
        background: rgba(40, 40, 80, 0.5);
        border-color: rgba(127, 255, 212, 0.3);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    
    /* Animate in the links when menu is open */
    .menu-checkbox:checked ~ .nav-links a {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        transition: all 0.3s ease 0.1s;
    }
    
    /* Staggered animation for menu items */
    .menu-checkbox:checked ~ .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .menu-checkbox:checked ~ .nav-links a:nth-child(2) { transition-delay: 0.15s; }
    .menu-checkbox:checked ~ .nav-links a:nth-child(3) { transition-delay: 0.2s; }
    .menu-checkbox:checked ~ .nav-links a:nth-child(4) { transition-delay: 0.25s; }
    .menu-checkbox:checked ~ .nav-links a:nth-child(5) { transition-delay: 0.3s; }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
}

