/* Root Variables */
:root {
    --primary: #0b3d91;      /* main blue */
    --secondary: #1e5bd7;    /* lighter blue */
    --dark: #0a1f44;
    --light: #f4f7ff;
}

/* Body */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ================= HEADER ================= */
.header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

/* Logo + Tagline Block */
.logo-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;   /* ensures right alignment */
    gap: 4px;
}

/* Logo Image */
.logo-block img {
    width: 280px;   /* adjust (140–180px ideal) */
    height: auto;
}

/* Tagline */
.tagline {
    font-size: 13px;
    color: var(--primary);
    text-align: right;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ================= NAV ================= */
.nav {
    background: var(--primary);
}

.nav .container {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    color: #cfe0ff;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, #eaf1ff, #ffffff);
    padding: 80px 0;
}

.hero .container {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-bottom: 20px;
}

/* ================= FORM ================= */
.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Inputs */
.contact-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Input Focus */
.contact-form input:focus {
    outline: none;
    border: 1px solid var(--secondary);
    box-shadow: 0 0 5px rgba(30, 91, 215, 0.3);
}

/* Button */
.contact-form button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0b0f2f, #1c1f3a);
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

/* ================= CONTACT ================= */

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info {
    padding: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}
/* ================= GLOBAL IMPROVEMENTS ================= */

section {
    padding: 80px 0;
}

h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
}

/* ================= HERO ================= */

.hero {
    text-align: center;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 20px;
    color: #555;
}

/* ================= BUTTONS ================= */

button {
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #0b3d91, #1e5bd7);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= NAV ================= */

.nav .container {
    display: flex;
    gap: 25px;
    padding: 12px 0;
}

.nav a {
    position: relative;
    font-weight: 500;
}

.nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: white;
    left: 0;
    bottom: -4px;
    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* ================= CARDS ================= */

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ================= SERVICES GRID ================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ================= WHY US ================= */

.why-us ul {
    list-style: none;
    padding: 0;
}

.why-us li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.why-us li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ================= CTA ================= */

.cta {
    text-align: center;
    background: linear-gradient(135deg, #0b3d91, #1e5bd7);
    color: white;
    border-radius: 12px;
    margin: 40px auto;
    width: 90%;
    max-width: 1000px;
}

.cta button {
    background: white;
    color: var(--primary);
    margin-top: 15px;
}

/* ================= FOOTER ================= */

.footer {
    text-align: center;
    padding: 20px 0;
    color: #777;
}

/* ================= CONTACT FORM ================= */

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }
}

/* ================= TESTIMONIALS ================= */

.testimonials {
    background: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.marquee {
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.marquee-content {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

.testimonial-card {
    min-width: 250px;
    background: #f4f7ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-card span {
    font-size: 13px;
    color: #777;
}

/* Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}