/* ================================
   Preloader
   ================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    font-size: 1.5rem;
    color: var(--white);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

#tsparticles, #preloader-particles {
    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: 18px 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: 12px 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: 45px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    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;
}

.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;
}

.header.transparent .mobile-toggle {
    color: var(--white);
}

.mobile-toggle:hover {
    color: var(--primary-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: var(--transition);
    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: translateY(-10px);
    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: translateY(-10px);
    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);
}

/* ================================
   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 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20px;
    right: 20px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 4s 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;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 75%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        align-items: flex-start;
        gap: 20px;
        overflow-y: auto;
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-primary) !important;
        font-size: 17px;
        width: 100%;
        padding: 15px 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-hidden {
        display: list-item !important;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .hero-buttons .btn {
        padding: 13px 28px;
        font-size: 15px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-top: 50px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .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 {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        gap: 15px;
        padding-top: 40px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .service-card,
    .contact-form {
        padding: 30px 20px;
    }
}

/* ================================
   Animations
   ================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@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 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    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-tab {
    position: fixed;
    right: -85px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    background: #ff0000;
    color: #ffffff;
    padding: 10px 25px;
    cursor: pointer;
    z-index: 1001;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.consultation-tab:hover {
    background: #cc0000;
    box-shadow: -2px 2px 15px rgba(0, 0, 0, 0.3);
}

.consultation-text {
    display: block;
    white-space: nowrap;
}

.consultation-panel {
    position: fixed;
    right: -450px;
    top: 0;
    width: 420px;
    height: 100vh;
    background: #1a1f3a;
    z-index: 1002;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.consultation-panel.active {
    right: 0;
}

.consultation-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #ff0000;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.consultation-close:hover {
    background: #cc0000;
    transform: rotate(90deg);
}

.consultation-panel-content {
    padding: 80px 40px 40px;
}

.consultation-panel-content h3 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 15px;
}

.consultation-form .form-group {
    margin-bottom: 20px;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 5px;
    font-family: 'Poppins', 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: #ff0000;
    background: rgba(255, 255, 255, 0.08);
}

.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;
}

.consultation-form textarea {
    resize: vertical;
    min-height: 100px;
}

.consultation-form .btn-block {
    width: auto;
    margin: 0 auto;
    display: block;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    background: #ff0000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consultation-form .btn-block:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* 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;
    }
}
