/* ================================
   Particles
   ================================ */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #422e90;
    --secondary-color: #51439b;
    --accent-color: #ec4899;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #422e90 0%, #51439b 50%, #ec4899 100%);

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    letter-spacing: 0.3px;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ================================
   Typography
   ================================ */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Kanit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
    letter-spacing: 0.5px;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
}

.header.transparent {
    background: transparent;
    box-shadow: none;
}

.header.scrolled {
    padding: 14px 0;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 44px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 17px;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header.transparent .nav-link {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* Ensure all direct nav-links get underline (not dropdown items) */
.nav-menu>li>.nav-link {
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header.transparent .nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header.transparent .nav-link.active::after,
.header.transparent .nav-link:hover::after {
    background: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-header {
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 600;
    background: var(--gradient);
    color: var(--white);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.desktop-only {
    display: inline-flex;
}

.mobile-hidden {
    display: list-item;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 10px;
    margin: -10px;
    z-index: 1002;
    position: relative;
}

.header.transparent .mobile-toggle {
    color: var(--white);
}

.mobile-toggle:hover {
    color: var(--primary-color);
}

.mobile-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Animated Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 24px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-line.line-1 {
    top: 0;
}

.hamburger-line.line-2 {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line.line-3 {
    bottom: 0;
}

/* Hamburger Animation - Active State */
.mobile-toggle.active .hamburger-line.line-1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active .hamburger-line.line-2 {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-toggle.active .hamburger-line.line-3 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ================================
   Mega Dropdown Menu
   ================================ */
.has-dropdown {
    position: relative;
}

.has-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    gap: 40px;
    background: var(--white);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 700px;
}

.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-column {
    min-width: 180px;
}

.dropdown-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-links li a i {
    font-size: 14px;
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.dropdown-links li a:hover {
    background: rgba(66, 46, 144, 0.08);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-links li a:hover i {
    color: var(--accent-color);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-color);
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 46, 144, 0.9) 0%, rgba(81, 67, 155, 0.8) 50%, rgba(236, 72, 153, 0.9) 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hero .container {
    position: relative;
    z-index: 4;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Kanit', sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.hero-title .text-gradient {
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
}

.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.social-icons {
    display: none;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.stat-number::after {
    content: '+';
    font-size: 32px;
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
}

.hero-scroll a {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-scroll a:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.scroll-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: var(--delay);
}

/* ================================
   Services Section
   ================================ */
.services {
    padding: var(--section-padding);
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: none;
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--white);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 40px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 20px;
    transform: rotate(10deg);
    transition: var(--transition);
}

.service-card:hover .icon-bg {
    transform: rotate(20deg) scale(1.1);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-card.featured .service-features i {
    color: var(--white);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-card.featured .service-link {
    color: var(--white);
}

.service-link:hover {
    gap: 12px;
}

/* Service Card Link Wrapper */
.service-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.service-card-link:hover .service-card {
    transform: none;
    box-shadow: var(--shadow-xl);
}

.service-card-link:hover .service-card::before {
    transform: scaleX(1);
}

/* Service Link Button */
.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    margin-top: 20px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.service-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
    gap: 14px;
}

.service-card.featured .service-link-btn {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card.featured .service-link-btn:hover {
    background: var(--light-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* ================================
   New Services Section
   ================================ */
.new-services {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.services-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: floatShape 20s infinite ease-in-out;
}

.floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.floating-shape.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: -80px;
    left: 30%;
    animation-delay: 10s;
}

.floating-shape.shape-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    top: 30%;
    left: 15%;
    animation-delay: 15s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, -80px) scale(0.9);
    }

    75% {
        transform: translate(-70px, 30px) scale(1.05);
    }
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.services-badge i {
    animation: sparkle 2s infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

.services-main-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1f36;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-subtitle {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* Service Box */
.service-box {
    position: relative;
    perspective: 1000px;
}

.service-box-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}

.service-box:hover .service-box-inner {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Glow Effect */
.service-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-box:hover .service-glow {
    opacity: 1;
}

/* Service Number */
/* .service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(102, 126, 234, 0.05);
    line-height: 1;
    z-index: 0;
    transition: all 0.5s ease;
} */

.service-box:hover .service-number {
    color: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

/* Icon Wrapper */
.service-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.icon-circle i {
    font-size: 42px;
    color: white;
}

.service-box:hover .icon-circle {
    transform: scale(1.1) rotate(360deg);
}

/* Icon Rings */
.icon-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.ring-1 {
    width: 120px;
    height: 120px;
    animation: pulseRing 3s infinite;
}

.ring-2 {
    width: 140px;
    height: 140px;
    animation: pulseRing 3s infinite 1.5s;
}

@keyframes pulseRing {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0;
    }
}

/* Service Content */
.service-content {
    position: relative;
    z-index: 1;
}

.service-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 15px;
    text-align: center;
}

.service-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #475569;
}

.service-list i {
    color: #667eea;
    font-size: 16px;
    flex-shrink: 0;
}

/* Service Button */
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-btn:hover::before {
    left: 100%;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    gap: 15px;
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* Featured Service */
.service-box.featured {
    transform: scale(1.05);
}

.service-box.featured .service-box-inner {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.service-box.featured .service-name,
.service-box.featured .service-desc,
.service-box.featured .service-list li {
    color: white;
}

.service-box.featured .service-list i {
    color: white;
}

.service-box.featured .service-number {
    color: rgba(255, 255, 255, 0.1);
}

.service-box.featured:hover .service-number {
    color: rgba(255, 255, 255, 0.15);
}

.service-box.featured .icon-circle {
    background: white;
}

.service-box.featured .icon-circle i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-box.featured .ring {
    border-color: rgba(255, 255, 255, 0.3);
}

.service-box.featured .service-btn {
    background: white;
    color: #667eea;
}

.service-box.featured .service-btn:hover {
    background: #f8f9ff;
}

/* Popular Tag */
.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.popular-tag i {
    animation: starRotate 2s infinite linear;
}

@keyframes starRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-box.featured {
        transform: scale(1);
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .new-services {
        padding: 80px 0;
    }

    .services-main-title {
        font-size: 36px;
    }

    .services-subtitle {
        font-size: 16px;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-box.featured {
        grid-column: span 1;
        transform: scale(1);
    }

    .service-box-inner {
        padding: 40px 25px;
    }

    .service-name {
        font-size: 24px;
    }
}

/* ================================
   About Section
   ================================ */
.about {
    padding: var(--section-padding);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience h3 {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.about-experience p {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin: 30px 0;
}

.about-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.about-feature h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.about-feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ================================
   Process Section
   ================================ */
.process {
    padding: var(--section-padding);
    background: var(--light-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.process-number {
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.process-icon i {
    font-size: 36px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-item:hover .process-icon {
    transform: scale(1.1) rotate(360deg);
}

.process-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.process-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================
   Portfolio Section
   ================================ */
.portfolio {
    padding: var(--section-padding);
}

.portfolio-swiper {
    padding: 20px 0 60px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(236, 72, 153, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.portfolio-info p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.portfolio-link:hover {
    transform: scale(1.1) rotate(360deg);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--gradient);
    width: 30px;
    border-radius: 10px;
}

/* ================================
   Testimonials Section
   ================================ */
.testimonials {
    padding: var(--section-padding);
    background: var(--light-color);
}

.testimonials-swiper {
    padding: 20px 0 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ================================
   CTA Section
   ================================ */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #422e90 0%, #51439b 50%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cta-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23cta-pattern)" /></svg>');
    opacity: 0.3;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    color: var(--white);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.cta-badge i {
    color: #ec4899;
    font-size: 16px;
}

.cta-title {
    font-family: 'Kanit', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.cta-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.cta-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-stat h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.cta-stat p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.cta-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-actions .btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.cta-contact {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-contact-item i {
    font-size: 24px;
    color: #ec4899;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-contact-item div {
    display: flex;
    flex-direction: column;
}

.cta-contact-item span {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.cta-contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.cta-contact-item a:hover {
    color: #ec4899;
}

.cta-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20px;
    left: 20px;
    animation: float 3s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20px;
    right: 20px;
    animation: float 4s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 2s ease-in-out infinite;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
}

.cta-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #422e90 0%, #51439b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 24px;
}

.cta-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.cta-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-info-item p {
    color: var(--text-secondary);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.social-links a i {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links a:hover i {
    -webkit-text-fill-color: var(--white);
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group i {
    position: absolute;
    top: 18px;
    left: 20px;
    color: var(--text-secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .consultation-panel {
        width: 100%;
        right: -100%;
    }

    .consultation-panel-content {
        padding: 80px 25px 40px;
    }

    .consultation-tab {
        padding: 10px 20px;
        font-size: 12px;
    }

    /* ================================
       Enhanced Mobile Navigation
       ================================ */
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        margin: 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        /* Directly below header */
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(100vh - 80px);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
        flex-direction: column;
        padding: 15px 0;
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
        border-top: 3px solid var(--primary-color);
        border-radius: 0 0 20px 20px;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
    }

    .nav-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        margin: 0;
        padding: 0 15px;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .nav-link {
        color: var(--text-primary) !important;
        font-size: 16px;
        font-weight: 500;
        width: 100%;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 12px;
        margin: 3px 0;
        border-bottom: none;
        background: transparent;
        transition: all 0.25s ease;
    }

    .nav-link i {
        width: 20px;
        text-align: center;
        color: var(--primary-color);
        font-size: 16px;
        transition: transform 0.25s ease;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(102, 126, 234, 0.1);
        padding-left: 25px;
    }

    .nav-link:hover i,
    .nav-link:focus i {
        transform: scale(1.1);
    }

    .nav-link::after {
        display: none;
        /* Remove underline animation on mobile */
    }

    .nav-link.active {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
        color: var(--primary-color) !important;
        border-left: none;
        font-weight: 600;
    }

    .nav-link:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-hidden {
        display: list-item !important;
    }

    .hero {
        min-height: 100vh;
        padding: 130px 0 90px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.65;
        margin-bottom: 40px;
    }

    .hero-buttons {
        gap: 18px;
        margin-bottom: 50px;
    }

    .hero-buttons .btn {
        padding: 14px 30px;
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding-top: 60px;
    }

    .stat-item {
        padding: 25px 18px;
    }

    .stat-number {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .cta-stat {
        padding: 15px 10px;
    }

    .cta-stat h3 {
        font-size: 28px;
    }

    .cta-actions {
        justify-content: center;
    }

    .cta-actions .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .cta-contact {
        justify-content: center;
        gap: 20px;
    }

    .cta-visual {
        height: auto;
        min-height: 300px;
    }

    .cta-card {
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-contact-item {
        justify-content: center;
    }

    .cta-visual {
        display: none;
    }

    .about-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .logo img {
        height: 38px;
    }

    .header.scrolled .logo img {
        height: 35px;
    }

    .hero {
        min-height: 100vh;
        padding: 140px 0 80px;
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .hero-buttons .btn {
        padding: 14px 28px;
        font-size: 15px;
        min-width: 140px;
    }

    .hero-stats {
        gap: 18px;
        padding-top: 50px;
    }

    .stat-item {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
}

/* ================================
   Animations
   ================================ */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(30px, -30px);
    }

    50% {
        transform: translate(-30px, -60px);
    }

    75% {
        transform: translate(20px, -30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scroll */
html.smooth-scroll {
    scroll-behavior: smooth;
}

/* Scroll-to-top removed */

/* Hide any residual back-to-top / scroll-top elements from external themes/plugins */
#oceanwp-scroll-top,
.oceanwp-scroll-top,
#scroll-top,
.scroll-top,
.back-to-top,
#back-to-top,
.scrolltop,
#scrolltop,
.scrollUp,
#scrollUp,
.to-top,
.toTop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ================================
   Mobile Menu Overlay - Enhanced
   ================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.3);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close hint on overlay */
.mobile-menu-overlay::after {
    content: 'Tap to close';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}

.mobile-menu-overlay.active::after {
    opacity: 1;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.phone-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* ================================
   Consultation Widget - Enhanced
   ================================ */
.consultation-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #ff416c 0%, #ff0000 100%);
    color: #ffffff;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
    box-shadow: -4px 0 20px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.consultation-tab:hover {
    background: linear-gradient(180deg, #ff0000 0%, #cc0000 100%);
    box-shadow: -6px 0 25px rgba(255, 0, 0, 0.5);
    padding-left: 3px;
}

.consultation-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 6px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.consultation-text::before {
    content: '💬';
    font-size: 14px;
}

.consultation-panel {
    position: fixed;
    right: -450px;
    top: 0;
    width: 420px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1f3a 0%, #0f1225 100%);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.consultation-panel.active {
    right: 0;
}

.consultation-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff416c 0%, #ff0000 100%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

.consultation-close:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    transform: rotate(90deg) scale(1.1);
}

.consultation-panel-content {
    padding: 90px 35px 40px;
}

.consultation-panel-content h3 {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 10px;
    text-align: center;
}

.consultation-panel-content h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff416c, #ff0000);
    margin: 15px auto 0;
    border-radius: 3px;
}

.consultation-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
}

.consultation-form .form-group {
    margin-bottom: 18px;
    position: relative;
}

.consultation-form .form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.consultation-form .form-group i.field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.consultation-form .form-group.textarea-group i.field-icon {
    top: 18px;
    transform: none;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 15px 18px 15px 45px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 10px;
    font-family: 'Kanit', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #ff416c;
    background: rgba(255, 65, 108, 0.08);
    box-shadow: 0 0 20px rgba(255, 65, 108, 0.15);
}

.consultation-form input:focus+i.field-icon,
.consultation-form select:focus+i.field-icon,
.consultation-form textarea:focus+i.field-icon,
.consultation-form .form-group:focus-within i.field-icon {
    color: #ff416c;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.consultation-form select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23ffffff" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.consultation-form select option {
    background: #1a1f3a;
    color: #ffffff;
    padding: 10px;
}

.consultation-form textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 15px;
}

.consultation-form .btn-block {
    width: 100%;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ff416c 0%, #ff0000 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 65, 108, 0.3);
}

.consultation-form .btn-block:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.consultation-form .btn-block i {
    font-size: 16px;
}

/* Service Selection Cards */
.service-select-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.service-select-card {
    position: relative;
    cursor: pointer;
}

.service-select-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-select-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.service-select-card label i {
    font-size: 24px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.service-select-card label span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-select-card input[type="radio"]:checked+label {
    background: rgba(255, 65, 108, 0.15);
    border-color: #ff416c;
    box-shadow: 0 0 20px rgba(255, 65, 108, 0.2);
}

.service-select-card input[type="radio"]:checked+label i {
    color: #ff416c;
    transform: scale(1.1);
}

.service-select-card label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive Consultation Widget */
@media (max-width: 768px) {
    .consultation-tab {
        padding: 0;
    }

    .consultation-text {
        padding: 12px 5px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .consultation-text::before {
        font-size: 12px;
    }

    .consultation-panel {
        width: 100%;
        right: -100%;
    }

    .consultation-panel.active {
        right: 0;
    }

    .consultation-panel-content {
        padding: 80px 25px 30px;
    }

    .consultation-panel-content h3 {
        font-size: 22px;
    }

    .consultation-form input,
    .consultation-form select,
    .consultation-form textarea {
        padding: 14px 15px 14px 42px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .consultation-form .btn-block {
        padding: 14px 25px;
        font-size: 14px;
    }

    .service-select-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-select-card label {
        padding: 14px 10px;
    }

    .service-select-card label i {
        font-size: 20px;
    }

    .service-select-card label span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .consultation-text {
        padding: 10px 4px;
        font-size: 9px;
    }

    .consultation-panel-content {
        padding: 70px 20px 25px;
    }

    .consultation-panel-content h3 {
        font-size: 20px;
    }

    .consultation-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Enhanced Mobile Menu */
@media (max-width: 768px) {
    .nav-menu {
        z-index: 999;
    }

    /* scroll-to-top responsive rules removed */

    .cta-title {
        font-size: 32px;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .cta-stat {
        padding: 15px 10px;
    }

    .cta-stat h3 {
        font-size: 28px;
    }

    .cta-actions {
        justify-content: center;
    }

    .cta-actions .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .cta-contact {
        justify-content: center;
        gap: 20px;
    }

    .cta-visual {
        height: auto;
        min-height: 300px;
    }

    .cta-card {
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-contact-item {
        justify-content: center;
    }

    .cta-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ================================
   Work Portfolio / Demo Previewer Section
   ================================ */
.exad-demo-previewer-wrapper {
    padding: 30px 0;
}

.exad-demo-previewer-element {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.exad-col-4 {
    width: 100%;
}

.exad-demo-previewer-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.exad-demo-previewer-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
}

.exad-demo-previewer-content-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    min-height: 240px;
}

.exad-demo-previewer-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    flex-shrink: 0;
}

.exad-demo-previewer-scroll-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.exad-demo-previewer-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
    display: block !important;
    pointer-events: none;
}

.exad-demo-previewer-scroll-image img {
    width: 100%;
    height: auto;
    display: block !important;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 3s ease-in-out;
    transform: translateY(0);
}

.exad-demo-previewer-cover-image img {
    width: 100%;
    height: 100%;
    display: block !important;
    object-fit: cover;
    object-position: top center;
}

/* Hover effect - show scrolling image */
.exad-demo-previewer-item:hover .exad-demo-previewer-scroll-image,
.exad-demo-previewer-item.mobile-hover .exad-demo-previewer-scroll-image {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.exad-demo-previewer-item:hover .exad-demo-previewer-scroll-image img,
.exad-demo-previewer-item.mobile-hover .exad-demo-previewer-scroll-image img {
    transform: translateY(calc(-100% + 240px));
}

.exad-demo-previewer-item:hover .exad-demo-previewer-cover-image,
.exad-demo-previewer-item.mobile-hover .exad-demo-previewer-cover-image {
    opacity: 0;
    z-index: 0;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-100% + 240px));
    }
}

.exad-demo-previewer-item-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 15px;
    z-index: 4;
    transition: all 0.3s ease;
}

.exad-demo-previewer-item:hover .exad-demo-previewer-item-content-wrapper {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.exad-demo-previewer-item-content-inner {
    width: 100%;
}

.exad-demo-previewer-item-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exad-demo-previewer-item-content-title {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.exad-demo-previewer-item-content-title a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exad-demo-previewer-item-content-title a::after {
    content: '→';
    font-size: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.exad-demo-previewer-item:hover .exad-demo-previewer-item-content-title a::after {
    opacity: 1;
    transform: translateX(0);
}

.exad-demo-previewer-item-content-title a:hover {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .exad-demo-previewer-element {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 992px) {
    .exad-demo-previewer-element {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .exad-demo-previewer-item {
        min-height: 260px;
    }

    .exad-demo-previewer-image {
        height: 220px;
    }

    .exad-demo-previewer-content-wrapper {
        min-height: 220px;
    }

    .exad-demo-previewer-item:hover .exad-demo-previewer-scroll-image img,
    .exad-demo-previewer-item.mobile-hover .exad-demo-previewer-scroll-image img {
        transform: translateY(calc(-100% + 220px));
    }
}

@media (max-width: 768px) {
    .exad-demo-previewer-element {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }

    .exad-demo-previewer-item {
        min-height: 220px;
        border-radius: 12px;
    }

    .exad-demo-previewer-image {
        height: 180px;
    }

    .exad-demo-previewer-content-wrapper {
        min-height: 180px;
    }

    .exad-demo-previewer-item-content-wrapper {
        padding: 10px 12px;
    }

    .exad-demo-previewer-item-content-title {
        font-size: 12px;
    }

    .exad-demo-previewer-item:hover .exad-demo-previewer-scroll-image img,
    .exad-demo-previewer-item.mobile-hover .exad-demo-previewer-scroll-image img {
        transform: translateY(calc(-100% + 180px));
        transition: transform 2.5s ease-in-out;
    }
}

@media (max-width: 480px) {
    .exad-demo-previewer-element {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .exad-demo-previewer-item {
        min-height: 180px;
        border-radius: 10px;
    }

    .exad-demo-previewer-image {
        height: 150px;
    }

    .exad-demo-previewer-content-wrapper {
        min-height: 150px;
    }

    .exad-demo-previewer-item-content-wrapper {
        padding: 8px 10px;
    }

    .exad-demo-previewer-item-content-title {
        font-size: 11px;
    }

    .exad-demo-previewer-item-content-title a::after {
        display: none;
    }

    .exad-demo-previewer-item:hover .exad-demo-previewer-scroll-image img,
    .exad-demo-previewer-item.mobile-hover .exad-demo-previewer-scroll-image img {
        transform: translateY(calc(-100% + 150px));
        transition: transform 2s ease-in-out;
    }
}

/* ================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Mobile-first approach with breakpoints:
   - 320px - 480px: Extra small phones
   - 481px - 768px: Large phones & small tablets
   - 769px - 1024px: Tablets & small laptops
   - 1025px - 1440px: Desktop
   ================================ */

/* === BASE MOBILE STYLES (320px+) === */
@media (max-width: 1440px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* === TABLET BREAKPOINT (max-width: 1024px) === */
@media (max-width: 1024px) {

    /* Typography scaling */
    body {
        font-size: 16px;
    }

    .section-title {
        font-size: 38px;
    }

    .section-description {
        font-size: 17px;
    }

    /* Header adjustments */
    .header .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    /* Hero section */
    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 17px;
        max-width: 650px;
    }

    /* About section */
    .about-wrapper {
        gap: 40px;
    }

    .about-image img {
        height: 500px;
    }

    /* CTA section */
    .cta-title {
        font-size: 42px;
    }

    .cta-wrapper {
        gap: 40px;
    }
}

/* === TABLET/MOBILE BREAKPOINT (max-width: 992px) === */
@media (max-width: 992px) {

    /* Services section grid */
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-box.featured {
        transform: scale(1);
        grid-column: span 2;
    }

    .services-main-title {
        font-size: 44px;
    }

    /* About section stack */
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 400px;
        width: 100%;
        object-fit: cover;
    }

    /* CTA section */
    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content {
        order: 1;
    }

    .cta-visual {
        order: 2;
        height: 350px;
    }

    /* Contact section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* === MOBILE BREAKPOINT (max-width: 768px) === */
@media (max-width: 768px) {

    /* Base spacing adjustments */
    :root {
        --section-padding: 60px 0;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Typography mobile scaling */
    .section-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .section-description {
        font-size: 15px;
        padding: 0 10px;
    }

    /* Header mobile styles */
    .header {
        padding: 12px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .header.scrolled .logo img {
        height: 36px;
    }

    /* Mobile navigation - inherits from 768px breakpoint */
    .mobile-toggle {
        display: flex;
    }

    /* Additional mobile nav link styling */
    .nav-link {
        font-size: 16px;
        padding: 16px 25px;
    }

    /* Mega dropdown mobile - hide on mobile */
    .mega-dropdown {
        display: none;
    }

    .has-dropdown>.nav-link .dropdown-arrow {
        display: none;
    }

    /* Hero section mobile */
    .hero {
        padding: 100px 0 70px;
        min-height: 0;
        /* More compatible than 'auto' for Firefox */
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 15px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-top: 40px;
    }

    .stat-item {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .scroll-text {
        font-size: 10px;
    }

    /* Services section mobile */
    .new-services {
        padding: 60px 0;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-badge {
        padding: 8px 18px;
        font-size: 12px;
    }

    .services-main-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .services-subtitle {
        font-size: 15px;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-box.featured {
        grid-column: span 1;
        transform: scale(1);
    }

    .service-box-inner {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .service-icon-wrapper {
        width: 85px;
        height: 85px;
        margin-bottom: 25px;
    }

    .icon-circle {
        width: 85px;
        height: 85px;
    }

    .icon-circle i {
        font-size: 36px;
    }

    .ring-1 {
        width: 100px;
        height: 100px;
    }

    .ring-2 {
        width: 120px;
        height: 120px;
    }

    .service-name {
        font-size: 22px;
    }

    .service-desc {
        font-size: 14px;
    }

    .service-list li {
        font-size: 14px;
        padding: 8px 0;
    }

    .service-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .popular-tag {
        padding: 6px 16px;
        font-size: 11px;
        top: -12px;
    }

    /* Floating shapes mobile - reduce for performance */
    .floating-shape {
        opacity: 0.15;
    }

    .floating-shape.shape-1 {
        width: 150px;
        height: 150px;
    }

    .floating-shape.shape-2 {
        width: 200px;
        height: 200px;
    }

    .floating-shape.shape-3,
    .floating-shape.shape-4 {
        display: none;
    }

    /* About section mobile */
    .about {
        padding: 60px 0;
    }

    .about-wrapper {
        gap: 30px;
    }

    .about-image img {
        height: 300px;
        border-radius: 15px;
    }

    .about-experience {
        padding: 20px;
        bottom: 20px;
        right: 20px;
    }

    .about-experience h3 {
        font-size: 36px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-feature {
        gap: 12px;
    }

    .about-feature i {
        font-size: 20px;
    }

    .about-feature h4 {
        font-size: 16px;
    }

    .about-feature p {
        font-size: 13px;
    }

    /* Process section mobile */
    .process {
        padding: 60px 0;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-item {
        padding: 35px 25px;
        border-radius: 15px;
    }

    .process-number {
        font-size: 54px;
        top: -15px;
        right: 20px;
    }

    .process-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .process-icon i {
        font-size: 30px;
    }

    .process-title {
        font-size: 20px;
    }

    .process-description {
        font-size: 14px;
    }

    /* Portfolio section mobile */
    .exad-demo-previewer-wrapper {
        padding: 20px 0;
    }

    .exad-demo-previewer-item {
        min-height: 350px;
        border-radius: 15px;
    }

    .exad-demo-previewer-image {
        height: 300px;
    }

    .exad-demo-previewer-content-wrapper {
        min-height: 300px;
    }

    .exad-demo-previewer-item-content-title {
        font-size: 16px;
    }

    /* Team section mobile */
    .testimonials {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    /* CTA section mobile */
    .cta {
        padding: 60px 0;
    }

    .cta-badge {
        padding: 10px 16px;
        font-size: 13px;
    }

    .cta-title {
        font-size: 30px;
        line-height: 1.3;
    }

    .cta-description {
        font-size: 15px;
        max-width: 100%;
    }

    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .cta-stat {
        padding: 15px 8px;
    }

    .cta-stat h3 {
        font-size: 24px;
    }

    .cta-stat p {
        font-size: 11px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        justify-content: center;
    }

    .cta-contact {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-contact-item {
        justify-content: center;
    }

    .cta-contact-item i {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .cta-visual {
        display: none;
    }

    /* Contact form mobile */
    .contact-form {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 18px 14px 45px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .form-group i {
        top: 16px;
        left: 15px;
    }

    /* Footer mobile */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-about {
        max-width: 100%;
        text-align: center;
    }

    .footer-about .logo {
        display: flex;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Floating buttons mobile */
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    /* Buttons general mobile */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-primary,
    .btn-outline {
        min-height: 48px;
        /* Touch-friendly size */
    }
}

/* === SMALL MOBILE BREAKPOINT (max-width: 480px) === */
@media (max-width: 480px) {

    /* Extra tight spacing for small phones */
    .container {
        padding: 0 12px;
    }

    section {
        padding: 50px 0;
    }

    /* Typography extra small */
    .section-title {
        font-size: 26px;
    }

    .section-description {
        font-size: 14px;
    }

    /* Header extra small */
    .logo img {
        height: 36px;
    }

    .header.scrolled .logo img {
        height: 32px;
    }

    .mobile-toggle {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* Hero extra small */
    .hero {
        padding: 90px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-item {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 10px;
    }

    /* Services extra small */
    .services-badge {
        padding: 7px 14px;
        font-size: 11px;
        gap: 8px;
    }

    .services-main-title {
        font-size: 26px;
    }

    .services-subtitle {
        font-size: 14px;
    }

    .service-box-inner {
        padding: 30px 20px;
    }

    .icon-circle {
        width: 75px;
        height: 75px;
    }

    .icon-circle i {
        font-size: 32px;
    }

    .service-name {
        font-size: 20px;
    }

    .service-desc {
        font-size: 13px;
    }

    .service-list li {
        font-size: 13px;
    }

    .service-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    /* About extra small */
    .about-image img {
        height: 250px;
    }

    .about-experience {
        padding: 15px;
        bottom: 15px;
        right: 15px;
    }

    .about-experience h3 {
        font-size: 30px;
    }

    .about-experience p {
        font-size: 12px;
    }

    .about-text {
        font-size: 14px;
    }

    /* Process extra small */
    .process-item {
        padding: 30px 20px;
    }

    .process-number {
        font-size: 44px;
    }

    .process-icon {
        width: 60px;
        height: 60px;
    }

    .process-icon i {
        font-size: 26px;
    }

    .process-title {
        font-size: 18px;
    }

    .process-description {
        font-size: 13px;
    }

    /* Portfolio extra small */
    .exad-demo-previewer-item {
        min-height: 300px;
    }

    .exad-demo-previewer-image {
        height: 250px;
    }

    .exad-demo-previewer-content-wrapper {
        min-height: 250px;
    }

    .exad-demo-previewer-item-content-title {
        font-size: 14px;
    }

    .exad-demo-previewer-item-content-wrapper {
        padding: 12px;
    }

    /* CTA extra small */
    .cta-title {
        font-size: 24px;
    }

    .cta-description {
        font-size: 14px;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cta-stat {
        padding: 12px;
    }

    .cta-stat h3 {
        font-size: 28px;
    }

    .cta-stat p {
        font-size: 12px;
    }

    /* Contact extra small */
    .contact-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px 12px 42px;
    }

    /* Footer extra small */
    .footer-section h4 {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }

    /* Floating buttons extra small */
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* === EXTRA SMALL PHONES (max-width: 375px) === */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .services-main-title {
        font-size: 24px;
    }

    .service-box-inner {
        padding: 25px 15px;
    }

    .service-name {
        font-size: 18px;
    }

    .cta-title {
        font-size: 22px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-number::after {
        font-size: 16px;
    }
}

/* === LANDSCAPE ORIENTATION FIXES === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: row;
        margin-bottom: 30px;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        padding-top: 30px;
        gap: 15px;
    }

    .stat-item {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-scroll {
        display: none;
    }

    .nav-menu {
        height: 100vh;
        padding-top: 60px;
    }
}

/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {

    /* Increase touch targets */
    .btn,
    .service-btn,
    .nav-link,
    .floating-btn {
        min-height: 44px;
    }

    /* Remove hover effects that don't work on touch */
    .service-box:hover .service-box-inner {
        transform: translateY(-8px);
    }

    .process-item:hover {
        transform: translateY(-5px);
    }

    /* Disable complex hover animations on mobile */
    .service-box:hover .icon-circle {
        transform: scale(1.05);
    }

    .process-item:hover .process-icon {
        transform: scale(1.05);
    }
}

/* === HIGH DPI / RETINA DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Ensure crisp borders and shadows */
    .service-box-inner,
    .process-item,
    .contact-form {
        -webkit-font-smoothing: antialiased;
    }
}

/* === PRINT STYLES === */
@media print {

    .header,
    .hero-scroll,
    .floating-buttons,
    .consultation-tab,
    .consultation-panel,
    .mobile-menu-overlay {
        display: none !important;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }

    .hero {
        min-height: 0;
        /* More compatible than 'auto' for Firefox */
        padding: 50px 0;
    }
}

/* === ACCESSIBILITY - REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-shape,
    .icon-rings .ring,
    .popular-tag i {
        animation: none !important;
    }
}