:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #38bdf8;
    --secondary: #818cf8;
    --accent: #D4AF37;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* MORPHING BACKGROUND */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s linear infinite alternate;
    opacity: 0.15;
}

.blob-1 {
    top: -10%;
    right: -10%;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: linear-gradient(135deg, #f472b6 0%, #818cf8 100%);
    animation-delay: -5s;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) rotate(0deg); }
    33% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: translate(100px, 50px) rotate(120deg); }
    66% { border-radius: 67% 33% 47% 53% / 37% 57% 43% 63%; transform: translate(-50px, 150px) rotate(240deg); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) rotate(360deg); }
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 45px;
    width: auto;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover {
    transform: scale(1.05);
}

nav a {
    color: var(--text-main);
    margin-left: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

nav a:hover {
    color: var(--primary);
    opacity: 1;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav-toggle span {
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

/* HERO */
/* HERO SPLIT LAYOUT */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    z-index: 1;
}

.hero-headline {
    font-size: clamp(32px, 6vw, 64px);
    line-height: 1.2;
    margin-top: 80px; 
    margin-bottom: 24px;
    font-weight: 800;
    color: #fff;
    min-height: 4.5em; /* Pre-allocate space for 4 lines to be safe */
    word-wrap: break-word; /* Ensure character strings don't overflow */
    display: block;
}


.hero-headline span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 5px;
    vertical-align: middle;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-subtext {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 650px;
    animation: revealUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: revealUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.btn-secondary {
    padding: 16px 36px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* HERO TRUST BAR */
.hero-trust-bar {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    animation: revealUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.trust-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
}

.trust-chip .check {
    color: var(--primary);
    font-weight: 800;
}

/* CREDIBILITY PILLS */
.credibility-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.c-pill {
    padding: 8px 18px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

/* NEXT STEPS FLOW (CONTACT) */
.next-steps-flow {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.next-steps-flow h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.step-circle {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.step-mini p {
    font-size: 14px;
    color: var(--text-dim);
    margin: 0;
}

/* IMAGE SIDE */
.hero-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 1/1;
    animation: float 6s ease-in-out infinite;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show whole image */
    border-radius: 40px;
}

.logo-backdrop {
    display: none; /* Removed as per user request for no background */
}

/* ANIMATIONS */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ADJUST PREVIOUS HERO STYLES */
.btn-primary {
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* KEEP SECTIONS */

section {
    padding: 100px 10%;
}

.title {
    text-align: center;
    font-size: clamp(28px, 4vw, 35px);
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.title-left {
    font-size: clamp(26px, 5vw, 42px);
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ABOUT SECTION v3 - Modern Text Layout */
.about-container-v3 {
    max-width: 1100px;
    margin: 0 auto;
}

.title-centered {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 50px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-intro {
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.about-intro .highlight {
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.5;
    color: var(--text-main);
    font-weight: 500;
}

.about-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.v-card {
    padding: 35px 25px;
    border-radius: 24px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--glass-border);
}

.v-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 20px 40px -20px rgba(56, 189, 248, 0.2);
}

.v-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.v-card h3 {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

.v-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1100px) {
    .about-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


.detail-column p {
    color: var(--text-dim);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 25px;
}

.about-pills-v3 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.v3-pill {
    padding: 20px 35px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dim);
    transition: 0.4s;
    text-align: center;
}

.v3-pill span {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.v3-pill:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

@media (max-width: 768px) {
    .about-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-intro {
        padding: 30px 20px;
    }
}

/* WHAT I DO - Tags Style */
.what-i-do-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 100px;
}

.service-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.service-tag span {
    font-weight: 500;
    color: var(--text-main);
}

/* MY APPROACH - Step Style */
.approach-section {
    background: rgba(255, 255, 255, 0.02);
}

.approach-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.approach-item {
    position: relative;
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    transition: 0.4s;
}

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

.approach-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 800;
    opacity: 0.1;
    color: var(--primary);
}

.approach-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.approach-item p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 15px;
}

.approach-footer {
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    font-size: clamp(14px, 2vw, 16px);
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -20px rgba(56, 189, 248, 0.3);
}

.card h3 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 22px;
}

.card p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* PORTFOLIO SECTION */
.portfolio-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 40px;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.portfolio-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.website-selector h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--primary);
    text-align: left;
}

.device-selector h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--primary);
    text-align: right;
}

.selector-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.device-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.website-btn,
.device-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.website-btn:hover,
.device-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--primary);
}

.website-btn.active,
.device-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    font-weight: 600;
}

.device-btn.browser-btn {
    background: white;
    color: var(--bg-dark);
    border: none;
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 32px;
    min-height: 1100px;
    border: 1px solid var(--glass-border);
    transition: min-height 0.4s ease;
    overflow-x: auto; /* Allow horizontal scroll on mobile */
    scrollbar-width: none; /* Hide scrollbar for clean look */
}

.preview-container::-webkit-scrollbar {
    display: none;
}

/* MOBILE PORTFOLIO GRID */
.portfolio-mobile-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 30px;
}

.gist-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gist-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.gist-info h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.gist-info p {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 20px;
    line-height: 1.5;
}

.gist-info .btn-primary {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}

.device-frame {
    position: relative;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border: 12px solid #1e293b; /* Base bezel */
    outline: 1px solid var(--glass-border);
}

/* Add a slight shimmer during transition */
.device-frame.switching {
    opacity: 0.8;
    filter: blur(2px);
}

.device-frame.desktop-frame {
    width: 1920px;
    height: 800px;
    transform: scale(0.85);
    transform-origin: center center;
    border-width: 12px;
    border-bottom-width: 40px; /* Monitor stand area */
    border-radius: 12px;
}

.device-frame.tablet-frame {
    width: 1024px;
    height: 600px;
    transform: scale(0.8);
    transform-origin: center center;
    border-width: 24px;
    border-radius: 36px;
}

.device-frame.mobile-frame {
    width: 430px;
    height: 932px;
    transform: scale(0.8);
    transform-origin: center center;
    border-radius: 54px;
    border-width: 14px;
    border-color: #0f172a;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CONTACT V2 - Interactive & Premium */
.contact-section-v2 {
    padding: 120px 10%;
    background: rgba(255, 255, 255, 0.01);
}

.contact-container {
    display: grid;
    grid-template-columns: 10fr 10fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info-side {
    max-width: 500px;
}

.contact-desc {
    color: var(--text-dim);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
    transition: 0.3s;
}

.c-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

.c-card .icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.c-card .details span {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.c-card .details p {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
}

/* FORM STYLES */
.contact-form-side {
    padding: 50px;
    border-radius: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    background: transparent !important;
    border: none;
    border-bottom: 2px solid var(--glass-border);
    outline: none;
    box-shadow: none !important;
    border-radius: 0;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 16px;
    color: var(--text-dim);
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-bottom-color: var(--primary);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -20px;
    font-size: 13px;
    color: var(--primary);
}

.btn-contact-v2 {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.4s;
    margin-top: 10px;
}

.btn-contact-v2:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.btn-contact-v2 svg {
    transition: 0.3s;
}

.btn-contact-v2:hover svg {
    transform: translateX(5px) rotate(-10deg);
}

footer {
    text-align: center;
    padding: 60px;
    opacity: 0.5;
    font-size: 14px;
}

/* REVEAL ON SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    nav {
        padding: 20px 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        padding: 100px 5%;
        z-index: 1050;
        gap: 30px;
        text-align: center;
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        font-size: 20px;
    }

    .hero-split-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text-side {
        order: 2;
    }

    .hero-image-side {
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-headline {
        margin-top: 0;
        margin-bottom: 20px;
        min-height: auto;
    }


    .hero-btns {
        justify-content: center;
    }

    .hero-trust-bar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 25px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-side {
        max-width: 100%;
        text-align: center;
    }

    .c-card {
        justify-content: flex-start;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 30px;
        gap: 20px;
    }

    .c-card .icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .c-card .details p {
        font-size: 15px;
        word-break: break-all;
    }

    .credibility-pills {
        justify-content: center;
        flex-wrap: wrap;
    }

    .next-steps-flow {
        display: inline-block;
        text-align: left;
        max-width: 280px;
        margin: 40px auto 0;
    }

    .device-frame.desktop-frame { transform: scale(0.6); }
    .device-frame.tablet-frame { transform: scale(0.7); }
    .device-frame.mobile-frame { transform: scale(0.7); }
}

@media (max-width: 768px) {
    section {
        padding: 60px 5% !important;
    }

    .portfolio-controls,
    .preview-container {
        display: none !important;
    }

    .portfolio-mobile-grid {
        display: grid;
    }

    .contact-desc {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .title-centered {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .service-tag {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .hero-btns {
        gap: 10px;
        flex-wrap: nowrap; /* Force buttons to stay in one row */
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
        flex: 1; /* Make buttons equal width to fit row better */
        white-space: nowrap; /* Prevent text wrapping inside buttons */
        text-align: center;
    }

    .contact-desc {
        font-size: 15px;
    }

    .approach-item {
        padding: 30px 20px;
    }

    .title {
        font-size: 28px;
    }

    .device-frame.desktop-frame { transform: scale(0.4); }
    .device-frame.tablet-frame { transform: scale(0.45); }
    .device-frame.mobile-frame { transform: scale(0.55); }
}

/* ── TESTIMONIALS SECTION ── */
.testimonials-section {
    background: rgba(255, 255, 255, 0.01);
    text-align: center;
}

.testimonials-sub {
    color: var(--text-dim);
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 60px;
}

.testimonials-track-wrapper {
    overflow: hidden;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 48px;
    border-radius: 24px;
    text-align: left;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 36px;
    font-size: 100px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.stars {
    color: var(--accent);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.t-quote {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 32px;
    font-style: italic;
    opacity: 0.9;
}

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

.t-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    color: white;
}

.t-author strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.t-author span {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.t-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 32px 24px;
    }
    .t-quote {
        font-size: 15px;
    }
}

