/* ========================================
   CSS VARIABLES - กำหนดสีและค่าที่ใช้ซ้ำ
   ======================================== */
:root {
    /* สีหลัก - Modern Teal/Blue Palette */
    /* Primary: #0a897e (Teal) */
    --primary-teal: #0a897e;

    /* Secondary (Darker for depth): #065a52 */
    --secondary-teal: #065a52;

    /* Light/Highlight (User's 2nd color): #27ced7 (Cyan) */
    --light-teal: #27ced7;

    /* Accent (User's 3rd color): #2683c6 (Blue) - Replaces Gold */
    --accent-blue: #2683c6;

    /* Very Dark (for text/footer): #043b35 */
    --dark-teal: #043b35;

    /* Pale Background */
    --light-blue: #f0fdfc;

    /* Gradients */
    /* Primary Gradient: Teal to Blue */
    --gradient-primary: linear-gradient(135deg, #0a897e 0%, #2683c6 100%);

    /* Secondary Gradient: Cyan to Teal */
    --gradient-secondary: linear-gradient(135deg, #27ced7 0%, #0a897e 100%);

    /* Accent Gradient (Replacing Gold): Blue to Cyan */
    --gradient-gold: linear-gradient(135deg, #2683c6 0%, #27ced7 100%);

    /* พื้นหลังและเงา */
    --bg-glass: rgba(255, 255, 255, 0.98);
    /* Shadow using Primary Color (10, 137, 126) */
    --shadow-soft: 0 10px 40px rgba(10, 137, 126, 0.15);
    --shadow-hover: 0 20px 60px rgba(10, 137, 126, 0.25);
}

/* ========================================
   GLOBAL STYLES - สไตล์พื้นฐาน
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0fdff 0%, #e6fffc 100%);
}

/* ========================================
   NAVIGATION BAR - แถบเมนูด้านบน
   ======================================== */
.navbar-custom {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(10, 137, 126, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-teal) !important;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--accent-blue);
    font-size: 1.6rem;
}

.nav-link {
    color: var(--dark-teal) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
    transform: translateY(-2px);
}

/* เส้นใต้เมนูเมื่อ hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

/* Dropdown Menu Styling */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px;
    margin-top: 15px;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--dark-teal);
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--light-blue);
    color: var(--primary-teal);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 25px;
    text-align: center;
}

.text-primary-teal {
    color: var(--primary-teal) !important;
}

/* Contact Button in Nav */
.btn-contact-nav {
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 137, 126, 0.2);
}

.btn-contact-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(10, 137, 126, 0.3);
    color: white !important;
}

.btn-contact-nav::after {
    display: none;
    /* Remove underline from nav link style */
}

/* ========================================
   HERO SECTION - ส่วนหัวหน้าแรก
   ======================================== */
/* ========================================
   HERO SECTION - ส่วนหัวหน้าแรก
   ======================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    transition: transform 1.2s ease-in-out;
    /* Smooth slide */
}

/* Gradient Overlay over the slider but under the content */
/* Gradient Overlay over the slider but under the content */
/* MODIFIED: Reduced opacity significantly for brighter images and added inner shadow frame */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Lighter gradient: very subtle dark tint at bottom */
    background: linear-gradient(135deg, rgba(4, 59, 53, 0.1), rgba(10, 137, 126, 0.1));
    /* Add Inner Shadow Frame for "Interesting" Look */
    box-shadow: inset 0 0 80px rgba(4, 59, 53, 0.6);
    z-index: 1;
    pointer-events: none;
    /* See-through for clicks if needed */
}

/* Border bottom decoration */
.hero-section {
    border-bottom: 5px solid var(--accent-blue);
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 100px 0 80px;
    width: 100%;
}

/* พื้นหลังเคลื่อนไหว - ปรับให้เป็น Overlay แทน */
/* Old animation removed or replaced by carousel movement */

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 16px rgba(0, 0, 0, 0.7),
        2px 2px 0 rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 400;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow:
        0 1px 6px rgba(0, 0, 0, 0.9),
        0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ========================================
   BUTTONS - ปุ่มต่างๆ
   ======================================== */
.btn-hero {
    background: white;
    color: var(--primary-teal);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(38, 131, 198, 0.3);
    background: white;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-teal);
    transform: translateY(-3px);
}

/* ========================================
   STATS SECTION - ส่วนแสดงตัวเลขสถิติ
   ======================================== */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* Background Pattern for Stats */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 18px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    transition: all 0.5s ease;
}

.stat-card:hover .stat-icon-bg {
    transform: rotate(0deg) scale(1.1);
    color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to bottom, #ffffff, #e0f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
    display: block;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

/* ========================================
   SECTION TITLES - หัวข้อแต่ละส่วน
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* เส้นใต้หัวข้อ */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ========================================
   SERVICE CARDS - การ์ดแสดงบริการ
   ======================================== */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(10, 137, 126, 0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
    transform: translateY(-10px);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(39, 206, 215, 0.3);
    transition: all 0.3s ease;
}

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

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-teal);
    margin-bottom: 1rem;
}

.service-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

/* ========================================
   CLIENT LOGOS - โลโก้ลูกค้า
   ======================================== */
/* ========================================
   CLIENT IMAGE CARDS - การ์ดลูกค้าแบบรูปภาพ
   ======================================== */
.client-cat-card {
    background-color: var(--dark-teal);
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(10, 137, 126, 0.2);
    height: 200px;
    /* Increased height for image visibility */
    display: flex;
    align-items: flex-end;
    /* Align content to bottom */
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Dark Overlay to make text readable */
/* Dark Overlay to make text readable */
.client-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Darker gradient for better contrast */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9));
    transition: all 0.4s ease;
    z-index: 1;
}

.client-cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-blue);
}

.client-cat-card:hover::before {
    background: linear-gradient(to bottom, rgba(10, 137, 126, 0.4), rgba(0, 0, 0, 0.95));
}

.client-cat-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.client-cat-card:hover .client-cat-content {
    transform: translateY(0);
}

.client-cat-icon {
    font-size: 2.2rem;
    color: white !important;
    /* Icon is always white now */
    margin-bottom: 0.8rem;
    opacity: 1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
}

.client-cat-card:hover .client-cat-icon {
    transform: scale(1.1);
    color: var(--light-teal) !important;
    text-shadow: 0 0 10px rgba(39, 206, 215, 0.5);
}

.client-cat-title {
    color: white !important;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* ========================================
   NEWS CARDS - การ์ดข่าวสาร
   ======================================== */
.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 220px;
    background-color: var(--light-teal);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
}

/* Overlay สำหรับ Text icon ถ้าไม่มีรูป */
.news-image i {
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.news-body {
    padding: 2rem;
}

.news-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-teal);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-text {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-read-more:hover {
    background: var(--primary-teal);
    color: white;
}

/* ========================================
   ACTIVITY CARDS - การ์ดกิจกรรม
   ======================================== */
.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.activity-icon-box {
    background: var(--gradient-primary);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

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

.activity-body {
    padding: 1.5rem;
}

.activity-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 0.8rem;
}

.activity-text {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.activity-date {
    color: #9ca3af;
}

.activity-participants {
    color: var(--primary-teal);
    font-weight: 600;
}

/* ========================================
   CONTACT SECTION - ส่วนติดต่อ
   ======================================== */
.contact-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(39, 206, 215, 0.2);
    border-radius: 15px;
    padding: 15px 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background: white;
    border-color: var(--light-teal);
    box-shadow: 0 0 0 0.25rem rgba(39, 206, 215, 0.25);
    outline: none;
}

.btn-submit {
    background: white;
    color: var(--primary-teal);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: #f0fdfa;
}

.contact-info-box {
    text-align: center;
    padding: 2rem 1rem;
}

.contact-info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact-info-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   FOOTER - ส่วนท้าย
   ======================================== */
.footer {
    background: var(--dark-teal);
    color: white;
    padding: 2rem 0;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--light-teal);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--primary-teal);
    transform: translateY(-3px);
}

/* ========================================
   ANIMATIONS - แอนิเมชั่น
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITY CLASSES - คลาสเสริม
   ======================================== */
.section-padding {
    padding: 80px 0;
}

.bg-light-teal {
    background: linear-gradient(135deg, rgba(240, 253, 250, 0.8), rgba(236, 253, 245, 0.8));
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.about-highlight {
    color: var(--primary-teal);
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-item i {
    color: var(--primary-teal);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN - การปรับให้รองรับหน้าจอขนาดต่างๆ
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* ========================================
   ABOUT SECTION REVAMP (DARK THEME)
   ======================================== */
.about-section-dark {
    background: var(--dark-teal);
    position: relative;
    padding: 100px 0;
}

.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 25%);
    opacity: 0.6;
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.about-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--light-teal);
    font-weight: 500;
}

.text-accent-gold {
    color: var(--accent-blue);
}

.text-dark-teal {
    color: var(--dark-teal);
}

.text-light-opacity {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-box-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-box-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--light-teal);
    transform: translateY(-5px);
}

.feature-box-dark .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-box-dark h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 2px;
}

/* Image Collage */
.about-collage {
    position: relative;
    padding: 40px 0;
}

.collage-item.main-img img {
    width: 90%;
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.collage-item.sub-img-1 {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 55%;
    z-index: 3;
}

.collage-item.sub-img-1 img {
    border: 6px solid var(--dark-teal);
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--dark-teal);
    z-index: 4;
}

.experience-badge .fs-2 {
    color: var(--primary-teal);
    line-height: 1;
    margin-bottom: 5px;
}

/* Animations */
@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.floating-anim {
    animation: floating 4s ease-in-out infinite;
}

.fs-7 {
    font-size: 0.85rem;
    color: #666;
}

/* ========================================
   PROJECTS GALLERY
   ======================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-teal);
    color: white;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    height: 300px;
    /* Fixed height for consistency */
}

.project-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 46, 22, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: var(--light-teal);
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.project-overlay p {
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s;
}

.project-card:hover .project-overlay h4,
.project-card:hover .project-overlay p {
    transform: translateY(0);
}

.project-item {
    transition: all 0.4s ease;
}

.project-item.hide {
    display: none;
}

.project-item.show {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   MODERN SERVICES CARD
   ======================================== */
.service-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-blue);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-wrapper {
    background: var(--primary-teal);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 10px;
}

.service-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-teal);
    gap: 10px;
}

/* ========================================
   VISION & MISSION SECTION
   ======================================== */
.vision-img-box {
    padding: 20px;
}

.circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding-bottom: 90%;
    background: radial-gradient(circle, var(--light-blue) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.7;
}

.vision-badge {
    position: absolute;
    bottom: 10%;
    right: 0;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
    animation: floating 3s ease-in-out infinite alternate;
}

.vision-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin-right: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-blue);
}

.border-teal {
    border-color: var(--primary-teal) !important;
}

.vision-card,
.mission-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--light-blue);
}

.vision-card h3,
.mission-card h3 {
    color: var(--dark-teal);
    font-weight: 700;
}

.vision-card p {
    font-size: 1.1rem;
    color: #444;
    background-color: var(--light-blue);
    padding: 15px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-teal);
}

.mission-card p {
    color: #555;
    line-height: 1.8;
}

/* ========================================
   CLIENTS CATEGORY SECTION
   ======================================== */
.client-cat-card {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.client-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--light-blue);
}

.client-cat-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.client-cat-card:hover .client-cat-icon {
    background: var(--primary-teal);
    color: white;
    transform: rotateY(180deg);
}

.client-cat-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-teal);
    margin-bottom: 0;
    line-height: 1.4;
}