/* ===================================
   ROOT VARIABLES & GLOBAL STYLES
   =================================== */
:root {
    --primary-color: #0066ff;
    --secondary-color: #00d4ff;
    --accent-color: #6610f2;
    --dark-bg: #0f1419;
    --dark-surface: #1a1f2e;
    --light-text: #ffffff;
    --muted-text: #b0b8c1;
    --border-color: #2a3142;
    --success-color: #00d084;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    padding: 0.3rem 0;
}

.navbar-custom .navbar-brand {
    font-size: 28px;
    color: var(--dark-bg) !important;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-weight: 800;
}

.navbar-custom .nav-link {
    color: #555 !important;
    font-weight: 500;
    margin-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 50%, rgba(6, 102, 255, 0.1) 100%);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 16, 242, 0.2), transparent);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-custom {
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
    color: white;
}

.btn-outline-light.btn-custom {
    border: 2px solid var(--light-text);
    color: var(--light-text);
}

.btn-outline-light.btn-custom:hover {
    background: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.social-icons-hero {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.profile-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
    border: 2px solid var(--border-color);
    object-fit: cover;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(30px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--muted-text);
    font-weight: 400;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 16, 242, 0.1), transparent);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    z-index: 0;
}

.about-section > .container {
    position: relative;
    z-index: 1;
}

/* Stats Cards */
.stat-card {
    background: var(--dark-bg);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--muted-text);
    font-weight: 500;
    margin: 0;
}

/* About Text Content */
.about-text-content {
    text-align: center;
}

.about-text-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.about-text-content .lead {
    font-size: 1.15rem;
    color: var(--muted-text);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Expertise Cards */
.expertise-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.expertise-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.expertise-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.expertise-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.8rem;
}

.expertise-content p {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin: 0;
}

.about-quote {
    font-size: 1.1rem;
    color: var(--muted-text);
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(0, 102, 255, 0.05);
    border-radius: 10px;
}

.about-footer {
    margin-top: 3rem;
}

/* ===================================
   SKILLS SECTION
   =================================== */
.skills-section {
    background: var(--dark-bg);
}

.skill-category {
    background: var(--dark-surface);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.skill-category:hover {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.skill-category h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border-color: transparent;
}

/* ===================================
   PODCASTS SECTION
   =================================== */
.podcasts-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.podcasts-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    border-radius: 50%;
    top: -250px;
    left: -250px;
    z-index: 0;
}

.podcasts-section > .container {
    position: relative;
    z-index: 1;
}

.podcast-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.podcast-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.podcast-video-container {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.btn-video-modal {
    position: relative;
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-video-modal:hover {
    transform: scale(1.02);
}

.btn-video-modal img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.podcast-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.btn-video-modal:hover .podcast-play-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1);
}

/* Modal Styling */
.modal-content {
    background-color: var(--dark-surface) !important;
}

.modal-header {
    background-color: var(--dark-surface) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.modal-title {
    color: var(--light-text) !important;
    font-weight: 600;
}

.close {
    color: var(--light-text) !important;
    opacity: 0.8;
    font-size: 1.8rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    opacity: 1;
    color: var(--secondary-color) !important;
    text-decoration: none;
    transform: scale(1.2);
}

.podcast-content {
    padding: 2.5rem;
}

.podcast-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-text), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.podcast-channel {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.podcast-description {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.podcast-description:last-of-type {
    margin-bottom: 1.5rem;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio-section {
    background: var(--dark-surface);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--dark-bg);
    color: var(--muted-text);
    border: 2px solid var(--border-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: var(--light-text);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, var(--dark-bg), rgba(26, 31, 46, 0.8));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95), var(--dark-bg));
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

/* Taller preview for mobile app screenshots */
.project-image-wrapper.app {
    height: 360px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.95), rgba(0, 212, 255, 0.85));
    color: #ffffff;
    border: none;
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
    transition: all 0.3s ease;
}

.project-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.project-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
    background: linear-gradient(135deg, var(--light-text), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-content p {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
    color: var(--secondary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.project-card .btn-primary {
    margin-top: auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.project-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.project-card .btn-primary:hover::before {
    left: 100%;
}

.project-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}

/* Expand button styling in cards */
.project-card .expand-btn.btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 16px 30px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.project-card .expand-btn.btn-primary::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.project-card .expand-btn.btn-primary:hover::after {
    transform: translateX(5px);
}

.app-stores {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.app-store-badge:hover {
    background: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 102, 255, 0.25);
}

/* ===================================
   TRUST STRIP
   =================================== */
.trust-strip {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 212, 255, 0.05));
    border-bottom: 1px solid var(--border-color);
}

.trust-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    background: var(--dark-surface);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    gap: 1rem;
}

.trust-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.trust-item h4 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    color: var(--light-text);
}

.trust-item p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-section {
    background: var(--dark-bg);
}

.testimonial-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.testimonial-quote {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.5;
}

.testimonial-author {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.testimonial-author strong {
    display: block;
    color: var(--light-text);
}

/* ===================================
   SERVICES
   =================================== */
.services-section {
    background: var(--dark-bg);
}

.service-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.25);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.18), rgba(0, 212, 255, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--muted-text);
}

.service-card ul li {
    margin-bottom: 0.4rem;
}

.service-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.15));
    color: var(--secondary-color);
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

/* ===================================
   FAQ
   =================================== */
.faq-section {
    background: var(--dark-bg);
}

.faq-accordion .card {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-accordion .card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion .btn-link {
    color: var(--light-text);
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
    font-weight: 700;
}

.faq-accordion .btn-link:hover {
    color: var(--secondary-color);
}

.faq-accordion .card-body {
    color: var(--muted-text);
    padding: 1rem;
}

/* ===================================
   FINAL CTA
   =================================== */
.cta-final {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 212, 255, 0.08));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-final h2 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

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

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: var(--dark-bg);
}

.contact-form {
    background: var(--dark-surface);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-form .form-group label {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    color: var(--light-text);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.25);
}

.contact-form .form-control::placeholder {
    color: var(--muted-text);
}

.contact-card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--light-text);
}

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

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

.footer-text {
    color: var(--muted-text);
    margin: 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: var(--light-text);
    transform: translateY(-5px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-custom {
        width: 100%;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .navbar-custom .nav-link {
        margin-left: 0;
        padding-bottom: 0.5rem;
    }

    .navbar-custom .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-toggler {
        padding: 0.35rem 0.6rem;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.12);
    }

    .navbar-collapse {
        padding: 0.35rem 0;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.35rem;
    }

    .navbar-logo {
        max-height: 40px;
        max-width: 160px;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }

    .about-section {
        text-align: center;
    }

    .expertise-list {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 3.25rem 0 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .navbar-custom .navbar-brand {
        font-size: 20px;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .projects-grid {
        gap: 1.5rem;
    }

    .podcast-video-container {
        min-height: 220px;
    }

    .project-content {
        padding: 1.5rem;
    }

    .social-icons-hero {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animations com AOS */
[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}

.aos-animate {
    animation-duration: 0.8s;
}

/* ===================================
   PODCASTS GRID
   =================================== */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.podcast-card-grid {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-card-grid:hover {
    transform: translateY(-10px);
}

/* Responsive Video Container */
.podcast-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    margin-bottom: 20px;
}

.podcast-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none !important;
}

.podcast-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.podcast-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.podcast-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .podcasts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .project-image-wrapper.app {
        height: 260px;
    }
}
/* ===================================
   CONTACT FORM FEEDBACK
   =================================== */
.form-status {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
}

.form-status.success {
    background: #e6fffa;
    border-color: #2ecc71;
    color: #0f5132;
}

.form-status.error {
    background: #fff2f2;
    border-color: #ff6b6b;
    color: #842029;
}

.form-status.info {
    background: #eef3ff;
    border-color: #4c6fff;
    color: #1d3b8b;
}

.field-error {
    display: none;
    margin-top: 6px;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control.is-invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.15rem rgba(255, 107, 107, 0.25);
}

.form-control.is-invalid:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.3);
}

.contact-form button[disabled] {
    opacity: 0.85;
    cursor: not-allowed;
}

/* Navbar Logo */
.navbar-logo {
    max-height: 60px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Case Modals */
.modal-case {
    --bs-backdrop-bg: rgba(0, 0, 0, 0.9);
}

.modal-case .modal-content {
    background: var(--dark-bg);
    color: var(--light-text);
    border: 1px solid var(--border-color);
}

.modal-case .modal-header,
.modal-case .modal-footer {
    border-color: var(--border-color);
}

.modal-case .carousel-item img {
    object-fit: cover;
    max-height: 70vh;
}

/* Responsive Modal Sizing */
.modal-responsive {
    max-width: 90vw;
    width: 100%;
}

@media (min-width: 576px) {
    .modal-responsive {
        max-width: 85%;
    }
}

@media (min-width: 768px) {
    .modal-responsive {
        max-width: 800px;
    }
}

@media (min-width: 992px) {
    .modal-responsive {
        max-width: 900px;
    }
}

/* Mobile Optimizations */
@media (max-width: 576px) {
    .modal-case .modal-content {
        border-radius: 12px;
    }
    
    .modal-case .modal-header {
        padding: 1rem;
    }
    
    .modal-case .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-case .carousel-item img {
        max-height: 40vh;
    }
    
    .modal-case .modal-footer {
        padding: 0.75rem;
        flex-wrap: wrap;
    }
    
    .modal-case .btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
        margin: 0.25rem;
    }
}

/* ===================================
   EXPANDABLE CARDS
   =================================== */
.expandable-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable-card.hidden-by-expand {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    height: 0;
    overflow: hidden;
    margin: 0;
}

.expandable-card.expanded {
    grid-column: 1 / -1;
}

.expanded-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95), rgba(15, 20, 25, 0.95));
    border-radius: 0 0 15px 15px;
    margin-top: -15px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.expandable-card.expanded .expanded-content {
    max-height: 2000px;
    opacity: 1;
    padding: 2rem;
    margin-top: 0;
}

.expanded-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.expanded-header h4 {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--light-text);
    font-size: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.expanded-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.expanded-body .carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expanded-body .carousel-item img {
    object-fit: cover;
    max-height: 500px;
    width: 100%;
}

.expanded-description {
    color: var(--muted-text);
    line-height: 1.8;
}

.expanded-description p {
    margin-bottom: 1rem;
}

.expand-btn {
    border: none;
    background: transparent;
    padding: 0;
}

.expand-btn.project-btn {
    background: rgba(0, 102, 255, 0.9);
}

.expand-btn.project-btn:hover {
    background: var(--primary-color);
}

/* Expanded Card Mobile Styles */
@media (max-width: 992px) {
    .expanded-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expanded-body .carousel-item img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .expandable-card.expanded .expanded-content {
        padding: 1.5rem;
    }
    
    .expanded-header h4 {
        font-size: 1.2rem;
    }
    
    .close-btn {
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }
    
    .expanded-body .carousel-item img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .modal-case .carousel-item img {
        max-height: 50vh;
    }
}

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

@media (max-width: 768px) {
    .navbar-logo {
        max-height: 48px;
        max-width: 190px;
    }
}
