:root {
    --primary-color: #0ABAB5;
    --secondary-color: #4ECDC4;
    --background-light: #FFFFFF;
    --background-muted: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    position: relative;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.section-padding {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- Navbar --- */
.navbar {
    background-color: transparent;
    transition: all 0.4s ease-in-out;
    padding: 1.5rem 0;
}
.navbar.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: font-size 0.4s ease;
}
.navbar.scrolled .navbar-brand {
    font-size: 1.25rem;
}
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.3s;
    margin: 0 0.5rem;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}
.nav-link.active::after {
    width: 50%;
}

/* --- Button --- */
.btn-brand {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(10, 171, 181, 0.2);
}
.btn-brand i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.btn-brand:hover {
    background: #089a95;
    border-color: #089a95;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 171, 181, 0.3);
    color: #fff;
}
.btn-brand:hover i {
    transform: translateX(5px);
}

/* --- Hero Section --- */
#slider {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(-45deg, #e0f7fa, #fefefe, #f3e5f5, #e8eaf6);
    background-size: 400% 400%;
    animation: gradient-animation 20s ease infinite;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
#slider .container {
    position: relative;
    z-index: 1;
}
#slider h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
}
#slider .typed-text {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    min-height: 100px;
}
#slider p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px 0;
    color: var(--text-muted);
}
.social-links-hero a {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
    display: inline-block;
}
.social-links-hero a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}
.hero-img-container {
    perspective: 1000px;
}
.hero-img {
    transition: transform 0.4s ease;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.hero-img-container:hover .hero-img {
    transform: scale(1.05) rotateY(10deg) rotateX(5deg);
}
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-down-indicator a {
    font-size: 2rem;
    color: var(--text-muted);
}

/* --- Solid Card Style --- */
.solid-card {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    transform-style: preserve-3d;
}
.solid-card:hover {
    transform: translateY(-5px) scale(1.02) perspective(1000px) rotateY(2deg) rotateX(2deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* --- Sections --- */
#about, #portfolio, #stats {
    background-color: var(--background-light);
}
#skills, #services, #blog, #contact {
    background-color: var(--background-muted);
}

/* About Section */
.about-img-container {
    perspective: 1000px;
}
.about-img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}
.about-img-container:hover .about-img {
    transform: scale(1.05) rotateY(-10deg) rotateX(5deg);
}
.about-skills-list li {
    padding-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.about-skills-list .icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Stats Section */
.stat-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.stat-card .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}
.stat-card p {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

/* Skills Section */
.skill-item {
    margin-bottom: 25px;
}
.skill-item h5 {
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.skill-percentage {
    font-weight: 600;
    color: var(--primary-color);
}
.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar {
    background-color: var(--primary-color);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* Services Section */
.service-card {
    text-align: center;
}
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}
.solid-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
    background-color: var(--secondary-color);
}

/* Portfolio Section */
.portfolio-filters {
    margin-bottom: 40px;
}
.portfolio-filters .btn {
    margin: 0 5px;
    border-radius: 50px;
    font-weight: 500;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    color: var(--text-muted);
}
.portfolio-filters .btn.active,
.portfolio-filters .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.portfolio-item {
    display: none; /* Hidden by default, shown by JS */
}
.portfolio-item.show {
    display: block;
}

/* Content Card for Portfolio & Blog */
.content-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 100%;
}
.content-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.content-card-body { padding: 25px; }
.content-card-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.content-card-body a:hover { color: #089a95; }

/* Blog Iframe */
.blog-iframe-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.blog-iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

/* Calendly Modal */
.modal-body .calendly-inline-widget {
    height: 65vh;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-muted);
    padding: 60px 0 30px 0;
}
footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}
footer p, footer a {
    color: var(--text-muted);
    text-decoration: none;
}
footer a:hover {
    color: var(--primary-color);
}
.footer-social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    margin: 0 12px;
}
.footer-social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 30px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    z-index: 1056;
}