/* Modern Effects and Animations */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
}

/* Base Styles */
body {
    font-family: 'Noto Sans Thai', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-weight: 600;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern Card Effects */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Service Icons Animation */
.service-icon {
    transition: all 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Hero Section Styles */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 0;
}

.hero-shape-1 {
    background: linear-gradient(45deg, rgba(226,127,37,0.1) 0%, rgba(226,127,37,0.2) 100%);
    top: -100px;
    left: -100px;
}

.hero-shape-2 {
    background: linear-gradient(225deg, rgba(226,127,37,0.1) 0%, rgba(226,127,37,0.2) 100%);
    bottom: -100px;
    right: -100px;
}

.text-gradient {
    background: linear-gradient(45deg, #e27f25 0%, #ff9f4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-text {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.8s ease forwards 0.3s;
}

.experience-badge,
.projects-badge {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.experience-badge {
    top: 20px;
    right: -30px;
}

.projects-badge {
    bottom: 20px;
    left: -30px;
}

.badge-content .h2 {
    color: #e27f25;
    font-weight: bold;
    margin: 0;
}

.badge-content p {
    color: #6c757d;
    font-size: 14px;
}

.hero-buttons .btn {
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(226,127,37,0.3);
}

.hero-buttons .btn-outline-primary:hover {
    background: linear-gradient(45deg, #e27f25 0%, #ff9f4a 100%);
    border-color: transparent;
}

/* Responsive Hero Section */
@media (max-width: 991px) {
    .hero-section {
        padding: 160px 0 60px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .experience-badge,
    .projects-badge {
        position: absolute;
        padding: 10px 15px;
    }
    
    .experience-badge {
        top: 10px;
        right: -10px;
    }
    
    .projects-badge {
        bottom: 10px;
        left: -10px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 150px 0 60px;
        text-align: center;
    }
    
    .hero-features {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 40px auto 0;
    }
    
    .experience-badge,
    .projects-badge {
        padding: 8px 12px;
    }
    
    .badge-content .h2 {
        font-size: 1.5rem;
    }
    
    .badge-content p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 140px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-buttons .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .experience-badge,
    .projects-badge {
        position: relative;
        display: inline-block;
        margin: 10px auto;
        transform: none;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
}

/* Button Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

/* Portfolio Item Effects */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}

.portfolio-item img {
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Contact Form Effects */
.form-control {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    position: relative;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #e27f25 0%, #ff9f4a 100%);
    border-radius: 3px;
}

.contact-info {
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #e27f25 0%, #ff9f4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-box i {
    color: white;
    font-size: 1.25rem;
}

.info-item {
    text-align: center;
}

.info-item h5 {
    color: #333;
    margin: 1rem 0 0.5rem;
}

.info-item p {
    color: #6c757d;
}

.info-item a {
    color: #6c757d;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #e27f25;
}

.contact-form {
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #e27f25;
    box-shadow: 0 0 0 0.2rem rgba(226,127,37,0.25);
}

.form-label {
    color: #495057;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(45deg, #e27f25 0%, #ff9f4a 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226,127,37,0.3);
}

/* Responsive Contact Section */
@media (max-width: 991.98px) {
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .icon-box {
        width: 40px;
        height: 40px;
    }

    .icon-box i {
        font-size: 1rem;
    }

    .info-item h5 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }
}

/* Pricing Section Styles */
.pricing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-card.active {
    border: 2px solid #e27f25;
    transform: scale(1.05);
}

.pricing-card.active:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(45deg, #e27f25 0%, #ff9f4a 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: #333;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 15px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e27f25;
    vertical-align: top;
    margin-right: 5px;
}

.price .amount {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    font-weight: 700;
    color: #e27f25;
    line-height: 1;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.pricing-footer {
    text-align: center;
}

.pricing-footer .btn {
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(226,127,37,0.3);
}

/* Responsive Pricing */
@media (max-width: 991.98px) {
    .pricing-card {
        margin-bottom: 30px;
    }

    .pricing-card.active {
        transform: scale(1);
    }

    .pricing-card.active:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    .pricing-features ul li {
        font-size: 0.9rem;
    }
}

/* Badge Styling */
.badge.bg-primary {
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    margin-bottom: 1.5rem !important;
    background-color: rgba(226, 127, 37, 0.1) !important;
    color: #e27f25;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(226, 127, 37, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Floating Animation for Hero Image */
.hero-image img {
    animation: float 4s ease-in-out infinite;
}

/* Social Media Icons */
.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Navbar Effects */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lead {
    font-weight: 300;
    font-size: 1.2rem;
}

.btn {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-weight: 600;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer h5 {
    color: #e27f25;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-info li i {
    color: #e27f25;
    margin-right: 12px;
    margin-top: 5px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: #e27f25;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
   
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #e27f25;
    padding-left: 5px;
}

@media (max-width: 767.98px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-col {
        margin-bottom: 40px;
    }
}
