/*
Theme Name: USA Web App
Author: Abdullah
Version: 1.0
*/

/* ===== Colors ===== */
:root {
    --navy: #0B2545;
    --red: #E63946;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: var(--white);
}

h1, h2, h3, h4, .logo h2 {
    font-weight: 700;
}

a {
    text-decoration: none;
}

/* ===== Top Bar ===== */
.topbar {
    background: var(--red);
    color: var(--white);
    padding: 8px 30px;
    font-size: 13px;
}

.topbar-left span {
    margin-right: 20px;
}

/* ===== Main Nav (Transparent overlay) ===== */
header {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    padding: 20px 30px;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h2 {
    color: var(--white);
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--white);
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--red);
}

.btn-small {
    background: var(--red);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.btn-small:hover {
    background: #c62839;
}

/* ===== Hero Section (Background Image) ===== */
.hero {
    position: relative;
    background-image: url('images/bg-slider-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 30px 100px;   /* upar wala padding badha diya */
    min-height: 550px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 37, 69, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
    padding-left: 5%;
}

.hero-tag {
    color: var(--red);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 42px;
    color: var(--white);
    line-height: 1.3;
    margin: 15px 0;
}

.hero-content h1 .highlight {
    color: var(--red);
}

.hero-text {
    color: #eee;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-content .btn {
    background: var(--red);
    color: var(--white);
    padding: 14px 30px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

.hero-content .btn:hover {
    background: #c62839;
}

/* ===== About Section ===== */
.about {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
}

.about h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 10px auto 0;
}

.about p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* ===== Services Section ===== */
.services {
    background: var(--light-gray);
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-box {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-top: 4px solid var(--red);
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box h3 {
    color: var(--navy);
    margin-bottom: 10px;
}

.service-box p {
    color: #666;
    font-size: 14px;
}

/* ===== Footer ===== */
footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .topbar { flex-direction: column; gap: 8px; text-align: center; }
    .nav-wrap { flex-direction: column; gap: 15px; }
    nav ul { justify-content: center; }
    .hero-content { padding-left: 0; text-align: center; margin: 0 auto; }
}