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

body {
    font-family: 'Segoe UI', 'Poppins', system-ui, sans-serif;
    background: #f4f4f2;
    color: #2e2e2e;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
}

:root {
    --steel: #5a5c5e;
    --rust: #b45f3a;
    --teal: #1e5f5c;
    --dark: #1f2a2e;
    --light: #faf7f2;
    --accent: #e67e22;
    --shadow: 0 20px 35px rgba(0,0,0,0.08), 0 8px 18px rgba(0,0,0,0.05);
}

/* ============================================ */
/* NAVIGATION */
/* ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(20, 25, 27, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

    .logo:hover {
        color: var(--accent);
    }

    .logo span {
        color: var(--accent);
    }

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #ddd;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.85rem;
        text-transform: uppercase;
        transition: 0.3s;
        letter-spacing: 0.5px;
        padding: 0.5rem 0;
        position: relative;
        white-space: nowrap;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: 0.3s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent);
        }

            .nav-links a:hover::after,
            .nav-links a.active::after {
                width: 100%;
            }

/* ============================================ */
/* HERO SECTION (Home Page) */
/* ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(125deg, rgba(20,28,31,0.88) 0%, rgba(40,45,42,0.82) 70%), url('images/hero-bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 2rem;
    background-color: #1f2a2e;
}

.hero-content {
    max-width: 950px;
    width: 100%;
    color: white;
    animation: fadeUp 1.2s ease;
}

.motto-container {
    margin-bottom: 1.5rem;
    animation: fadeUp 1.5s ease;
    width: 100%;
}

.motto {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.motto-item {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    transition: 0.3s;
    padding: 0.6rem 1rem;
    border: 2px solid rgba(230,126,34,0.4);
    border-radius: 8px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

    .motto-item i {
        margin-right: 6px;
        font-size: 1rem;
    }

    .motto-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(230,126,34,0.2), transparent);
        transition: 0.5s;
    }

    .motto-item:hover::before {
        left: 100%;
    }

    .motto-item:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(230,126,34,0.3);
        background: rgba(0,0,0,0.55);
    }

.motto-dot {
    color: white;
    font-size: 1.5rem;
    opacity: 0.6;
    font-weight: bold;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

    .hero h1 i {
        color: var(--accent);
        margin-right: 8px;
    }

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
    padding: 0 0.5rem;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 1.2rem auto;
    border-radius: 5px;
    animation: expandWidth 1s ease;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }

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

/* ============================================ */
/* BUTTONS */
/* ============================================ */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.8px;
    transition: all 0.4s;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
}

    .btn-primary:hover {
        background: #d36e1e;
        border-color: #d36e1e;
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(230,126,34,0.4);
    }

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

    .btn-outline:hover {
        background: white;
        color: #1a1e20;
        transform: translateY(-3px);
    }

/* ============================================ */
/* PAGE HEADER (Solutions & Contact) */
/* ============================================ */
.page-header {
    padding: 7rem 4% 3rem;
    text-align: center;
    background: linear-gradient(135deg, #1f2a2e 0%, #2c3e3a 100%);
    color: white;
}

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
    }

        .page-header h1 i {
            color: var(--accent);
            margin-right: 8px;
        }

    .page-header p {
        font-size: 1.1rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
    }

/* ============================================ */
/* FEATURES STRIP (Home Page) */
/* ============================================ */
.features-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 3rem 5%;
    background: white;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    transition: 0.3s;
    border-radius: 16px;
}

    .feature-item:hover {
        background: #f9f9f6;
        transform: translateY(-5px);
    }

    .feature-item i {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 0.8rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        color: var(--dark);
        margin-bottom: 0.3rem;
    }

    .feature-item p {
        font-size: 0.85rem;
        color: #666;
    }

/* ============================================ */
/* CTA SECTION (Home Page) */
/* ============================================ */
.cta-section {
    padding: 4rem 5%;
    text-align: center;
    background: var(--dark);
    color: white;
}

    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .cta-section p {
        font-size: 1rem;
        opacity: 0.9;
        margin-bottom: 1.5rem;
    }

/* ============================================ */
/* SOLUTIONS GRID */
/* ============================================ */
.solutions-section {
    padding: 3rem 4%;
}

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

.solution-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    cursor: pointer;
}

    .solution-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 40px rgba(0,0,0,0.15);
        border-color: var(--accent);
    }

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: 0.5s;
    background-color: #e0e0e0;
}

.solution-card:hover .card-img {
    transform: scale(1.03);
}

.card-img i {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

.solution-card:hover .card-img i {
    background: var(--accent);
    transform: rotate(15deg);
}

.card-content {
    padding: 1.3rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .card-content h3 {
        font-size: 1.4rem;
        font-weight: 650;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

    .card-content p {
        color: #4a4a4a;
        margin-bottom: 1rem;
        flex: 1;
        font-size: 0.9rem;
    }

.tag {
    background: #e9e9e0;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    align-self: flex-start;
    margin-top: 0.3rem;
    transition: 0.3s;
}

.solution-card:hover .tag {
    background: var(--accent);
    color: white;
}

.card-btn {
    background: var(--dark);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 0.8rem;
    align-self: flex-start;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

    .card-btn:hover {
        background: var(--accent);
        transform: translateX(5px);
    }

.category-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

/* ============================================ */
/* IMAGE CLASSES - ALL .JFIF EXCEPT HERO */
/* ============================================ */
.img-bar {
    background-image: url('images/bar.jfif');
}

.img-cafe {
    background-image: url('images/cafe.jfif');
}

.img-house {
    background-image: url('images/house.jfif');
}

.img-warehouse {
    background-image: url('images/warehouse.jpg');
}

.img-security {
    background-image: url('images/security.jfif');
}

.img-clinic {
    background-image: url('images/clinic.jfif');
}

.img-classroom {
    background-image: url('images/classroom.jfif');
}

.img-tank {
    background-image: url('images/tank.jfif');
}

.img-office {
    background-image: url('images/office.jfif');
}

.img-shop {
    background-image: url('images/shop.jfif');
}

/* ============================================ */
/* CONTACT SECTION */
/* ============================================ */
.contact-section {
    padding: 3rem 4%;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: white;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 280px;
}

    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        color: var(--dark);
    }

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    transition: 0.3s;
    padding: 0.4rem;
    border-radius: 10px;
}

    .contact-detail:hover {
        background: #f9f9f6;
        transform: translateX(5px);
    }

    .contact-detail i {
        font-size: 1.4rem;
        color: var(--accent);
        width: 35px;
        text-align: center;
        flex-shrink: 0;
    }

.owner-badge {
    background: #f0ebe3;
    padding: 1.2rem;
    border-radius: 20px;
    margin-top: 1.5rem;
    border-left: 5px solid var(--accent);
}

    .owner-badge p {
        font-weight: 600;
        margin: 0.2rem 0;
        font-size: 0.9rem;
    }

.contact-form {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem 1rem;
        border: 1px solid #ddd;
        border-radius: 25px;
        font-family: inherit;
        background: #fafaf8;
        transition: 0.3s;
        font-size: 0.9rem;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(230,126,34,0.2);
        }

    .contact-form button {
        background: var(--dark);
        color: white;
        border: none;
        padding: 0.9rem;
        border-radius: 30px;
        font-weight: 700;
        cursor: pointer;
        transition: 0.3s;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

        .contact-form button:hover {
            background: var(--accent);
            color: #000;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(230,126,34,0.3);
        }

        .contact-form button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

.form-message {
    display: none;
    padding: 0.8rem;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    animation: slideIn 0.5s ease;
    font-size: 0.9rem;
}

.success-message {
    background: #2ecc71;
    color: white;
}

.error-message {
    background: #e74c3c;
    color: white;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.setup-info {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 15px;
    padding: 1rem;
    font-size: 0.8rem;
    color: #856404;
}

    .setup-info h4 {
        margin-bottom: 0.3rem;
        color: #856404;
        font-size: 0.9rem;
    }

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
footer {
    background: #14191c;
    color: #bbb;
    text-align: center;
    padding: 1.5rem 4%;
    font-size: 0.85rem;
}

/* ============================================ */
/* BACK TO TOP */
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: var(--dark);
        transform: translateY(-5px);
    }

/* ============================================ */
/* MOBILE RESPONSIVE */
/* ============================================ */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.8rem 4%;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
        justify-content: center;
    }

        .nav-links a {
            font-size: 0.75rem;
        }

    .hero {
        padding: 7rem 0.8rem 2rem;
        min-height: 100vh;
    }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 0.9rem;
        }

    .motto {
        gap: 0.5rem;
    }

    .motto-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .motto-dot {
        display: none;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }
}

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

    .motto-item {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

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

    .card-img {
        height: 180px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}
