/* Global Styles */
:root {
    --primary-color: #2d3436;
    --secondary-color: #4a6cf7;
    --text-color: #2d3436;
    --light-bg: #f5f6fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --accent-color: #6ee7b7;
    --ai-blue: #4a6cf7;
    --automation-green: #00b894;
    --communication-purple: #6c5ce7;
    --tax-orange: #e17055;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 184, 148, 0.05);
    z-index: 0;
}

/* Mobile-first layout for hero-content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 0 0 auto;
    max-width: 180px;
    margin: 0 auto 16px auto;
}

.hero-text {
    flex: 1;
    width: 100%;
    padding: 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 500;
    color: #6ee7b7; /* Light green accent */
}

.hero-image img {
    width: 100%;
    max-width: 180px;
    border-radius: 50%;
    border: 5px solid #4a6cf7;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}
.hero.loaded .hero-image img {
    opacity: 1;
    transform: translateY(0);
}
.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Tech Indicator */
.tech-indicator {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    backdrop-filter: blur(5px);
}

.tech-animation {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.tech-animation i {
    animation: pulse 2s infinite;
}

.tech-animation i:nth-child(1) {
    color: var(--ai-blue);
}

.tech-animation i:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--automation-green);
}

.tech-animation i:nth-child(3) {
    animation-delay: 0.8s;
    color: var(--communication-purple);
}

.tech-animation i:nth-child(4) {
    animation-delay: 1.2s;
    color: var(--tax-orange);
}

.tech-animation i:nth-child(5) {
    animation-delay: 1.6s;
    color: var(--accent-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.tech-caption {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Contact Buttons - Now in Hero */
.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.linkedin-btn {
    background-color: var(--ai-blue);
    color: var(--white);
}

.email-btn {
    background-color: var(--automation-green);
    color: var(--white);
}

.newsletter-btn {
    background-color: var(--communication-purple);
    color: var(--white);
}

.btn i {
    margin-right: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--light-bg);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Section Backgrounds: Multi-color Gradients Using Icon Colors */
.core-competencies-section {
    background: linear-gradient(135deg, #00b894 0%, #4a6cf7 50%, #6c5ce7 100%);
}

.about-section {
    position: relative;
    background: linear-gradient(135deg, #e0fcf6 0%, #eaf1fb 40%, #fbeee0 100%);
    overflow: hidden;
}
.about-section::before { display: none; }

.professional-journey-section {
    background: linear-gradient(135deg, #4a6cf7 0%, #6c5ce7 60%, #e17055 100%);
}

/* Card Styles: White, Shadow, Accent Border, Pop */
.skills-grid .flip-card-front, .skills-grid .flip-card-back,
.journey-area.flip-card .flip-card-front, .journey-area.flip-card .flip-card-back {
    background: #fff !important;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.15);
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* Accent border for each section */
.core-competencies-section .flip-card-front, .core-competencies-section .flip-card-back {
    border-color: #00b894;
}
.professional-journey-section .flip-card-front, .professional-journey-section .flip-card-back {
    border-color: #6c5ce7;
}
.about-section .about-content {
    border-color: #4a6cf7;
}

/* About Section: Subtle Gradient, Card, and Tech Pattern */
.about-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
    border: 2px solid #00b894;
    padding: 40px 32px;
}

@media (max-width: 768px) {
    .about-content {
        padding: 24px 10px;
    }
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    columns: 1;
    column-fill: auto;
}

/* For larger screens, make the about text a single column with a reasonable max-width for readability */
@media (min-width: 1024px) {
    .about-text {
        columns: 1;
        max-width: 800px;
        margin: 0 auto;
    }
}

.about-text p {
    margin-bottom: 20px;
    text-align: left;
    break-inside: avoid; /* Prevent paragraphs from breaking across columns */
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text p::first-letter {
    font-size: 1.2em;
    font-weight: 500;
    color: var(--secondary-color);
}

/* Add subtle lines between paragraphs for visual separation */
.about-text p:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile-first skills grid */
.skills-grid, .journey-areas {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.skill-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.skill-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    height: auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: none;
    color: inherit;
}

/* Use icon color for each skill */
.fa-robot { color: #4a6cf7; }
.fa-cogs { color: #00b894; }
.fa-users { color: #6c5ce7; }
.fa-calculator { color: #e17055; }

/* Timeline */
.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-content::before {
        display: none;
    }
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    margin-bottom: 0;
    position: relative;
}

.timeline-content {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    height: 100%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -40px;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Animation classes */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 1400px) {
    .container {
        padding: 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero-image {
        flex: 0 0 350px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto 30px;
    }

    .contact-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .skill-icon, .area-icon i {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        max-width: 180px;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    .tech-animation {
        justify-content: center;
        flex-wrap: wrap;
    }
    /* Improve scroll-indicator for mobile */
    .scroll-indicator {
        position: static;
        margin: 24px auto 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 56px;
        padding: 12px 0;
        background: rgba(44, 62, 80, 0.08);
        border-radius: 32px;
        box-shadow: 0 2px 8px rgba(44,62,80,0.08);
        z-index: 10;
    }
    .scroll-indicator i {
        font-size: 2.2rem;
        margin-right: 10px;
    }
    .scroll-indicator-text {
        font-size: 1.1rem;
        font-weight: 600;
        color: #222;
        margin-top: 0;
    }
}

/* Experience Section - De-emphasized */
.experience-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: none;
}

.experience-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.experience-section h2::after {
    width: 60px;
    height: 3px;
}

/* Journey Infographic Styles */
.journey-infographic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.journey-center {
    position: relative;
    z-index: 2;
    text-align: center;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
}

.center-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 35%;
    transition: var(--transition);
}

.center-image img:hover {
    transform: scale(1.05);
}

.journey-center h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.journey-center p {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.journey-areas {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.journey-area {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.journey-area:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area-icon {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-icon i {
    background: none !important;
    color: inherit;
    font-size: 3rem;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.tax-area .area-icon {
    background: #e17055; /* Orange */
}

.tech-area .area-icon {
    background: #4a6cf7; /* Blue */
}

.leader-area .area-icon {
    background: #6c5ce7; /* Purple */
}

.area-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.area-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    display: inline-block;
}

.years-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 12px;
    background-color: var(--light-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.tax-area .years-badge {
    color: #e17055;
}

.tech-area .years-badge {
    color: #4a6cf7;
}

.area-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #596070;
    flex-grow: 1;
}

/* Scroll Indicator */
.scroll-indicator-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 48px;
    margin-bottom: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator i {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator-text {
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive design for journey infographic */
@media (min-width: 992px) {
    .journey-infographic {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 50px;
    }

    .journey-center {
        position: sticky;
        top: 100px;
    }

    .journey-areas {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .journey-area {
        flex: 1;
        min-width: 300px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .journey-area {
        padding: 20px;
    }

    .center-image {
        width: 120px;
        height: 120px;
    }

    .area-content h3 {
        font-size: 1.3rem;
    }

    .area-content p {
        font-size: 0.95rem;
    }

    .years-badge {
        font-size: 0.9rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .center-image {
        width: 100px;
        height: 100px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 85%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #777;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal h2 {
    margin-top: 0;
    color: #333;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4a7aff;
    outline: none;
}

.submit-btn {
    background-color: #4a7aff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #3560d0;
}

#waitlist-btn {
    display: none !important;
}

/* Mobile-first flip card */
.flip-card {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    min-height: 180px;
    height: 520px;
    margin: 0 auto 20px auto;
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    flex: 1 1 320px;
    -webkit-perspective: 1200px;
    perspective: 1200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: -webkit-transform 0.8s cubic-bezier(0.4,0.2,0.2,1);
    transition: transform 0.8s cubic-bezier(0.4,0.2,0.2,1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    border-radius: 16px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.15);
    border: 2px solid #00b894;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 24px;
    transition: border-color 0.3s;
    min-height: 180px;
    overflow: visible;
}

.flip-card-back {
    padding-top: 32px;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
}

.flip-card-back-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding-right: 4px;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    box-shadow: 0 16px 48px rgba(44, 62, 80, 0.22);
}

.flip-card-front i.skill-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    color: inherit;
}

.flip-card-front h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
}

.flip-card-back p {
    font-size: 1rem;
    color: #444;
    margin: 0;
}

.flip-card:hover .flip-card-front, .flip-card:hover .flip-card-back {
    border-color: #6ee7b7;
}

/* Responsive scale-up for tablet/desktop */
@media (min-width: 700px) {
    .skills-grid, .journey-areas {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }
    .flip-card {
        width: 48%;
        max-width: 520px;
        min-width: 320px;
        margin: 0 12px 24px 12px;
        height: 100%;
    }
}
@media (min-width: 1100px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 50px;
        text-align: left;
    }
    .hero-image {
        max-width: 300px;
        margin: 0 0 0 0;
    }
    .skills-grid, .journey-areas {
        gap: 32px;
    }
    .flip-card {
        width: 32%;
        max-width: 540px;
        height: 100%;
    }
}

.tech-indicator-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
@media (min-width: 700px) {
    .tech-indicator-content {
        gap: 20px;
    }
}

/* Expertise & Journey Section Styles */
.expertise-section {
    background: linear-gradient(135deg, #e0fcf6 0%, #eaf1fb 40%, #fbeee0 100%);
    padding-top: 80px;
    padding-bottom: 80px;
}
.expertise-intro {
    text-align: center;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 36px auto;
    color: #2d3436;
    opacity: 0.85;
}
.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
}

/* Card accent borders */
.skill-card .flip-card-front,
.skill-card .flip-card-back,
.journey-card .flip-card-front,
.journey-card .flip-card-back {
    border-color: #e0e0e0 !important;
    background: #ececf0 !important;
}

/* Remove card-label styles */
.card-label { display: none !important; }

.years-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    background-color: #f5f6fa;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #6c5ce7;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .flip-card {
        width: 98vw;
        max-width: 98vw;
        min-width: 0;
        margin: 0 auto 16px auto;
        min-height: 140px;
        height: 200px;
        box-shadow: 0 8px 32px rgba(44, 62, 80, 0.15);
        border-radius: 16px;
    }
    .flip-card-front, .flip-card-back {
        padding: 20px 10px;
        min-height: 140px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(44, 62, 80, 0.15);
        border-width: 2px;
        border-style: solid;
    }
    .years-badge {
        font-size: 0.95rem;
        padding: 4px 10px;
    }
    .flip-card-front h3, .flip-card-back h3 {
        font-size: 1.1rem;
    }
    .flip-card-front i.skill-icon {
        font-size: 2rem;
    }
    .expertise-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .expertise-intro {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .expertise-grid {
        gap: 16px;
    }
    .scroll-indicator-wrapper {
        margin-top: 64px;
        margin-bottom: 0;
    }
    .scroll-indicator {
        margin-top: 0;
        margin-bottom: 0;
        min-height: 56px;
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .flip-card {
        max-width: 98vw;
        padding: 0;
    }
    .flip-card-front, .flip-card-back {
        padding: 18px 6px 12px 6px;
        font-size: 0.98rem;
    }
}

.flip-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.flip-btn i {
    color: #2d3436;
    font-size: 1rem;
    transition: var(--transition);
}

.flip-btn:hover {
    background: rgba(45, 52, 54, 0.1);
    transform: scale(1.1);
}

.flip-btn:active {
    transform: scale(0.95);
}

@media (max-width: 700px) {
    .flip-btn {
        bottom: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }
    
    .flip-btn i {
        font-size: 0.9rem;
    }
}

.neutral-card .flip-card-front,
.neutral-card .flip-card-back {
    border-color: #e0e0e0 !important;
    background: #ececf0 !important;
} 