/* Modern CSS Reset and Base Styles */
:root {
    --primary-color: #ff004f;
    --secondary-color: #61b752;
    --accent-color: #4a90e2;
    --dark-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --text-color: #fff;
    --text-secondary: #ababab;
    --gradient-1: linear-gradient(135deg, #ff004f 0%, #4a90e2 100%);
    --gradient-2: linear-gradient(135deg, #61b752 0%, #4a90e2 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
    --bg-color: #0a0a23;
    --text-color: #fff;
    --card-bg: rgba(34,34,54,0.85);
    --nav-bg: linear-gradient(90deg, #1a1a2e 0%, #4a185a 100%);
    --accent: #ff004f;
    --btn-gradient: linear-gradient(90deg, #ff004f 0%, #4a90e2 100%);
}
body.light-mode {
  --bg-color: #f5f6fa;
  --text-color: #222;
  --card-bg: #fff;
  --nav-bg: linear-gradient(90deg, #e0e7ef 0%, #f5f6fa 100%);
  --accent: #4a90e2;
  --btn-gradient: linear-gradient(90deg, #4a90e2 0%, #ff004f 100%);
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.4s, color 0.4s;
}
nav, .navbar, .nav-bar, .nav {
  background: var(--nav-bg);
  transition: background 0.4s;
}
.work-card {
  background: var(--card-bg);
  transition: background 0.4s;
}
.btn, .primary-btn, .secondary-btn {
  background: var(--btn-gradient);
  color: var(--text-color);
  transition: background 0.4s, color 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--nav-height);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--glass-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Header Styles */
#header {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
    position: relative;
    overflow: hidden;
}

#header .threejs-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(10,10,30,0.7) 0%, rgba(40,0,60,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Enhanced Navigation */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(90deg, rgba(34,34,54,0.65) 0%, rgba(74,144,226,0.38) 60%, rgba(255,0,79,0.32) 100%);
    box-shadow: 0 8px 32px 0 rgba(74,144,226,0.13), 0 2px 8px 0 rgba(255,0,79,0.10);
    border-bottom: 1.5px solid rgba(255,255,255,0.13);
    border-top: 1.5px solid rgba(255,255,255,0.07);
    border-radius: 0 0 18px 18px;
    backdrop-filter: blur(32px) saturate(1.2);
    transition: height 0.35s cubic-bezier(0.4,0,0.2,1), background 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), backdrop-filter 0.35s cubic-bezier(0.4,0,0.2,1), border-radius 0.35s cubic-bezier(0.4,0,0.2,1);
    animation: navSlideDown 0.8s cubic-bezier(0.4,0,0.2,1);
}
nav.scrolled {
    height: 60px;
    background: linear-gradient(90deg, rgba(34,34,54,0.92) 0%, rgba(255,0,79,0.38) 60%, rgba(74,144,226,0.32) 100%);
    box-shadow: 0 16px 36px 0 rgba(255,0,79,0.16), 0 2px 8px 0 rgba(74,144,226,0.13);
    backdrop-filter: blur(40px) saturate(1.3);
    border-radius: 0 0 24px 24px;
}
@keyframes navSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.nav-brand a {
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, #ff004f 20%, #4a90e2 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 1.3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px 0 rgba(255,0,79,0.10);
    letter-spacing: 1.5px;
    transition: var(--transition);
}
.nav-brand a:hover {
    transform: scale(1.10) rotate(-2deg);
    background: linear-gradient(90deg, #4a90e2 20%, #ff004f 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2) drop-shadow(0 2px 8px #ff004f44);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.13rem;
    font-weight: 700;
    padding: 0.5rem 1.3rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    opacity: 0.95;
    background: transparent;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: #fff;
    background: linear-gradient(90deg, rgba(255,0,79,0.18) 0%, rgba(74,144,226,0.13) 100%);
    box-shadow: 0 2px 12px 0 rgba(255,0,79,0.10);
    filter: brightness(1.15);
}

.nav-indicator {
    position: absolute;
    bottom: -5px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: var(--transition);
    pointer-events: none;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-social {
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-social:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--glass-bg);
    transform: rotate(15deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Header Text */
.header-text {
    text-align: center;
    padding-top: 28vh;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s cubic-bezier(0.4,0,0.2,1);
}

.header-text h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 4px 32px rgba(0,0,0,0.25), 0 1.5px 0 #ff004f;
    background: linear-gradient(90deg, #ff004f 20%, #4a90e2 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-text .subtitle {
    font-size: 1.7rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.cta-buttons {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    z-index: 2;
}
.cta-buttons a.btn {
    flex: 1 1 0;
    max-width: 260px;
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2.5rem;
    box-sizing: border-box;
    margin: 0 1.2rem;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), background 0.6s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 24px 0 rgba(74,144,226,0.10);
    background: linear-gradient(90deg, #ff004f 0%, #4a90e2 100%);
    position: relative;
    overflow: hidden;
}
.cta-buttons a.btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px 0 rgba(255,0,79,0.18), 0 2px 8px 0 rgba(74,144,226,0.12);
    background: linear-gradient(270deg, #4a90e2 0%, #ff004f 100%);
}
.cta-buttons a.btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    z-index: 1;
}
.cta-buttons a.btn:hover::after {
    opacity: 1;
}
.cta-buttons a.btn span, .cta-buttons a.btn i {
    position: relative;
    z-index: 2;
}
.cta-buttons {
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    padding-left: 0;
    padding-right: 0;
}

.primary-btn {
    background: var(--gradient-1);
    border: none;
}

.secondary-btn {
    background: transparent;
    border: 2px solid transparent;
    background-image: var(--gradient-1);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

/* About Section */
#about {
    padding: 100px 0;
    background: var(--light-bg);
}

#about, #about *, .about-col-1, .about-col-2, .about-col-2 * {
    color: var(--text-color) !important;
}

#about h2, #about .cert-title, #about .about-block strong {
    background: linear-gradient(90deg, #ff004f 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    transition: background-position 0.7s cubic-bezier(0.4,0,0.2,1);
    background-size: 200% 100%;
    background-position: 0% 50%;
}
#about h2:hover, #about .cert-title:hover, #about .about-block strong:hover {
    background-position: 100% 50%;
    animation: shimmerHeading 1.2s linear 1;
}
@keyframes shimmerHeading {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-col-1 {
    flex: 1;
}

.about-col-1 img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-col-1 img:hover {
    transform: scale(1.02);
}

.about-col-2 {
    flex: 1.5;
}

.sub-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.sub-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Tabs */
.tab-titles {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.tab-links {
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
}

.tab-links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-contents.active-tab {
    display: block;
}

.tab-contents ul li {
    list-style: none;
    margin: 1rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tab-contents ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.tab-contents ul li span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 3.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.service-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.learn-more:hover {
    transform: translateX(5px);
}

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

.work-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.work-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(255, 0, 79, 0.8) 100%
    );
    padding: 3rem;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition);
}

.work-card:hover .layer {
    transform: translateY(0);
}

.work-card:hover img {
    transform: scale(1.1);
}

.layer h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .layer h3 {
    transform: translateY(0);
    opacity: 1;
}

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

.project-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.project-links a:hover {
    transform: scale(1.2);
}

.work-card:hover .layer,
.swiper-slide .work-card:hover .layer {
    color: #fff;
}
.work-card:hover .layer h3,
.swiper-slide .work-card:hover .layer h3 {
    color: #fff;
}
.work-card:hover .layer p,
.swiper-slide .work-card:hover .layer p {
    color: #fff;
}
.work-card:hover .project-links a,
.swiper-slide .work-card:hover .project-links a {
    color: #fff;
}

/* Contact Section */
.contactleft {
    flex: 1;
}

.contactright {
    flex: 1.5;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-1);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

/* Enhanced Form Styles */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 79, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--primary-color);
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.btn.sending {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn.sending .btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.sending .btn-text::after {
    content: '';
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--text-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.message {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    animation: slideIn 0.3s ease-out;
}

.message.success {
    border-color: var(--secondary-color);
    background: rgba(97, 183, 82, 0.1);
    color: var(--secondary-color);
}

.message.error {
    border-color: var(--primary-color);
    background: rgba(255, 0, 79, 0.1);
    color: var(--primary-color);
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-animation {
    animation: successPulse 0.5s ease-out;
}

.error-animation {
    animation: errorShake 0.5s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Footer */
footer.footer {
    background: linear-gradient(120deg, rgba(34,34,54,0.85) 0%, rgba(74,144,226,0.25) 100%);
    box-shadow: 0 0 32px 0 rgba(74,144,226,0.10), 0 2px 8px 0 rgba(255,0,79,0.10);
    border-radius: 24px 24px 0 0;
    backdrop-filter: blur(18px) saturate(1.2);
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(0.4,0,0.2,1);
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.footer p {
    color: #e0e0e0;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.footer i {
    color: #ff004f;
    margin: 0 0.2rem;
    font-size: 1.2em;
    vertical-align: middle;
    transition: color 0.3s, filter 0.3s;
}
.footer i.fa-heart {
    filter: drop-shadow(0 0 6px #ff004f88);
    animation: heartBeat 1.5s infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.15); }
    40% { transform: scale(0.95); }
    60% { transform: scale(1.1); }
    80% { transform: scale(0.98); }
}
.social-icons {
    display: flex;
    gap: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    justify-content: center;
}
.social-icons a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff004f 0%, #4a90e2 100%);
    border-radius: 50%;
    box-shadow: 0 2px 12px 0 rgba(255,0,79,0.10);
    color: #fff;
    font-size: 1.7rem;
    transition: transform 0.25s, box-shadow 0.25s, background 0.5s;
    position: relative;
    overflow: hidden;
}
.social-icons a:hover {
    transform: scale(1.13) rotate(-6deg);
    box-shadow: 0 6px 24px 0 rgba(74,144,226,0.18), 0 2px 8px 0 rgba(255,0,79,0.18);
    background: linear-gradient(135deg, #4a90e2 0%, #ff004f 100%);
    filter: brightness(1.15) drop-shadow(0 0 8px #4ad0ff88);
}
.message-tab {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}
.message-tab textarea {
    width: 100%;
    min-height: 120px;
    padding: 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1.1rem;
    resize: vertical;
    transition: border 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px 0 rgba(74,144,226,0.06);
}
.message-tab textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255,0,79,0.10);
    outline: none;
}
.message-tab .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.contact-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    min-height: 60vh;
    background: none;
}
.contact-card {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    background: linear-gradient(120deg, rgba(34,34,54,0.85) 0%, rgba(74,144,226,0.18) 100%);
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(74,144,226,0.13), 0 2px 8px 0 rgba(255,0,79,0.10);
    padding: 3rem 3.5rem;
    margin: 3rem 0 2rem 0;
    width: 100%;
    max-width: 1100px;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s cubic-bezier(0.4,0,0.2,1);
}
.contact-info {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.2rem;
    min-width: 260px;
}
.contact-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff004f 20%, #4a90e2 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-socials {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.contact-social {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff004f 0%, #4a90e2 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 2px 12px 0 rgba(255,0,79,0.10);
    transition: transform 0.25s, box-shadow 0.25s, background 0.5s;
    position: relative;
    overflow: hidden;
}
.contact-social:hover {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 6px 24px 0 rgba(74,144,226,0.18), 0 2px 8px 0 rgba(255,0,79,0.18);
    background: linear-gradient(135deg, #4a90e2 0%, #ff004f 100%);
    filter: brightness(1.15) drop-shadow(0 0 8px #4ad0ff88);
}
.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(90deg, #ff004f 0%, #4a90e2 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 2rem;
    padding: 0.9rem 2.2rem;
    box-shadow: 0 2px 12px 0 rgba(255,0,79,0.10);
    margin-top: 1.2rem;
    text-decoration: none;
    transition: background 0.5s, transform 0.18s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.btn-cv:hover {
    background: linear-gradient(270deg, #4a90e2 0%, #ff004f 100%);
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 24px 0 rgba(74,144,226,0.18), 0 2px 8px 0 rgba(255,0,79,0.18);
}
.contact-message {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    min-width: 260px;
}
#message-box {
    width: 100%;
    min-height: 180px;
    padding: 1.5rem;
    background: rgba(255,255,255,0.09);
    border: 1.5px solid rgba(74,144,226,0.22);
    border-radius: 16px;
    color: #fff;
    font-size: 1.25rem;
    resize: vertical;
    transition: border 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 18px 0 rgba(74,144,226,0.09);
    backdrop-filter: blur(8px);
}
#message-box:focus {
    border-color: #4ad0ff;
    box-shadow: 0 0 0 2px #4ad0ff44;
    outline: none;
}
.btn-send {
    width: 100%;
    margin-top: 1.2rem;
    background: linear-gradient(90deg, #ff004f 0%, #4a90e2 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    border-radius: 2.8rem;
    box-shadow: 0 4px 18px 0 rgba(255,0,79,0.13);
    padding: 1.2rem 0;
    letter-spacing: 1px;
    transition: background 0.5s, transform 0.18s, box-shadow 0.25s, filter 0.25s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.btn-send:hover {
    background: linear-gradient(270deg, #4a90e2 0%, #ff004f 100%);
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 12px 32px 0 rgba(74,144,226,0.22), 0 2px 8px 0 rgba(255,0,79,0.18);
    filter: brightness(1.12) drop-shadow(0 0 12px #4ad0ff88);
}
.btn-send:active {
    animation: btnBounce 0.3s;
}
@keyframes btnBounce {
    0% { transform: scale(1.07); }
    30% { transform: scale(0.96); }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2rem 1rem;
        align-items: stretch;
    }
    .contact-info, .contact-message {
        min-width: 0;
        width: 100%;
        align-items: center;
    }
    .contact-title {
        text-align: center;
        width: 100%;
    }
}
@media (max-width: 600px) {
    .contact-card {
        padding: 1.2rem 0.2rem;
        border-radius: 16px;
    }
    .contact-title {
        font-size: 1.5rem;
    }
    .btn-send {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    #message-box {
        font-size: 1rem;
        padding: 1rem;
    }
    .contact-social {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
    
    
    
/* --- Swiper Project Card Advanced Animations --- */
.swiper-slide .work-card {
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s;
    box-shadow: 0 8px 32px 0 rgba(74,144,226,0.18), 0 2px 8px 0 rgba(255,0,79,0.13);
    border-radius: 1.5rem;
    background: rgba(34,34,54,0.85);
    filter: brightness(0.98) blur(0px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.swiper-slide .work-card:hover {
    transform: scale(1.10) rotate(-2deg);
    box-shadow: 0 24px 64px 0 rgba(74,144,226,0.32), 0 4px 16px 0 rgba(255,0,79,0.22), 0 0 40px 0 #4a90e2cc;
    filter: brightness(1.12) blur(0px);
    z-index: 2;
}
.swiper-slide .work-card .layer {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.swiper-slide .work-card:hover .layer {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    color: #fff;
    pointer-events: auto;
    transition-delay: 0.1s;
}
.swiper-slide .work-card .layer h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 16px #4ad0ff55, 0 1.5px 0 #ff004f;
    letter-spacing: 1px;
    transition: text-shadow 0.4s, color 0.4s;
    position: relative;
    overflow: hidden;
}
.swiper-slide .work-card:hover .layer h3 {
    text-shadow: 0 4px 32px #4ad0ff99, 0 2px 0 #ff004f;
    color: #fff;
    animation: shimmer 1.2s linear 0.2s 1;
}
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}
.swiper-slide .work-card .layer h3::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.4s;
    animation: none;
}
.swiper-slide .work-card:hover .layer h3::after {
    animation: shimmer 1.2s linear 0.2s 1;
}
.swiper-slide .work-card .layer p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}
.swiper-slide .work-card:hover .layer p {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
}
.swiper-slide .work-card .project-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
    justify-content: center;
}
.swiper-slide .work-card .project-links a {
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ff004f 0%, #4a90e2 100%);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(74,144,226,0.10);
    transition: background 0.4s, transform 0.2s, box-shadow 0.2s, color 0.2s;
    opacity: 0;
    transform: scale(0.7) translateY(20px);
}
.swiper-slide .work-card:hover .project-links a {
    background: linear-gradient(135deg, #4a90e2 0%, #ff004f 100%);
    transform: scale(1.18) translateY(0);
    box-shadow: 0 6px 18px 0 rgba(74,144,226,0.18), 0 2px 8px 0 rgba(255,0,79,0.18);
    color: #fff;
    opacity: 1;
    animation: bounceIn 0.7s cubic-bezier(0.4,0,0.2,1);
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.7) translateY(20px); }
    60% { opacity: 1; transform: scale(1.25) translateY(-8px); }
    100% { opacity: 1; transform: scale(1.18) translateY(0); }
}
.swiper-slide .work-card:hover img {
    transform: scale(1.1);
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
    
    
    
/* --- Static Project Card Advanced Animations --- */
.work-card {
    min-height: 340px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s, min-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover {
    min-height: 420px;
}
.work-card .layer {
    min-height: 340px;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1), min-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover .layer {
    min-height: 420px;
}
.work-card .layer h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 16px #4ad0ff55, 0 1.5px 0 #ff004f;
    letter-spacing: 1px;
    transition: text-shadow 0.4s, color 0.4s;
    position: relative;
    overflow: hidden;
}
.work-card:hover .layer h3 {
    text-shadow: 0 4px 32px #4ad0ff99, 0 2px 0 #ff004f;
    color: #fff;
    animation: shimmer 1.2s linear 0.2s 1;
}
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}
.work-card .layer h3::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.4s;
    animation: none;
}
.work-card:hover .layer h3::after {
    animation: shimmer 1.2s linear 0.2s 1;
}
.work-card .layer p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}
.work-card:hover .layer p {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
}
.work-card .project-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
    justify-content: center;
}
.work-card .project-links a {
    color: #fff;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ff004f 0%, #4a90e2 100%);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(74,144,226,0.10);
    transition: background 0.4s, transform 0.2s, box-shadow 0.2s, color 0.2s;
    opacity: 0;
    transform: scale(0.7) translateY(20px);
}
.work-card:hover .project-links a {
    background: linear-gradient(135deg, #4a90e2 0%, #ff004f 100%);
    transform: scale(1.18) translateY(0);
    box-shadow: 0 6px 18px 0 rgba(74,144,226,0.18), 0 2px 8px 0 rgba(255,0,79,0.18);
    color: #fff;
    opacity: 1;
    animation: bounceIn 0.7s cubic-bezier(0.4,0,0.2,1);
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.7) translateY(20px); }
    60% { opacity: 1; transform: scale(1.25) translateY(-8px); }
    100% { opacity: 1; transform: scale(1.18) translateY(0); }
}
    
    
    
.work-card .layer h3, .work-card .layer p {
    transition: font-size 0.4s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover .layer h3 {
    font-size: 1.6rem !important;
}
.work-card:hover .layer p {
    font-size: 0.95rem !important;
}
    
    
    
/* Hero Section Styles */
.hero.hero-full-bg {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.animated-gradient-bg {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, #0a0a23 0%, #1a1a2e 60%, #4a185a 100%);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
  animation: heroGradientMove 8s ease-in-out infinite alternate;
}
@keyframes heroGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(ellipse at 60% 40%, rgba(20,184,166,0.18) 0%, rgba(10,10,30,0.7) 100%);
  z-index: 3;
  pointer-events: none;
}
.hero-text-overlay {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, rgba(10,10,30,0.0) 0%, rgba(20,184,166,0.08) 60%, rgba(14,165,233,0.10) 100%);
  z-index: 4;
  pointer-events: none;
}
.hero-content.hero-content-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  text-align: center;
}
.hero-headline {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px #14b8a6cc, 0 1px 2px #000a;
}
.hero-line {
  display: block;
  margin-bottom: 0.2em;
}
.typewriter-gradient {
  background: linear-gradient(90deg, #14b8a6 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 900;
  font-size: 1.2em;
  letter-spacing: 1.5px;
  animation: shimmerTypewriter 2.5s linear infinite;
}
@keyframes shimmerTypewriter {
  0% { filter: brightness(1.1); }
  50% { filter: brightness(1.5) drop-shadow(0 0 8px #0ea5e9cc); }
  100% { filter: brightness(1.1); }
}
.animate-hero-headline {
  animation: fadeInUp 1.2s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-hero-sub {
  opacity: 0.85;
  font-size: 1.2rem;
  font-weight: 500;
  color: #e0f7fa;
  animation: fadeInUp 1.6s 0.3s cubic-bezier(0.4,0,0.2,1) both;
}
#hero-typewriter {
  display: inline-block;
  min-width: 120px;
  font-size: 1.3em;
  font-weight: 900;
  vertical-align: middle;
  letter-spacing: 1.5px;
  border-right: 2.5px solid #0ea5e9;
  animation: blink-cursor 0.8s steps(1) infinite;
}
@keyframes blink-cursor {
  0%, 100% { border-color: #0ea5e9; }
  50% { border-color: transparent; }
}
@media (max-width: 900px) {
  .hero-headline { font-size: 2rem; }
  .hero-content.hero-content-overlay { height: 60vh; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 1.2rem; }
  .hero-content.hero-content-overlay { height: 40vh; }
}
    
    
    
.fade-in {
  animation: fadeInSubtitle 1s cubic-bezier(0.4,0,0.2,1);
}
@keyframes fadeInSubtitle {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
    
    
    