:root {
    --primary-blue: #002366;
    --gold-accent: #D4AF37;
    --text-dark: #333333;
    --background-light: #F4F7F9;
    --text-gray: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    transform: translateZ(0);
    will-change: scroll-position;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Updated Navigation Styles */
header {
    background-color: #000D33;  
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: white;  
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold-accent);
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold-accent);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
    left: 0;
}

.nav-logo-item {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;  
    transition: color 0.3s ease;
    min-height: 44px; 
    min-width: 44px;
}

.mobile-menu-toggle:hover {
    color: var(--gold-accent);
}

/* Hero Section Modern Design */
.hero {
    background: linear-gradient(135deg, rgba(0,35,102,0.9), rgba(0,35,102,0.7)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0 3rem;
    margin-top: 0;
    background-color: #000D33; 
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero-logo img {
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-height: 44px; 
    min-width: 44px;
}

.btn-primary {
    background-color: var(--gold-accent);
    color: var(--primary-blue);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

/* Services Section Modern Update */
.services {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--gold-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--gold-accent);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-card:hover i {
    color: var(--gold-accent);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--gold-accent);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-service {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-service:hover {
    background-color: var(--gold-accent);
    color: var(--primary-blue);
}

/* Services Page Styles */
.services-page {
    margin-top: 60px;
}

.services-hero {
    background: linear-gradient(135deg, rgba(0,35,102,0.9), rgba(0,35,102,0.7)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-detailed {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.service-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-detailed-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-detailed-card:hover {
    transform: translateY(-10px);
}

.service-detailed-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.service-detailed-card h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-detailed-card ul {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-detailed-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.service-detailed-card ul li:last-child {
    border-bottom: none;
}

/* Updated About Section Styles */
.about {
    background-color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,35,102,0.05), rgba(212,175,55,0.05));
    z-index: 1;
    pointer-events: none;
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--gold-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,35,102,0.1);
    border: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.about-content:hover {
    box-shadow: 0 25px 60px rgba(0,35,102,0.15);
    transform: translateY(-10px);
}

.about-text {
    flex: 2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-text h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-accent);
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.differentials {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.differential {
    text-align: center;
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%;
}

.differential:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.differential i {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.differential:hover i {
    color: var(--gold-accent);
}

.differential p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 500;
}

.about-section-btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 10px 20px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 30px;
}

.about-section-btn:hover {
    transform: scale(1.05);
    background-color: var(--gold-accent);
    color: var(--primary-blue);
}

/* About Page Styles */
.about-page {
    margin-top: 0;
}

.about-hero {
    background: linear-gradient(135deg, rgba(0,35,102,0.9), rgba(0,35,102,0.7)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    background-color: #000D33;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.about-hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.hero-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-highlight:hover {
    transform: translateY(-10px);
    opacity: 1;
}

.hero-highlight i {
    font-size: 2.5rem;
    color: var(--gold-accent);
}

.hero-highlight span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .about-hero-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.about-content-detailed {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.team-member-full {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.team-member-full .team-member-photo {
    max-width: 300px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member-full .team-member-photo:hover {
    transform: scale(1.05);
}

.team-member-full h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 0.5rem;
}

.professional-title {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.team-section {
    margin-top: 2rem;
}

.team-section h3 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-section ul {
    list-style-type: none;
    padding: 0;
    color: var(--text-gray);
}

.team-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.team-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-mission {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.about-mission h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 0.5rem;
}

/* Updated Blog Section Styles */
.blog {
    display: none;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--gold-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-quote {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.testimonial-quote i {
    color: var(--gold-accent);
    opacity: 0.3;
    font-size: 2rem;
}

.testimonial-quote p {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.8;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #e1e1e1;
    padding-top: 1.5rem;
}

.testimonial-client img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.client-details h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.client-details span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Updated Contact Section Styles */
.contact {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.contact h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--gold-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-content {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-form {
    flex: 2;
    padding: 3rem;
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    min-height: 44px; 
    min-width: 44px;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
}

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

.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--gold-accent);
    color: var(--primary-blue);
}

.contact-info {
    flex: 1;
    padding: 3rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
}

.contact-detail i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--gold-accent);
}

/* Maps Contact Button Styles */
.maps-contact-btn {
    margin-top: 1rem;
    width: 100%;
}

.btn-maps {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-accent);
    color: var(--primary-blue);
    width: 100%;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-maps:hover {
    background-color: var(--primary-blue);
    color: white;
}

.btn-maps i {
    font-size: 1.5rem;
}

/* WhatsApp Contact Button Styles */
.whatsapp-contact-btn {
    margin-top: 1rem;
    width: 100%;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    width: 100%;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

/* Remove the existing floating WhatsApp button styles */
.floating-whatsapp {
    display: none;
}

/* Updated Footer Styles */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

footer .footer-logo img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

footer p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    letter-spacing: 0.5px;
    font-weight: 300;
}

footer .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Fiscal Area Styles */
.fiscal-area, .juridical-area {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.fiscal-area h2, .juridical-area h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.fiscal-area h2::after, .juridical-area h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--gold-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.fiscal-area-content, .juridical-area-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fiscal-area-card, .juridical-area-card {
    background: white;
    padding: 2.5rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fiscal-area-card:hover, .juridical-area-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.fiscal-area-card i, .juridical-area-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.fiscal-area-card:hover i, .juridical-area-card:hover i {
    color: var(--gold-accent);
}

.fiscal-area-card h3, .juridical-area-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.fiscal-area-card p, .juridical-area-card p {
    color: var(--text-gray);
    text-align: center;
}

.fiscal-area-card .solicitar-servico {
    margin-top: 1rem;
    align-self: center;
    font-size: 0.9rem;
    padding: 8px 15px;
}

/* News Section Styles */
.news {
    background-color: white;
    padding: 4rem 0;
}

.news h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.news h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--gold-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.news-card {
    background-color: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.news-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-card .btn-secondary {
    align-self: flex-start;
    background-color: var(--primary-blue);
    color: white;
}

.news-card .btn-secondary:hover {
    background-color: var(--gold-accent);
    color: var(--primary-blue);
}

.news-card .news-content {
    margin-bottom: 1rem;
    display: none; 
}

.news-card .news-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.news-card .news-content a {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-card .news-content a:hover {
    color: var(--primary-blue);
}

/* Team Member Styles */
.team-member {
    background-color: white;
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 0.5rem;
}

.team-member > p:first-of-type {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-member h4 {
    color: var(--gold-accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member ul {
    list-style-type: none;
    padding: 0;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.team-member ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.team-member ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Scheduling Page Styles */
.scheduling-page {
    margin-top: 0;
}

.scheduling-hero {
    background: linear-gradient(135deg, rgba(0,35,102,0.9), rgba(0,35,102,0.7)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    background-color: #000D33;
}

.scheduling-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.scheduling-hero-text {
    margin-bottom: 2.5rem;
}

.scheduling-hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.scheduling-hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-10px);
    opacity: 1;
}

.hero-feature i {
    font-size: 2.5rem;
    color: var(--gold-accent);
}

.hero-feature span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .scheduling-hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.scheduling-options {
    background-color: var(--background-light);
    padding: 4rem 0;
}

.scheduling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.scheduling-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.scheduling-card:hover {
    transform: translateY(-10px);
}

.scheduling-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.scheduling-card h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.scheduling-details {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.scheduling-details > div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.scheduling-details i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
    color: var(--gold-accent);
}

.scheduling-form {
    background-color: white;
    padding: 4rem 0;
}

.scheduling-form .container {
    max-width: 600px;
}

.scheduling-form h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.scheduling-form .form-group {
    margin-bottom: 1.5rem;
}

.scheduling-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.scheduling-form input,
.scheduling-form select,
.scheduling-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 0.9rem;
}

.scheduling-form .btn-submit {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scheduling-form .btn-submit:hover {
    background-color: var(--gold-accent);
    color: var(--primary-blue);
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    body {
        font-size: 14px; 
    }

    .btn {
        padding: 8px 15px; 
        font-size: 0.8rem;
    }

    .hero-content {
        padding: 0 3%; 
    }
}

@media (max-width: 992px) {
    nav {
        padding: 0.5rem 3%;
        height: auto;
    }

    .nav-logo-item {
        display: block;
        margin-bottom: 1rem;
    }

    .nav-menu-logo {
        max-width: 150px;
        height: auto;
        object-fit: contain;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1100;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000D33;  
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        font-size: 1.2rem;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column-reverse;
    }
}

@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .service-detailed-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .differentials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    nav ul li a {
        font-size: 1rem; 
        text-transform: capitalize; 
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .scheduling-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .btn, 
    .contact-form input, 
    .contact-form select, 
    .contact-form textarea,
    .mobile-menu-toggle {
        min-height: 44px; 
        min-width: 44px;
    }
}

/* Mbway Payment Section Styles */
.mbway-payment-section {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.mbway-payment-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.mbway-upload-container {
    margin-top: 1.5rem;
}

.mbway-upload-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.mbway-upload-container input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--primary-blue);
    border-radius: 10px;
    text-align: center;
}

.file-upload-hint {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.mbway-preview-container {
    margin-top: 1.5rem;
    background-color: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mbway-preview-container h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.mbway-preview-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}