/* Reset และ Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}


 .four-column-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            text-align: center;
 }
 
 
  .column-item {
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
        }
        .column-item img {
            max-width: 100%;
            height: auto;
            margin-bottom: 15px;
            border: 1px solid #eee;
            border-radius: 4px;
        }
        .column-item h3 {
            font-size: 1.2em;
            color: #333;
            margin-bottom: 5px;
        }
        .column-item p {
            font-size: 0.9em;
            color: #666;
            margin-bottom: 10px;
        }
        .column-item .step {
            font-size: 1.1em;
            font-weight: bold;
            color: #ffc107; /* สีเหลือง */
            margin-top: 10px;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .four-column-grid {
                grid-template-columns: 1fr;
            }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header และ Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 600;
}

.nav-logo i {
    margin-right: 8px;
}

/* --- เมนูหลัก --- */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* เมนูหลักเรียงแนวนอน */
}

.nav-menu li {
    position: relative; /* เพื่อให้ sub-menu อ้างอิงกับ li นี้ */
}

.nav-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
}

/* --- เมนูย่อย --- */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;   /* วางไว้ใต้เมนูหลัก */
    left: 0;     /* ชิดซ้ายของเมนูหลัก */
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 180px; /* ความกว้างของกล่อง */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu {
    display: block; /* แสดงตอน hover */
}

/* --- รายการในเมนูย่อย --- */
.nav-menu .sub-menu li a {
    padding: 10px 16px;
    color: #333;
    display: block;
}

.nav-menu .sub-menu li a:hover {
    background: #f0f0f0;
}


.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: none; /* ลบเส้นใต้ที่สร้างจาก pseudo-element */
    height: 0; /* ตรวจสอบให้แน่ใจว่าไม่มีความสูงเหลืออยู่ */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-visual i {
    font-size: 8rem;
    color: #fbbf24;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 10px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.feature-item p {
    color: #6b7280;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1e3a8a 85%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content h2,
.cta-content p {
    color: white;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fbbf24;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.content-section p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.table tr:hover {
    background: #f8fafc;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    border: 3px solid #2563eb;
}

.pricing-card.featured::before {
    content: 'แนะนำ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.pricing-card .price-period {
    color: #6b7280;
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: #6b7280;
}

.pricing-card ul li i {
    color: #10b981;
    margin-right: 0.5rem;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
}


/* Examples Styles */
.examples-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.example-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.example-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.example-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.example-icon i {
    font-size: 1.5rem;
    color: white;
}

.example-header h3 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.example-category {
    background: #e5e7eb;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.example-content h4 {
    color: #1f2937;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.example-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.example-content ul {
    color: #6b7280;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.example-content li {
    margin-bottom: 0.5rem;
}

.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.result-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.dashboard-preview {
    padding: 4rem 0;
    background: white;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.dashboard-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dashboard-item h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.dashboard-item p {
    color: #6b7280;
}

.roi-calculator {
    padding: 4rem 0;
    background: #f9fafb;
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
}

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.roi-results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.roi-results h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
}

.roi-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.roi-metric {
    text-align: center;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #10b981;
}

/* Video Samples Styles */
.video-samples {
    padding: 4rem 0;
    background: #f9fafb;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.live-demo {
    padding: 4rem 0;
    background: white;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.demo-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.demo-iframe {
    margin: 1.5rem 0;
}

.interactive-demo {
    padding: 4rem 0;
    background: #f9fafb;
}

.demo-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.demo-tool {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.demo-tool h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.tool-container textarea,
.tool-container input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.tool-container textarea {
    height: 100px;
    resize: vertical;
}

.result-display {
    margin-top: 1rem;
}

.webinar-section {
    padding: 4rem 0;
    background: white;
}

.webinar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.webinar-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.webinar-date {
    text-align: center;
    background: #3b82f6;
    color: white;
    border-radius: 8px;
    padding: 1rem;
    min-width: 80px;
}

.webinar-date .date {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.webinar-date .month {
    display: block;
    font-size: 0.875rem;
}

.webinar-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.webinar-info p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.webinar-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.webinar-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-cta h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.faq-cta p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Responsive Design for new pages */
@media (max-width: 768px) {
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-tools {
        grid-template-columns: 1fr;
    }
    
    .webinar-grid {
        grid-template-columns: 1fr;
    }
    
    .webinar-card {
        flex-direction: column;
        text-align: center;
    }
    
    .results {
        grid-template-columns: 1fr;
    }
    
    .roi-metrics {
        grid-template-columns: 1fr;
    }
}


/* Past Works Section */
.past-works {
    padding: 4rem 0;
    background: #f9fafb;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.work-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-info {
    padding: 1.5rem;
}

.work-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.work-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.work-info .read-more {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.work-info .read-more:hover {
    color: #1d4ed8;
}

.work-info .read-more i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Design for work-grid */
@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}


/* Tutorials Content Section */
.tutorials-content {
    padding: 4rem 0;
    background: #f9fafb;
}

.tutorial-layout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.tutorial-video-column {
    flex: 2;
    min-width: 300px;
}

.tutorial-list-column {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-description h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.video-description p {
    color: #6b7280;
    line-height: 1.6;
}

.tutorial-list-column h2 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tutorial-list-column ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.tutorial-list-column ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.tutorial-list-column ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .tutorial-layout {
        flex-direction: column;
    }
}

/* Customer Section */
.customers-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.customer-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.customer-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.customer-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.customer-slide.active {
    opacity: 1;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.customer-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.customer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.customer-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.customer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.customer-card h3 {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2563eb;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #1d4ed8;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #2563eb;
}

@media (max-width: 768px) {
    .customer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
}

/* Institutions Section */
.institutions-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.institution-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.institution-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.institution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.institution-card:hover .institution-image img {
    transform: scale(1.05);
}

.institution-info {
    padding: 1.5rem;
}

.institution-info h3 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.institution-info p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.institutions-stats {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.institutions-cta {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.institutions-cta h2 {
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.institutions-cta p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .institutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .institutions-cta {
        padding: 2rem 1rem;
    }
    
    .institutions-cta h2 {
        font-size: 1.5rem;
    }
}

_css", text=


/* Sub Menu Styles */
.nav-item {
    position: relative; /* Ensure the parent is a reference for absolute positioning */
}

.nav-item .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    border-top: 3px solid #2563eb;
}

.nav-item:hover > .sub-menu {
    display: block;
}

.nav-item .sub-menu li {
    padding: 0;
}

.nav-item .sub-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.nav-item .sub-menu li a:hover {
    background-color: #f0f5ff;
    color: #2563eb;
}

