/* THEME TOKENS - Enhanced with Additional Variables */
html[data-theme="light"] {
    --bg: linear-gradient(180deg, #ffffff 0%, #ffe6f2 100%);
    --bg-secondary: #f7f7fb;
    --text: #111213;
    --text-muted: #4b4f56;
    --accent: #6a00ff;
    --button-bg: #6a00ff;
    --button-text: #ffffff;
    --border: rgba(17, 18, 19, 0.1);
    --card-shadow: 0 8px 24px rgba(106, 0, 255, 0.12);
    --overlay: linear-gradient(180deg, rgba(255, 79, 216, 0.14), rgba(106, 0, 255, 0.14));
    --highlight: #ff4fd8;

    --coral: #FF6F61;
    --purple: #6a00ff;
    --pink: #E84D8A;
    --light-gray: #4b4f56;
    --dark-bg: #ffffff;
    --dark-bg-secondary: #f7f7fb;
    --card-bg: #ffffff;
    --grid-line: rgba(0, 0, 0, 0.06);
    
    /* Additional variables for consistency */
    --success-color: #4CAF50;
    --error-color: #f44336;
    --warning-color: #FF9800;
    --info-color: #2196F3;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] {
    --bg: linear-gradient(180deg, #0f0f14 0%, #1b0f2d 100%);
    --bg-secondary: #171721;
    --text: #e9e9f1;
    --text-muted: #b0b3b8;
    --accent: #8a5cff;
    --button-bg: #8a5cff;
    --button-text: #0e0e13;
    --border: rgba(233, 233, 241, 0.12);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --overlay: linear-gradient(180deg, rgba(255, 79, 216, 0.14), rgba(138, 92, 255, 0.14));
    --highlight: #ff85f2;

    --coral: #FF6F61;
    --purple: #A14DE8;
    --pink: #E84D8A;
    --light-gray: #B0B0B0;
    --dark-bg: #0D0C14;
    --dark-bg-secondary: #16151E;
    --card-bg: #201F2A;
    --grid-line: rgba(255, 255, 255, 0.05);
    
    /* Additional variables for consistency */
    --success-color: #66BB6A;
    --error-color: #EF5350;
    --warning-color: #FFA726;
    --info-color: #42A5F5;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* CSS Custom Properties for better maintainability */
:root {
    --max-width-container: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
}

/* CSS Reset and Basic Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    transition: background-image 300ms ease;
    will-change: background-image;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header and Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: color-mix(in srgb, var(--dark-bg), transparent 30%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.9rem 0;
    border-bottom-color: var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.main-nav {
    display: flex;
    gap: clamp(1rem, 4vw, 2.5rem);
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--text);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--coral);
    color: var(--button-text);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, outline-color 0.2s ease, background-color 250ms ease, color 250ms ease;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 111, 97, 0.2);
}

.cta-button:focus-visible {
    outline-color: rgba(255,111,97,0.8);
}

.cta-button .icon {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding-top: 120px;
    min-height: 100vh;
}

.hero-text {
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s 0.2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    word-break: break-word;
}

.hero-text .greeting {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 0.5rem;
     letter-spacing: 1px;
}

html[data-theme="light"] .hero-text .greeting { color: #111213; }
html[data-theme="dark"] .hero-text .greeting { color: #ffffff; }

.hero-text .waving-hand {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0.0deg) }
    10% { transform: rotate(14.0deg) }
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate(0.0deg) }
    100% { transform: rotate(0.0deg) }
}

.hero-text p {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 450px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--coral);
    color: var(--coral);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.hero-cta:focus-visible {
    outline: 2px solid rgba(255,111,97,0.8);
    outline-offset: 3px;
}

.hero-cta .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-cta:hover .arrow {
    transform: translateX(5px);
}

.hero-cta:hover {
    background-color: var(--coral);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.3);
}

/* Hero Image and Accents */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.8s 0.4s forwards;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 20px;
    padding: 10px;
    max-width: 450px;
    margin: 0 auto;
}
@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    z-index: 5;
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

.ui-accent {
    position: absolute;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accent1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, var(--pink) 10%, transparent 11%),
                radial-gradient(circle, var(--pink) 10%, transparent 11%);
    background-size: 10px 10px;
    background-repeat: repeat;
}

.accent2 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    right: 5%;
    border: 3px dashed var(--purple);
    border-radius: 50%;
}

.accent3 {
    width: 30px;
    height: 30px;
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
}

.accent3::before, .accent3::after {
    content: '';
    position: absolute;
    background-color: var(--coral);
}

.accent3::before {
    width: 100%;
    height: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.accent3::after {
    height: 100%;
    width: 4px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Me Section */
.about-section {
    padding: 6rem 0;
    transition: background-color 300ms ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 20px;
    padding: 10px;
    max-width: 450px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.experience-box {
    position: absolute;
    top: 2rem;
    left: -2rem;
    background: var(--dark-bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.experience-box .number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--coral);
    line-height: 1;
}

.experience-box .text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-content .section-subtitle {
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content h2 .highlight {
    background: linear-gradient(90deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content .description {
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    list-style: none;
    margin-bottom: 2.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-list .icon {
    color: var(--coral);
    font-weight: bold;
}

/* Expert Areas Section - Modern Minimalist Design */
.expert-areas-section {
    padding: 6rem 0;
    text-align: center;
    transition: background-color 300ms ease;
}

.expert-areas-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.expert-areas-section .section-description {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 4rem auto;
    line-height: 1.7;
    font-size: 1.1rem;
}

.expert-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 1100px) {
    .expert-cards {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .expert-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.expert-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--coral);
}

.expert-card:focus-within {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--coral), var(--purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.expert-card:hover .card-icon {
    transform: scale(1.05);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 180px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
    min-height: 1.6rem;
}

.skill-level {
    background: rgba(255, 111, 97, 0.1);
    color: var(--coral);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

html[data-theme="dark"] .skill-level {
    background: rgba(255, 111, 97, 0.15);
}

.skill-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral);
    min-width: 3.5rem;
    text-align: right;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--coral), var(--purple));
    border-radius: 3px;
    transition: width 1s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.expert-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.expert-card:hover p {
    color: var(--text);
}

/* Responsive adjustments for expert cards */
@media (max-width: 768px) {
    .expert-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    .percentage {
        font-size: 1.25rem;
        min-width: 3rem;
    }
    
    .expert-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .expert-areas-section {
        padding: 4rem 0;
    }
    
    .expert-areas-section h2 {
        font-size: 2rem;
    }
    
    .expert-areas-section .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .expert-cards {
        gap: 1.25rem;
    }
    
    .expert-card {
        padding: 1.25rem;
    }
}

/* Latest Projects Section */
.latest-projects-section {
    padding: 6rem 0;
}

.latest-projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.latest-projects-header .section-subtitle {
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.latest-projects-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.project-filters button {
    background: none;
    border: 1px solid var(--card-bg);
    color: var(--light-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-filters button:hover {
    background-color: var(--card-bg);
    color: white;
}

.project-filters button.active {
    background-color: var(--coral);
    border-color: var(--coral);
    color: white;
}

.projects-scroller-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.projects-scroller {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

.projects-scroller-wrapper:hover .projects-scroller {
    animation-play-state: paused;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.project-card {
    flex-shrink: 0;
    width: clamp(260px, 70vw, 400px);
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
    transition: transform 0.3s ease, background-color 300ms ease, border-color 300ms ease, color 300ms ease;
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.project-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    transition: background-color 300ms ease;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header .section-subtitle {
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.testimonial-content {
    position: relative;
    padding-left: 4rem;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: 0;
    font-size: 6rem;
    color: rgba(255,255,255,0.05);
    line-height: 1;
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.star-rating {
    margin-bottom: 1.5rem;
    color: #FFC107;
}

.testimonial-text {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-nav-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
    background-color: var(--coral);
    border-color: var(--coral);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dot.active {
    background-color: var(--coral);
}

.testimonial-images {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-image {
    border-radius: 20px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.testimonial-image.main {
    width: 300px;
    height: 400px;
    border: 4px solid var(--purple);
}

.testimonial-image.secondary {
    width: 100px;
    height: 120px;
    filter: grayscale(80%);
    opacity: 0.5;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    transition: background-color 300ms ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.contact-details-list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: start;
    column-gap: 1rem;
    row-gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.contact-details-list .icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--coral);
    grid-column: 1;
}

.contact-details-list .icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.contact-details-list .detail-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    grid-column: 2;
    line-height: 1.2;
}

.contact-details-list .detail-text {
    color: var(--light-gray);
    grid-column: 2;
}

.contact-form-wrapper {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    border: 1px solid var(--border);
    transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form .input-field,
.contact-form .textarea-field {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.contact-form .input-field:focus,
.contact-form .textarea-field:focus {
    outline: none;
    border-color: var(--coral);
}

.contact-form .textarea-field {
    height: 150px;
    resize: vertical;
}

/* Get In Touch Banner */
.get-in-touch-section {
    padding: 0 2rem 6rem 2rem;
}

.get-in-touch-banner {
    background: linear-gradient(100deg, var(--purple), var(--pink));
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: background 300ms ease;
}

.get-in-touch-banner img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(300px, 40vw);
    height: auto;
    opacity: 0.8;
}

.get-in-touch-content {
    position: relative;
    z-index: 2;
    margin-left: 320px;
}

.get-in-touch-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

/* Footer */
.main-footer {
    background: #0D0C14;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #B0B0B0;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

.footer-brand .brand {
    display: inline-block;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.2px;
    background: linear-gradient(90deg, #E84D8A, #A14DE8, #FF6F61);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand .tagline {
    margin-top: 0.75rem;
    color: #D7D7D7;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-title {
    color: #EAEAEA;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.footer-links,
.footer-legal,
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-link,
.footer-contact,
.footer-legal-link {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link:hover,
.footer-contact:hover,
.footer-legal-link:hover {
    color: #FF6F61;
    transform: translateX(2px);
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.footer-icon {
    width: 18px;
    height: 18px;
    color: #A7A7A7;
    flex: 0 0 18px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #EAEAEA;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,111,97,0.12);
    border-color: rgba(255,111,97,0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 2rem 2rem;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #9A9A9A;
    font-size: 0.9rem;
}

/* Responsive Design - Optimized Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 1.5rem;
    }
    
    .expert-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 1.5rem;
    }
    
    .hero-section, .about-grid, .testimonial-slider, .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-section {
        padding-top: 120px; 
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: scale(0.9);
        animation: scaleIn 0.8s 0.4s forwards;
        background: linear-gradient(135deg, var(--purple), var(--pink));
        border-radius: 20px;
        padding: 10px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .project-card {
        width: 320px;
    }
    
    .testimonial-content {
        padding-left: 0;
        text-align: center;
        order: 2;
    }
    
    .quote-icon {
        display: none;
    }
    
    .testimonial-images {
        order: 1;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .testimonial-nav {
        justify-content: center;
    }
    
    .blog-header {
        justify-content: center;
        text-align: center;
    }
    
    .contact-info, .contact-form-wrapper {
        text-align: center;
    }
    
    .contact-details-list li {
        justify-content: center;
        text-align: left;
        grid-template-columns: 36px 1fr;
        column-gap: 0.85rem;
    }
    
    .contact-details-list .icon-wrapper { 
        width: 36px; 
        height: 36px; 
    }
    
    .contact-details-list .detail-title,
    .contact-details-list .detail-text { 
        text-align: left; 
    }
    
    .contact-form .input-field,
    .contact-form .textarea-field {
        font-size: 1rem;
    }
    
    .get-in-touch-banner {
        justify-content: center;
        text-align: center;
        padding: 3rem 2rem;
    }
    
    .get-in-touch-banner img {
        display: none;
    }
    
    .get-in-touch-content {
        margin-left: 0;
    }
    
    .footer-wrap { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 2rem; 
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    .header-content { 
        padding: 0 1rem; 
    }
    
    .main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80%, 320px);
        height: 100vh;
        background: var(--dark-bg);
        backdrop-filter: blur(10px);
        padding: 6rem 1.25rem 2rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }
    
    .main-nav a { 
        font-size: 1.05rem; 
        padding: 0.75rem 0;
        text-align: center;
    }
    
    .main-nav.active { right: 0; }
    
    .cta-button { display: none; }
    
    .menu-toggle { display: block; }
    
    .hero-text h1 { 
        font-size: clamp(1.9rem, 7vw, 2.8rem); 
    }
    
    .hero-text p { 
        font-size: 1rem; 
        max-width: 100%;
    }
    
    .about-content h2, 
    .expert-areas-section h2, 
    .latest-projects-header h2, 
    .testimonials-header h2, 
    .contact-info h2, 
    .get-in-touch-content h2 {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    
    .about-list { 
        grid-template-columns: 1fr; 
    }
    
    .experience-box { 
        left: -1rem; 
        top: -1rem; 
        padding: 1rem; 
    }
    
    .experience-box .number { 
        font-size: 2.5rem; 
    }
    
    .expert-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-image.main { 
        width: 250px; 
        height: 320px; 
    }
    
    .testimonial-image.secondary { 
        display: none; 
    }
    
    .contact-form-wrapper { 
        padding: 1.5rem; 
        border-radius: 16px; 
    }
    
    .contact-form .form-group { 
        margin-bottom: 1rem; 
    }
    
    .contact-form .input-field,
    .contact-form .textarea-field { 
        padding: 0.85rem; 
    }
    
    .contact-form .textarea-field { 
        min-height: 130px; 
    }
    
    .projects-scroller { 
        gap: 1rem; 
    }
    
    .get-in-touch-banner {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .hero-text h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .hero-cta, 
    .cta-button { 
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .testimonial-nav-btn { 
        width: 44px; 
        height: 44px; 
        font-size: 1.2rem;
    }
    
    .project-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .project-card img { 
        height: 200px; 
    }
    
    .contact-details-list { 
        margin-bottom: 2rem; 
    }
    
    .contact-details-list li { 
        grid-template-columns: 32px 1fr; 
        column-gap: 0.75rem; 
    }
    
    .contact-details-list .icon-wrapper { 
        width: 32px; 
        height: 32px; 
    }
    
    .contact-form-wrapper { 
        padding: 1.25rem; 
    }
    
    .footer-wrap { 
        grid-template-columns: 1fr; 
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-inner { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .hero-text h1 {
        font-size: clamp(1.3rem, 10vw, 2rem);
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .about-section,
    .expert-areas-section,
    .latest-projects-section,
    .testimonials-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .get-in-touch-banner {
        padding: 2rem 1rem;
    }
    
    .get-in-touch-content h2 {
        font-size: clamp(1.2rem, 8vw, 1.8rem);
    }
}
