/* Global Styles */
:root {
    --primary-color: #1e88e5;
    /* --secondary-color: #0d47a1; */
    --gradient-primary: linear-gradient(90deg, #1e88e5, #64b5f6);
    --gradient-secondary: linear-gradient(90deg, #0d47a1, #1976d2);
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f5f9ff;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Kanit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-weight: 300;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 400;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo img {
    height: 48px;
    margin-right: 40px;
}

/* Adjust header layout */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 400;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); */
    padding: 180px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-medium);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Gallery */
.hero-gallery {
    flex: 1;
    max-width: 600px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero-gallery-track {
    display: flex;
    animation: scrollGallery 15s linear infinite;
    width: calc(600px * 6); /* Width of each image * number of images */
}

.hero-gallery-item {
    flex: 0 0 auto;
    width: 600px;
    height: 350px;
    overflow: hidden;
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-600px * 3)); /* Half the total width */
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-gallery {
        max-width: 100%;
    }
    
    .hero-gallery-track {
        width: calc(100vw * 6);
    }
    
    .hero-gallery-item {
        width: 100vw;
        height: 250px;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100vw * 3));
        }
    }
}

/* Hero Partner Logos */
.hero-partner-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-partner-logo {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-partner-logos {
        justify-content: center;
    }
    
    .hero-partner-logo {
        width: 100px;
        height: 70px;
    }
}

/* Brands Section */
.brands {
    background: #fff;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.brands h2 {
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.brand-logos-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brand-row {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    height: 70px;
}

.brand-row:last-child {
    margin-bottom: 0;
}

/* Remove the fading edges and replace with highlight overlay */
.brand-row::before,
.brand-row::after {
    content: none;
}

/* Create highlight overlay for center 4 logos */
.brand-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 25%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0) 65%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 1) 100%
    );
}

/* Adjust the center section for each row to ensure 4 logos are visible */
.brand-row:nth-child(1) .brand-highlight-overlay {
    background-position: 0% 0%;
}

.brand-row:nth-child(2) .brand-highlight-overlay {
    background-position: 10% 0%;
}

.brand-row:nth-child(3) .brand-highlight-overlay {
    background-position: -10% 0%;
}

.brand-logos-track {
    display: flex;
    width: calc(70px * 18); /* Width of each logo * number of logos */
    position: relative;
    align-items: center;
}

.brand-track-left {
    animation: scrollLeft 30s linear infinite;
}

.brand-track-right {
    animation: scrollRight 25s linear infinite;
}

/* Target the third row specifically for a different speed */
.brand-row:nth-child(3) .brand-track-left {
    animation-duration: 35s;
}

/* Adjust animation speed on hover */
.brand-row:hover .brand-logos-track {
    animation-play-state: paused;
}

.brand-logo {
    flex: 0 0 auto;
    margin: 0 15px;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 70px;
}

.brand-logo img {
    max-height: 70px;
    max-width: 100px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    object-fit: contain;
}

/* Override the hover effect since we're using the overlay for visibility */
.brand-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Create a special class for the visible logos in the center */
.brand-logo.visible img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-70px * 9)); /* Half the total width */
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(calc(-70px * 9)); /* Start from the right */
    }
    100% {
        transform: translateX(0);
    }
}

/* Why Us Section */
.why-us {
    background: var(--bg-light);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--text-white);
}

.feature-icon i {
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.feature-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 60px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    background: #fff;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    padding: 0 50px;
}

.service-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-content .highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.service-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.service-icons i {
    font-size: 1.8rem;
    color: var(--text-light);
}

.service-image {
    flex: 1;
}

.service-image img {
    border-radius: var(--border-radius);
    /* box-shadow: var(--box-shadow); */
}

/* Services Cards Section */
.services-cards {
    background-color: var(--bg-dark);
    padding: 80px 0;
    color: #fff;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.btn-services {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-services:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.services-subtitle {
    margin-bottom: 20px;
}

.subtitle-text {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.subtitle-text .highlight {
    color: var(--primary-color);
}

.subtitle-line {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto;
}

.services-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 136, 229, 0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(30, 136, 229, 0.2);
}

.service-icon img {
    width: 64px;
    height: 64px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #ccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    align-self: flex-start;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.service-link:hover {
    color: #fff;
}

.arrow-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-link:hover .arrow-icon {
    transform: translateX(5px);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.2), rgba(100, 181, 246, 0.1));
    border: 1px solid rgba(30, 136, 229, 0.3);
}

/* Brand logos in the bottom section */
.brand-circles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 80px;
}

.brand-circle {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.brand-circle:hover {
    transform: translateY(-5px);
}

.brand-circle img {
    max-width: 70%;
    max-height: 70%;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        min-height: auto;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon img {
        width: 56px;
        height: 56px;
    }
    
    .services-cards {
        padding: 60px 0;
    }
    
    .services-header h2 {
        font-size: 1.8rem;
    }
    
    .services-subtitle .highlight {
        font-size: 2rem;
    }
    
    .brand-circles {
        gap: 15px;
    }
    
    .brand-circle {
        width: 80px;
        height: 80px;
    }
}

/* Add a new media query for very small mobile screens */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-icon img {
        width: 48px;
        height: 48px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

/* Categories Section */
.categories {
    background: var(--bg-light);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.categories h2 {
    margin-bottom: 15px;
}

.categories .section-subtitle {
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Influencers Container and Track */
.influencers-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
}

.influencers-row {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.influencers-row:last-child {
    margin-bottom: 0;
}

.influencers-track {
    display: flex;
    width: max-content;
}

.track-left {
    animation: scrollInfluencersLeft 30s linear infinite;
}

.influencers-track:hover {
    animation-play-state: paused;
}

@keyframes scrollInfluencersLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5)); /* Width of each card * number of actual cards */
    }
}

/* Influencer Cards */
.influencer-card {
    flex: 0 0 auto;
    width: 180px;
    height: 250px;
    margin: 0 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    transform: translateY(0);
    border: 1px solid transparent;
    position: relative;
}

.influencer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.2);
    border-color: rgba(30, 136, 229, 0.3);
}

.influencer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.influencer-card:hover::before {
    transform: scaleX(1);
}

.influencer-image {
    height: 150px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(100, 181, 246, 0.1));
}

.influencer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Fallback for missing images */
.influencer-image img:not([src]),
.influencer-image img[src=""],
.influencer-image img[src$="missing.jpg"],
.influencer-image img[src$="placeholder.jpg"] {
    opacity: 0.6;
}

.influencer-image img:not([src])::after,
.influencer-image img[src=""]::after,
.influencer-image img[src$="missing.jpg"]::after,
.influencer-image img[src$="placeholder.jpg"]::after {
    content: '\f007'; /* Font Awesome user icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.influencer-card:hover .influencer-image img {
    transform: scale(1.05);
}

.influencer-info {
    padding: 12px;
    position: relative;
    text-align: center;
}

.influencer-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.influencer-followers {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.influencer-followers i {
    color: var(--primary-color);
    margin-right: 5px;
    font-size: 0.75rem;
}

.btn-contact {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-contact:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.2);
    color: #fff;
}

/* Gradient Overlays for Fading Effect */
.influencers-overlay-left,
.influencers-overlay-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.influencers-overlay-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, rgba(245, 249, 255, 0) 100%);
}

.influencers-overlay-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, rgba(245, 249, 255, 0) 100%);
}

/* Make second row scroll at a different speed */
.influencers-row:nth-child(2) .track-left {
    animation-duration: 35s;
}

/* Center button */
.center-button {
    text-align: center;
    margin-top: 20px;
}

/* Responsive styles for influencers */
@media (max-width: 768px) {
    .influencer-card {
        width: 150px;
        height: 220px;
    }
    
    .influencer-image {
        height: 120px;
    }
    
    .influencer-info {
        padding: 10px;
    }
    
    .influencer-info h4 {
        font-size: 0.8rem;
    }
    
    .influencer-followers {
        font-size: 0.7rem;
    }
    
    .btn-contact {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .influencers-overlay-left,
    .influencers-overlay-right {
        width: 60px;
    }
    
    @keyframes scrollInfluencersLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 6));
        }
    }
}

/* Packages Section */
.packages {
    background: #fff;
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.package-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 30px;
    text-align: center;
}

.package-header h3 {
    margin-bottom: 10px;
}

.package-price {
    font-size: 1.2rem;
    font-weight: 500;
}

.package-body {
    padding: 30px;
}

.package-description {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.package-features {
    margin-bottom: 30px;
}

.package-features li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.package-features li:last-child {
    border-bottom: none;
}

.feature-label {
    color: var(--text-light);
}

.feature-value {
    font-weight: 500;
    color: var(--text-color);
}

.package-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.package-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background: var(--gradient-secondary);
    color: var(--text-white);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    color: var(--text-white);
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact .section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-medium);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.contact-info-card {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-header {
    margin-bottom: 30px;
}

.contact-info-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-info-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info-content {
    flex-grow: 1;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #fff;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
}

.info-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-social h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-form-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form-card p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group .required {
    color: #e53935;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
    width: auto;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Line Popup */
.line-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(400px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.line-popup.show {
    transform: translateX(0);
    opacity: 1;
    animation: popup-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popup-bounce {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    70% {
        transform: translateX(-15px);
        opacity: 1;
    }
    90% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.line-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.line-popup-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.line-popup-title img {
    width: 30px;
    height: 30px;
    animation: wiggle 2s infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0);
    }
    25% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(0);
    }
    75% {
        transform: rotate(10deg);
    }
}

.line-popup-title h4 {
    font-size: 1.2rem;
    margin: 0;
}

.line-popup-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.line-popup-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.line-popup-content {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.line-popup-content p {
    color: #333;
    margin-bottom: 15px;
}

.line-id {
    background-color: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    border: 1px dashed #ddd;
}

.line-id span {
    color: #00B900;
    font-weight: 500;
}

.line-popup-qr {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.line-popup-qr::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: qr-shine 3s infinite;
}

@keyframes qr-shine {
    0% {
        top: -50%;
        left: -50%;
    }
    100% {
        top: 150%;
        left: 150%;
    }
}

.line-popup-qr img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.line-popup-button {
    display: inline-block;
    background-color: #00B900;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-family);
}

.button-container {
    position: relative;
    margin-top: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copy-message {
    background-color: #00B900;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.copy-message:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #00B900;
}

.copy-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 185, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 185, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 185, 0, 0);
    }
}

.line-popup-button:hover {
    background-color: #009900;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 185, 0, 0.3);
    animation: none;
}

.line-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #00B900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.line-toggle:hover {
    transform: scale(1.1);
    animation: none;
}

.line-toggle img {
    width: 35px;
    height: 35px;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        padding: 30px;
    }
    
    .contact-form-card {
        padding: 30px;
    }
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
}

.footer-logo a {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Animation classes */
.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .service-item {
        flex-direction: column;
    }

    .service-item.reverse {
        flex-direction: column;
    }

    .service-content {
        padding: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    .service-content h2 {
        text-align: center;
    }

    .service-icons {
        justify-content: center;
    }

    .contact .container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-left: 0;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
    }

    nav {
        order: 3;
        width: 100%;
        display: none;
        margin-top: 15px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats .container {
        grid-template-columns: 1fr 1fr;
    }

    .package-cards {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-10px);
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .stats .container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}

.btn-services {
    display: inline-block;
    background-color: #1e88e5;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.btn-services:hover {
    background-color: #1974c4;
}

.services-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.subtitle-text {
    font-size: 1.8rem;
    color: #fff;
}

.services-subtitle .highlight {
    color: #1e88e5;
    font-size: 5.5rem;
    font-weight: 500;
    display: inline-block;
}

/* Line toggle attention animation */
.line-toggle.attention {
    animation: attention 1s ease-in-out 3;
}

@keyframes attention {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    }
    25% {
        transform: scale(1.2);
        box-shadow: 0 5px 20px rgba(0, 185, 0, 0.4);
    }
    50% {
        transform: scale(0.95);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    }
    75% {
        transform: scale(1.1);
        box-shadow: 0 5px 20px rgba(0, 185, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Form Status */
.form-status {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-status.loading {
    display: block;
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    text-align: center;
}

.form-status.loading::after {
    content: "...";
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0% { content: "."; }
    33% { content: ".."; }
    66% { content: "..."; }
}

/* Form Submission Success Message */
.form-submission-success {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d4edda;
    color: #155724;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.form-submission-success i {
    font-size: 1.5rem;
    color: #28a745;
}

/* Footer Partner Logos */
.footer-partner-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-partner-logo {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px;
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-partner-logo img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-partner-logo:hover img {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-partner-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 10px;
    z-index: 1001;
    border-left: 1px solid #e0e0e0;
    padding-left: 10px;
}

.current-language {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f5f5f5;
    transition: var(--transition);
}

.current-language:hover {
    background-color: #e0e0e0;
}

.current-language img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}

.current-language span {
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
}

.current-language i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-switcher.active .current-language i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.language-switcher.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-dropdown li:hover {
    background-color: #f5f5f5;
}

.language-dropdown li.active {
    background-color: #e0e0e0;
}

.language-dropdown li img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.language-dropdown li span {
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-right {
        flex-direction: row-reverse;
    }
    
    .language-switcher {
        margin-right: 15px;
        border-left: none;
        padding-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
} 