/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

/* General Enhancements */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #003366;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #66ccff;
    border-radius: 2px;
}

.cta-button {
    background-color: #66ccff; /* Light blue */
    color: #003366; /* Dark blue */
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.2);
}

.cta-button:hover {
    background-color: #3399ff; /* Slightly darker blue */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Header and Navigation */
header {
    background-color: #003366; /* Dark blue */
    color: white;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo img {
    height: 60px; /* Adjusted for better visibility */
    width: auto;
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #66ccff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #66ccff; /* Light blue */
    transform: translateY(-2px);
}



/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.burger div {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.85)), url('https://source.unsplash.com/random/1600x900/?law,justice,court') no-repeat center center;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.1); /* Subtle overlay for depth */
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}




/* Services Preview */
.services-preview .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.services-preview .card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.services-preview .card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.services-preview .card h3 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.services-preview .card p {
    font-size: 1rem;
    color: #555;
}

.services-preview .card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* About Short */
.about-short {
    background-color: #f0f8ff; /* A softer light blue */
    text-align: center;
    padding: 80px 20px;
}

.about-short p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #444;
    line-height: 1.8;
}

.about-short .cta-button {
    margin-top: 20px;
}

/* Testimonials */
.testimonials {
    background-color: #e6f2ff;
}

.testimonials .testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonials .testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonials .testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: #66ccff;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
    z-index: 0;
}

.testimonials .testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonials .testimonial-card h4 {
    color: #003366;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Anti-Harassment Service & Loan Resolution Sections */
.anti-harassment-service, .loan-resolution {
    background-color: #f9f9f9;
    text-align: center;
}

.anti-harassment-service h2, .loan-resolution h2 {
}

/* Contact Form Styling */
.contact-form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 50px auto;
    text-align: left;
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
}

.contact-form-container .form-group {
    margin-bottom: 20px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container input[type="tel"]:focus,
.contact-form-container textarea:focus {
    border-color: #66ccff;
    box-shadow: 0 0 8px rgba(102, 204, 255, 0.4);
    outline: none;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-container .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 30px 20px;
        padding: 30px;
    }
}

.anti-harassment-service h2, .loan-resolution h2 {
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.ahs-steps, .loan-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    padding-top: 80px; /* Space for icon */
}

.step-card::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: #66ccff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.step-card h3 {
    color: #003366;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.anti-harassment-service .cta-button {
    margin-top: 30px;
}


/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 60px 20px 30px 20px;
    text-align: center;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    margin: 20px;
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #66ccff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3399ff;
    border-radius: 2px;
}

.footer-section p,
.footer-section ul {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: #66ccff;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-section ul li a:hover {
    color: #66ccff;
}

.footer-bottom {
    border-top: 1px solid #004488;
    padding-top: 25px;
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 70px; /* Adjust based on header height */
        left: 0;
        background-color: #003366;
        width: 100%;
        height: calc(100vh - 70px);
        transform: translateX(-100%);
        transition: transform 0.5s ease-in;
        align-items: center;
        padding-top: 40px;
        box-shadow: inset 0 5px 10px rgba(0,0,0,0.2);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        margin: 25px 0;
    }

    .burger {
        display: flex;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin: 15px 0;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.nav-links.nav-active li {
    animation: navLinkFade 0.5s ease forwards 0.3s;
}

.nav-links.nav-active li:nth-child(1) { animation-delay: 0.2s; }
.nav-links.nav-active li:nth-child(2) { animation-delay: 0.3s; }
.nav-links.nav-active li:nth-child(3) { animation-delay: 0.4s; }
.nav-links.nav-active li:nth-child(4) { animation-delay: 0.5s; }
.nav-links.nav-active li:nth-child(5) { animation-delay: 0.6s; }
.nav-links.nav-active li:nth-child(6) { animation-delay: 0.7s; }
.nav-links.nav-active li:nth-child(7) { animation-delay: 0.8s; }