/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(0, 0, 0, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent-primary: #18B2C2;
    --accent-secondary: #025E77;
    --accent-gradient: linear-gradient(135deg, #18B2C2 0%, #025E77 100%);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 16px 64px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(24, 178, 194, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(2, 94, 119, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
    min-width: fit-content;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(24, 178, 194, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24, 178, 194, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-glass);
    border-color: var(--accent-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-title .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section titles with gradient - removed since we now use accent spans */

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text .nexora {
    color: var(--text-primary);
}

.logo-text .codes {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.admin-link {
    background: var(--accent-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.admin-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(24, 178, 194, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 40px;
}

/* Hero background gradient removed - now applied to whole page */

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.hero-content {
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pill-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 100px;
}

/* Hero Statistics */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: auto;
    padding-bottom: 20px;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    opacity: 1;
    transform: translateY(0);
}

.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}



/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(24, 178, 194, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(2, 94, 119, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 600px;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gradient);
    border: 1px solid rgba(24, 178, 194, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.about-pill .pill-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-title .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(24, 178, 194, 0.3);
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    position: relative;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    backdrop-filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== SECTIONS ===== */
.services,
.projects,
.testimonials,
.contact {
    padding: 100px 0;
}

/* ===== SERVICES PILL ===== */
.services-pill {
    display: inline-flex;
    align-items: center;
    background: var(--accent-gradient);
    border: 1px solid rgba(24, 178, 194, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    font-weight: 500;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.services-pill .pill-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* ===== SERVICES SECTION PILL ===== */
.services .services-pill {
    background: var(--accent-gradient);
    border-color: rgba(24, 178, 194, 0.2);
    color: white;
}

.services .services-pill .pill-dot {
    background-color: white;
}

/* ===== PROJECTS PILL ===== */
.projects .services-pill {
    background: var(--accent-gradient);
    border-color: rgba(24, 178, 194, 0.2);
    color: white;
}

.projects .services-pill .pill-dot {
    background-color: white;
}

/* ===== TESTIMONIALS PILL ===== */
.testimonials .services-pill {
    background: var(--accent-gradient);
    border-color: rgba(24, 178, 194, 0.2);
    color: white;
}

.testimonials .services-pill .pill-dot {
    background-color: white;
}

/* ===== HERO PILL ===== */
.hero .hero-pill {
    background: var(--accent-gradient);
    border-color: rgba(24, 178, 194, 0.2);
    color: white;
}

.hero .hero-pill .pill-dot {
    background-color: white;
}

/* ===== CONTACT PILL ===== */
.contact .services-pill {
    background: var(--accent-gradient);
    border-color: rgba(24, 178, 194, 0.2);
    color: white;
}

.contact .services-pill .pill-dot {
    background-color: white;
}

/* ===== TECH STACK PILL ===== */
.tech-stack .services-pill {
    background: var(--accent-gradient);
    border-color: rgba(24, 178, 194, 0.2);
    color: white;
}

.tech-stack .services-pill .pill-dot {
    background-color: white;
}

.services {
    background: var(--bg-secondary);
}

.projects {
    background: var(--bg-primary);
}

.testimonials {
    background: white;
}

.contact {
    background: var(--bg-secondary);
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.tech-categories {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    margin-bottom: 60px;
    text-align: center;
}

.tech-category h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Separate grids for each category */
.tech-grid-frontend {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}

.tech-grid-backend {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.tech-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
    justify-items: center;
}

.tech-grid-database {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
    justify-items: center;
}

.tech-grid-tools {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
    justify-items: center;
}

/* Fallback grid for any other categories */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    min-width: 120px;
    backdrop-filter: blur(20px);
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-primary);
}

.tech-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    object-fit: contain;
    transition: var(--transition);
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.tech-item:hover .tech-name {
    color: var(--accent-primary);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

/* Center single items like loading spinner */
.services-grid:has(.loading-spinner:only-child),
.services-grid:has(.loading-spinner:first-child:last-child) {
    justify-items: center;
}

.services-grid .loading-spinner:only-child,
.services-grid .loading-spinner:first-child:last-child {
    grid-column: 1 / -1;
    justify-self: center;
}

/* Fallback for browsers that don't support :has() */
.services-grid .loading-spinner {
    grid-column: 1 / -1;
    justify-self: center;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    color: white;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-bullet {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.service-bullet::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Center single items like loading spinner */
.projects-grid .loading-spinner {
    grid-column: 1 / -1;
    justify-self: center;
}

.project-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    width: 100%;
    height: 140px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2.2rem;
}

.project-content {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.project-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.project-status.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.project-status.in-progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.project-status.active {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.project-category {
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.project-actions {
    margin-top: auto;
    padding-top: 12px;
}

.btn-project-demo {
    background: var(--accent-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(24, 178, 194, 0.3);
    width: 100%;
    justify-content: center;
}

.btn-project-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24, 178, 194, 0.4);
    color: white;
}

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 300px;
    background: transparent;
}

/* Center single items like loading spinner */
.testimonials-slider .loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
}

.testimonial-item {
    background: linear-gradient(135deg, rgba(24, 178, 194, 0.1) 0%, rgba(2, 94, 119, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(24, 178, 194, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    pointer-events: none;
    width: 100%;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 178, 194, 0.05) 0%, rgba(2, 94, 119, 0.05) 100%);
    z-index: -1;
}

.testimonial-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.testimonial-item:hover::after {
    transform: scaleX(1);
}

/* Slide animations are now handled by JavaScript inline styles */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 14px;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fbbf24;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 178, 194, 0.3);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-glass);
    color: var(--text-muted);
    border-color: var(--border-color);
}

.slider-btn:disabled:hover {
    background: var(--bg-glass);
    color: var(--text-muted);
    border-color: var(--border-color);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.slider-hint {
    text-align: center;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.slider-hint small {
    opacity: 0.7;
}


/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Section - Left Side */
.contact-form-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(24, 178, 194, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Information Section - Right Side */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-primary);
}

.contact-info-card .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-info-card .contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-card .contact-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.contact-info-card .contact-details p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px 20px;
    }
    
    .form-title,
    .info-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 35px;
    width: auto;
    border-radius: var(--radius-sm);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-text .nexora {
    color: var(--text-primary);
}

.footer-logo .logo-text .codes {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
}

.footer-section h3:hover {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links li i {
    margin-right: 8px;
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(24, 178, 194, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.toast {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--text-primary);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid #22c55e;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
    gap: 16px;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--accent-primary);
}

/* ===== MOBILE & TOUCH OPTIMIZATIONS ===== */
/* Touch-friendly button sizes */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .slider-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .social-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Mobile scrollbar styling */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f5f9;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--accent-primary);
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-secondary);
    }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Hero background gradient removed - now applied to whole page */
    

    
    .service-card::before,
    .project-card::before {
        transition: transform 0.2s ease;
    }
    
    /* Mobile form improvements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }
    
    /* Mobile testimonial slider improvements */
    .testimonials-slider {
        margin: 0 10px;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .slider-hint {
        margin-top: 12px;
        font-size: 12px;
    }
    
    /* Ensure loading spinner is centered on mobile */
    .testimonials-slider .loading-spinner {
        width: 100%;
        text-align: center;
        min-height: 150px;
    }
    
    .testimonial-content {
        font-size: 1.1rem;
    }
    
    /* Mobile toast positioning */
    .toast-container {
        left: 20px;
        right: 20px;
        top: 90px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
/* Mobile-first approach - hide nav-menu by default on mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
        pointer-events: none;
        z-index: 999;
        visibility: hidden;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
    }
    
    /* Ensure nav-toggle is visible and clickable */
    .nav-toggle {
        display: flex !important;
        z-index: 1001;
        align-items: center;
        justify-content: center;
        height: 40px;
    }
    
    /* Mobile navigation improvements */
    .nav-link {
        font-size: 18px;
        padding: 16px 0;
        width: 100%;
        text-align: center;
    }
    
    .admin-link {
        margin-top: 20px;
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        max-width: 700px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Tablet optimizations */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1000px;
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    /* Mobile navigation and layout */
    .nav-container {
        height: 70px;
        padding: 0 16px;
    }
    
    /* Services mobile styles */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 16px;
        justify-content: center;
    }
    
    /* Ensure loading spinner is centered on mobile */
    .services-grid .loading-spinner {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        text-align: center;
    }
    
    .services-pill {
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-toggle {
        height: 35px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding-top: 150px;
        padding-bottom: 40px;
        min-height: 90vh;
        margin-bottom: 30px;
    }
    
    .hero-container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .hero-pill {
        font-size: 13px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 16px;
        margin-bottom: 60px;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 180px;
    }
    
    .hero-stats {
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 13px;
    }
    

    
    /* Section optimizations */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .section-description {
        font-size: 1.1rem;
        max-width: 500px;
    }
    
    .services,
    .projects,
    .testimonials,
    .contact {
        padding: 80px 0;
    }
    
    /* Grid optimizations */
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Card optimizations */
    .service-card {
        padding: 25px 16px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
    
    .project-content {
        padding: 20px 16px;
    }
    
    .project-image {
        height: 140px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .btn-project-demo {
        padding: 12px 16px;
        font-size: 13px;
    }
    

    
    /* Contact form mobile optimization */
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        gap: 16px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Footer mobile optimization */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo .logo-img {
        height: 30px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.25rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Tech Stack mobile optimization */
    .tech-grid,
    .tech-grid-frontend,
    .tech-grid-backend,
    .tech-grid-mobile,
    .tech-grid-database,
    .tech-grid-tools {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .tech-grid-frontend {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid-backend {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-item {
        padding: 16px 12px;
        min-width: 100px;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Small mobile container */
    .container {
        padding: 0 12px;
    }
    
    /* Navigation small mobile */
    .nav-container {
        height: 65px;
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    /* Hero section small mobile */
    .hero {
        padding-top: 150px;
        padding-bottom: 30px;
        min-height: 85vh;
        margin-bottom: 25px;
    }
    
    .hero-container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    .hero-pill {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-stats {
        gap: 20px;
        padding-bottom: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
    

    
    /* Section titles small mobile */
    .section-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .section-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Services and projects small mobile */
    .services,
    .projects,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    /* Grid small mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        justify-content: center;
    }
    
    /* Ensure loading spinner is centered on small mobile */
    .services-grid .loading-spinner {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Ensure loading spinner is centered on small mobile */
    .projects-grid .loading-spinner {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        text-align: center;
    }
    
    /* Cards small mobile */
    .service-card {
        padding: 24px 16px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .project-card {
        margin-bottom: 16px;
    }
    
    .project-content {
        padding: 18px 14px;
    }
    
    .project-image {
        height: 120px;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .project-description {
        font-size: 0.85rem;
    }
    
    .btn-project-demo {
        padding: 10px 14px;
        font-size: 12px;
    }
    

    
    /* Contact small mobile */
    .contact-form {
        padding: 24px 16px;
    }
    
    .contact-info {
        gap: 16px;
    }
    
    .contact-item {
        gap: 12px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Buttons small mobile */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
        width: auto;
        min-width: 200px;
        justify-content: center;
    }
    
    /* Footer small mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo .logo-img {
        height: 28px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.1rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    /* Tech Stack small mobile optimization */
    .tech-grid,
    .tech-grid-frontend,
    .tech-grid-backend,
    .tech-grid-mobile,
    .tech-grid-database,
    .tech-grid-tools {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tech-grid-frontend {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid-backend {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-item {
        padding: 14px 10px;
        min-width: 90px;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 6px;
    }
    
    .tech-name {
        font-size: 0.75rem;
    }
}

/* ===== LANDSCAPE ORIENTATION OPTIMIZATIONS ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 150px;
    }
    
    .hero-container {
        max-width: 600px;
    }
    
    .hero-pill {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        margin-bottom: 40px;
    }
    
    .hero-stats {
        gap: 30px;
        padding-bottom: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 11px;
    }
    

    
    .services,
    .projects,
    .testimonials,
    .contact {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .service-card,
    .project-card {
        padding: 20px 16px;
    }
    
    .contact-form {
        padding: 20px 16px;
    }
}

/* ===== HIGH DPI MOBILE OPTIMIZATIONS ===== */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(30px);
    }
    
    .navbar {
        backdrop-filter: blur(30px);
    }
    
    .nav-menu.active {
        backdrop-filter: blur(30px);
    }
}

/* ===== MOBILE RESPONSIVE STYLES FOR ABOUT SECTION ===== */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-features {
        gap: 20px;
    }
    
    .about-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 8px;
    }
    
    .about-image {
        height: 300px;
    }
    
    .floating-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 10px auto;
        width: fit-content;
    }
    
    .card-1, .card-2 {
        position: relative;
        margin: 10px auto;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-image {
        height: 250px;
    }
    
    .floating-card {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
}
