/* GLOBAL STYLES */
body {
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    transition: 0.3s;
}

.navbar.scrolled {
    padding: 10px 40px;
    background: #1e3fa3;

}

.navbar nav a {
    margin-left: 25px;
    font-size: 15px;
}

.navbar nav a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.navbar nav a:hover {
    text-decoration: underline;
}


button {
    background: #C9A14A;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
}

/* Sections */
.about, .services, .contact {
    padding: 40px;
    text-align: center;
}

/* Cards */
.services {
    text-align: center;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    width: 300px;
    border-radius: 12px;

    border-left: 5px solid var(--primary);

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Footer */
footer {
    background: #0B1F3A;
    color: white;
    text-align: center;
    padding: 15px;
}
h2 {
    font-size: 32px;
    color: #2c5fd5;
    margin-bottom: 10px;
}

section p {
    color: #555;
}
.contact form {
    max-width: 500px;
    margin: auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact button {
    width: 100%;
    background: #2c5fd5;
    color: white;
}

section {
    
    padding: 80px 20px;

}


.map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}


.hero {
    height: 90vh;

    background: linear-gradient(
        rgba(13, 27, 61, 0.8),
        rgba(13, 27, 61, 0.8)
    ),
    url('images/lawyer.jpg'); /* make sure path is correct */

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 0 20px;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ddd;
}

.trust {
    display: flex;
    justify-content: space-around;
    background: #f5f7fb;
    padding: 40px;
    text-align: center;
}

.trust-box h2 {
    color: #2c5fd5;
}

section:nth-child(even) {
    background: #f5f7fb;
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}

:root {
    --primary: #2c5fd5;
    --dark: #0d1b3d;
    --light: #f5f7fb;
    --white: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2c5fd5;
    padding: 14px 30px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #1e3fa3;
}

.btn-secondary {
    border: 2px solid white;
    padding: 14px 30px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f8f9fc;
}
h2 {
    font-size: 34px;
    font-weight: 600;
}

.notice-bar {
    background: #b30000;
    color: white;
    overflow: hidden;
    padding: 10px 0;
    font-weight: 500;
    position: relative;
}

.notice-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollText 18s linear infinite;
}

.notice-content span {
    font-size: 14px;
}

/* Smooth scrolling animation */
@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.logo img {
    height: 150px;
    object-fit: contain;
}
.brand-name {
    font-size: 50px;
    font-weight: 600;
    color: var(--dark);
}

/* about page */

.about-page {
    padding: 80px 20px;
    text-align: center;
}

.about-page p {
    max-width: 800px;
    margin: auto;
    color: #555;
}

.about-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.about-box {
    background: white;
    padding: 25px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.success-box {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    display: none;
    z-index: 9999; /* VERY IMPORTANT */
}

.contact-form, 
.contact-info {
    width: 450px;   /* increase from 350px */
    padding: 40px;
}

.contact-form h2,
.contact-info h2 {
    font-size: 28px;
}

.contact-info p {
    font-size: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    font-size: 16px;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background: #2c5fd5;
    border-radius: 6px;
}

.contact-container {
    gap: 60px; /* earlier too tight */
}

.map iframe {
    width: 100%;
    height: 250px; /* bigger map */
}

.map iframe {
    width: 100%;
    height: 250px; /* bigger map */
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        width: 90%;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar nav {
        margin-top: 10px;
    }
}

/* WhatsApp Button */
.wa-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 9999;
}

/* Popup Box */
.wa-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
    z-index: 9999;
}

/* Header */
.wa-header {
    background: #25D366;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

/* Body */
.wa-body {
    padding: 15px;
    font-size: 14px;
}

/* Footer Button */
.wa-footer a {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
}