/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --pri-color: #cfdbf2;
    --secondary-color: #DFA468;
    --accent-color: #1c222e;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --primary: #1a2332;
    --white: #ffffff;
    --primary-foreground: #ffffff;
    --accent-foreground: #000000;
    --back-color: #faeee2;
    --ba-color: rgba(244, 206, 178, 0.1);
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInScale 1s ease-in-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Top Header */
.top-header {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 0;
    font-size: 14px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a,
.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}

.contact-info a:hover,
.social-links a:hover {
    color: var(--secondary-color);
}

.social-links a:last-child {
    margin-right: 0;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    gap: 2rem;
}

.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(26, 35, 50, 0.95) 50%, rgba(26, 35, 50, 0.9) 100%),
        url('../images/abstract-professional-pattern.png') center/cover no-repeat;
    color: var(--primary-foreground);
    overflow: hidden;
    padding: 120px 20px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('../images/abstract-professional-pattern.png') center/cover no-repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: rgba(245, 158, 11, 0.9);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-foreground);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #b89952;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* SECTION */

/* SERVICE LINK */
.service-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-color);
}

/* SERVICE LIST */
.service-list {
    list-style: none;
    margin-top: 10px;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.core-services {
    padding: 80px 0;
    background: var(--bg-light);
}

/* CONTAINER */
.core-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CARD */
.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: 14px;
    border: 1px solid var(--pri-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ICON */
.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--back-color);
    /* accent soft bg */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-wrapper i {
    font-size: 22px;
    color: var(--secondary-color);
}

/* TEXT */
.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

/* SECTION BACKGROUND + SPACING */
.features-section {
    padding: 80px 0;
    background: var(--ba-color);
}

.features-section .container {
    background: var(--ba-color);
}

/* GRID */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* FEATURE ITEM */
.feature-item {
    text-align: center;
    padding: 24px;
}

/* ICON CIRCLE */
.feature-icon {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    background: var(--back-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--secondary-color);
}

/* TITLE */
.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

/* DESCRIPTION */
.feature-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* RESPONSIVE GRID */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 0.5px solid var(--pri-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--back-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 32px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Container */
.why-choose-us {
    padding: 80px 20px;
    background: var(--ba-color);
    font-family: Arial, sans-serif;
}

.why-choose-us .container {
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose-us .content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Section Title */
.why-choose-us h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1f2937;
    /* text-balance */
}

.why-choose-us p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #6b7280;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    text-align: left;
    /* REMOVE this */
    /* background: var(--white); */
}


/* Feature Card */
.feature-card {
    padding: 24px;
    background-color: #ffffff;
    /* bg-card */
    border-radius: 12px;
    border: 1px solid #d1d5db;
    /* border-border */
    transition: all 0.3s;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
    /* dark text for headings */
}

.feature-card p {
    font-size: 14px;
    color: #6b7280;
    /* muted text */
    line-height: 1.6;
}

/* Service Category */
.service-category {
    margin-bottom: 50px;
}

.service-category h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.service-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

/* Articles */
.article-card {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.article-header .article-icon {
    font-size: 32px;
    color: var(--secondary-color);
}

.article-card h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin: 0;
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.article-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Document Cards */
h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.document-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.document-card {
    background: var(--white);
    padding: 60px;
    border-radius: 10px;
    text-align: start;
    transition: all 0.3s;
    border: 1px solid var(--pri-color);
    box-shadow: var(--shadow);
}

.document-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.document-cards .article-icon {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    background: var(--back-color);
    /* accent soft bg */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 45px;
}

.document-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.document-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.document-cards .btn-secondary {
    display: flex;
    /* Make it flex */
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
    gap: 8px;
    /* Space between icon and text if any */
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    border: 0.5px solid var(--primary-color);
    width: 100%;
    /* Full width of card */
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    border: none;
}

/* Container */
.services-section {
    padding: 80px 20px;
    background-color: #f9fafb;
    /* bg-background */
    font-family: Arial, sans-serif;
}

.services-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Service Categories Grid */
/* Service Categories Grid */
.service-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on desktop */
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .service-categories {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

/* Government Services Grid */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on desktop */
    gap: 15px;
}

@media (max-width: 768px) {
    .gov-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}


/* Individual Service Card */
.service-card {
    background-color: var(--white);
    border: 1px solid var(--pri-color);
    /* border-border */
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Service Header */
.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--back-color);
    /* accent soft bg */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 24px;
    color: var(--secondary-color);
    /* accent color */
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #111827;
    /* text-balance */
    margin: 0;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
    /* text-muted-foreground */
}

/* Government Services */
.government-services {
    background-color: rgba(248, 180, 131, 0.1);
    /* bg-secondary/30 */
    border-radius: 12px;
    padding: 32px;
}

.government-services h3 {
    font-size: 24px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 20px;
}

/* Grid of gov items */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gov-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: #111827;
    transition: all 0.3s;
    padding-bottom: 3rem;
    padding-top: 0.5rem;
}

.gov-item .fa-solid {
    color: var(--secondary-color);
    padding-right: 10px;
}


/* Jurisdictions Table */
.description {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.7;
    align-items: center;
    justify-self: center;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 50px;
}

.jurisdiction-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.jurisdiction-table thead {
    background: var(--ba-color);
    color: var(--primary-color);
}

.jurisdiction-table th,
.jurisdiction-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.jurisdiction-table th {
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
}

.jurisdiction-table tbody tr:hover {
    background: var(--bg-light);
}

.jurisdiction-table tbody tr:last-child td {
    border-bottom: none;
}

.additional-jurisdictions {
    background-color: rgba(248, 180, 131, 0.1);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
}

.additional-jurisdictions h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.additional-jurisdictions p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 0.5px solid var(--pri-color);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* match form height */
}

.contact-details-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

/* EACH contact detail is now a card */
.contact-detail {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 0.5px solid var(--pri-color);
    flex: 1;
    /* makes cards stretch evenly */
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #d4b36a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-detail h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-detail p,
.contact-detail a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--secondary-color);
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 70vh;
}

/* Forms */
.contact-form,
.newsletter-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.newsletter-icon {
    font-size: 84px;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.newsletter-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    flex-direction: row;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #b4b4b4;
    border-radius: 10px;
    font-size: 16px;
    background: var(--accent-color);
    color: var(--white);
}

.newsletter-form input {
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.newsletter-form input:focus,
.newsletter-form input:focus-visible {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow:
        0 0 0 3px rgba(223, 164, 104, 0.35),
        0 0 14px rgba(223, 164, 104, 0.6);
    background: var(--accent-color);
}

.newsletter-form input:focus {
    box-shadow:
        0 0 0 2px rgba(223, 164, 104, 0.3),
        0 8px 24px rgba(223, 164, 104, 0.35);
}

.newsletter-form button {
    padding: 15px 40px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    font-family: 'Arial', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

.footer-section i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 16px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.footer .social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {

    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }

    /* NAV CONTAINER STACKS */
    .nav-container {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 15px 20px;
    }

    /* TOP ROW: LOGO + HAMBURGER */
    .nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo-section {
        display: flex;
        align-items: center;
    }

    /* MOBILE MENU (BELOW ROW) */
    .nav-links {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        background: var(--white);
        transition: max-height 0.3s ease;
        margin-top: 10px;
        z-index: 1001;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid #eee;
    }

    /* HAMBURGER ANIMATION */
    .mobile-menu-btn span {
        height: 3px;
        width: 25px;
        margin: 4px 0;
        background: var(--primary-color);
        transition: 0.3s;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-container {
        gap: 1rem;
    }

    .logo-section {
        margin-right: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .services-section .container,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info a,
    .social-links a {
        margin: 0 10px;
    }

    .jurisdiction-table {
        font-size: 12px;
    }

    .jurisdiction-table th,
    .jurisdiction-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 20px;
    }

    .hero {
        padding: 80px 0;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .article-featured,
    .contact-form-section {
        padding: 30px 20px;
    }
}