* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
    /* space for fixed header */
}

:root {
    --primary: #f97316;
    --secondary: #333;
    --accent: #0056b3;
    --bg-light: #f9f9f9;
    --bg-dark: #ffffff;
}

/* COMMON */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #f97316;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background .3s;
}

.btn:hover {
    background: #d65a0e;
}


/* NAVBAR */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(8px);
    background: transparent;
    /* transparent navbar */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: background .3s, padding .3s;
}

header.scrolled {
    background: rgba(255, 255, 255, 1);
    padding: 8px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    /* smaller padding */
}

.logo img {
    height: 90px;
    /* larger logo */
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    /* slightly smaller text */
    transition: color .3s;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color .3s;
}

.menu-toggle:hover {
    color: var(--accent);
}

@media(max-width:768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 20px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav.active {
        display: flex;
    }
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.5);
    /* semi-transparent overlay */
    padding: 80px 60px;
    border-radius: 12px;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 60px;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 0 5px #fff, 0 0 10px var(--primary), 0 0 15px var(--accent), 0 0 20px var(--primary);
}

@media(max-width:768px) {
    .hero-title {
        font-size: 42px;
    }
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    max-width: 600px;
}

.hero .btn {
    margin-top: 20px;
}

/* header inner container
   - previously used Tailwind utilities
*/
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 80px;
}

/* project image styling
*/
.project-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s;
}

.project-image:hover {
    transform: scale(1.1);
}

/* SECTIONS */
section {
    padding: 100px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 600;
}

section .container {
    padding: 0 20px;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #f97316;
}

/* ABOUT */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
    justify-content: center;
}

.about-text {
    flex: 1 1 500px;
    line-height: 1.8;
}

.about-text h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.feature-text h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--secondary);
}

.about-image {
    flex: 1 1 400px;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 10px 10px;
    z-index: -1;
    opacity: 0.3;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: 20px;
    top: 20px;
    border: 4px solid var(--primary);
    z-index: -1;
    border-radius: 12px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

@media(max-width:768px) {
    .about-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-title {
        font-size: 42px;
    }

    header .container {
        padding: 10px 0;
    }

    .logo img {
        height: 60px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .contact-grid {
        flex-direction: column;
    }

    .hero-overlay {
        padding: 40px 20px;
        max-width: 90%;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* PROJECTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.project-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.project-card img {
    width: 100%;
    /* maintain portrait feel but allow flex height */
    height: 320px;
    object-fit: cover;
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: .4s;
}

.project-card:hover img {
    transform: scale(1.1);
}



/* PROCESS */
.steps details {
    background: #fff7ed;
    border-left: 5px solid var(--primary);
    padding: 15px;
    margin: 12px 0;
    border-radius: 4px;
}

/* PROJECT IMAGE MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.steps summary {
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.steps details p {
    margin-top: 10px;
    line-height: 1.6;
}

.steps details img {
    margin-top: 10px;
    max-width: 100%;
    border-radius: 6px;
}

/* CONTACT */
.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    /* keep columns aligned at top */
}

.contact-info {
    flex: 1 1 300px;
    color: #333;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
}

.info-item .icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-desc {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #555;
}

.contact-form {
    flex: 1 1 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    display: block;
    /* ensure label and field stack vertically */
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

form input,
form textarea {
    margin-top: 5px;
    width: 100%;
    /* take full width of parent */
    box-sizing: border-box;
    display: block;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.3);
}

input,
textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

button {
    padding: 12px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-start;
    /* avoid stretching full-width */
}


/* FOOTER */
footer {
    background: #f97316;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px !important;
    height: 50px !important;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* prevent its child from overflowing */
}

.whatsapp-float img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    display: block;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-note {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #eee;
}

.social-links a {
    color: white;
    margin-left: 12px;
    font-size: 20px;
    text-decoration: none;
}
