/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 0;
    z-index: 10000;
    padding: 8px 16px;
    background: #fdbb2d;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0 0 8px 0;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar styles - Dark Glassmorphism Theme with Animated Gradient */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.98) 0%, rgba(26, 42, 108, 0.95) 50%, rgba(10, 15, 26, 0.98) 100%);
    background-size: 200% 200%;
    animation: navGradient 8s ease infinite;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(253, 187, 45, 0.2);
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.45rem 0.6rem;
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    transition: color 0.3s ease;
}

@media (max-width: 1400px) {
    .nav-links {
        gap: 0.25rem;
    }

    .nav-links li a {
        padding: 0.4rem 0.5rem;
        font-size: 0.9rem;
    }
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fdbb2d;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links li a:hover {
    color: #fdbb2d;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: 1rem;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero section enhancements - Dark Theme */
.hero {
    min-height: 80vh;
    background: #0a0f1a;
    background-image:
        linear-gradient(135deg, rgba(26, 42, 108, 0.8) 0%, rgba(10, 15, 26, 0.9) 50%, rgba(178, 31, 31, 0.6) 100%),
        radial-gradient(ellipse at top left, rgba(253, 187, 45, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(178, 31, 31, 0.3) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    text-align: left;
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.achievement-badges {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.badge {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
}

.badge i {
    font-size: 1.2rem;
}

.badge i.fa-google {
    color: #4285f4;
}

.badge i.fa-aws {
    color: #ff9900;
}

.badge i.fa-java {
    color: #f80000;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    margin: 1.5rem 0;
}

.hero-description p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.key-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.key-highlights span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.key-highlights span:hover {
    transform: translateY(-3px);
}

.key-highlights i {
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-primary,
.cta-secondary {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-primary {
    background: white;
    color: #1a2a6c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .key-highlights {
        gap: 1rem;
    }

    .key-highlights span {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 80%;
        text-align: center;
    }
}

/* Favicon optimization for different devices */
@media (prefers-color-scheme: dark) {
    link[rel="icon"] {
        filter: brightness(0.8);
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.tagline {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Hero Social Links - Enhanced Visibility */
.social-links a {
    font-size: 1.3rem;
    color: #fff;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(253, 187, 45, 0.15);
    border: 1px solid rgba(253, 187, 45, 0.3);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    color: #111;
    border-color: #fdbb2d;
    box-shadow: 0 4px 15px rgba(253, 187, 45, 0.4);
}

.social-links a:hover .fa-github {
    color: #171515;
}

.social-links a:hover .fa-linkedin {
    color: #0077b5;
}

.social-links a:hover .fa-globe {
    color: #3498db;
}

.social-links a:hover .fa-file-pdf {
    color: #f40f02;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2rem;
}

/* About section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact info in About section - Dark Theme */
.contact-info {
    margin-top: 2rem;
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
    background: transparent;
    padding: 0;
    border-radius: 10px;
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 1rem;
    color: #fdbb2d;
    width: 20px;
}

/* Skills section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

/* Enhanced skill cards */
.skill-card p {
    color: #666;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Portfolio section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Services section */
.services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact section */
/* Contact section - Dark Theme */
.contact {
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at top right, rgba(26, 42, 108, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(178, 31, 31, 0.3) 0%, transparent 50%);
    padding: 80px 0;
    position: relative;
}

.contact h2 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-header i {
    font-size: 2rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #fdbb2d;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-text .label,
.contact-text .contact-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.contact-text a,
.contact-text span {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #fdbb2d;
}

.social-links-alt {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links-alt a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 187, 45, 0.15);
    color: #fdbb2d;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links-alt a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    color: #111;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.input-group {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #fdbb2d;
    font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fdbb2d;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(253, 187, 45, 0.1);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    color: #111;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 187, 45, 0.4);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-header h3 {
        font-size: 1.3rem;
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .social-links-alt {
        justify-content: center;
    }
}

/* Animated Elements for Hero Section */
.animated-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Network lines canvas — between bg-pattern(z:1) and content(z:3) */
#hero-net-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: block;
}

/* Icon node layer — on top of network lines, below text content */
#hero-icon-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* Individual floating icon node */
.hil-node {
    position: absolute;
    left: 0; top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 11, 22, 0.80);
    will-change: transform, opacity;
    transform: translate(-9999px, -9999px);
    transition: none;
}
.hil-node i {
    font-size: 17px;
    line-height: 1;
    pointer-events: none;
}

.animated-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0.5;
    transition: all 0.5s ease;
    pointer-events: auto;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.animated-icon i {
    font-size: 1.8rem;
}

/* Position each icon - generic icons */
.cloud-icon {
    top: 15%;
    left: 10%;
}

.code-icon {
    top: 25%;
    left: 25%;
}

.brain-icon {
    top: 35%;
    right: 15%;
}

.server-icon {
    top: 20%;
    right: 25%;
}

.robot-icon {
    bottom: 25%;
    left: 20%;
}

.cog-icon {
    bottom: 35%;
    right: 10%;
}

.database-icon {
    bottom: 15%;
    right: 30%;
}

.shield-icon {
    bottom: 45%;
    left: 15%;
}

/* Tech-specific icons */
.tech-icon i {
    font-size: 2rem;
}

.aws-icon {
    top: 8%;
    left: 35%;
    color: rgba(255, 153, 0, 0.5);
    /* AWS orange */
}

.gcp-icon {
    top: 18%;
    left: 55%;
    color: rgba(66, 133, 244, 0.5);
    /* Google blue */
}

.azure-icon {
    top: 32%;
    left: 75%;
    color: rgba(0, 120, 215, 0.5);
    /* Microsoft blue */
}

.docker-icon {
    top: 40%;
    left: 5%;
    color: rgba(13, 136, 189, 0.5);
    /* Docker blue */
}

.python-icon {
    bottom: 30%;
    right: 40%;
    color: rgba(55, 118, 171, 0.5);
    /* Python blue */
}

.java-icon {
    bottom: 20%;
    right: 60%;
    color: rgba(248, 152, 32, 0.5);
    /* Java orange */
}

.js-icon {
    bottom: 50%;
    right: 20%;
    color: rgba(240, 219, 79, 0.5);
    /* JavaScript yellow */
}

.linux-icon {
    bottom: 10%;
    left: 55%;
    color: rgba(255, 255, 255, 0.5);
}

.github-icon {
    bottom: 35%;
    left: 35%;
    color: rgba(255, 255, 255, 0.5);
}

.android-icon {
    bottom: 25%;
    left: 65%;
    color: rgba(164, 198, 57, 0.5);
    /* Android green */
}

/* Text-based tech icons */
.text-icon {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.2);
    backdrop-filter: blur(4px);
}

.k8s-icon {
    top: 12%;
    right: 45%;
    color: rgba(41, 98, 255, 0.6);
    /* Kubernetes blue */
}

.tf-icon {
    top: 28%;
    right: 65%;
    color: rgba(91, 37, 229, 0.6);
    /* Terraform purple */
}

.ml-icon {
    top: 45%;
    left: 40%;
    color: rgba(10, 186, 181, 0.6);
    /* Teal */
}

.ai-icon {
    top: 60%;
    right: 75%;
    color: rgba(239, 83, 80, 0.6);
    /* Red */
}

.ci-icon {
    bottom: 40%;
    right: 45%;
    color: rgba(250, 211, 76, 0.6);
    /* Yellow */
}

.db-icon {
    top: 15%;
    left: 70%;
    color: rgba(77, 208, 225, 0.6);
    /* Light blue */
}

.devops-icon {
    bottom: 55%;
    left: 45%;
    color: rgba(255, 109, 0, 0.6);
    /* Orange */
}

.llm-icon {
    bottom: 18%;
    right: 15%;
    color: rgba(123, 31, 162, 0.6);
    /* Purple */
}

/* Hover effects */
.animated-icon:hover {
    transform: translateY(-10px) scale(1.5);
    opacity: 1;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(78, 140, 255, 0.5));
}

/* Specific hover colors for generic icons */
.cloud-icon:hover {
    color: #4e8cff;
}

.code-icon:hover {
    color: #ff6b6b;
}

.brain-icon:hover {
    color: #9c88ff;
}

.server-icon:hover {
    color: #feca57;
}

.robot-icon:hover {
    color: #1dd1a1;
}

.cog-icon:hover {
    color: #ff9f43;
}

.database-icon:hover {
    color: #00d2d3;
}

.shield-icon:hover {
    color: #5f27cd;
}

/* Specific hover colors for brand icons */
.aws-icon:hover {
    color: #ff9900;
    /* AWS orange */
}

.gcp-icon:hover {
    color: #4285f4;
    /* Google blue */
}

.azure-icon:hover {
    color: #0078d7;
    /* Microsoft blue */
}

.docker-icon:hover {
    color: #0db7ed;
    /* Docker blue */
}

.python-icon:hover {
    color: #3776ab;
    /* Python blue */
}

.java-icon:hover {
    color: #f89820;
    /* Java orange */
}

.js-icon:hover {
    color: #f0db4f;
    /* JavaScript yellow */
}

.linux-icon:hover {
    color: #ffffff;
}

.github-icon:hover {
    color: #ffffff;
}

.android-icon:hover {
    color: #a4c639;
    /* Android green */
}

/* Text icon hover effects */
.text-icon:hover {
    background: rgba(30, 30, 30, 0.6);
}

.k8s-icon:hover {
    color: #2962ff;
    /* Kubernetes blue */
}

.tf-icon:hover {
    color: #5b25e5;
    /* Terraform purple */
}

.ml-icon:hover {
    color: #0abab5;
    /* Teal */
}

.ai-icon:hover {
    color: #ef5350;
    /* Red */
}

.ci-icon:hover {
    color: #fad34c;
    /* Yellow */
}

.db-icon:hover {
    color: #4dd0e1;
    /* Light blue */
}

.devops-icon:hover {
    color: #ff6d00;
    /* Orange */
}

.llm-icon:hover {
    color: #7b1fa2;
    /* Purple */
}

/* Initial animation for icons */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.animated-icon:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.animated-icon:nth-child(even) {
    animation: float 5s ease-in-out infinite reverse;
}

.text-icon {
    animation: pulse 4s ease-in-out infinite;
}

.text-icon:nth-child(odd) {
    animation-duration: 5s;
}

.text-icon:nth-child(even) {
    animation-duration: 6s;
    animation-delay: 1s;
}

/* Make sure tech icons have different animation timings */
.tech-icon:nth-child(3n) {
    animation-duration: 7s;
}

.tech-icon:nth-child(3n+1) {
    animation-duration: 5.5s;
    animation-delay: 0.7s;
}

.tech-icon:nth-child(3n+2) {
    animation-duration: 6.5s;
    animation-delay: 1.5s;
}

.contact-form button:hover {
    background: #2980b9;
}

/* Modern Professional Footer - Dark Theme */
.modern-footer {
    background: #0a0f1a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: auto;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top center, rgba(26, 42, 108, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(178, 31, 31, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(253, 187, 45, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Professional Footer Layout - Based on Reference Design */
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    /* Align columns to top */
    gap: 60px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    /* Add padding for better spacing */
    text-align: left !important;
    /* Force left alignment */
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Allow content to shrink */
    text-align: left !important;
    /* Force left alignment */
}

.footer-brand {
    flex: 1.2;
    /* Make brand column slightly larger */
    text-align: left !important;
    /* Force left alignment */
}

/* Column 1: Brand Section */
.brand-logo {
    margin-bottom: 20px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    display: block;
}

.brand-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    max-width: 280px;
}

.footer-contact-form {
    margin-top: auto;
}

.contact-input-group {
    display: flex;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.footer-email-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: #ffffff;
    color: #333;
    font-size: 0.9rem;
    outline: none;
    border-radius: 0;
}

.footer-email-input::placeholder {
    color: #888;
    font-size: 0.9rem;
}

/* Footer CTA - Golden Theme */
.footer-cta-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
}

.footer-cta-btn:hover {
    background: linear-gradient(135deg, #ff6b35, #fdbb2d);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 187, 45, 0.4);
}

/* Column Headings */
.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Footer Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left !important;
    /* Force left alignment */
}

.footer-list li {
    margin-bottom: 14px;
    text-align: left !important;
    /* Force left alignment for list items */
}

.footer-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: block;
    text-align: left !important;
    /* Force left alignment for links */
}

.footer-list a:hover {
    color: #fdbb2d;
    padding-left: 5px;
}

/* Force left alignment for all footer columns */
.footer-column {
    text-align: left !important;
}

.footer-heading {
    text-align: left !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #b8c6db;
    font-size: 0.9rem;
    margin: 0;
}

/* Legacy footer compatibility */
footer {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: auto;
}

footer .social-links {
    margin-bottom: 1rem;
}

footer .social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Professional Footer Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: row;
        /* Keep 3 columns layout */
        gap: 20px;
        /* Reduce gap for smaller screens */
        text-align: left;
        padding: 0 15px;
        /* Adjust padding for mobile */
        flex-wrap: nowrap;
        /* Prevent wrapping */
    }

    .footer-brand {
        flex: 1;
        min-width: 0;
        /* Allow column to shrink */
    }

    .footer-column {
        flex: 1;
        min-width: 0;
        /* Allow columns to shrink */
    }

    .brand-description {
        max-width: 100%;
        font-size: 0.8rem;
        /* Smaller text for mobile */
        line-height: 1.4;
    }

    .contact-input-group {
        max-width: 100%;
        margin: 0;
    }

    .footer-heading {
        font-size: 1rem;
        /* Smaller heading */
        margin-bottom: 15px;
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list {
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list a {
        font-size: 0.8rem;
        /* Smaller link text */
        line-height: 1.3;
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list li {
        margin-bottom: 8px;
        /* Reduce spacing */
        text-align: left !important;
        /* Force left alignment */
    }
}

@media (max-width: 480px) {
    .modern-footer {
        padding: 30px 0 20px;
        /* Reduce padding */
    }

    .footer-content {
        gap: 15px;
        /* Even smaller gap */
        flex-direction: row;
        /* Maintain 3 columns */
    }

    .footer-brand {
        flex: 1.1;
        /* Slightly larger brand column */
    }

    .footer-column {
        flex: 0.9;
        /* Slightly smaller other columns */
    }

    .brand-name {
        font-size: 1.1rem;
        /* Smaller brand name */
        line-height: 1.1;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    .brand-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 12px;
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list {
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list a {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list li {
        margin-bottom: 6px;
        text-align: left !important;
        /* Force left alignment */
    }

    .contact-input-group {
        flex-direction: column;
        /* Stack input and button vertically on very small screens */
        max-width: 100%;
    }

    .footer-email-input {
        border-radius: 4px 4px 0 0;
        margin-bottom: 1px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .footer-cta-btn {
        border-radius: 0 0 4px 4px;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.7rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .footer-content {
        gap: 10px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-description {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .footer-heading {
        font-size: 0.85rem;
        margin-bottom: 10px;
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list {
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list a {
        font-size: 0.7rem;
        text-align: left !important;
        /* Force left alignment */
    }

    .footer-list li {
        margin-bottom: 4px;
        text-align: left !important;
        /* Force left alignment */
    }
}

/* Responsive design */
@media (max-width: 768px) {
    /* nav-links handled in premium mobile menu section */

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

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

    .contact-info {
        padding: 1rem;
    }
}

/* Certifications Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.cert-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* Publications Section */
.publications {
    background: #f8f9fa;
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pub-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pub-card:hover {
    transform: translateY(-5px);
}

.pub-content {
    padding: 2rem;
}

.pub-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.pub-abstract {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pub-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.pub-meta span {
    display: flex;
    align-items: center;
}

.pub-meta i {
    margin-right: 0.5rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 0.5rem;
}

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {

    .cert-grid,
    .pub-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .pub-meta,
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-item {
    padding: 20px 30px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #3498db;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content .date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.timeline-content ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.edu-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.edu-card:hover {
    transform: translateY(-5px);
}

.edu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.edu-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.edu-card .institution {
    color: #3498db;
    margin-bottom: 0.5rem;
}

.edu-card .location,
.edu-card .date,
.edu-card .grade,
.edu-card .thesis {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.edu-card .thesis {
    font-style: italic;
}

/* Enhanced Contact Info - Dark Theme */
.contact-info {
    background: transparent;
    padding: 0;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fdbb2d;
}

.contact-info i {
    min-width: 25px;
    color: #fdbb2d;
    margin-right: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-item {
        padding: 15px 20px;
    }

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

    .contact-info p {
        font-size: 0.9rem;
    }
}

/* Scroll Reveal Animation */
.timeline-item,
.edu-card,
.skill-card,
.cert-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible,
.edu-card.visible,
.skill-card.visible,
.cert-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback visibility: keep education cards readable if reveal JS is blocked/fails. */
#education .edu-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* JS-enabled entrance states for Academic Background cards. */
#education .edu-card.edu-pre {
    opacity: 0 !important;
    transform: translateY(22px) !important;
}

#education .edu-card.edu-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Responsive design for hero section */
@media (max-width: 968px) {
    .hero {
        padding: 110px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .key-highlights {
        justify-content: center;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 96px 0 56px;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Add blog section styles - Dark Theme */
.blogs {
    padding: 80px 0;
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at center, rgba(26, 42, 108, 0.3) 0%, transparent 50%);
}

.blogs h2 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(253, 187, 45, 0.2);
    color: #fdbb2d;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
    min-height: 60px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.blog-meta .date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    color: #fdbb2d;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
    color: #fff;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* Mobile nav-links are handled in include-specific styles (header.php / navbar.php). */

    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Hire Me section cards */
.hire-me-section {
    padding: 88px 0;
    position: relative;
}

.hire-me-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.hire-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.92rem;
    min-height: 100%;
    padding: 1.55rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hire-card:hover {
    transform: translateY(-6px);
    border-color: rgba(253, 187, 45, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.hire-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.2), rgba(255, 107, 53, 0.18));
    border: 1px solid rgba(253, 187, 45, 0.34);
}

.hire-card-icon i {
    font-size: 1.2rem;
    color: #ffe3a6;
}

.hire-card h3 {
    margin: 0;
    line-height: 1.3;
}

.hire-card p {
    margin: 0;
    line-height: 1.72;
}

.hire-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    font-weight: 700;
    color: #f3cb82;
    letter-spacing: 0.01em;
    text-decoration: none;
    line-height: 1.1;
}

.hire-card-link i {
    font-size: 0.9rem;
    color: inherit;
    transition: transform 0.25s ease;
}

.hire-card:link .hire-card-link,
.hire-card:visited .hire-card-link {
    color: #f3cb82;
}

.hire-card:hover .hire-card-link,
.hire-card:focus-visible .hire-card-link {
    color: #fff1ce;
}

.hire-card:hover .hire-card-link i,
.hire-card:focus-visible .hire-card-link i {
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    .hire-me-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hire-me-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Floating "Book a Free Consultation" FAB ─────────────────── */
@keyframes fab-pulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    70%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

.fab-consult {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 1.3rem 0.72rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fdbb2d, #ff7f45);
    color: #0f0f0f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 28px rgba(253, 187, 45, 0.38), 0 2px 8px rgba(0,0,0,0.35);
    cursor: pointer;
    /* hidden by default — JS adds .fab-consult--visible */
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.38s ease, transform 0.38s ease, box-shadow 0.25s ease;
}

.fab-consult--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-consult:hover {
    box-shadow: 0 8px 36px rgba(253, 187, 45, 0.55), 0 2px 10px rgba(0,0,0,0.35);
    text-decoration: none;
}

.fab-consult:hover .fab-pulse-ring { animation-play-state: paused; }

.fab-icon {
    font-size: 0.92rem;
    flex-shrink: 0;
}

.fab-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid rgba(253, 187, 45, 0.7);
    animation: fab-pulse 2.4s cubic-bezier(0.22, 0.6, 0.36, 1) infinite;
    pointer-events: none;
}

.fab-pulse-ring--delay {
    animation-delay: 1.2s;
}

@media (max-width: 600px) {
    .fab-consult {
        bottom: 1.25rem;
        right: 1.1rem;
        padding: 0.72rem;
        gap: 0;
    }
    .fab-label { display: none; }
    .fab-icon { font-size: 1.1rem; }
}

/* ── Section eyebrow label ───────────────────────────────────── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fdbb2d;
    margin: 0 0 0.7rem;
}

.section-eyebrow span {
    display: inline-block;
    width: 1.8rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #fdbb2d, #ff7f45);
    flex-shrink: 0;
}

/* ── Per-card accent colours ─────────────────────────────────── */
.hire-card--ai .hire-card-icon {
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.22), rgba(255, 127, 69, 0.12));
    border-color: rgba(253, 187, 45, 0.42);
}
.hire-card--ai .hire-card-icon i { color: #ffd580; }

.hire-card--cloud .hire-card-icon {
    background: linear-gradient(135deg, rgba(36, 150, 237, 0.22), rgba(36, 150, 237, 0.08));
    border-color: rgba(36, 150, 237, 0.4);
}
.hire-card--cloud .hire-card-icon i { color: #6ec6f5; }

.hire-card--genai .hire-card-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(168, 85, 247, 0.08));
    border-color: rgba(168, 85, 247, 0.4);
}
.hire-card--genai .hire-card-icon i { color: #c084fc; }

/* Per-card top-edge glow on hover */
.hire-card--ai:hover    { border-color: rgba(253, 187, 45, 0.52); }
.hire-card--cloud:hover { border-color: rgba(36, 150, 237, 0.52); }
.hire-card--genai:hover { border-color: rgba(168, 85, 247, 0.52); }

/* ── Skill-tag pills inside cards ────────────────────────────── */
.hire-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hire-card-tags li {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(253, 187, 45, 0.28);
    color: rgba(255, 228, 185, 0.88);
    background: rgba(253, 187, 45, 0.07);
    white-space: nowrap;
    line-height: 1.5;
}

.hire-card--cloud .hire-card-tags li {
    border-color: rgba(36, 150, 237, 0.3);
    color: rgba(190, 225, 255, 0.88);
    background: rgba(36, 150, 237, 0.07);
}

.hire-card--genai .hire-card-tags li {
    border-color: rgba(168, 85, 247, 0.3);
    color: rgba(220, 190, 255, 0.88);
    background: rgba(168, 85, 247, 0.07);
}

/* ── Trust metrics strip ─────────────────────────────────────── */
.hire-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 2.4rem auto 0;
    padding: 1.2rem 2rem;
    border: 1px solid rgba(253, 187, 45, 0.16);
    border-radius: 16px;
    background: rgba(253, 187, 45, 0.03);
    max-width: 720px;
}

.hire-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    flex: 1 1 130px;
    padding: 0.5rem 0.75rem;
}

.hire-metric-num {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    color: #fdbb2d;
    line-height: 1;
    letter-spacing: -0.01em;
}

.hire-metric-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    white-space: nowrap;
}

.hire-metric-sep {
    width: 1px;
    height: 38px;
    background: rgba(253, 187, 45, 0.18);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hire-metrics { padding: 0.9rem 1rem; }
    .hire-metric-sep { display: none; }
    .hire-metric { flex: 1 1 44%; border-bottom: 1px solid rgba(253, 187, 45, 0.08); padding: 0.6rem; }
    .hire-metric:nth-child(n+5) { border-bottom: none; }
}

/* ── Stronger CTA button variant ─────────────────────────────── */
.view-all-btn--primary {
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.16), rgba(255, 127, 69, 0.1));
    border: 1px solid rgba(253, 187, 45, 0.4);
    padding: 0.78rem 2rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.view-all-btn--primary:hover {
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.26), rgba(255, 127, 69, 0.18));
    border-color: rgba(253, 187, 45, 0.65);
    box-shadow: 0 0 18px rgba(253, 187, 45, 0.18);
}

/* ── About — inline stat row ─────────────────────────────────── */
.about-stats-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 1.4rem 0 0;
    padding: 0.9rem 1.4rem;
    border: 1px solid rgba(253, 187, 45, 0.16);
    border-radius: 14px;
    background: rgba(253, 187, 45, 0.03);
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 70px;
    gap: 0.1rem;
    padding: 0.25rem 0.5rem;
}

.about-stat-num {
    font-size: clamp(1.18rem, 1.6vw, 1.46rem);
    font-weight: 800;
    color: #fdbb2d;
    line-height: 1;
    letter-spacing: -0.01em;
}

.about-stat-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.44);
    white-space: nowrap;
}

.about-stat-div {
    width: 1px;
    height: 30px;
    background: rgba(253, 187, 45, 0.16);
    flex-shrink: 0;
}

/* ── Highlight box numbered badge ────────────────────────────── */
.hbox-num {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(253, 187, 45, 0.55);
    margin-bottom: 0.45rem;
    line-height: 1;
}

/* ── Availability badge ──────────────────────────────────────── */
.about-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(72, 213, 150, 0.92);
    margin-bottom: 1.15rem;
    padding: 0.3rem 0.82rem 0.3rem 0.6rem;
    border: 1px solid rgba(72, 213, 150, 0.28);
    border-radius: 999px;
    background: rgba(72, 213, 150, 0.06);
}

.avail-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48d596;
    flex-shrink: 0;
    animation: avail-pulse 2.2s ease infinite;
}

@keyframes avail-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(72, 213, 150, 0.55); }
    70%  { box-shadow: 0 0 0 6px rgba(72, 213, 150, 0); }
    100% { box-shadow: 0 0 0 0 rgba(72, 213, 150, 0); }
}

/* ── Quick social row inside contact card ────────────────────── */
.about-social-quick {
    display: flex;
    gap: 0.52rem;
    margin: 1rem 0 0.9rem;
}

.about-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(253, 187, 45, 0.28);
    background: rgba(253, 187, 45, 0.06);
    color: rgba(255, 224, 170, 0.82);
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.about-social-btn:hover {
    border-color: rgba(253, 187, 45, 0.55);
    background: rgba(253, 187, 45, 0.14);
    color: #ffd580;
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 600px) {
    .about-stats-row { padding: 0.7rem 0.8rem; }
    .about-stat-div { display: none; }
    .about-stat { flex: 1 1 40%; padding: 0.45rem; }
}

/* About section styles - Dark Glassmorphism Theme */
.about {
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at top left, rgba(26, 42, 108, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(178, 31, 31, 0.2) 0%, transparent 50%);
    position: relative;
    padding: 80px 0;
}

.about h2 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

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

.about-text h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-text h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.highlight-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
    background: rgba(255, 255, 255, 0.08);
}

.highlight-box i {
    font-size: 2rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.highlight-box h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
}

.contact-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card h3 i {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-info i {
    color: #fdbb2d;
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.connect-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    color: #111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.connect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 187, 45, 0.4);
    background: linear-gradient(135deg, #ff6b35, #fdbb2d);
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        position: static;
        margin-top: 2rem;
    }

    .highlight-boxes {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Expertise Overview Section - Dark Theme */
.expertise-overview {
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at top left, rgba(26, 42, 108, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(178, 31, 31, 0.3) 0%, transparent 50%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.autotyping {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(26, 42, 108, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.autotyping>span {
    font-weight: 700;
    background: linear-gradient(135deg, #fdbb2d, #b21f1f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 10px;
    position: relative;
}

.typed-cursor {
    color: #fdbb2d;
}

/* Media queries for responsiveness */
@media (min-width: 481px) and (max-width: 768px) {
    .autotyping {
        font-size: 1.8em;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .autotyping {
        font-size: 1.5em;
        padding: 1rem;
        text-align: center;
    }
}

.typing_text {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 10px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fdbb2d, #ff6b35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.expertise-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.highlight {
    color: #fdbb2d;
    font-weight: 600;
}

.services-overview {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.services-content>p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(253, 187, 45, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(253, 187, 45, 0.2);
}

.service-item:hover {
    background: rgba(253, 187, 45, 0.15);
    transform: translateX(5px);
}

.service-item i {
    color: #fdbb2d;
    font-size: 1.2rem;
}

.service-item span {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .autotyping {
        font-size: 1.8rem;
    }

    .services-overview {
        padding: 2rem;
    }

    .expertise-card {
        padding: 1.5rem;
    }
}

.typing-container {
    padding: 0.6rem 0;
    background: rgba(26, 42, 108, 0.95);
    border-radius: 8px;
    margin: 0.8rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.autotyping {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.static-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 600;
    white-space: nowrap;
}

.typing_text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    background: linear-gradient(135deg, #fdbb2d, #b21f1f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 6px;
}

.typed-cursor {
    font-size: 1.3em;
    color: #fdbb2d;
}

/* Media queries for the typing section */
@media (max-width: 768px) {
    .autotyping {
        padding: 0 1rem;
        gap: 8px;
    }

    .static-text,
    .typing_text,
    .typed-cursor {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .typing-container {
        padding: 0.6rem 0;
    }

    .autotyping {
        padding: 0 0.8rem;
        gap: 6px;
    }

    .static-text,
    .typing_text,
    .typed-cursor {
        font-size: 1.1em;
    }
}

.experience {
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at bottom left, rgba(178, 31, 31, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(26, 42, 108, 0.3) 0%, transparent 50%);
    position: relative;
    padding: 80px 0;
}

.experience h2 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #1a2a6c, #b21f1f);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: calc(50% - 30px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: #fdbb2d;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
}

.timeline-item:nth-child(odd)::before {
    left: -30px;
}

.timeline-item:nth-child(even)::before {
    right: -30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 26px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fdbb2d;
    border: 3px solid #1a2a6c;
}

.timeline-item:nth-child(odd)::after {
    left: -35px;
}

.timeline-item:nth-child(even)::after {
    right: -35px;
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content h4 {
    color: #fdbb2d;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content .date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(253, 187, 45, 0.2);
    border-radius: 20px;
    color: #fdbb2d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fdbb2d;
}

/* ── Timeline tech-stack tags ────────────────────────────────── */
.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.36rem;
    list-style: none;
    margin: 0.88rem 0 0;
    padding: 0;
}

.timeline-tags li {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(253, 187, 45, 0.26);
    color: rgba(255, 228, 185, 0.84);
    background: rgba(253, 187, 45, 0.06);
    white-space: nowrap;
    line-height: 1.5;
}

/* Education Section Styling - Dark Theme */
.education {
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at top center, rgba(26, 42, 108, 0.3) 0%, transparent 50%);
    padding: 80px 0;
}

.education h2 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.edu-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fdbb2d, #ff6b35);
}

.edu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
}

.edu-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.edu-card .institution {
    color: #fdbb2d;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.edu-card .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.edu-card .location i {
    color: #fdbb2d;
}

.edu-card .edu-cert-link,
.edu-card .edu-cert-link:visited {
    color: #fdbb2d;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(253, 187, 45, 0.35);
}

.edu-card .edu-cert-link:hover,
.edu-card .edu-cert-link:focus-visible {
    color: #fff0cf;
    border-bottom-color: rgba(255, 240, 207, 0.72);
}

.edu-card .grade {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(253, 187, 45, 0.2);
    border-radius: 20px;
    color: #fdbb2d;
    font-size: 0.9rem;
    margin: 0.8rem 0;
}

.edu-card .thesis {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-card .date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: calc(100% - 30px);
        margin-left: 30px;
    }

    .timeline-item::before {
        left: -30px;
        right: auto;
    }

    .timeline-item::after {
        left: -35px;
        right: auto;
    }

    .education-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Skills section */
.skills {
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at bottom right, rgba(178, 31, 31, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at top left, rgba(26, 42, 108, 0.3) 0%, transparent 50%);
    padding: 80px 0;
    position: relative;
}

.skills h2 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
}

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

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-header i {
    font-size: 2rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-header h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(253, 187, 45, 0.15);
    border-radius: 20px;
    color: #fdbb2d;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(253, 187, 45, 0.3);
}

.skill-tag:hover {
    background: rgba(253, 187, 45, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 187, 45, 0.2);
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-header i {
        font-size: 1.5rem;
    }

    .skill-header h3 {
        font-size: 1.2rem;
    }
}

/* Certifications section - Dark Theme */
.certifications {
    padding: 80px 0;
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at center, rgba(26, 42, 108, 0.3) 0%, transparent 50%);
}

.certifications .section-title {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Override generic scroll-reveal opacity:0 — ScrollReveal manages
       its own visibility via inline styles; this prevents cards from
       staying invisible when revealOnScroll() is skipped on the homepage. */
    opacity: 1;
    transform: none;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #fdbb2d;
}

.cert-provider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cert-provider i {
    font-size: 1.8rem;
    color: #fdbb2d;
}

.cert-provider span {
    font-weight: 600;
    color: #fdbb2d;
}

.cert-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cert-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cert-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#certifications .cert-card .cert-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.cert-verify {
    color: #fdbb2d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cert-verify:hover {
    color: #fff;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    color: #111;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 187, 45, 0.4);
    background: linear-gradient(135deg, #ff6b35, #fdbb2d);
}

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

.mt-4 {
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        padding: 1.5rem;
    }

    .see-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Certification Categories */
.cert-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cert-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(26, 42, 108, 0.08);
}

.cert-category h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1a2a6c;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(26, 42, 108, 0.1);
}

.cert-category h2 i {
    color: #1a2a6c;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(26, 42, 108, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 42, 108, 0.1);
}

.cert-item:hover {
    transform: translateX(5px);
    background: rgba(26, 42, 108, 0.05);
    border-color: rgba(26, 42, 108, 0.2);
}

.cert-provider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cert-provider h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cert-provider p {
    color: #666;
    font-size: 0.9rem;
}

.cert-category .cert-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cert-category .cert-date {
    color: #666;
    font-size: 0.9rem;
}

.cert-category .cert-verify {
    color: #1a2a6c;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cert-category .cert-verify:hover {
    color: #b21f1f;
}

@media (max-width: 768px) {
    .cert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cert-provider {
        width: 100%;
    }

    .cert-meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* Certifications Page */
.certifications-page {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate:hover {
    transform: translateY(-5px);
}

.cert-provider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cert-provider i {
    color: #4a90e2;
    font-size: 24px;
}

.cert-provider span {
    font-weight: 600;
    color: #555;
}

.certificate h3 {
    margin-bottom: 12px;
    color: #333;
}

.cert-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cert-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cert-date {
    color: #888;
}

.certifications-page .cert-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e1f0fa;
    color: #3498db;
    border-radius: 15px;
    font-size: 0.9rem;
}

.cert-verify {
    color: #4a90e2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cert-verify:hover {
    text-decoration: underline;
}

/* Homepage certification verify button override */
#certifications .cert-meta .cert-verify {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    border: 1px solid rgba(253, 187, 45, 0.24);
    color: #121212 !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(253, 187, 45, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#certifications .cert-meta .cert-verify:visited {
    color: #121212 !important;
}

#certifications .cert-meta .cert-verify i {
    color: inherit !important;
    font-size: 0.82rem;
}

#certifications .cert-meta .cert-verify:hover,
#certifications .cert-meta .cert-verify:focus-visible {
    color: #121212 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(253, 187, 45, 0.36);
    filter: brightness(1.03);
}

#certifications .cert-meta .cert-verify:active {
    transform: translateY(0);
}

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

/* Footer - Dark Theme */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background: #0a0f1a;
    background-image:
        radial-gradient(ellipse at top center, rgba(26, 42, 108, 0.3) 0%, transparent 50%);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    min-height: calc(100vh - 80px);
    /* Adjust the value based on footer height */
    display: flex;
    flex-direction: column;
}

.admin-link {
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.admin-link i {
    font-size: 0.9rem;
}

/* Hamburger base styles are defined near the top of this file. */

@media (max-width: 768px) {
    /* Mobile menu layout is handled in include-specific styles (header.php / navbar.php). */
}

/* ========================================
   GSAP & SCROLLREVEAL ANIMATION SUPPORT
   ======================================== */

/* Enable 3D transforms */
.hero-image,
.skill-card,
.blog-card,
.experience-card,
.education-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* Profile image glow and float effect */
.profile-img {
    will-change: transform;
    filter: drop-shadow(0 0 30px rgba(253, 187, 45, 0.3));
    transition: filter 0.3s ease;
}

.profile-img:hover {
    filter: drop-shadow(0 0 50px rgba(253, 187, 45, 0.5));
}

/* Card hover glow effects */
.skill-card,
.blog-card,
.experience-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.skill-card:hover,
.blog-card:hover,
.experience-card:hover {
    box-shadow: 0 20px 60px rgba(253, 187, 45, 0.2), 0 0 30px rgba(253, 187, 45, 0.1);
    border-color: rgba(253, 187, 45, 0.3);
}

/* CTA button magnetic effect support */
.cta-primary,
.cta-secondary,
.btn {
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.cta-primary::before,
.cta-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-primary:hover::before,
.cta-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Social links animation support */
.social-links a {
    will-change: transform;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fdbb2d;
}

/* Section reveal support */
section {
    will-change: opacity;
}

/* Certification badge pulse effect */
.cert-badge,
.badge {
    will-change: transform;
    transition: all 0.3s ease;
}

.cert-badge:hover,
.badge:hover {
    box-shadow: 0 0 20px rgba(253, 187, 45, 0.4);
}

/* Navbar glassmorphism enhancement */
.navbar {
    will-change: background-color, backdrop-filter;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* Hero background parallax support */
.hero-bg-pattern {
    will-change: transform;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Progress bar animation */
.skill-progress,
.progress-bar {
    will-change: width;
    transition: width 0s;
    /* GSAP handles this */
}

/* Text gradient animation */
@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero h1 {
    background: linear-gradient(135deg, #fdbb2d, #ff6b35, #fdbb2d, #ff6b35);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 4s ease infinite;
}

/* Floating animation for badges */
@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(2deg);
    }

    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

/* Badge motion is handled by GSAP after the hero entrance (see index.php). A CSS keyframe on
   transform here conflicted with GSAP scale/opacity and could hide badges after load. */
.achievement-badges .badge {
    animation: none;
}

/* Key highlights shimmer */
.key-highlights span {
    position: relative;
    overflow: hidden;
}

.key-highlights span::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Typing cursor blink */
.typed-cursor {
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ========== SERVICES SECTION (Homepage) ========== */
section.services-home {
    padding: 80px 0 !important;
    background: #0a0f1a !important;
    background-image:
        radial-gradient(ellipse at top left, rgba(26, 42, 108, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(178, 31, 31, 0.2) 0%, transparent 50%) !important;
}

section.services-home h2 {
    text-align: center;
    font-size: 2.5rem !important;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    margin-bottom: 0.5rem;
}

.services-home .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card-home {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fdbb2d, #ff6b35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-home:hover {
    transform: translateY(-5px);
    border-color: #fdbb2d;
    box-shadow: 0 15px 40px rgba(253, 187, 45, 0.15);
}

.service-card-home:hover::before {
    opacity: 1;
}

.service-icon-home {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.15), rgba(255, 107, 53, 0.15));
    border: 1px solid rgba(253, 187, 45, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon-home i {
    font-size: 1.8rem;
    color: #fdbb2d;
}

.service-card-home h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card-home p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== FAQ SECTION ========== */
section.faq-section {
    padding: 80px 0 !important;
    background: #0a0f1a !important;
    background-image:
        radial-gradient(ellipse at top right, rgba(26, 42, 108, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(178, 31, 31, 0.3) 0%, transparent 50%) !important;
}

section.faq-section h2 {
    text-align: center;
    font-size: 2.5rem !important;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    margin-bottom: 0.5rem;
}

section.faq-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(253, 187, 45, 0.3);
}

.faq-item.active {
    border-color: rgba(253, 187, 45, 0.5) !important;
    box-shadow: 0 5px 20px rgba(253, 187, 45, 0.1) !important;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question span {
    color: #fff !important;
}

.faq-question i {
    color: #fdbb2d !important;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.faq-answer a {
    color: #fdbb2d !important;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* FAQ Responsive */
@media (max-width: 768px) {

    .services-home h2,
    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .services-grid-home {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   EXPERTISE CARDS WITH HOVER TOOLTIPS
======================================== */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.expertise-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: visible;
}

.expertise-card:hover {
    transform: translateY(-8px);
    background: rgba(253, 187, 45, 0.08);
    border-color: rgba(253, 187, 45, 0.4);
    box-shadow: 0 20px 40px rgba(253, 187, 45, 0.15);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.15), rgba(255, 107, 53, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.3), rgba(255, 107, 53, 0.3));
    box-shadow: 0 10px 30px rgba(253, 187, 45, 0.3);
}

.expertise-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #fdbb2d, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

/* Tooltip Popup Styles - Elegant Glassmorphism */
.tooltip-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    width: 300px;
    background: linear-gradient(135deg, rgba(15, 20, 35, 0.95), rgba(10, 15, 26, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(253, 187, 45, 0.6), rgba(255, 107, 53, 0.4), rgba(253, 187, 45, 0.2)) 1;
    border-radius: 16px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(253, 187, 45, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.tooltip-popup::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(15, 20, 35, 0.95), rgba(10, 15, 26, 0.98));
    border-right: 1px solid rgba(253, 187, 45, 0.5);
    border-bottom: 1px solid rgba(253, 187, 45, 0.5);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.expertise-card:hover .tooltip-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px) scale(1);
}

.tooltip-popup p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tooltip-popup strong {
    color: #fdbb2d;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(253, 187, 45, 0.3);
}

/* Responsive Expertise Grid */
@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tooltip-popup {
        width: 240px;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        padding: 1.5rem 1rem;
    }

    .tooltip-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        width: 90%;
        max-width: 300px;
        bottom: auto;
    }

    .expertise-card:hover .tooltip-popup {
        transform: translate(-50%, -50%) scale(1);
    }

    .tooltip-popup::before {
        display: none;
    }
}

/* ========================================
   FOOTER EXPERTISE TOOLTIPS
======================================== */

.footer-expertise-list li {
    position: relative;
}

.footer-expertise-list li a {
    position: relative;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-expertise-list li a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px) scale(0.9);
    background: linear-gradient(135deg, rgba(15, 20, 35, 0.98), rgba(10, 15, 26, 0.99));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fdbb2d;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(253, 187, 45, 0.4);
    z-index: 100;
    pointer-events: none;
    max-width: 280px;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(253, 187, 45, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 8px rgba(253, 187, 45, 0.3);
}

.footer-expertise-list li a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px) scale(1);
}

.footer-expertise-list li a:hover {
    color: #fdbb2d;
    transform: translateX(5px);
    text-shadow: 0 0 12px rgba(253, 187, 45, 0.4);
}

.footer-expertise-list li a i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-expertise-list li a:hover i {
    transform: scale(1.25) rotate(5deg);
    color: #fdbb2d;
    filter: drop-shadow(0 0 6px rgba(253, 187, 45, 0.5));
}

/* ========================================
   RESPONSIVE SAFETY LAYER (2026)
======================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

section {
    scroll-margin-top: 92px;
}

@media (max-width: 992px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        min-height: auto;
        padding: 108px 0 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description p {
        font-size: 1.05rem;
    }

    .key-highlights {
        justify-content: center;
    }

    .cta-buttons {
        flex-wrap: wrap;
    }

    .cta-primary,
    .cta-secondary {
        width: auto;
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .profile-img {
        width: min(72vw, 270px);
        height: min(72vw, 270px);
    }

    .hero h1 {
        font-size: clamp(1.9rem, 8.2vw, 2.6rem);
    }

    .tagline {
        font-size: clamp(1.02rem, 4.6vw, 1.28rem);
    }

    .hero-description p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 420px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
        padding: 0 16px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .brand-description {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .modern-footer {
        padding: 36px 0 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 14px;
    }

    .footer-column,
    .footer-brand,
    .footer-heading,
    .footer-list,
    .footer-list li,
    .footer-list a {
        text-align: left !important;
    }

    .footer-cta-btn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }

    .footer-list li {
        margin-bottom: 10px;
    }
}

/* ========================================
   CINEMATIC WHISPER SYSTEM (PHASE 1)
   Homepage-first rollout, structure-preserving
======================================== */

:root {
    --cw-bg-0: #05070d;
    --cw-bg-1: #0c111d;
    --cw-bg-2: #131a2b;
    --cw-card-0: rgba(17, 22, 34, 0.84);
    --cw-card-1: rgba(11, 15, 26, 0.92);
    --cw-line-soft: rgba(255, 245, 224, 0.14);
    --cw-line-strong: rgba(232, 184, 91, 0.42);
    --cw-text-1: rgba(255, 248, 236, 0.97);
    --cw-text-2: rgba(255, 241, 222, 0.78);
    --cw-text-3: rgba(255, 241, 222, 0.58);
    --cw-accent-0: #fdbb2d;
    --cw-accent-1: #ff7f45;
    --cw-accent-2: #d9a746;
    --cw-accent-teal: #2fa3a0;
    --cw-font-display: 'Bodoni Moda', 'Times New Roman', serif;
    --cw-font-body: 'Manrope', 'Segoe UI', sans-serif;
    --cw-radius-lg: 18px;
    --cw-radius-xl: 24px;
    --cw-radius-pill: 999px;
    --cw-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.32);
    --cw-shadow-lift: 0 26px 60px rgba(0, 0, 0, 0.42);
    --cw-speed-fast: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    --cw-speed-base: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-cinematic {
    font-family: var(--cw-font-body);
    color: var(--cw-text-1);
    background:
        radial-gradient(1200px 620px at 8% -5%, rgba(253, 187, 45, 0.17), transparent 58%),
        radial-gradient(880px 520px at 96% 4%, rgba(255, 127, 69, 0.13), transparent 55%),
        radial-gradient(980px 760px at 50% 100%, rgba(47, 163, 160, 0.08), transparent 63%),
        linear-gradient(180deg, var(--cw-bg-0), var(--cw-bg-1) 38%, var(--cw-bg-2) 70%, var(--cw-bg-0));
}

body.home-cinematic main {
    position: relative;
    overflow-x: clip;
}

body.home-cinematic .container {
    width: min(1280px, calc(100% - clamp(1.6rem, 4vw, 4.6rem)));
    max-width: none;
    padding: 0;
}

body.home-cinematic section {
    position: relative;
    padding: clamp(82px, 10vw, 126px) 0;
    overflow: clip;
}

body.home-cinematic section:not(.hero)::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 240px at 8% 0%, rgba(253, 187, 45, 0.08), transparent 68%),
        radial-gradient(460px 220px at 92% 100%, rgba(255, 127, 69, 0.07), transparent 70%);
    pointer-events: none;
}

body.home-cinematic .navbar {
    background: linear-gradient(118deg, rgba(8, 11, 19, 0.95), rgba(18, 22, 35, 0.93), rgba(10, 13, 23, 0.96)) !important;
    border-bottom: 1px solid rgba(232, 184, 91, 0.38) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(18px) !important;
    animation-duration: 14s !important;
}

body.home-cinematic .logo {
    font-family: var(--cw-font-display);
    font-size: clamp(1.34rem, 1.15vw + 0.72rem, 1.85rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: linear-gradient(138deg, #ffe2a2, #fdbb2d 45%, #ff955a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.home-cinematic .nav-links li a {
    color: rgba(255, 245, 228, 0.84) !important;
    font-family: var(--cw-font-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.77rem !important;
    font-weight: 700;
}

body.home-cinematic .nav-links li a:hover,
body.home-cinematic .nav-links li a:focus-visible {
    color: var(--cw-accent-0) !important;
}

body.home-cinematic .lang-btn {
    background: linear-gradient(132deg, rgba(255, 242, 216, 0.07), rgba(253, 187, 45, 0.08)) !important;
    border-color: rgba(232, 184, 91, 0.3) !important;
}

body.home-cinematic .lang-btn:hover {
    box-shadow: 0 8px 24px rgba(253, 187, 45, 0.18) !important;
}

body.home-cinematic .hero {
    min-height: clamp(620px, 84vh, 860px);
    padding: clamp(112px, 11vw, 152px) 0 clamp(56px, 8vw, 96px);
    background:
        linear-gradient(134deg, rgba(4, 6, 11, 0.94) 0%, rgba(13, 18, 31, 0.9) 48%, rgba(21, 16, 12, 0.86) 100%),
        radial-gradient(circle at 12% 14%, rgba(253, 187, 45, 0.28), transparent 42%),
        radial-gradient(circle at 88% 16%, rgba(255, 127, 69, 0.22), transparent 44%),
        radial-gradient(circle at 52% 92%, rgba(47, 163, 160, 0.18), transparent 48%);
    border-bottom: 1px solid rgba(232, 184, 91, 0.26);
}

body.home-cinematic .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 26%, transparent 74%, rgba(255, 255, 255, 0.04)),
        radial-gradient(780px 420px at 56% 0%, rgba(255, 255, 255, 0.04), transparent 66%);
    pointer-events: none;
}

body.home-cinematic .hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.68;
    background:
        radial-gradient(ellipse at 6% 50%, rgba(253, 187, 45, 0.15), transparent 58%),
        radial-gradient(ellipse at 94% 42%, rgba(255, 127, 69, 0.15), transparent 58%);
}

body.home-cinematic .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.6rem, 3.8vw, 4.4rem);
    align-items: center;
}

body.home-cinematic .hero-content,
body.home-cinematic .hero-text,
body.home-cinematic .hero-image,
body.home-cinematic .social-links,
body.home-cinematic .cta-buttons {
    position: relative;
    z-index: 3;
}

body.home-cinematic .hero-text {
    text-align: left;
    max-width: 700px;
}

body.home-cinematic .hero h1 {
    margin: 0;
    color: #fff3dc;
    font-family: var(--cw-font-display);
    font-size: clamp(2.64rem, 5.3vw, 5.2rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-wrap: balance;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}

body.home-cinematic .tagline {
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 236, 201, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: clamp(0.8rem, 0.28vw + 0.75rem, 0.94rem);
    font-weight: 700;
}

body.home-cinematic .hero-description p {
    color: var(--cw-text-2);
    font-size: clamp(1.02rem, 0.46vw + 0.92rem, 1.22rem);
    line-height: 1.82;
    max-width: none;
    text-align: left;
    margin-inline: 0;
}

body.home-cinematic .key-highlights {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.64rem;
}

body.home-cinematic .key-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.46rem 0.84rem;
    border-radius: var(--cw-radius-pill);
    background: linear-gradient(120deg, rgba(253, 187, 45, 0.18), rgba(255, 127, 69, 0.12));
    border: 1px solid rgba(232, 184, 91, 0.34);
    color: rgba(255, 245, 228, 0.92);
    font-size: 0.83rem;
    font-weight: 600;
}

body.home-cinematic .social-links,
body.home-cinematic .social-links-alt {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    margin-top: 1.45rem;
}

body.home-cinematic .social-links a,
body.home-cinematic .social-links-alt a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(232, 184, 91, 0.34);
    background: linear-gradient(145deg, rgba(253, 187, 45, 0.15), rgba(255, 127, 69, 0.08));
    color: var(--cw-text-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform var(--cw-speed-fast), box-shadow var(--cw-speed-fast), border-color var(--cw-speed-fast);
}

body.home-cinematic .social-links a i,
body.home-cinematic .social-links-alt a i {
    font-size: 1.32rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg) !important;
}

body.home-cinematic .social-links a[title*='GitHub'] i,
body.home-cinematic .social-links-alt a[title*='GitHub'] i {
    color: #f4f7ff;
}

body.home-cinematic .social-links a[title*='LinkedIn'] i,
body.home-cinematic .social-links-alt a[title*='LinkedIn'] i {
    color: #60b4ff;
}

body.home-cinematic .social-links a[title*='Website'] i,
body.home-cinematic .social-links-alt a[title*='Website'] i,
body.home-cinematic .social-links a[title*='Personal'] i,
body.home-cinematic .social-links-alt a[title*='Personal'] i {
    color: #ffe39f;
}

body.home-cinematic .social-links a:hover,
body.home-cinematic .social-links-alt a:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(253, 187, 45, 0.66);
    box-shadow: 0 10px 26px rgba(253, 187, 45, 0.22);
}

body.home-cinematic .cta-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.78rem;
}

body.home-cinematic .cta-primary,
body.home-cinematic .cta-secondary,
body.home-cinematic .view-all-btn,
body.home-cinematic .connect-button,
body.home-cinematic .submit-btn,
body.home-cinematic .footer-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.86rem 1.36rem;
    border-radius: var(--cw-radius-pill);
    border: 1px solid rgba(232, 184, 91, 0.42);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--cw-font-body);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--cw-speed-fast), box-shadow var(--cw-speed-fast), border-color var(--cw-speed-fast), background var(--cw-speed-fast), color var(--cw-speed-fast);
}

body.home-cinematic .cta-primary,
body.home-cinematic .submit-btn,
body.home-cinematic .footer-cta-btn {
    color: #1a1208;
    background: linear-gradient(140deg, #ffe3a7 0%, #fdbb2d 46%, #ff8c4f 100%);
    box-shadow: 0 14px 34px rgba(253, 187, 45, 0.3);
}

body.home-cinematic .cta-secondary,
body.home-cinematic .view-all-btn,
body.home-cinematic .connect-button {
    color: rgba(255, 245, 225, 0.94);
    background: linear-gradient(136deg, rgba(255, 245, 225, 0.08), rgba(253, 187, 45, 0.09));
}

body.home-cinematic .cta-primary:hover,
body.home-cinematic .cta-secondary:hover,
body.home-cinematic .view-all-btn:hover,
body.home-cinematic .connect-button:hover,
body.home-cinematic .submit-btn:hover,
body.home-cinematic .footer-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
    border-color: rgba(253, 187, 45, 0.72);
}

body.home-cinematic .submit-btn {
    width: 100%;
    margin-top: 0.45rem;
}

body.home-cinematic .profile-container {
    width: min(100%, 480px);
    margin-inline: auto;
    padding: clamp(14px, 2vw, 20px);
    border-radius: 30px;
    border: 1px solid rgba(232, 184, 91, 0.28);
    background: linear-gradient(156deg, rgba(253, 187, 45, 0.11), rgba(12, 16, 28, 0.86));
    box-shadow: var(--cw-shadow-soft);
    backdrop-filter: blur(14px);
}

body.home-cinematic .profile-img {
    width: min(100%, 438px);
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    border: 1px solid rgba(255, 235, 199, 0.24);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
}

body.home-cinematic .achievement-badges {
    position: static;
    transform: none;
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    row-gap: 0.52rem;
    position: relative;
    z-index: 2;
}

body.home-cinematic .achievement-badges .badge {
    width: auto;
    min-height: 44px;
    padding: 0.48rem 0.82rem;
    border-radius: var(--cw-radius-pill);
    border: 1px solid rgba(232, 184, 91, 0.42);
    background: linear-gradient(132deg, rgba(255, 242, 216, 0.14), rgba(253, 187, 45, 0.2));
    color: rgba(34, 22, 7, 0.94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.44rem;
    white-space: nowrap;
}

body.home-cinematic .achievement-badges .badge i {
    font-size: 1rem;
    transform: none !important;
}

body.home-cinematic .achievement-badges .badge i.fa-google {
    color: #1a73e8;
}

body.home-cinematic .achievement-badges .badge i.fa-java {
    color: #d83a2f;
}

body.home-cinematic .achievement-badges .badge i.fa-microsoft {
    color: #0f6cbd;
}

body.home-cinematic .achievement-badges .badge .badge-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

body.home-cinematic .animated-elements {
    position: absolute;
    inset: 4% 3% 8%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

body.home-cinematic .animated-icon {
    border: 1px solid rgba(232, 184, 91, 0.24);
    background: rgba(18, 24, 38, 0.4);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    color: rgba(255, 230, 184, 0.78);
    opacity: 0.64;
}

body.home-cinematic .text-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
}

body.home-cinematic .server-icon {
    right: 20%;
}

body.home-cinematic .db-icon {
    left: 64%;
}

body.home-cinematic .llm-icon {
    right: 11%;
}

body.home-cinematic .typing-container {
    max-width: 900px;
    margin: 0 auto 1.15rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.home-cinematic .hero-typing-wrap {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    flex-wrap: wrap;
    margin-top: 0.95rem;
    padding: 0.52rem 0.92rem;
    border-radius: var(--cw-radius-pill);
    border: 1px solid rgba(232, 184, 91, 0.42);
    background: linear-gradient(130deg, rgba(253, 187, 45, 0.16), rgba(255, 127, 69, 0.1));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

body.home-cinematic .hero-typing-prefix {
    display: inline-block;
    color: rgba(255, 242, 216, 0.9);
    font-size: clamp(0.9rem, 0.26vw + 0.84rem, 1.06rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
}

body.home-cinematic .hero-typing-text {
    display: inline-block;
    min-width: 16ch;
    color: #ffd58d;
    font-size: clamp(0.9rem, 0.26vw + 0.84rem, 1.06rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.home-cinematic .hero-typing-wrap .typed-cursor {
    display: inline-block;
    color: rgba(253, 187, 45, 0.95);
    font-size: clamp(0.9rem, 0.26vw + 0.84rem, 1.06rem);
    font-weight: 700;
}

body.home-cinematic .specialization-line {
    margin: 0;
    text-align: center;
    font-size: clamp(0.98rem, 0.26vw + 0.9rem, 1.12rem);
    line-height: 1.62;
    color: rgba(255, 237, 203, 0.9);
    letter-spacing: 0.01em;
}

body.home-cinematic .expertise-grid {
    overflow: visible;
}

body.home-cinematic .expertise-card {
    overflow: visible;
    isolation: isolate;
}

body.home-cinematic .expertise-card:hover,
body.home-cinematic .expertise-card:focus-within {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(253, 187, 45, 0.5);
    box-shadow: 0 18px 38px rgba(253, 187, 45, 0.16);
}

body.home-cinematic .expertise-card:hover .expertise-icon,
body.home-cinematic .expertise-card:focus-within .expertise-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 24px rgba(253, 187, 45, 0.26);
}

body.home-cinematic .expertise-card .tooltip-popup {
    z-index: 20;
}

body.home-cinematic .expertise-card:hover .tooltip-popup,
body.home-cinematic .expertise-card:focus-within .tooltip-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px) scale(1);
}

body.home-cinematic #hire-me,
body.home-cinematic #about,
body.home-cinematic #skills,
body.home-cinematic #services,
body.home-cinematic #contact {
    background: linear-gradient(180deg, rgba(8, 11, 19, 0.92), rgba(13, 18, 30, 0.9));
}

body.home-cinematic #experience,
body.home-cinematic #education,
body.home-cinematic #expertise-overview,
body.home-cinematic #blogs,
body.home-cinematic #certifications,
body.home-cinematic #faq {
    background: linear-gradient(180deg, rgba(11, 15, 26, 0.94), rgba(7, 10, 18, 0.94));
}

body.home-cinematic h2,
body.home-cinematic .section-title {
    margin-bottom: 0.7rem;
    font-family: var(--cw-font-display);
    font-size: clamp(1.88rem, 1.4vw + 1.26rem, 3.08rem);
    font-weight: 700;
    letter-spacing: 0.015em;
    color: #ffe9bf;
    text-wrap: balance;
}

body.home-cinematic h2::after,
body.home-cinematic .section-title::after {
    content: '';
    display: block;
    width: 118px;
    max-width: 42vw;
    height: 2px;
    margin-top: 0.55rem;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(253, 187, 45, 0.9), rgba(255, 127, 69, 0.7), rgba(47, 163, 160, 0));
}

body.home-cinematic .section-subtitle {
    color: var(--cw-text-2) !important;
    font-size: clamp(0.98rem, 0.35vw + 0.88rem, 1.12rem);
    line-height: 1.82;
    max-width: 74ch;
}

body.home-cinematic .section-subtitle strong {
    color: #ffe0a0 !important;
}

body.home-cinematic .timeline,
body.home-cinematic .education-grid,
body.home-cinematic .skills-grid,
body.home-cinematic .expertise-grid,
body.home-cinematic .services-grid-home,
body.home-cinematic .blog-grid,
body.home-cinematic .cert-grid,
body.home-cinematic .hire-me-grid,
body.home-cinematic .faq-wrapper {
    margin-top: clamp(1.5rem, 3.6vw, 3rem);
}

body.home-cinematic :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card) {
    position: relative;
    border: 1px solid var(--cw-line-soft);
    border-radius: var(--cw-radius-xl);
    background: linear-gradient(155deg, var(--cw-card-0), var(--cw-card-1));
    box-shadow: var(--cw-shadow-soft);
    backdrop-filter: blur(14px);
    transition: transform var(--cw-speed-base), border-color var(--cw-speed-base), box-shadow var(--cw-speed-base), background var(--cw-speed-base);
    overflow: hidden;
}

body.home-cinematic .expertise-card {
    overflow: visible;
}

body.home-cinematic :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card)::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 233, 190, 0.58), rgba(255, 127, 69, 0.35), transparent);
    pointer-events: none;
}

body.home-cinematic :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card):hover {
    transform: translateY(-8px);
    border-color: var(--cw-line-strong);
    box-shadow: var(--cw-shadow-lift);
}

body.home-cinematic :is(.hire-card h3, .timeline-content h3, .edu-card h3, .skill-header h3, .expertise-card h3, .blog-title, .cert-card h3, .service-card-home h3, .contact-header h3, .contact-card h3) {
    color: #ffe9bf !important;
    font-family: var(--cw-font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
}

body.home-cinematic :is(.hire-card p, .about-text p, .timeline-content li, .edu-card p, .skill-category li, .expertise-card p, .blog-excerpt, .cert-desc, .service-card-home p, .faq-answer p, .contact-subtitle, .contact-text span, .contact-text a, .contact-info p, .brand-description) {
    color: var(--cw-text-2);
}

body.home-cinematic .hire-card:link .hire-card-link,
body.home-cinematic .hire-card:visited .hire-card-link,
body.home-cinematic .hire-card-link {
    color: rgba(255, 216, 150, 0.95) !important;
}

body.home-cinematic .hire-card:hover .hire-card-link,
body.home-cinematic .hire-card:focus-visible .hire-card-link {
    color: #fff2d4 !important;
}

body.home-cinematic .skill-tag,
body.home-cinematic .blog-tag,
body.home-cinematic .date,
body.home-cinematic .label {
    border-radius: var(--cw-radius-pill);
    border: 1px solid rgba(232, 184, 91, 0.34);
    background: linear-gradient(130deg, rgba(253, 187, 45, 0.14), rgba(255, 127, 69, 0.08));
    color: rgba(255, 240, 214, 0.94);
}

body.home-cinematic .hire-card-icon,
body.home-cinematic .service-icon-home,
body.home-cinematic .expertise-icon,
body.home-cinematic .contact-item i,
body.home-cinematic .contact-header i {
    border-radius: 14px;
    border: 1px solid rgba(232, 184, 91, 0.38);
    background: linear-gradient(138deg, rgba(255, 242, 211, 0.2), rgba(253, 187, 45, 0.18));
    color: #ffe1a0;
    box-shadow: inset 0 0 0 1px rgba(255, 248, 233, 0.08);
}

body.home-cinematic .highlight-box i {
    background: none;
    border: none;
    box-shadow: none;
    color: #ffd585;
}

body.home-cinematic .faq-item {
    margin-bottom: 0.95rem;
}

body.home-cinematic .faq-question {
    color: rgba(255, 243, 220, 0.92);
    background: transparent;
}

body.home-cinematic .faq-question i {
    color: rgba(253, 187, 45, 0.88);
}

body.home-cinematic .contact-wrapper {
    gap: clamp(1rem, 2.2vw, 2rem);
}

body.home-cinematic .contact-form .input-group {
    border-radius: 14px;
    border: 1px solid rgba(255, 243, 220, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(253, 187, 45, 0.04));
}

body.home-cinematic .contact-form input,
body.home-cinematic .contact-form textarea {
    color: var(--cw-text-1);
}

body.home-cinematic .contact-form input::placeholder,
body.home-cinematic .contact-form textarea::placeholder {
    color: var(--cw-text-3);
}

body.home-cinematic .contact-form input:focus,
body.home-cinematic .contact-form textarea:focus {
    border-color: rgba(253, 187, 45, 0.48);
    box-shadow: 0 0 0 2px rgba(253, 187, 45, 0.18);
}

body.home-cinematic .modern-footer {
    position: relative;
    padding: clamp(58px, 10vw, 94px) 0 24px;
    border-top: 1px solid rgba(232, 184, 91, 0.3);
    background:
        radial-gradient(720px 280px at 8% 0%, rgba(253, 187, 45, 0.11), transparent 70%),
        radial-gradient(620px 240px at 90% 16%, rgba(255, 127, 69, 0.09), transparent 74%),
        linear-gradient(180deg, rgba(8, 10, 18, 0.97), rgba(7, 9, 16, 1));
    overflow: clip;
}

body.home-cinematic .modern-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.04));
}

body.home-cinematic .footer-content {
    position: relative;
    z-index: 1;
}

body.home-cinematic .footer-heading,
body.home-cinematic .brand-name {
    color: #ffe8bb;
    font-family: var(--cw-font-display);
}

body.home-cinematic .footer-list a,
body.home-cinematic .footer-bottom,
body.home-cinematic .brand-description,
body.home-cinematic .brand-tagline {
    color: var(--cw-text-2);
}

body.home-cinematic .footer-list a:hover {
    color: #ffe4ad;
}

@media (max-width: 1200px) {
    body.home-cinematic .nav-links {
        background: linear-gradient(180deg, #090d17, #0f1524) !important;
        border-left: 1px solid rgba(232, 184, 91, 0.3) !important;
    }

    body.home-cinematic .mobile-menu-overlay {
        background: rgba(3, 4, 8, 0.68) !important;
    }

    body.home-cinematic .hero-grid {
        grid-template-columns: 1fr;
    }

    body.home-cinematic .hero-text {
        max-width: 100%;
        text-align: center;
    }

    body.home-cinematic .key-highlights,
    body.home-cinematic .cta-buttons,
    body.home-cinematic .social-links {
        justify-content: center;
    }

    body.home-cinematic .text-icon,
    body.home-cinematic .server-icon,
    body.home-cinematic .db-icon,
    body.home-cinematic .llm-icon {
        display: none;
    }
}

@media (max-width: 992px) {
    body.home-cinematic .container {
        width: min(100%, calc(100% - 1.7rem));
    }

    body.home-cinematic .hero {
        min-height: auto;
        padding-top: 122px;
    }

    body.home-cinematic .hero h1 {
        font-size: clamp(2.24rem, 8vw, 3.52rem);
    }

    body.home-cinematic .profile-container {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    body.home-cinematic section {
        padding: 74px 0;
    }

    body.home-cinematic .container {
        width: min(100%, calc(100% - 1.3rem));
    }

    body.home-cinematic .tagline {
        letter-spacing: 0.13em;
    }

    body.home-cinematic .cta-primary,
    body.home-cinematic .cta-secondary,
    body.home-cinematic .view-all-btn,
    body.home-cinematic .connect-button {
        width: 100%;
    }

    body.home-cinematic :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card) {
        border-radius: 19px;
    }

    body.home-cinematic .footer-content {
        gap: 1.2rem;
    }
}

@media (max-width: 560px) {
    body.home-cinematic .hero {
        padding-top: 116px;
        padding-bottom: 64px;
    }

    body.home-cinematic .hero-description p {
        font-size: 0.97rem;
    }

    body.home-cinematic .key-highlights span {
        width: 100%;
        justify-content: center;
    }

    body.home-cinematic .specialization-line {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    body.home-cinematic .hero-typing-wrap {
        justify-content: center;
        text-align: center;
        gap: 0.28rem;
        margin-top: 0.82rem;
        padding: 0.46rem 0.7rem;
    }

    body.home-cinematic .hero-typing-text {
        min-width: 0;
    }

    body.home-cinematic .hero-typing-wrap .typed-cursor {
        display: none;
    }

    body.home-cinematic .profile-container {
        padding: 12px;
    }

    body.home-cinematic .profile-img {
        border-radius: 18px;
    }

    body.home-cinematic .social-links a,
    body.home-cinematic .social-links-alt a {
        width: 46px;
        height: 46px;
    }

    body.home-cinematic .social-links a i,
    body.home-cinematic .social-links-alt a i {
        font-size: 1.2rem;
    }

    body.home-cinematic .achievement-badges .badge {
        min-height: 40px;
        padding: 0.42rem 0.66rem;
        gap: 0.36rem;
    }

    body.home-cinematic .achievement-badges .badge .badge-text {
        font-size: 0.66rem;
        letter-spacing: 0.05em;
    }

    body.home-cinematic .modern-footer {
        padding-top: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-cinematic *,
    body.home-cinematic *::before,
    body.home-cinematic *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   WHISPER EDITORIAL DESIGN SYSTEM (Full Homepage)
   ========================================================= */
body.home-whisper-editorial {
    --we-bg: #06080f;
    --we-bg-soft: #0c111d;
    --we-panel: rgba(16, 22, 37, 0.74);
    --we-panel-strong: rgba(18, 25, 41, 0.92);
    --we-line: rgba(217, 168, 93, 0.36);
    --we-line-soft: rgba(217, 168, 93, 0.18);
    --we-text: #f6ecd8;
    --we-text-soft: rgba(246, 236, 216, 0.78);
    --we-accent: #d9a65a;
    --we-accent-strong: #f1c06f;
    --we-accent-hot: #ff8f57;
    --we-emerald: #41b7a4;
    --we-shadow: 0 24px 58px rgba(0, 0, 0, 0.45);
    background:
        radial-gradient(1200px 620px at -5% -10%, rgba(62, 84, 122, 0.26), transparent 58%),
        radial-gradient(920px 560px at 108% 7%, rgba(174, 109, 52, 0.2), transparent 58%),
        linear-gradient(168deg, #06080f 0%, #0a0f1a 36%, #0a0f1d 60%, #070b13 100%);
    color: var(--we-text);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    position: relative;
    overflow-x: clip;
}

body.home-whisper-editorial::before,
body.home-whisper-editorial::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

body.home-whisper-editorial::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.5;
}

body.home-whisper-editorial::after {
    width: 520px;
    height: 520px;
    right: -170px;
    bottom: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 166, 90, 0.2) 0%, rgba(217, 166, 90, 0) 68%);
    filter: blur(2px);
}

body.home-whisper-editorial a {
    color: inherit;
}

body.home-whisper-editorial .container {
    width: min(1220px, calc(100% - 2.8rem));
}

body.home-whisper-editorial section {
    position: relative;
    padding: clamp(76px, 9vw, 118px) 0;
}

body.home-whisper-editorial section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1220px, calc(100% - 2.8rem));
    border-top: 1px solid var(--we-line-soft);
    opacity: 0.9;
}

body.home-whisper-editorial #home::before {
    border-top: none;
}

body.home-whisper-editorial h1,
body.home-whisper-editorial h2,
body.home-whisper-editorial h3,
body.home-whisper-editorial h4 {
    color: var(--we-text);
    -webkit-text-fill-color: var(--we-text);
    background: none;
    letter-spacing: 0.01em;
}

body.home-whisper-editorial h1,
body.home-whisper-editorial h2,
body.home-whisper-editorial .brand-name,
body.home-whisper-editorial .logo {
    font-family: 'Bodoni Moda', Georgia, serif;
}

body.home-whisper-editorial h2,
body.home-whisper-editorial .section-title {
    font-size: clamp(2rem, 2.65vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    text-transform: none;
}

body.home-whisper-editorial h2::after,
body.home-whisper-editorial .section-title::after {
    content: '';
    display: block;
    width: clamp(70px, 12vw, 140px);
    height: 1px;
    margin-top: 0.8rem;
    background: linear-gradient(90deg, var(--we-accent), rgba(255, 255, 255, 0));
}

body.home-whisper-editorial p,
body.home-whisper-editorial li,
body.home-whisper-editorial .section-subtitle,
body.home-whisper-editorial .blog-excerpt,
body.home-whisper-editorial .cert-desc,
body.home-whisper-editorial .brand-description {
    color: var(--we-text-soft);
}

body.home-whisper-editorial .section-subtitle {
    max-width: 76ch;
    font-size: clamp(1rem, 0.7vw + 0.86rem, 1.14rem);
    line-height: 1.75;
    margin-bottom: 2rem;
}

body.home-whisper-editorial :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card) {
    background:
        linear-gradient(156deg, rgba(24, 33, 52, 0.86), rgba(14, 21, 35, 0.9) 65%, rgba(11, 18, 32, 0.95));
    border: 1px solid var(--we-line-soft);
    border-radius: 22px;
    box-shadow: var(--we-shadow);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    backdrop-filter: blur(9px);
}

body.home-whisper-editorial :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card):hover {
    transform: translateY(-7px);
    border-color: var(--we-line);
    box-shadow: 0 30px 62px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(217, 166, 90, 0.22) inset;
}

body.home-whisper-editorial :is(.cta-primary, .cta-secondary, .view-all-btn, .connect-button, .submit-btn, .footer-cta-btn) {
    border-radius: 999px;
    border: 1px solid rgba(240, 189, 113, 0.54);
    background: linear-gradient(130deg, rgba(217, 166, 90, 0.22), rgba(255, 143, 87, 0.16));
    color: #fff4dc;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.home-whisper-editorial :is(.cta-primary, .cta-secondary, .view-all-btn, .connect-button, .submit-btn, .footer-cta-btn):hover,
body.home-whisper-editorial :is(.cta-primary, .cta-secondary, .view-all-btn, .connect-button, .submit-btn, .footer-cta-btn):focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 211, 142, 0.76);
    box-shadow: 0 14px 36px rgba(217, 166, 90, 0.26);
}

/* Navbar alignment with editorial shell */
body.home-whisper-editorial .navbar {
    background: linear-gradient(120deg, rgba(7, 11, 19, 0.96), rgba(15, 21, 34, 0.95), rgba(9, 13, 23, 0.96)) !important;
    border-bottom: 1px solid rgba(217, 168, 93, 0.36) !important;
    backdrop-filter: blur(18px) saturate(120%) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42) !important;
    transition: background 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}

/* Toggled from JS on scroll (replaces per-frame gsap.to for lower main-thread cost) */
body.home-whisper-editorial .navbar.nav-scrolled {
    background: rgba(10, 15, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3) !important;
}

body.home-whisper-editorial .logo {
    letter-spacing: 0.17em;
    background: linear-gradient(120deg, #ffe7b8 5%, #dca95e 47%, #ff9359 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.home-whisper-editorial .nav-links li a {
    color: rgba(255, 241, 215, 0.82) !important;
    font-size: 0.8rem;
    letter-spacing: 0.085em;
}

@media (min-width: 1321px) {
    body.home-whisper-editorial .navbar .container {
        width: min(1700px, calc(100% - clamp(12px, 1.8vw, 26px))) !important;
        max-width: 1700px;
        padding-inline: clamp(10px, 1.2vw, 20px) !important;
    }

    body.home-whisper-editorial .nav-links {
        gap: clamp(0.14rem, 0.4vw, 0.48rem) !important;
    }

    body.home-whisper-editorial .nav-links li a {
        font-size: clamp(0.73rem, 0.1vw + 0.69rem, 0.85rem) !important;
        letter-spacing: 0.062em;
        padding: 0.42rem clamp(0.18rem, 0.3vw, 0.36rem) !important;
    }
}

body.home-whisper-editorial .nav-links li a::after {
    background: linear-gradient(90deg, var(--we-accent), var(--we-accent-hot)) !important;
}

body.home-whisper-editorial .nav-links li a:hover,
body.home-whisper-editorial .nav-links li a.is-active {
    color: #ffe0a0 !important;
}

body.home-whisper-editorial .lang-btn {
    background: linear-gradient(132deg, rgba(255, 242, 216, 0.08), rgba(217, 166, 90, 0.16)) !important;
    border-color: rgba(217, 168, 93, 0.42) !important;
}

body.home-whisper-editorial .lang-dropdown {
    background: linear-gradient(180deg, rgba(10, 15, 27, 0.98), rgba(12, 19, 34, 0.98)) !important;
    border-color: rgba(255, 225, 165, 0.22) !important;
}

body.home-whisper-editorial .nav-links .admin-link {
    background: linear-gradient(140deg, rgba(217, 166, 90, 0.2), rgba(255, 143, 87, 0.14));
}

/* Hero */
body.home-whisper-editorial .hero {
    padding-top: clamp(132px, 13.5vh, 168px);
    padding-bottom: clamp(84px, 10vh, 124px);
    min-height: min(980px, 100vh);
}

body.home-whisper-editorial .hero::after {
    content: '';
    position: absolute;
    inset: 14% auto auto -8%;
    width: 58%;
    height: 62%;
    border-radius: 54px;
    background: linear-gradient(145deg, rgba(42, 86, 130, 0.2), rgba(42, 86, 130, 0));
    pointer-events: none;
    z-index: 0;
}

body.home-whisper-editorial .hero-content,
body.home-whisper-editorial .hero-grid {
    position: relative;
    z-index: 2;
}

body.home-whisper-editorial .hero-grid {
    align-items: center;
    column-gap: clamp(1.7rem, 4vw, 4.3rem);
}

body.home-whisper-editorial .hero-text h1 {
    font-size: clamp(2.55rem, 5.2vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 0.7rem;
}

body.home-whisper-editorial .tagline {
    color: rgba(255, 216, 150, 0.92);
    letter-spacing: 0.19em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: clamp(0.8rem, 0.45vw + 0.7rem, 1rem);
}

body.home-whisper-editorial .hero-description p {
    font-size: clamp(1.02rem, 0.68vw + 0.86rem, 1.22rem);
    line-height: 1.8;
    max-width: none;
    text-align: left;
    margin-inline: 0;
}

body.home-whisper-editorial .key-highlights {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

body.home-whisper-editorial .key-highlights span {
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 166, 90, 0.34);
    background: rgba(17, 24, 40, 0.68);
    color: rgba(255, 236, 204, 0.92);
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}

body.home-whisper-editorial .social-links {
    margin-top: 1.35rem;
    display: flex;
    gap: 0.8rem;
}

body.home-whisper-editorial .social-links a,
body.home-whisper-editorial .social-links-alt a {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(217, 166, 90, 0.34);
    background: linear-gradient(145deg, rgba(22, 31, 49, 0.88), rgba(15, 23, 40, 0.88));
    color: rgba(255, 228, 173, 0.96);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
}

body.home-whisper-editorial .social-links a:hover,
body.home-whisper-editorial .social-links-alt a:hover {
    transform: translateY(-3px);
    color: #ffe6b2;
    border-color: rgba(255, 212, 133, 0.72);
}

body.home-whisper-editorial .hero-typing-wrap {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.72rem;
    flex-wrap: nowrap;
    margin-top: 1.62rem;
    width: fit-content;
    max-width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(217, 166, 90, 0.4);
    background: linear-gradient(135deg, rgba(11, 18, 30, 0.96), rgba(22, 33, 52, 0.9));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    padding: 0.7rem 1.02rem 0.74rem;
    color: rgba(255, 239, 210, 0.95);
    overflow: hidden;
}

body.home-whisper-editorial .hero-typing-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 218, 153, 0.68), rgba(255, 143, 87, 0.24), rgba(66, 183, 164, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.62;
    pointer-events: none;
}

body.home-whisper-editorial .hero-typing-wrap::after {
    content: '';
    position: absolute;
    top: -72px;
    right: -56px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 106, 0.22) 0%, rgba(255, 196, 106, 0) 68%);
    pointer-events: none;
    z-index: -1;
}

body.home-whisper-editorial .hero-typing-accent {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 211, 141, 0.48);
    background: linear-gradient(140deg, rgba(217, 166, 90, 0.3), rgba(255, 143, 87, 0.16));
    color: #ffdca0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 240, 214, 0.22), 0 10px 20px rgba(0, 0, 0, 0.26);
}

body.home-whisper-editorial .hero-typing-accent i {
    font-size: 0.9rem;
}

body.home-whisper-editorial .hero-typing-content {
    display: inline-flex;
    align-items: baseline;
    gap: 0.42rem;
    flex-wrap: wrap;
}

body.home-whisper-editorial .hero-typing-prefix {
    color: rgba(255, 224, 163, 0.78);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.66rem;
    line-height: 1;
}

body.home-whisper-editorial .hero-typing-text,
body.home-whisper-editorial .hero-typing-wrap .typed-cursor {
    color: #ffe3ae;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: clamp(0.94rem, 0.32vw + 0.87rem, 1.08rem);
}

body.home-whisper-editorial .hero-typing-text {
    min-width: 18ch;
    line-height: 1.34;
}

body.home-whisper-editorial .cta-buttons {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

body.home-whisper-editorial .cta-secondary {
    background: linear-gradient(130deg, rgba(66, 183, 164, 0.22), rgba(66, 183, 164, 0.08));
    border-color: rgba(66, 183, 164, 0.46);
}

body.home-whisper-editorial .hero-image .profile-container {
    border-radius: 30px;
    border: 1px solid rgba(217, 166, 90, 0.3);
    background: linear-gradient(152deg, rgba(24, 33, 52, 0.9), rgba(15, 22, 38, 0.94));
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.52);
    padding: 18px;
    position: relative;
    isolation: isolate;
}

body.home-whisper-editorial .hero-image .profile-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(217, 166, 90, 0.8), rgba(217, 166, 90, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    pointer-events: none;
}

body.home-whisper-editorial .profile-img {
    border-radius: 24px;
}

body.home-whisper-editorial .achievement-badges {
    margin-top: 0.95rem;
    gap: 0.52rem;
}

body.home-whisper-editorial .achievement-badges .badge {
    border-radius: 999px;
    border: 1px solid rgba(217, 166, 90, 0.34);
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.86), rgba(17, 24, 40, 0.9));
    color: rgba(255, 232, 191, 0.95);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

body.home-whisper-editorial .hero-bg-pattern {
    opacity: 0.52;
    mix-blend-mode: lighten;
}

body.home-whisper-editorial .animated-elements {
    opacity: 0.52;
}

body.home-whisper-editorial .animated-icon {
    color: rgba(255, 230, 184, 0.74);
}

/* Section-specific atmosphere */
body.home-whisper-editorial #hire-me,
body.home-whisper-editorial #skills,
body.home-whisper-editorial #services,
body.home-whisper-editorial #contact {
    background: linear-gradient(180deg, rgba(18, 26, 42, 0.16), rgba(18, 26, 42, 0));
}

body.home-whisper-editorial #about,
body.home-whisper-editorial #education,
body.home-whisper-editorial #blogs,
body.home-whisper-editorial #faq {
    background: linear-gradient(180deg, rgba(11, 16, 28, 0.58), rgba(11, 16, 28, 0.22));
}

body.home-whisper-editorial #experience,
body.home-whisper-editorial #expertise-overview,
body.home-whisper-editorial #certifications {
    background: linear-gradient(180deg, rgba(20, 29, 46, 0.2), rgba(20, 29, 46, 0));
}

/* About & timeline */
body.home-whisper-editorial .about-grid {
    gap: clamp(1.2rem, 2.4vw, 2.6rem);
}

body.home-whisper-editorial .about-text h3 {
    font-size: clamp(1.35rem, 1.3vw + 0.9rem, 2rem);
}

body.home-whisper-editorial .highlight-box {
    padding: 1.15rem;
}

body.home-whisper-editorial .highlight-box i,
body.home-whisper-editorial .hire-card-icon i,
body.home-whisper-editorial .service-icon-home i,
body.home-whisper-editorial .skill-header i,
body.home-whisper-editorial .expertise-icon i,
body.home-whisper-editorial .cert-provider i {
    color: #ffd486;
}

body.home-whisper-editorial .timeline {
    position: relative;
}

body.home-whisper-editorial .timeline::before {
    background: linear-gradient(180deg, rgba(255, 219, 162, 0.08), rgba(255, 143, 87, 0.6), rgba(255, 219, 162, 0.08));
    width: 2px;
}

body.home-whisper-editorial .timeline-item::before,
body.home-whisper-editorial .timeline-item::after {
    border-color: rgba(255, 217, 150, 0.72);
    box-shadow: 0 0 0 6px rgba(255, 176, 87, 0.18);
}

body.home-whisper-editorial .timeline-content h3 {
    color: #ffe3ae;
}

body.home-whisper-editorial .timeline-content .date,
body.home-whisper-editorial .edu-card .date,
body.home-whisper-editorial .cert-date,
body.home-whisper-editorial .blog-meta .date {
    color: rgba(255, 223, 160, 0.9);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Skills & expertise */
body.home-whisper-editorial .skills-grid,
body.home-whisper-editorial .expertise-grid,
body.home-whisper-editorial .services-grid-home,
body.home-whisper-editorial .blog-grid,
body.home-whisper-editorial .cert-grid,
body.home-whisper-editorial .hire-me-grid,
body.home-whisper-editorial .education-grid {
    gap: clamp(0.92rem, 1.2vw, 1.35rem);
}

body.home-whisper-editorial .skill-header {
    border-bottom: 1px solid rgba(217, 166, 90, 0.22);
    padding-bottom: 0.78rem;
    margin-bottom: 0.82rem;
}

body.home-whisper-editorial .skill-tag {
    border: 1px solid rgba(217, 166, 90, 0.3);
    background: linear-gradient(140deg, rgba(34, 50, 76, 0.56), rgba(18, 28, 44, 0.72));
    color: rgba(255, 232, 193, 0.94);
    border-radius: 999px;
}

body.home-whisper-editorial .typing-container {
    margin-bottom: 1.9rem;
    text-align: center;
}

body.home-whisper-editorial .specialization-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.25vw + 1rem, 2.4rem);
    line-height: 1.2;
}

body.home-whisper-editorial .specialization-title::after {
    margin-inline: auto;
}

body.home-whisper-editorial .specialization-line {
    max-width: 72ch;
    margin: 0 auto;
    border: 1px solid rgba(217, 166, 90, 0.28);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(16, 23, 39, 0.88), rgba(25, 36, 58, 0.8));
    padding: 0.68rem 1.18rem;
    color: rgba(255, 235, 200, 0.92);
    letter-spacing: 0.02em;
}

body.home-whisper-editorial .expertise-card {
    overflow: visible;
}

body.home-whisper-editorial .expertise-card .tooltip-popup {
    border: 1px solid rgba(217, 166, 90, 0.36);
    background: linear-gradient(145deg, rgba(13, 20, 34, 0.96), rgba(21, 29, 46, 0.98));
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.52);
}

/* Blogs & certifications */
body.home-whisper-editorial .blog-image img {
    filter: saturate(0.9) contrast(1.08);
}

body.home-whisper-editorial .blog-tag,
body.home-whisper-editorial .cert-provider {
    border: 1px solid rgba(217, 166, 90, 0.3);
    background: rgba(255, 193, 96, 0.1);
    color: #ffd58b;
}

body.home-whisper-editorial .read-more,
body.home-whisper-editorial .hire-card-link {
    color: #ffd291;
}

/* .cert-verify on home: styled under #certifications (solid pill); do not set color here or it fights !important on verify links */
body.home-whisper-editorial .read-more:hover,
body.home-whisper-editorial .hire-card-link:hover {
    color: #fff0cf;
}

body.home-whisper-editorial .hire-card:link .hire-card-link,
body.home-whisper-editorial .hire-card:visited .hire-card-link,
body.home-whisper-editorial .hire-card-link {
    color: #ffd291 !important;
}

body.home-whisper-editorial .hire-card-link {
    margin-top: auto;
    padding: 0.5rem 0.84rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 166, 90, 0.38);
    background: linear-gradient(140deg, rgba(217, 166, 90, 0.16), rgba(255, 143, 87, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 234, 197, 0.14);
    letter-spacing: 0.02em;
}

body.home-whisper-editorial .hire-card-link i {
    color: inherit;
}

body.home-whisper-editorial .hire-card:hover .hire-card-link,
body.home-whisper-editorial .hire-card:focus-visible .hire-card-link,
body.home-whisper-editorial .hire-card-link:hover {
    color: #fff0cf !important;
    border-color: rgba(255, 214, 140, 0.64);
    background: linear-gradient(140deg, rgba(217, 166, 90, 0.26), rgba(255, 143, 87, 0.16));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 240, 214, 0.2);
}

body.home-whisper-editorial .hire-card:hover .hire-card-link i,
body.home-whisper-editorial .hire-card:focus-visible .hire-card-link i {
    transform: translateX(4px);
}

/* FAQ */
body.home-whisper-editorial .faq-item {
    overflow: hidden;
}

body.home-whisper-editorial .faq-question {
    background: transparent;
    color: rgba(255, 236, 206, 0.95);
}

body.home-whisper-editorial .faq-question:hover {
    background: rgba(217, 166, 90, 0.08);
}

body.home-whisper-editorial .faq-answer {
    color: rgba(243, 231, 208, 0.8);
}

/* Contact */
body.home-whisper-editorial .contact-wrapper {
    gap: clamp(1.2rem, 2vw, 2.1rem);
    align-items: stretch;
}

body.home-whisper-editorial .contact-info-card {
    position: relative;
    padding: clamp(1.45rem, 1.8vw, 2rem);
    border-color: rgba(217, 166, 90, 0.34);
    background:
        radial-gradient(540px 220px at -8% -14%, rgba(217, 166, 90, 0.22), transparent 56%),
        linear-gradient(160deg, rgba(15, 23, 39, 0.9), rgba(16, 25, 42, 0.92));
    overflow: hidden;
}

body.home-whisper-editorial .contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 214, 142, 0.08), transparent 30%);
    pointer-events: none;
}

body.home-whisper-editorial .contact-header {
    position: relative;
    z-index: 1;
    margin-bottom: 0.95rem;
}

body.home-whisper-editorial .contact-header i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 214, 142, 0.44);
    background: linear-gradient(145deg, rgba(217, 166, 90, 0.26), rgba(255, 143, 87, 0.14));
    color: #ffe6b2;
    font-size: 1.05rem;
}

body.home-whisper-editorial .contact-header h3,
body.home-whisper-editorial .contact-info-card h3 {
    color: #ffe0a7;
    font-size: clamp(1.28rem, 1vw + 0.96rem, 1.72rem);
    margin: 0;
}

body.home-whisper-editorial .contact-subtitle {
    position: relative;
    z-index: 1;
    margin-bottom: 1.28rem;
    color: rgba(245, 234, 212, 0.8);
}

body.home-whisper-editorial .contact-details {
    position: relative;
    z-index: 1;
    gap: 0.86rem;
    margin-bottom: 1.4rem;
}

body.home-whisper-editorial .contact-item {
    align-items: flex-start;
    gap: 0.86rem;
    padding: 0.86rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(217, 166, 90, 0.28);
    background: linear-gradient(140deg, rgba(255, 215, 148, 0.08), rgba(20, 31, 52, 0.64));
}

body.home-whisper-editorial .contact-item i {
    width: 36px;
    height: 36px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 214, 140, 0.34);
    background: linear-gradient(138deg, rgba(217, 166, 90, 0.2), rgba(255, 143, 87, 0.12));
    color: #ffe4ae;
}

body.home-whisper-editorial .contact-text {
    gap: 0.3rem;
    min-width: 0;
}

body.home-whisper-editorial .contact-item .contact-label,
body.home-whisper-editorial .contact-item .label {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 205, 126, 0.84);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
}

body.home-whisper-editorial .contact-text a,
body.home-whisper-editorial .contact-text span:not(.contact-label):not(.label) {
    color: rgba(255, 242, 218, 0.94);
    font-size: clamp(0.98rem, 0.28vw + 0.92rem, 1.1rem);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

body.home-whisper-editorial .contact-text a:hover {
    color: #fff0cf;
}

body.home-whisper-editorial .social-links-alt {
    margin-top: 1.35rem;
    padding-top: 1.12rem;
    border-top: 1px solid rgba(217, 166, 90, 0.28);
}

body.home-whisper-editorial .input-group {
    background: rgba(11, 17, 30, 0.9);
    border: 1px solid rgba(217, 166, 90, 0.24);
    border-radius: 16px;
}

body.home-whisper-editorial .input-group:focus-within {
    border-color: rgba(255, 214, 140, 0.7);
    box-shadow: 0 0 0 4px rgba(217, 166, 90, 0.12);
}

body.home-whisper-editorial .contact-form input,
body.home-whisper-editorial .contact-form textarea {
    color: rgba(255, 236, 207, 0.95);
}

body.home-whisper-editorial .contact-form input::placeholder,
body.home-whisper-editorial .contact-form textarea::placeholder {
    color: rgba(255, 227, 177, 0.42);
}

/* Footer */
body.home-whisper-editorial .modern-footer {
    border-top: 1px solid rgba(217, 166, 90, 0.28);
    background:
        radial-gradient(800px 320px at 85% 8%, rgba(217, 166, 90, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(8, 13, 23, 0.96), rgba(6, 10, 18, 0.98));
    padding-top: clamp(68px, 8vw, 100px);
}

body.home-whisper-editorial .footer-heading {
    color: #ffe0a9;
}

body.home-whisper-editorial .footer-list a {
    color: rgba(255, 236, 206, 0.82);
}

body.home-whisper-editorial .footer-list a:hover {
    color: #ffe2b2;
}

body.home-whisper-editorial .footer-bottom {
    border-top-color: rgba(217, 166, 90, 0.22);
}

/* Responsive refinements */
@media (max-width: 1200px) {
    body.home-whisper-editorial .container {
        width: min(100%, calc(100% - 2rem));
    }

    body.home-whisper-editorial .hero {
        min-height: auto;
    }
}

@media (max-width: 992px) {
    body.home-whisper-editorial section {
        padding: 78px 0;
    }

    body.home-whisper-editorial .hero-grid {
        gap: 1.5rem;
    }

    body.home-whisper-editorial .hero-text {
        text-align: center;
    }

    body.home-whisper-editorial .key-highlights,
    body.home-whisper-editorial .social-links,
    body.home-whisper-editorial .cta-buttons {
        justify-content: center;
    }

    body.home-whisper-editorial .hero-typing-wrap {
        margin-top: 1.34rem;
        margin-inline: auto;
        justify-content: center;
    }

    body.home-whisper-editorial .hero-typing-content {
        justify-content: center;
    }

    body.home-whisper-editorial .hero-description p {
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    body.home-whisper-editorial .container {
        width: min(100%, calc(100% - 1.24rem));
    }

    body.home-whisper-editorial section {
        padding: 70px 0;
    }

    body.home-whisper-editorial h2,
    body.home-whisper-editorial .section-title {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }

    body.home-whisper-editorial :is(.cta-primary, .cta-secondary, .view-all-btn, .connect-button, .submit-btn) {
        width: 100%;
        justify-content: center;
    }

    body.home-whisper-editorial :is(.hire-card, .highlight-box, .timeline-content, .edu-card, .skill-category, .expertise-card, .blog-card, .cert-card, .service-card-home, .faq-item, .contact-info-card, .contact-form-wrapper, .contact-card) {
        border-radius: 18px;
    }

    body.home-whisper-editorial .social-links a,
    body.home-whisper-editorial .social-links-alt a {
        width: 46px;
        height: 46px;
    }

    body.home-whisper-editorial .hero-typing-wrap {
        width: min(100%, 560px);
        border-radius: 18px;
        padding: 0.66rem 0.86rem;
        justify-content: center;
        text-align: center;
        flex-wrap: nowrap;
        row-gap: 0.24rem;
    }

    body.home-whisper-editorial .hero-typing-accent {
        width: 31px;
        height: 31px;
    }

    body.home-whisper-editorial .hero-typing-content {
        justify-content: center;
        row-gap: 0.28rem;
    }

    body.home-whisper-editorial .hero-typing-text {
        min-width: 0;
    }

    body.home-whisper-editorial .specialization-title {
        font-size: clamp(1.35rem, 6.2vw, 1.92rem);
    }

    body.home-whisper-editorial .specialization-title::after {
        margin-top: 0.66rem;
    }

    body.home-whisper-editorial .specialization-line {
        border-radius: 16px;
        line-height: 1.62;
    }

    body.home-whisper-editorial .contact-item {
        padding: 0.74rem 0.78rem;
    }

    body.home-whisper-editorial .contact-text a,
    body.home-whisper-editorial .contact-text span:not(.contact-label):not(.label) {
        font-size: 1rem;
    }
}

@media (max-width: 560px) {
    body.home-whisper-editorial .hero {
        padding-top: 118px;
        padding-bottom: 64px;
    }

    body.home-whisper-editorial .tagline {
        letter-spacing: 0.14em;
    }

    body.home-whisper-editorial .key-highlights span {
        width: 100%;
        justify-content: center;
    }

    body.home-whisper-editorial .achievement-badges {
        justify-content: center;
    }

    body.home-whisper-editorial .achievement-badges .badge {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-whisper-editorial *,
    body.home-whisper-editorial *::before,
    body.home-whisper-editorial *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   HERO HOTFIX - Typing + Profile Panel
   ======================================== */
body.home-whisper-editorial .hero-text .social-links {
    margin-top: 1.38rem !important;
    gap: 0.84rem !important;
}

body.home-whisper-editorial .hero-text .social-links a {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
}

body.home-whisper-editorial .hero-image .hero-typing-right {
    margin-top: 1.18rem !important;
    width: min(100%, 430px) !important;
    max-width: 100% !important;
    min-height: 74px;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.76rem;
    padding: 0.82rem 1.02rem !important;
    border-radius: 20px !important;
    border: 1px solid rgba(236, 189, 113, 0.5) !important;
    background: linear-gradient(135deg, rgba(10, 18, 31, 0.95), rgba(25, 37, 58, 0.92)) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 238, 210, 0.1) !important;
    overflow: visible !important;
}

body.home-whisper-editorial .hero-image .hero-typing-right .hero-typing-accent {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    border-color: rgba(255, 216, 145, 0.56) !important;
}

body.home-whisper-editorial .hero-image .hero-typing-right .hero-typing-content {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.42rem;
    min-width: 0;
}

body.home-whisper-editorial .hero-image .hero-typing-right .hero-typing-prefix {
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
    color: rgba(255, 226, 168, 0.82) !important;
}

body.home-whisper-editorial .hero-image .hero-typing-right .hero-typing-text {
    min-width: 0 !important;
    max-width: 100%;
    white-space: normal;
    line-height: 1.34;
    font-size: clamp(0.98rem, 0.4vw + 0.9rem, 1.14rem) !important;
    color: #ffe7b8 !important;
}

body.home-whisper-editorial .hero-image .hero-typing-right .typed-cursor {
    color: #ffd596 !important;
    font-size: clamp(1rem, 0.36vw + 0.9rem, 1.16rem) !important;
}

body.home-whisper-editorial .hero-image {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.home-whisper-editorial .hero-image .profile-container {
    width: min(100%, 460px) !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home-whisper-editorial .hero-image .profile-container::before {
    display: none;
}

body.home-whisper-editorial .hero-image .achievement-badges {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: min(100%, 430px);
    max-width: calc(100vw - 1.4rem);
    margin-inline: auto;
    padding-inline: clamp(0.24rem, 1.2vw, 0.65rem);
    box-sizing: border-box;
    justify-content: center;
    row-gap: 0.54rem;
    column-gap: 0.54rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
}

body.home-whisper-editorial .hero-image .achievement-badges .badge {
    max-width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) scale(1);
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    body.home-whisper-editorial .hero-image .achievement-badges {
        max-width: min(100%, 390px);
    }

    body.home-whisper-editorial .hero-image .achievement-badges .badge {
        padding-inline: 0.64rem;
    }
}

@media (max-width: 560px) {
    body.home-whisper-editorial .hero-image .achievement-badges {
        max-width: calc(100vw - 1rem);
        padding-inline: 0;
    }

    body.home-whisper-editorial .hero-image .achievement-badges .badge {
        width: auto;
        min-height: 39px;
        padding: 0.4rem 0.62rem;
    }

    body.home-whisper-editorial .hero-image .achievement-badges .badge .badge-text {
        font-size: 0.64rem;
        letter-spacing: 0.04em;
    }
}

body.home-whisper-editorial .hero-image .profile-img {
    display: block;
    width: min(100%, 430px) !important;
    max-width: 100%;
    height: clamp(320px, 33vw, 390px) !important;
    border-radius: 30px !important;
    border: 1px solid rgba(224, 174, 95, 0.42) !important;
    object-fit: cover;
    object-position: center 18%;
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.52);
    background: radial-gradient(circle at 50% 16%, rgba(255, 188, 98, 0.18), rgba(9, 13, 22, 0.72));
}

/* Homepage certifications refresh */
body.home-whisper-editorial #certifications .section-title {
    margin-bottom: 0.8rem;
}

body.home-whisper-editorial #certifications .section-subtitle {
    max-width: 72ch;
    margin: 0 auto;
    text-align: center;
    color: rgba(247, 235, 211, 0.78);
}

body.home-whisper-editorial #certifications .cert-grid {
    margin-top: 2.25rem;
}

body.home-whisper-editorial #certifications .cert-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.52rem;
    margin-top: 1.08rem;
}

body.home-whisper-editorial #certifications .cert-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 166, 90, 0.3);
    background: linear-gradient(140deg, rgba(255, 193, 96, 0.12), rgba(255, 143, 87, 0.05));
    color: rgba(252, 238, 209, 0.84);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.home-whisper-editorial #certifications .cert-stats strong {
    color: #ffe0a0;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

body.home-whisper-editorial #certifications .cert-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.36rem;
    overflow: hidden;
}

body.home-whisper-editorial #certifications .cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 180px at -14% -18%, rgba(255, 214, 142, 0.16), transparent 62%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

body.home-whisper-editorial #certifications .cert-provider,
body.home-whisper-editorial #certifications .cert-card h3,
body.home-whisper-editorial #certifications .cert-desc,
body.home-whisper-editorial #certifications .cert-meta {
    position: relative;
    z-index: 1;
}

body.home-whisper-editorial #certifications .cert-provider {
    width: fit-content;
    border-radius: 999px;
    padding: 0.42rem 0.86rem;
    gap: 0.52rem;
}

body.home-whisper-editorial #certifications .cert-provider i {
    font-size: 1.02rem;
}

body.home-whisper-editorial #certifications .cert-provider span {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-transform: uppercase;
}

body.home-whisper-editorial #certifications .cert-card h3 {
    margin-bottom: 0.7rem;
    font-size: clamp(1rem, 0.42vw + 0.9rem, 1.18rem);
    line-height: 1.34;
    letter-spacing: -0.01em;
}

body.home-whisper-editorial #certifications .cert-desc {
    margin-bottom: 1.15rem;
    color: rgba(248, 238, 220, 0.76);
}

body.home-whisper-editorial #certifications .cert-meta {
    margin-top: auto;
    border-top: 1px solid rgba(217, 166, 90, 0.24);
    padding-top: 0.9rem;
    gap: 0.7rem;
}

body.home-whisper-editorial #certifications .cert-date {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 193, 96, 0.14);
    border: 1px solid rgba(255, 193, 96, 0.28);
    color: #ffe3ab;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Must not override the solid background from #certifications .cert-meta .cert-verify — dark #121212 text
   on a near-transparent bar read as "invisible"; use opaque gold + dark text like the shared override block. */
body.home-whisper-editorial #certifications .cert-verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.44rem;
    padding: 0.44rem 0.86rem;
    border-radius: 999px;
    border: 1px solid rgba(18, 14, 8, 0.22);
    background-color: #d9a14a;
    background-image: linear-gradient(135deg, #f0c36d 0%, #fdbb2d 50%, #ff6b35 100%);
    color: #121212 !important;
    -webkit-text-fill-color: #121212;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(253, 187, 45, 0.3);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

body.home-whisper-editorial #certifications .cert-verify:hover,
body.home-whisper-editorial #certifications .cert-verify:focus-visible {
    color: #121212 !important;
    -webkit-text-fill-color: #121212;
    border-color: rgba(255, 214, 140, 0.55);
    box-shadow: 0 9px 22px rgba(253, 187, 45, 0.4);
    transform: translateY(-1px);
    filter: brightness(1.04);
}

body.home-whisper-editorial #certifications .cert-verify i {
    color: #121212 !important;
    -webkit-text-fill-color: #121212;
}

@media (max-width: 960px) {
    body.home-whisper-editorial #certifications .cert-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    body.home-whisper-editorial #certifications .cert-card {
        padding: 1.12rem;
    }

    body.home-whisper-editorial #certifications .cert-stats {
        justify-content: flex-start;
    }

    body.home-whisper-editorial #certifications .cert-stats span {
        width: 100%;
        justify-content: center;
    }

    body.home-whisper-editorial #certifications .cert-meta {
        gap: 0.62rem;
    }

    body.home-whisper-editorial #certifications .cert-verify {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ABOUT SECTION HOTFIX
   ======================================== */
body.home-whisper-editorial #about .about-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: clamp(1.2rem, 2.2vw, 2.25rem);
    align-items: start;
}

body.home-whisper-editorial #about .about-content {
    max-width: none;
    margin: 0;
    text-align: left;
}

body.home-whisper-editorial #about .about-text {
    text-align: left;
}

body.home-whisper-editorial #about .about-text h3 {
    margin: 0 0 0.85rem;
    line-height: 1.3;
    text-align: left;
}

body.home-whisper-editorial #about .about-text h3::after {
    width: 84px;
    height: 2px;
    background: linear-gradient(90deg, rgba(253, 187, 45, 0.94), rgba(255, 127, 69, 0.72));
}

body.home-whisper-editorial #about .about-text > p {
    margin: 0;
    max-width: 65ch;
    line-height: 1.86;
}

body.home-whisper-editorial #about .highlight-boxes {
    margin-top: 1.28rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

body.home-whisper-editorial #about .highlight-box {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding: 1.2rem;
}

body.home-whisper-editorial #about .highlight-box h4 {
    margin: 0 0 0.38rem;
    font-size: 1.08rem;
}

body.home-whisper-editorial #about .highlight-box p {
    margin: 0;
    line-height: 1.64;
}

body.home-whisper-editorial #about .contact-section {
    align-self: start;
}

body.home-whisper-editorial #about .contact-card {
    padding: 1.55rem;
    border-radius: 22px;
}

body.home-whisper-editorial #about .contact-card h3 {
    margin-bottom: 1.1rem;
    font-size: clamp(1.3rem, 1vw + 0.95rem, 1.7rem);
}

body.home-whisper-editorial #about .contact-info {
    margin: 0;
}

body.home-whisper-editorial #about .contact-info p {
    margin: 0 0 0.9rem;
    gap: 0.76rem;
    line-height: 1.56;
}

body.home-whisper-editorial #about .contact-info p:last-child {
    margin-bottom: 0;
}

body.home-whisper-editorial #about .quick-connect {
    margin-top: 1.18rem;
}

@media (max-width: 992px) {
    body.home-whisper-editorial .hero-image .hero-typing-right {
        margin-top: 1.06rem !important;
        margin-inline: auto;
    }

    body.home-whisper-editorial .hero-image .hero-typing-right .hero-typing-content {
        justify-content: center;
    }

    body.home-whisper-editorial #about .about-grid {
        grid-template-columns: 1fr;
    }

    body.home-whisper-editorial #about .highlight-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home-whisper-editorial .hero-image .profile-img {
        height: clamp(300px, 58vw, 370px) !important;
    }
}

@media (max-width: 768px) {
    body.home-whisper-editorial .hero-text .social-links a {
        width: 48px !important;
        height: 48px !important;
    }

    body.home-whisper-editorial .hero-image .hero-typing-right {
        width: 100% !important;
        min-height: 0;
        padding: 0.78rem 0.86rem !important;
        gap: 0.62rem;
    }

    body.home-whisper-editorial .hero-image .hero-typing-right .hero-typing-content {
        row-gap: 0.24rem;
        text-align: left;
    }

    body.home-whisper-editorial #about .about-text > p {
        max-width: none;
    }

    body.home-whisper-editorial #about .highlight-boxes {
        grid-template-columns: 1fr;
    }

    body.home-whisper-editorial .hero-image .profile-img {
        height: clamp(280px, 76vw, 350px) !important;
        object-position: center 14%;
    }
}

/* ========================================
   PROFESSIONAL EXPERIENCE HOTFIX
   ======================================== */
body.home-whisper-editorial #experience .experience-intro {
    max-width: 78ch;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 1.2rem;
}

body.home-whisper-editorial #experience .timeline {
    max-width: 1060px;
    padding: 0;
    margin-top: 1.55rem;
}

body.home-whisper-editorial #experience .timeline::before {
    left: 1.22rem;
    transform: none;
    top: 0.65rem;
    height: calc(100% - 1.3rem);
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 223, 166, 0.2), rgba(255, 143, 87, 0.7), rgba(66, 183, 164, 0.35));
}

body.home-whisper-editorial #experience .timeline-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 0 3.12rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    opacity: 1;
    transform: none;
}

body.home-whisper-editorial #experience .timeline-item + .timeline-item {
    margin-top: 1rem !important;
}

body.home-whisper-editorial #experience .timeline-item:nth-child(odd),
body.home-whisper-editorial #experience .timeline-item:nth-child(even) {
    margin-left: 0 !important;
}

body.home-whisper-editorial #experience .timeline-item::before,
body.home-whisper-editorial #experience .timeline-item:nth-child(odd)::before,
body.home-whisper-editorial #experience .timeline-item:nth-child(even)::before {
    left: 1.22rem !important;
    right: auto !important;
    top: 2rem;
    width: 1.15rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 203, 125, 0.74), rgba(255, 143, 87, 0));
}

body.home-whisper-editorial #experience .timeline-item::after,
body.home-whisper-editorial #experience .timeline-item:nth-child(odd)::after,
body.home-whisper-editorial #experience .timeline-item:nth-child(even)::after {
    left: 0.86rem !important;
    right: auto !important;
    top: 1.69rem;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid rgba(255, 212, 135, 0.72);
    background: linear-gradient(145deg, rgba(255, 220, 154, 0.95), rgba(255, 143, 87, 0.82));
    box-shadow: 0 0 0 4px rgba(255, 165, 96, 0.18);
}

body.home-whisper-editorial #experience .timeline-content {
    padding: 1.2rem 1.3rem 1.15rem !important;
    border-radius: 20px;
    background: linear-gradient(154deg, rgba(20, 29, 46, 0.9), rgba(13, 20, 35, 0.94));
    border: 1px solid rgba(217, 166, 90, 0.24);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

body.home-whisper-editorial #experience .timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    border-color: rgba(255, 212, 135, 0.52);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

body.home-whisper-editorial #experience .timeline-featured .timeline-content {
    border-color: rgba(255, 212, 135, 0.56);
    background: linear-gradient(150deg, rgba(32, 44, 67, 0.95), rgba(17, 26, 43, 0.95));
}

body.home-whisper-editorial #experience .timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.34rem;
}

body.home-whisper-editorial #experience .timeline-content h3 {
    margin: 0;
    font-size: clamp(1.16rem, 0.55vw + 1rem, 1.38rem);
    line-height: 1.32;
}

body.home-whisper-editorial #experience .timeline-content h4 {
    margin: 0;
    color: rgba(255, 214, 140, 0.92);
    letter-spacing: 0.03em;
    font-size: clamp(0.88rem, 0.3vw + 0.82rem, 1rem);
    font-weight: 700;
    text-transform: uppercase;
}

body.home-whisper-editorial #experience .timeline-content .date {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 206, 126, 0.38);
    background: linear-gradient(135deg, rgba(217, 166, 90, 0.2), rgba(255, 143, 87, 0.12));
    color: rgba(255, 228, 174, 0.96);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.home-whisper-editorial #experience .timeline-content ul {
    margin: 0.88rem 0 0;
    display: grid;
    gap: 0.56rem;
    padding: 0;
    list-style: none;
}

body.home-whisper-editorial #experience .timeline-content ul li {
    margin: 0;
    padding-left: 1.08rem;
    color: rgba(245, 234, 212, 0.84);
    line-height: 1.62;
    font-size: clamp(0.94rem, 0.18vw + 0.9rem, 1rem);
    position: relative;
}

body.home-whisper-editorial #experience .timeline-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 219, 155, 0.95), rgba(255, 143, 87, 0.82));
    box-shadow: 0 0 0 2px rgba(255, 183, 104, 0.14);
}

@media (max-width: 992px) {
    body.home-whisper-editorial #experience .timeline {
        margin-top: 1.35rem;
    }

    body.home-whisper-editorial #experience .timeline-item {
        padding-left: 2.72rem !important;
    }

    body.home-whisper-editorial #experience .timeline::before {
        left: 0.92rem;
    }

    body.home-whisper-editorial #experience .timeline-item::before,
    body.home-whisper-editorial #experience .timeline-item:nth-child(odd)::before,
    body.home-whisper-editorial #experience .timeline-item:nth-child(even)::before {
        left: 0.92rem !important;
    }

    body.home-whisper-editorial #experience .timeline-item::after,
    body.home-whisper-editorial #experience .timeline-item:nth-child(odd)::after,
    body.home-whisper-editorial #experience .timeline-item:nth-child(even)::after {
        left: 0.58rem !important;
    }
}

@media (max-width: 768px) {
    body.home-whisper-editorial #experience .timeline-item {
        padding-left: 2.3rem !important;
    }

    body.home-whisper-editorial #experience .timeline-content {
        padding: 1.08rem 1rem 1rem !important;
        border-radius: 17px;
    }

    body.home-whisper-editorial #experience .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.48rem;
    }

    body.home-whisper-editorial #experience .timeline-content .date {
        font-size: 0.7rem;
    }

    body.home-whisper-editorial #experience .timeline::before {
        left: 0.72rem;
    }

    body.home-whisper-editorial #experience .timeline-item::before,
    body.home-whisper-editorial #experience .timeline-item:nth-child(odd)::before,
    body.home-whisper-editorial #experience .timeline-item:nth-child(even)::before {
        left: 0.72rem !important;
        top: 1.82rem;
        width: 0.9rem;
    }

    body.home-whisper-editorial #experience .timeline-item::after,
    body.home-whisper-editorial #experience .timeline-item:nth-child(odd)::after,
    body.home-whisper-editorial #experience .timeline-item:nth-child(even)::after {
        left: 0.41rem !important;
        top: 1.51rem;
    }
}

/* ========================================
   PROFESSIONAL EXPERIENCE PREMIUM OVERRIDE (V2)
   ======================================== */
body.home-whisper-editorial #experience {
    position: relative;
}

body.home-whisper-editorial #experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(780px 380px at 8% 12%, rgba(38, 88, 145, 0.2), transparent 62%),
        radial-gradient(720px 360px at 92% 90%, rgba(255, 143, 87, 0.14), transparent 66%);
    pointer-events: none;
}

body.home-whisper-editorial #experience .container {
    position: relative;
    z-index: 2;
}

body.home-whisper-editorial #experience .experience-kicker {
    width: fit-content;
    margin: 0 auto 0.64rem;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 134, 0.44);
    background: linear-gradient(135deg, rgba(217, 166, 90, 0.22), rgba(255, 143, 87, 0.1));
    color: rgba(255, 232, 186, 0.9);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.home-whisper-editorial #experience .experience-intro {
    max-width: 72ch;
    margin-inline: auto;
    margin-bottom: 1.1rem;
    color: rgba(244, 233, 209, 0.82);
}

body.home-whisper-editorial #experience .experience-stage {
    position: relative;
    margin-top: 1.5rem;
    padding: clamp(1rem, 2.1vw, 1.75rem);
    border-radius: 24px;
    border: 1px solid rgba(217, 166, 90, 0.24);
    background: linear-gradient(155deg, rgba(12, 19, 33, 0.74), rgba(8, 14, 26, 0.86));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 240, 214, 0.07);
    overflow: hidden;
}

body.home-whisper-editorial #experience .experience-stage::before {
    content: '';
    position: absolute;
    inset: -120px -80px auto auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 198, 110, 0.14) 0%, rgba(255, 198, 110, 0) 70%);
    pointer-events: none;
}

body.home-whisper-editorial #experience .experience-stage::after {
    content: '';
    position: absolute;
    top: 1.1rem;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 222, 164, 0.16), rgba(255, 143, 87, 0.72), rgba(66, 183, 164, 0.34));
}

body.home-whisper-editorial #experience .timeline.timeline-editorial {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem 1.9rem;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial::before {
    display: none;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    opacity: 1;
    transform: none;
    position: relative;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd),
body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even) {
    margin-left: 0 !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd) {
    padding-right: 1.75rem !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even) {
    padding-left: 1.75rem !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item::before {
    content: '';
    position: absolute;
    top: 2.05rem;
    width: 1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 203, 125, 0.78), rgba(255, 143, 87, 0));
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd)::before {
    right: 0.58rem;
    left: auto !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even)::before {
    left: 0.58rem !important;
    right: auto !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item::after {
    content: '';
    position: absolute;
    top: 1.74rem;
    width: 0.76rem;
    height: 0.76rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 216, 142, 0.76);
    background: linear-gradient(145deg, rgba(255, 220, 154, 0.95), rgba(255, 143, 87, 0.82));
    box-shadow: 0 0 0 4px rgba(255, 165, 96, 0.18);
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd)::after {
    right: 0;
    left: auto !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even)::after {
    left: 0;
    right: auto !important;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-content {
    height: 100%;
    padding: 1.2rem 1.25rem 1.15rem !important;
    border-radius: 20px;
    background: linear-gradient(154deg, rgba(20, 29, 46, 0.92), rgba(13, 20, 35, 0.95));
    border: 1px solid rgba(217, 166, 90, 0.24);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    border-color: rgba(255, 212, 135, 0.56);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.46);
}

body.home-whisper-editorial #experience .timeline-featured .timeline-content {
    border-color: rgba(255, 212, 135, 0.62);
    background: linear-gradient(150deg, rgba(33, 45, 67, 0.96), rgba(17, 26, 43, 0.95));
}

body.home-whisper-editorial #experience .timeline-featured .timeline-content::after {
    content: 'Current Focus';
    align-self: flex-start;
    margin-top: 0.8rem;
    padding: 0.26rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 134, 0.36);
    background: linear-gradient(135deg, rgba(217, 166, 90, 0.2), rgba(255, 143, 87, 0.08));
    color: rgba(255, 228, 174, 0.9);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.home-whisper-editorial #experience .timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.72rem;
    margin-bottom: 0.38rem;
}

body.home-whisper-editorial #experience .timeline-content h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.48rem;
    font-size: clamp(1.14rem, 0.55vw + 0.98rem, 1.34rem);
    line-height: 1.3;
}

body.home-whisper-editorial #experience .timeline-content h3 i {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 212, 135, 0.34);
    background: linear-gradient(145deg, rgba(217, 166, 90, 0.24), rgba(255, 143, 87, 0.14));
    color: #ffd486;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex: 0 0 auto;
}

body.home-whisper-editorial #experience .timeline-content h4 {
    margin: 0;
    color: rgba(255, 214, 140, 0.92);
    letter-spacing: 0.03em;
    font-size: clamp(0.86rem, 0.28vw + 0.8rem, 0.98rem);
    font-weight: 700;
    text-transform: uppercase;
}

body.home-whisper-editorial #experience .timeline-content .date {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 206, 126, 0.42);
    background: linear-gradient(135deg, rgba(217, 166, 90, 0.24), rgba(255, 143, 87, 0.14));
    color: rgba(255, 228, 174, 0.96);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.home-whisper-editorial #experience .timeline-content ul {
    margin: 0.86rem 0 0;
    display: grid;
    gap: 0.54rem;
    padding: 0;
    list-style: none;
}

body.home-whisper-editorial #experience .timeline-content ul li {
    margin: 0;
    padding-left: 1.08rem;
    color: rgba(245, 234, 212, 0.86);
    line-height: 1.6;
    font-size: clamp(0.93rem, 0.16vw + 0.9rem, 0.99rem);
    position: relative;
}

body.home-whisper-editorial #experience .timeline-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 219, 155, 0.95), rgba(255, 143, 87, 0.82));
    box-shadow: 0 0 0 2px rgba(255, 183, 104, 0.14);
}

@media (max-width: 992px) {
    body.home-whisper-editorial #experience .experience-stage {
        padding: 1rem;
    }

    body.home-whisper-editorial #experience .experience-stage::after {
        left: 1.02rem;
        transform: none;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial {
        grid-template-columns: 1fr;
        gap: 0.92rem;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd),
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even) {
        padding-left: 2.45rem !important;
        padding-right: 0 !important;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item::before,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd)::before,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even)::before {
        left: 0.9rem !important;
        right: auto !important;
        top: 2rem;
        width: 0.9rem;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item::after,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd)::after,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even)::after {
        left: 0.57rem !important;
        right: auto !important;
        top: 1.7rem;
    }
}

@media (max-width: 768px) {
    body.home-whisper-editorial #experience .experience-kicker {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd),
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even) {
        padding-left: 2.2rem !important;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-content {
        padding: 1.02rem 0.94rem 0.96rem !important;
        border-radius: 17px;
    }

    body.home-whisper-editorial #experience .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.44rem;
    }

    body.home-whisper-editorial #experience .timeline-content .date {
        font-size: 0.68rem;
    }

    body.home-whisper-editorial #experience .experience-stage::after {
        left: 0.82rem;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item::before,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd)::before,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even)::before {
        left: 0.72rem !important;
        top: 1.78rem;
    }

    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item::after,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(odd)::after,
    body.home-whisper-editorial #experience .timeline.timeline-editorial .timeline-item:nth-child(even)::after {
        left: 0.41rem !important;
        top: 1.48rem;
    }
}

/* ========================================
   EXPERIENCE SECTION POLISH V3
   location · accent bar · tag separator · tag colour variants
   ======================================== */

/* ── Location micro-line ── */
body.home-whisper-editorial #experience .timeline-location {
    margin: 0.18rem 0 0;
    font-size: 0.75rem;
    color: rgba(200, 185, 155, 0.52);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.01em;
}
body.home-whisper-editorial #experience .timeline-location i {
    font-size: 0.64rem;
    color: rgba(255, 200, 120, 0.42);
}

/* ── Featured card — gold top accent bar (current role) ── */
body.home-whisper-editorial #experience .timeline-featured .timeline-content {
    border-top: 2px solid rgba(255, 212, 135, 0.74) !important;
}

/* ── Tag row — thin separator above pills ── */
body.home-whisper-editorial #experience .timeline-content .timeline-tags {
    margin-top: 0.92rem;
    padding-top: 0.68rem;
    border-top: 1px solid rgba(255, 215, 150, 0.1);
}

/* ── Tag colour variants ── */

/* Cloud infra (ice-blue) */
body.home-whisper-editorial #experience .timeline-tags--cloud li {
    border-color: rgba(100, 180, 255, 0.28);
    background: linear-gradient(135deg, rgba(50, 130, 220, 0.15), rgba(80, 160, 255, 0.07));
    color: rgba(148, 210, 255, 0.88);
}

/* Trainer / teaching (soft violet) */
body.home-whisper-editorial #experience .timeline-tags--trainer li {
    border-color: rgba(160, 120, 255, 0.28);
    background: linear-gradient(135deg, rgba(130, 80, 240, 0.15), rgba(160, 120, 255, 0.07));
    color: rgba(198, 168, 255, 0.88);
}

/* Research (teal) */
body.home-whisper-editorial #experience .timeline-tags--research li {
    border-color: rgba(60, 200, 180, 0.28);
    background: linear-gradient(135deg, rgba(40, 170, 155, 0.15), rgba(80, 210, 190, 0.07));
    color: rgba(98, 228, 208, 0.88);
}

/* ========================================
   ACADEMIC BACKGROUND POLISH
   eyebrow · subtitle · active dot · GPA · focus tags · programme badge · sponsor line
   ======================================== */

/* ── Section eyebrow & subtitle ── */
body.home-whisper-editorial #education .edu-eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 0.7rem;
}
body.home-whisper-editorial #education .edu-subtitle {
    text-align: center;
    color: rgba(200, 190, 165, 0.55);
    font-size: clamp(0.82rem, 0.7vw + 0.6rem, 0.97rem);
    max-width: 56ch;
    margin: 0 auto 0.5rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* ── Active-degree card — gold left border accent ── */
body.home-whisper-editorial #education .edu-card--active {
    border-left: 2px solid rgba(255, 212, 135, 0.68) !important;
    position: relative;
}

/* ── Pulsing gold dot (active enrolment indicator) ── */
body.home-whisper-editorial #education .edu-active-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 200, 100, 0.92);
    box-shadow: 0 0 0 0 rgba(255, 200, 100, 0.55);
    animation: edu-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    position: absolute;
    top: 1.15rem;
    right: 1.1rem;
}
@keyframes edu-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 100, 0.55); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 200, 100, 0); }
}

/* ── Focus tags (MISS card keywords) ── */
body.home-whisper-editorial #education .edu-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: 0.72rem 0 0.5rem;
}
body.home-whisper-editorial #education .edu-focus-tags span {
    font-size: 0.68rem;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 212, 135, 0.28);
    background: linear-gradient(135deg, rgba(200, 150, 60, 0.14), rgba(255, 180, 80, 0.06));
    color: rgba(255, 220, 150, 0.82);
    letter-spacing: 0.03em;
    font-weight: 500;
}

/* ── GPA grade pill ── */
body.home-whisper-editorial #education .edu-card .grade {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    padding: 0.28rem 0.75rem;
    background: linear-gradient(130deg, rgba(253, 187, 45, 0.18), rgba(255, 140, 50, 0.1));
    border: 1px solid rgba(253, 187, 45, 0.32);
    border-radius: 999px;
    color: rgba(255, 220, 140, 0.95);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0.6rem 0 0.5rem;
}
body.home-whisper-editorial #education .edu-card .grade i {
    font-size: 0.6rem;
    color: rgba(255, 200, 80, 0.82);
}

/* ── Certificate row (BSc card) ── */
body.home-whisper-editorial #education .edu-cert-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(200, 185, 155, 0.55);
    margin: 0.1rem 0 0.4rem;
}
body.home-whisper-editorial #education .edu-cert-row i {
    font-size: 0.7rem;
    color: rgba(255, 200, 100, 0.5);
}

/* ── Programme cards — teal/blue tint (certificate programmes) ── */
body.home-whisper-editorial #education .edu-card--program {
    border-color: rgba(80, 160, 200, 0.22) !important;
    background:
        linear-gradient(156deg, rgba(18, 30, 50, 0.88), rgba(12, 22, 40, 0.92) 65%, rgba(10, 18, 36, 0.96)) !important;
    position: relative;
}
body.home-whisper-editorial #education .edu-card--program:hover {
    border-color: rgba(100, 190, 240, 0.38) !important;
    box-shadow: 0 30px 62px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(80, 160, 220, 0.18) inset !important;
}

/* ── Programme badge micro-label ── */
body.home-whisper-editorial #education .edu-program-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(80, 160, 220, 0.3);
    background: rgba(50, 120, 180, 0.14);
    color: rgba(130, 195, 255, 0.78);
    margin-bottom: 0.75rem;
}

/* ── Sponsor line (Udacity / Quantum cards) ── */
body.home-whisper-editorial #education .edu-sponsor {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    color: rgba(130, 195, 240, 0.6);
    margin: 0.5rem 0 0;
    font-style: italic;
}
body.home-whisper-editorial #education .edu-sponsor i {
    font-size: 0.66rem;
    color: rgba(100, 170, 220, 0.55);
}

/* ── Programme-card institution colour (blue tint) ── */
body.home-whisper-editorial #education .edu-card--program .institution {
    color: rgba(130, 195, 255, 0.82);
}

/* ========================================
   BLOG SECTION POLISH
   eyebrow · subtitle · card redesign · tag overlay · meta row · CTA · empty state
   ======================================== */

/* ── Section eyebrow & subtitle ── */
body.home-whisper-editorial #blogs .blog-eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 0.7rem;
}
body.home-whisper-editorial #blogs .blog-subtitle {
    text-align: center;
    color: rgba(200, 190, 165, 0.52);
    font-size: clamp(0.82rem, 0.7vw + 0.6rem, 0.97rem);
    max-width: 58ch;
    margin: 0 auto 0.2rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

/* ── Grid ── */
body.home-whisper-editorial #blogs .blog-grid {
    margin-top: 2.8rem;
}

/* ── Card shell ── */
body.home-whisper-editorial #blogs .blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(217, 166, 90, 0.14);
    background: linear-gradient(160deg, rgba(22, 31, 50, 0.9), rgba(13, 20, 34, 0.95));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.38);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}
body.home-whisper-editorial #blogs .blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 212, 135, 0.32);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.52),
                0 0 0 1px rgba(217, 166, 90, 0.18) inset;
}

/* ── Image wrapper (link) ── */
body.home-whisper-editorial #blogs .blog-image-wrap {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

/* ── Image ── */
body.home-whisper-editorial #blogs .blog-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
}
body.home-whisper-editorial #blogs .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    filter: saturate(0.88) contrast(1.06);
}
body.home-whisper-editorial #blogs .blog-card:hover .blog-image img {
    transform: scale(1.07);
    filter: saturate(1) contrast(1.08);
}

/* ── Dark gradient fade at base of image ── */
body.home-whisper-editorial #blogs .blog-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(10, 16, 30, 0.82) 100%
    );
    pointer-events: none;
}

/* ── Topic tag — floats at the bottom-left of the image ── */
body.home-whisper-editorial #blogs .blog-tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.88rem;
    display: inline-block;
    padding: 0.22rem 0.72rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 212, 135, 0.38);
    background: rgba(14, 20, 34, 0.78);
    color: rgba(255, 222, 160, 0.92);
    backdrop-filter: blur(6px);
    pointer-events: none;
}

/* ── Content area ── */
body.home-whisper-editorial #blogs .blog-content {
    padding: 1.35rem 1.5rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Title ── */
body.home-whisper-editorial #blogs .blog-title {
    font-size: clamp(1.05rem, 1.1vw + 0.7rem, 1.22rem);
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 0.75rem;
    color: rgba(255, 240, 215, 0.97);
    letter-spacing: -0.01em;
}
body.home-whisper-editorial #blogs .blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}
body.home-whisper-editorial #blogs .blog-title a:hover {
    color: #ffd891;
}

/* ── Excerpt ── */
body.home-whisper-editorial #blogs .blog-excerpt {
    font-size: 0.84rem;
    color: rgba(195, 185, 165, 0.62);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.1rem;
}

/* ── Meta row ── */
body.home-whisper-editorial #blogs .blog-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 215, 150, 0.09);
    font-size: 0.74rem;
    color: rgba(190, 175, 148, 0.5);
    flex-wrap: wrap;
}
body.home-whisper-editorial #blogs .blog-meta .date,
body.home-whisper-editorial #blogs .blog-meta .blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    color: rgba(190, 175, 148, 0.5);
    font-size: 0.74rem;
}
body.home-whisper-editorial #blogs .blog-meta i {
    font-size: 0.66rem;
    color: rgba(255, 200, 110, 0.38);
}

/* ── Spacer: push read-more to right ── */
body.home-whisper-editorial #blogs .blog-meta .date {
    flex: 1;
}

/* ── Read article CTA ── */
body.home-whisper-editorial #blogs .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 166, 90, 0.32);
    background: linear-gradient(130deg, rgba(217, 166, 90, 0.14), rgba(255, 143, 87, 0.07));
    color: rgba(255, 220, 155, 0.9);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, gap 0.25s ease;
    white-space: nowrap;
    margin-left: auto;
}
body.home-whisper-editorial #blogs .read-more:hover {
    background: linear-gradient(130deg, rgba(217, 166, 90, 0.28), rgba(255, 143, 87, 0.16));
    border-color: rgba(255, 212, 135, 0.55);
    color: #fff0cf;
    gap: 0.55rem;
}
body.home-whisper-editorial #blogs .read-more i {
    font-size: 0.62rem;
    transition: transform 0.25s ease;
}
body.home-whisper-editorial #blogs .read-more:hover i {
    transform: translateX(2px);
}

/* ── Footer (CTA button row) ── */
body.home-whisper-editorial #blogs .blog-footer {
    margin-top: 2.5rem;
}

/* ── Empty state ── */
body.home-whisper-editorial #blogs .blog-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 3.5rem 1rem;
    color: rgba(190, 175, 148, 0.35);
}
body.home-whisper-editorial #blogs .blog-empty-state i {
    font-size: 2.2rem;
    color: rgba(255, 200, 110, 0.2);
}
body.home-whisper-editorial #blogs .blog-empty-state p {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ========================================
   CERTIFICATIONS SECTION POLISH
   eyebrow · provider colour coding · date label · top-accent per provider
   ======================================== */

/* ── Section eyebrow ── */
body.home-whisper-editorial #certifications .cert-eyebrow {
    display: flex;
    justify-content: center;
    margin-bottom: 0.6rem;
}

/* ── Date label — calendar icon + "Issued YYYY" ── */
body.home-whisper-editorial #certifications .cert-date {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}
body.home-whisper-editorial #certifications .cert-date i {
    font-size: 0.66rem;
    color: rgba(255, 210, 120, 0.55);
}

/* ── Provider-coloured top accent bar ── */
body.home-whisper-editorial #certifications .cert-card[data-provider]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 22px 22px 0 0;
    pointer-events: none;
}

/* Google Cloud — blue */
body.home-whisper-editorial #certifications .cert-card[data-provider="google"]::after {
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
    opacity: 0.7;
}
body.home-whisper-editorial #certifications .cert-card[data-provider="google"] .cert-provider {
    border-color: rgba(66, 133, 244, 0.38);
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.16), rgba(52, 168, 83, 0.08));
    color: rgba(140, 195, 255, 0.92);
}
body.home-whisper-editorial #certifications .cert-card[data-provider="google"] .cert-provider i,
body.home-whisper-editorial #certifications .cert-card[data-provider="google"] .cert-provider span {
    color: rgba(140, 195, 255, 0.92);
}

/* Microsoft — indigo/blue */
body.home-whisper-editorial #certifications .cert-card[data-provider="microsoft"]::after {
    background: linear-gradient(90deg, #0078D4, #50E6FF);
    opacity: 0.7;
}
body.home-whisper-editorial #certifications .cert-card[data-provider="microsoft"] .cert-provider {
    border-color: rgba(0, 120, 212, 0.38);
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.16), rgba(80, 230, 255, 0.07));
    color: rgba(120, 200, 255, 0.92);
}
body.home-whisper-editorial #certifications .cert-card[data-provider="microsoft"] .cert-provider i,
body.home-whisper-editorial #certifications .cert-card[data-provider="microsoft"] .cert-provider span {
    color: rgba(120, 200, 255, 0.92);
}

/* AWS — orange (for future cards) */
body.home-whisper-editorial #certifications .cert-card[data-provider="aws"]::after {
    background: linear-gradient(90deg, #FF9900, #FFB84D);
    opacity: 0.7;
}
body.home-whisper-editorial #certifications .cert-card[data-provider="aws"] .cert-provider {
    border-color: rgba(255, 153, 0, 0.38);
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.16), rgba(255, 184, 77, 0.07));
    color: rgba(255, 200, 120, 0.92);
}
body.home-whisper-editorial #certifications .cert-card[data-provider="aws"] .cert-provider i,
body.home-whisper-editorial #certifications .cert-card[data-provider="aws"] .cert-provider span {
    color: rgba(255, 200, 120, 0.92);
}

/* ========================================
   /certifications vault (certification.html + assembled page)
   Issued / date line on dark glass cards — avoid washed-out grey on charcoal
   ======================================== */
body.certifications-whisper .certificate .cert-date {
    color: rgba(245, 236, 214, 0.92) !important;
    background: rgba(6, 10, 18, 0.55) !important;
    border: 1px solid rgba(243, 193, 109, 0.22) !important;
    -webkit-text-fill-color: rgba(245, 236, 214, 0.92);
}

body.certifications-whisper.theme-light .certificate .cert-date {
    color: rgba(31, 38, 53, 0.9) !important;
    background: rgba(255, 252, 246, 0.95) !important;
    border-color: rgba(116, 88, 46, 0.28) !important;
    -webkit-text-fill-color: rgba(31, 38, 53, 0.9);
}
