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

:root {
    --primary-color: #a855f7;
    --secondary-color: #8b5cf6;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --accent-green: #00ff88;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    margin-left: 1rem;
}

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

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('y.png') center/cover;
    opacity: 0.3;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    padding-top: 150px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}


/* Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 3px;
}

/* Who I Am Section */
.who-am-i {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tag {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
}


/* Who I Am Section */
/* ========================= */
/* WHO I AM – RESPONSIVE UX */
/* ========================= */

.who-am-i {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

/* Desktop Layout */
.about-content {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Image Styling */
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text */
.about-text {
    padding-top: 0.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.stat-item {
    text-align: left;
    padding: 1.4rem;
    background: linear-gradient(145deg, #0e0e0e, #141414);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Skill / Personality Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(140, 0, 255, 0.15);
    color: var(--primary-color);
    padding: 0.45rem 1.3rem;
    border-radius: 30px;
    font-size: 0.85rem;
    border: 1px solid rgba(140, 0, 255, 0.3);
}

/* ===================== */
/* TABLET & MOBILE FLOW */
/* ===================== */

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .about-text {
        text-align: left;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Exact Match */
@media (max-width: 600px) {
    .who-am-i {
        padding: 70px 0;
    }

    .about-image {
        max-width: 100%;
        border-radius: 16px;
    }

    .about-image img {
        width: 100%;
        height: auto; /* CRITICAL: no height restriction */
    }

    .about-text p {
        font-size: 0.95rem;
    }

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

    .stat-item {
        text-align: left;
        padding: 1.2rem;
    }

    .skills-tags {
        justify-content: flex-start;
    }
}
/* ============================= */
/* FORCE MOBILE STACK + IMAGE   */
/* ============================= */

@media (max-width: 900px) {

    /* Force vertical layout */
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    /* IMAGE MUST NEVER SHRINK */
    .about-image {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    /* Lock image proportions */
    .about-image img {
        width: 100%;
        height: auto;
        min-height: 520px;     /* 👈 KEY FIX */
        object-fit: cover;
    }

    /* Text always below image */
    .about-text {
        width: 100%;
    }

    /* Stats become mobile-friendly */
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================= */
/* SMALL PHONES – EXACT MATCH   */
/* ============================= */

@media (max-width: 480px) {

    .about-image img {
        min-height: 480px;   /* iPhone-sized screens */
    }

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

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}


/* What I Do Section */
.what-i-do {
    padding: 100px 0;
    background: var(--card-bg);
}

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

.service-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card li:last-child {
    border-bottom: none;
}

/* 3D Projects Carousel Section */
.projects-3d {
    padding: 100px 0;
    background: var(--dark-bg);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.carousel-nav {
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-container {
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    padding: 2rem 0;
}

.carousel-item {
    min-width: 320px;
    perspective: 1200px;
}

.project-card-3d {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    transform-style: preserve-3d;
}

.project-card-3d:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.3);
    transform: translateY(-10px) scale(1.02);
}

.project-card-3d img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card-3d:hover img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(139, 92, 246, 0.05));
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.carousel-indicators {
    text-align: center;
    margin-top: 2rem;
}

.indicator-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 1px solid var(--primary-color);
}

.current-index {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.separator {
    color: var(--text-secondary);
}

.total-items {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .carousel-wrapper {
        gap: 1rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-item {
        min-width: 280px;
    }

    .project-card-3d {
        height: 350px;
    }

    .project-card-3d img {
        height: 200px;
    }
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.profile-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-text {
    animation: slideInRight 0.8s ease-out;
}

.profile-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.profile-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.profile-secondary {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.trait-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s;
    text-align: center;
}

.trait-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.2);
}

.trait-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trait-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.trait-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.personality-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 25px;
    border: 1px solid var(--primary-color);
    width: fit-content;
}

.badge-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.badge-value {
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

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

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background: var(--card-bg);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    position: relative;
}

.timeline-item.left .timeline-content::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--dark-bg);
}

.timeline-item.right .timeline-content::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--dark-bg);
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links h4 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-bg);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 4rem;
        padding-right: 0;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        padding-left: 4rem;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -42px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

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

.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #a0a0a0;
    font-weight: 300;
}

.carousel-wrapper {
    perspective: 2000px;
    position: relative;
}

.carousel-container {
    width: 100%;
    padding: 20px 0 80px;
}

.carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
    animation: cardAppear 0.8s ease-out forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

.card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(138, 43, 226, 0.3), 0 0 40px rgba(138, 43, 226, 0.2);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

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

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

.card-content {
    padding: 30px;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #6a3de8;
    line-height: 1;
    margin-bottom: 15px;
    font-family: Georgia, serif;
    opacity: 0.8;
}

.quote-text {
    font-size: 1.05rem;
    line-height: 1.6;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 25px;
    min-height: 80px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6a3de8 0%, #a855f7 100%);
}

.author-title {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #6a3de8;
    font-weight: 600;
    text-transform: uppercase;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #3a3a3a;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #6a3de8 0%, #a855f7 100%);
    border-color: #6a3de8;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(106, 61, 232, 0.4);
}

.nav-btn:active {
    transform: scale(0.95);
}

.dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3a3a3a;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: linear-gradient(135deg, #6a3de8 0%, #a855f7 100%);
    box-shadow: 0 0 15px rgba(106, 61, 232, 0.6);
    transform: scale(1.2);
}

.dot:hover {
    background: #6a3de8;
    transform: scale(1.1);
}

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

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .carousel {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 240px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .quote-text {
        font-size: 0.95rem;
        min-height: auto;
    }
}

/* Loading animation for images */
.card-image img {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}