/* Base Styles */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #9b59b6;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #888;
    --light-text: #f8f9fa;
    --dark-bg: #222;
    --light-bg: #f8f9fa;
    --card-bg: #fff;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    /* Modified to fix Safari alignment issue */
    overflow-x: visible;
}

.site-wrapper {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-header .subtitle {
    display: block;
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.outline-btn {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.outline-btn:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Header */
.main-header {
    position: fixed;
    top: -100px; /* Start off-screen */
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
    opacity: 0;
}

.main-header.visible {
    top: 0;
    opacity: 1;
}

.main-header.scrolled {
    padding: 10px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    width: 90%;
    max-width: 1200px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

nav {
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    max-width: fit-content;
}

/* Cross-browser button reset */
button {
    background: transparent;
    margin: 0;
    padding: 0;
    border: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu li:last-child a {
    margin-right: 0;
    padding-right: 0;
}

.nav-menu li:last-child a::after {
    content: "";
    display: none;
}

/* Navigation styling */

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--light-text);
    padding: 0;
    margin-bottom: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-menu-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.hero-hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-hamburger:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
    transition: var(--transition);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(142, 68, 173, 0.8));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.copyright-notice {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

.hero-text {
    max-width: 650px;
    margin-top: 30px;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-phone {
    margin-top: 60px;
}

.hero-phone .phone-link {
    color: var(--light-text);
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hero-phone .phone-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 30px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.5s ease;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(142, 68, 173, 0.3);
    border-radius: var(--border-radius);
    pointer-events: none;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.expertise-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.expertise-item {
    text-align: center;
}

.expertise-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.expertise-item h3 {
    font-size: 1rem;
    font-weight: 500;
}

/* Service Areas Section */
.service-areas {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-areas p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Location Info in Contact Section */
.location-info {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    padding: 30px 0 80px;
    background-color: var(--light-bg);
}

.portfolio-category {
    margin-bottom: 70px;
    padding: 0 10px;
}

.portfolio-category h3 {
    display: block;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.portfolio-category:last-child {
    margin-bottom: 0;
}

.portfolio-category h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.category-description {
    text-align: center;
    color: var(--text-lighter);
    margin-bottom: 30px;
    font-style: italic;
}

.category-description.location-info {
    font-style: italic;
    color: var(--text-lighter);
    margin-bottom: 15px;
}

.phone-info {
    text-align: center;
    margin-bottom: 30px;
}

.phone-info a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.phone-info a:hover {
    color: var(--secondary-color);
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.audio-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 3px solid rgba(0, 0, 0, 0.12);
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.audio-card-header {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(0, 0, 0, 0.01);
}

.audio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.audio-info p {
    color: var(--text-lighter);
    font-size: 0.9rem;
    max-width: 220px;
    line-height: 1.4;
}

.audio-controls {
    display: flex;
    align-items: center;
}

.play-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.play-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Audio Player */
.audio-player, .single-audio-player {
    padding: 20px 24px;
    border-radius: 5px;
    background-color: var(--bg-lighter);
    margin: 0;
}

.progress-container {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    width: 0;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-bottom: 15px;
}

.toggle-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.toggle-btn {
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.toggle-btn:hover:not(.active) {
    background-color: rgba(var(--primary-rgb), 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 30px 0 80px;
    background-color: var(--light-bg);
}

.testimonials-slider {
    position: relative;
    display: flex;
    overflow: hidden;
    margin: 40px 0;
    padding: 20px 0;
    min-height: 300px;
}

.testimonial-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.testimonial-card:first-child {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(142, 68, 173, 0.1);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-prev,
.testimonial-next {
    background-color: var(--light-bg);
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 30px 0 80px;
}

/* Removed contact-intro class as it's no longer needed */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 20px;
}

.contact-info p {
    color: var(--text-light);
}

.social-connect {
    margin-bottom: 40px;
}

.social-connect h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.5rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.platform-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.platform-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    transition: var(--transition);
    margin-right: 15px;
    width: 150px;
    height: 60px;
    border: 1px solid #f0f0f0;
    position: relative;
}

.platform-btn:hover {
    background-color: white;
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.platform-logo {
    max-width: 100%;
    max-height: 25px;
    object-fit: contain;
    display: block;
    filter: contrast(1.2);
}

.platform-name {
    margin-left: 10px;
    display: none;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.form-header {
    background-color: transparent;
    color: var(--text-dark);
    padding: 20px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
}

.contact-form {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(142, 68, 173, 0.2);
}

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

/* Footer - Completely Rebuilt */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Main footer layout */
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
    gap: 40px; /* Add more space between columns */
}

/* Footer columns */
.footer-column {
    box-sizing: border-box;
}

.footer-column-logo {
    width: 45%; /* Reduced width to accommodate gap */
    padding-right: 0;
    padding-top: 0;
    margin-top: -24px; /* Move the entire first column up to align with headers */
}

.footer-column-links,
.footer-column-contact {
    width: 22%; /* Reduced width to accommodate gap */
    padding-top: 8px; /* Add padding to push headers down slightly */
}

/* Ensure all columns start content at the same height */
.footer-column h4 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Accessibility helper */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Logo styling */
.footer-logo-container {
    margin-bottom: 25px;
    text-align: left;
}

.footer-logo {
    max-width: 450px;
    width: 100%;
    height: auto;
    display: block;
}

/* Footer text styling */
.footer-description {
    max-width: 90%;
    margin: 0 auto;
}

.footer-description p {
    color: #aaa;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: justify; /* Justify text in the first column */
}

/* Quick links styling */
.footer-column h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--light-text);
}

.footer-column-links h4,
.footer-column-contact h4 {
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Phone number styling */
.footer-phone {
    margin-bottom: 25px;
    text-align: center;
}

.footer-phone a {
    color: #aaa;
    font-size: 1.3rem; /* Larger font size */
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-phone a:hover {
    color: var(--primary-color);
}

.footer-phone i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.4rem; /* Larger icon */
}

/* Social media section */
.social-header {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Larger size */
    height: 50px; /* Larger size */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-links a:hover {
    background-color: var(--primary-color);
}

.footer-social-links i {
    font-size: 1.5rem; /* Larger icon size */
    color: var(--light-text);
}

/* Copyright section */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.footer-copyright p {
    color: #aaa;
    font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .footer-column-logo {
        width: 45%;
    }
    
    .footer-column-links,
    .footer-column-contact {
        width: 27.5%;
    }
    
    .footer-description p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .footer-column-logo {
        padding-right: 0;
    }
    
    .footer-logo-container {
        text-align: center;
    }
    
    .footer-logo {
        max-width: 350px;
        margin: 0 auto 20px;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-column-links,
    .footer-column-contact {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 40px 0 0;
    }
    
    .footer-column {
        padding: 0 15px;
    }
    
    .footer-logo {
        max-width: 280px;
    }
    
    .footer-description p {
        font-size: 1rem;
    }
    
    .footer-column h4 {
        font-size: 1.3rem;
    }
    
    .footer-links a,
    .footer-phone a {
        font-size: 1rem;
    }
}

/* Hide mobile header on desktop */
.about-header-mobile {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    /* Reorder contact section elements on mobile */
    .contact-grid {
        display: flex;
        flex-direction: column;
    }
    
    /* On mobile, we want to display the form first, then the info section */
    .contact-form-container {
        order: 1;
        margin-bottom: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    /* Create a mobile-only class that will be added via JavaScript */
    .mobile-contact-header {
        display: none;
    }
    
    /* On mobile, show the mobile header and hide it in the info section */
    @media (max-width: 767px) {
        .mobile-contact-header {
            display: block;
            text-align: center;
            margin-bottom: 20px;
        }
        
        .mobile-contact-intro {
            text-align: center;
            margin-bottom: 30px;
            color: var(--text-light);
        }
        
        /* Hide the original header and intro in the info section on mobile */
        .contact-info .section-header,
        .contact-info > p:first-of-type {
            display: none;
        }
        
        /* Add spacing between form and social links */
        .contact-form-container {
            margin-bottom: 40px;
        }
        
        .social-connect {
            margin-top: 10px;
        }
    }
    
    /* Mobile and desktop header visibility */
    .about-header-mobile {
        display: block;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .desktop-only {
        display: none;
    }
    
    /* Keep the original grid layout but without the header in about-content */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .expertise-areas {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero-logo-img {
        max-height: 120px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-logo-img {
        max-height: 80px;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
        width: 100%;
    }
    
    .footer-logo {
        width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        text-align: center;
    }
    
    .footer-logo-img {
        max-width: 90%;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-text {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .footer-logo p {
        width: 100%;
        max-width: 100%;
        font-size: 1.1rem;
        text-align: center;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .footer-nav, .footer-social {
        text-align: center;
    }
    
    .footer-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .expertise-areas {
        grid-template-columns: 1fr;
    }
    
    .audio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        padding: 0 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo-img {
        max-width: 80%;
        width: auto;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
    
    .footer-text {
        padding: 0 5px;
    }
    
    .footer-logo p {
        font-size: 1rem;
        padding: 0;
        width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    
    .footer-nav h4,
    .footer-social h4 {
        font-size: 1.4rem;
    }
    
    .footer-nav ul li {
        font-size: 1rem;
    }
}
