:root {
    --primary: #2563eb;
    /* Royal Blue */
    --primary-dark: #1e40af;
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    /* Slate 50 */
    --border: #e2e8f0;
    --font-main: 'Inter', 'Sarabun', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    /* Increased for visibility */
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo img {
    height: 80px;
    /* Large and clear as requested */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    /* Interactive pop */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }

    .logo img {
        height: 50px;
    }
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav a:hover {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    /* Make it pop with primary blue */
    color: white !important;
    padding: 10px 24px;
    /* Larger button */
    border-radius: 50px;
    /* Pill shape for modern look */
    font-weight: 700;
    /* Bold text */
    font-size: 1.1rem;
    /* Larger text */
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
    /* Glow effect */
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background-color: #334155 !important;
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 160px 0;
    /* Increase padding for more impact */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero_bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    /* Switch to white text */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    background: none;
    /* Remove gradient text */
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Add shadow for readability */
}

.hero-content p {
    font-size: 1.5rem;
    /* Larger for readability */
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Products Section */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.product-card:hover .icon-box {
    background-color: var(--primary);
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--text-muted);
}

.product-card.special-card {
    grid-column: span 1;
    /* Fits in grid */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('smart_pole_v2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.product-card.special-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.product-card.special-card .icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    color: #4ade80;
    backdrop-filter: blur(5px);
}

.product-card.special-card h3 {
    color: white;
}

.product-card.special-card p {
    color: #cbd5e1;
}

/* Smart Pole Section */
.smart-pole-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('smart_pole_v2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.smart-pole-content {
    max-width: 600px;
    background: rgba(15, 23, 42, 0.8);
    /* Dark glass effect */
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smart-pole-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4ade80;
    /* Green accent matching image */
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.smart-pole-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.smart-pole-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pole-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.2rem;
}

.pole-item i {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
    padding: 10px;
    border-radius: 50%;
}

/* Smart Garbage Section */
.smart-garbage-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('smart_garbage_v2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.smart-garbage-content {
    max-width: 600px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smart-garbage-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #facc15;
    /* Yellow/Gold accent */
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
}

.smart-garbage-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.smart-garbage-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.garbage-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.garbage-item i {
    color: #facc15;
    background: rgba(250, 204, 21, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.product-card.garbage-card {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('smart_garbage_v2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
}

.product-card.garbage-card .icon-box {
    color: #facc15;
}

/* GPS Tracking Section */
.gps-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('gps_tracking_new.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.gps-content {
    max-width: 600px;
    margin-left: auto;
    /* Align to right for variety */
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gps-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #38bdf8;
    /* Blue accent matching image */
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.gps-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.gps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gps-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.gps-item i {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.product-card.gps-card {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('gps_tracking_new.jpg');
}

.product-card.gps-card .icon-box {
    color: #38bdf8;
}

/* Smart Dashboard Section */
.smart-dashboard-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('smart_dashboard_final.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.smart-dashboard-content {
    max-width: 600px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smart-dashboard-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4ade80;
    /* Green accent */
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.smart-dashboard-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.smart-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.dashboard-item i {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.product-card.dashboard-card {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('smart_dashboard_final.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
}

.product-card.dashboard-card .icon-box {
    color: #4ade80;
}

/* LED Display Section */
.led-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('led_display.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.led-content {
    max-width: 600px;
    margin-left: auto;
    /* Align Right */
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.led-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f97316;
    /* Orange accent */
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.led-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.led-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.led-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.led-item i {
    color: #f97316;
    background: rgba(249, 115, 22, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.product-card.led-card {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('led_display.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
}

.product-card.led-card .icon-box {
    color: #f97316;
}

/* Smart CCTV Section */
.cctv-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('smart_cctv.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.cctv-content {
    max-width: 600px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cctv-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2dd4bf;
    /* Teal accent */
    text-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
}

.cctv-content h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.cctv-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cctv-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.cctv-item i {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.product-card.cctv-card {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('smart_cctv.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border: none;
}

.product-card.cctv-card .icon-box {
    color: #2dd4bf;
}

/* About Section - Modern Cards */
.bg-light {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.about-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer - Clean & Modern */
.site-footer {
    background-color: #0f172a;
    /* Slate 900 */
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-copy {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-contact {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
}

/* Mobile */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}