/* =========================
   GLOBAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
    line-height: 1.6;
}

/* =========================
   HEADER / NAVBAR
========================= */

header {
    background: #0b1f3a;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h2 {
    font-size: 22px;
    letter-spacing: 1px;
}

header ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

header ul li a:hover {
    color: #ff9800;
}

/* =========================
   HERO SECTIONS
========================= */

.hero,
.about-hero,
.services-hero,
.projects-hero,
.contact-hero {
    padding: 140px 20px;
    text-align: center;
    color: white;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/hero.jpg') center/cover;
}

.about-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('../images/about.jpg') center/cover;
}

.services-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('../images/services.jpg') center/cover;
}

.projects-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('../images/projects.jpg') center/cover;
}

.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('../images/contact.jpg') center/cover;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 12px 22px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #e68900;
}

/* =========================
   SECTION LAYOUT
========================= */

section {
    padding: 60px 20px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* =========================
   SERVICES GRID
========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* =========================
   PROJECT GRID
========================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

/* =========================
   FORMS
========================= */

form {
    margin-top: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #0b1f3a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* =========================
   WHATSAPP FLOAT BUTTON
========================= */

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

header {
    flex-direction: column;
    text-align: center;
}

header ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.hero, .about-hero, .services-hero, .projects-hero, .contact-hero {
    padding: 100px 15px;
}

}