/* General Body and Container Styles */
body {
    font-family: 'Open Sans', sans-serif; /* Applied to all body text by default */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333333; /* Dark grey for excellent readability */
    background-color: #f8f8f8; /* Very soft, almost off-white grey background */
    box-sizing: border-box; /* Include padding and border in element's total width/height */
}

*, *::before, *::after {
    box-sizing: inherit; /* Inherit box-sizing for all elements */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px; /* Consistent horizontal padding */
}

/* Headings - Montserrat Font & Primary Blue Color */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50; /* Deep charcoal blue/grey for headings */
    font-weight: 600; /* Default heading weight */
    margin-top: 0;
    margin-bottom: 20px;
}

section h2 {
    text-align: center;
    font-size: 2.8em; /* Larger for main section titles */
    margin-bottom: 30px;
}

section h3 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 25px;
}

/* Header and Navigation */
header {
    background-color: #2c3e50; /* Deep charcoal blue/grey */
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* Makes header stick to the top when scrolling */
    top: 0;
    z-index: 1000; /* Ensures header is on top of other content */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
}

.logo-link {
    display: block; /* Ensures the link block occupies its space */
    margin-right: 20px; /* Space between logo and nav */
}

.logo {
    max-height: 200px; /* Adjust logo size */
    width: auto;
    transition: transform 0.3s ease; /* Smooth transition for logo hover */
}

.logo:hover {
    transform: scale(2.0); /* Slightly enlarge logo on hover */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end; /* Align nav items to the right */
    flex-wrap: wrap;
    gap: 15px; /* Space between nav items */
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #e67e22; /* Vibrant orange accent */
    color: #2c3e50; /* Dark blue text on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Main Content Sections */
main {
    padding: 40px 0;
}

section {
    padding: 50px 0;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #555555;
}

/* Hero Section */
#hero {
    text-align: center;
    background-color: #34495e; /* Slightly lighter dark blue */
    color: #ffffff;
    padding: 100px 20px;
    border-radius: 0; /* Remove border-radius from general section */
    box-shadow: none; /* Remove box-shadow from general section */
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero h2 {
    color: #ffffff;
    font-size: 3.5em;
    margin-bottom: 25px;
    line-height: 1.2;
    max-width: 800px;
}

#hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 900px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #e67e22; /* Vibrant orange accent */
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Smooth transitions */
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400; /* Darker orange */
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.primary-btn {
    background-color: #27ae60; /* Green accent for primary action */
}

.primary-btn:hover {
    background-color: #229954; /* Darker green */
}

/* Cards (for services, demos, testimonials) */
.card {
    background-color: #fdfdfd;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for cards */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Intro Services Section (Home Page) */
#intro-services .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

#intro-services .card {
    flex: 1 1 300px; /* Allows cards to grow/shrink but maintain min width */
    text-align: center;
}

#intro-services .card h4 {
    color: #e67e22; /* Orange accent */
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* Call to Action Section */
#cta {
    text-align: center;
    background-color: #34495e;
    color: #ffffff;
    padding: 60px 20px;
    margin-bottom: 0; /* No margin at the bottom of the last section */
    border-radius: 0;
    box-shadow: none;
}

#cta h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

#cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Demo Page Styles */
.demo-category {
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.demo-category h3 {
    color: #2c3e50;
    text-align: left;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 10px;
    font-size: 1.8em;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.demo-item {
    text-align: center;
}

.demo-item h4 {
    margin-top: 0;
    color: #34495e;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.demo-item audio {
    width: 100%;
    margin-top: 15px;
    outline: none;
    border-radius: 5px;
}

.demo-item p {
    font-size: 0.95em;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.cta-section-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555555;
}

.cta-section-text a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cta-section-text a:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Services Page Styles */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item h3 {
    color: #e67e22;
    margin-top: 0;
    font-size: 1.6em;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item ul li {
    padding: 8px 0;
    border-bottom: 1px dotted #dddddd;
    color: #555555;
    font-size: 0.98em;
}

.service-item ul li:last-child {
    border-bottom: none;
}

/* About Page Styles */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
    justify-content: center;
}

.about-text {
    flex: 2 1 500px; /* Allows text to take more space */
    font-size: 1.1em;
    color: #444444;
    text-align: left;
}

.about-text p {
    text-align: left; /* Override general section p styling */
    margin-bottom: 18px;
    line-height: 1.7;
}

.about-images {
    flex: 1 1 300px; /* Allows images to take less space */
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.about-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover; /* Ensures images cover their area well */
}

.profile-photo {
    max-height: 380px; /* Example height */
}

.studio-photo {
    max-height: 280px; /* Example height */
}


/* Testimonials Page Styles */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item blockquote {
    font-style: italic;
    margin: 0 0 15px 0;
    color: #555555;
    line-height: 1.8;
    text-align: center;
    font-size: 1.05em;
    padding: 0 10px; /* Small padding inside blockquote */
}

.testimonial-item .client-name {
    font-weight: 600;
    color: #e67e22; /* Orange accent */
    text-align: center;
    margin-top: auto; /* Pushes name to the bottom */
    font-size: 0.95em;
}

/* Contact Page Styles */
#contact form {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #34495e;
    font-size: 1.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif; /* Ensure form inputs use Open Sans */
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

#contact form button {
    width: 100%;
    padding: 18px;
    font-size: 1.15em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #2c3e50; /* Dark blue from header */
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#contact form button:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#form-status {
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    padding: 10px;
    border-radius: 5px;
}

.contact-alt {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
    color: #666;
}

.contact-alt a {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-alt a:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #34495e; /* Secondary blue for footer */
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    font-size: 0.9em;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}

footer .social-links {
    margin-top: 15px;
}

footer .social-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #e67e22; /* Orange accent on hover */
}


/* Responsive Design - Media Queries */
@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 0.8rem 0;
    }

    .logo {
        max-height: 55px; /* Slightly smaller logo on tablets */
    }

    nav ul {
        gap: 10px; /* Reduce gap between nav items */
        justify-content: center; /* Center nav items on smaller screens */
    }

    #hero h2 {
        font-size: 2.8em;
    }

    #hero p {
        font-size: 1.2em;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* Stack logo and nav vertically */
        text-align: center;
        gap: 15px;
    }

    .logo-link {
        margin-right: 0; /* Remove horizontal margin */
        margin-bottom: 10px; /* Add vertical margin */
    }

    nav ul {
        flex-direction: column; /* Stack nav items vertically */
        width: 100%; /* Make nav take full width */
    }

    nav ul li {
        margin: 0; /* Remove horizontal margin */
        width: 100%; /* Make list items full width */
    }

    nav ul li a {
        display: block; /* Make links block level to fill width */
        padding: 10px 0;
    }

    #hero {
        padding: 70px 15px;
    }

    #hero h2 {
        font-size: 2.3em;
    }

    #hero p {
        font-size: 1.1em;
    }

    .hero-btns {
        flex-direction: column; /* Stack buttons vertically */
        width: 100%;
    }

    .btn {
        width: 100%; /* Make buttons full width */
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%; /* Limit card width on very small screens */
    }

    .demo-grid, .service-detail-grid, .testimonial-grid {
        grid-template-columns: 1fr; /* Stack all grids vertically */
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-text p {
        text-align: center; /* Center text within about section */
    }

    .about-images {
        flex-direction: row; /* Keep images side-by-side if they fit, otherwise they will wrap */
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .about-images img {
        max-width: 48%; /* Allow two images side-by-side if small enough */
    }
    .profile-photo, .studio-photo {
        max-height: 250px; /* Adjust height for mobile images */
    }

    #contact form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    #hero h2 {
        font-size: 1.8em;
    }
    #hero p {
        font-size: 1em;
    }
    section h2 {
        font-size: 2em;
    }
    .about-images img {
        max-width: 95%; /* Stack images fully on very small screens */
    }
    .profile-photo, .studio-photo {
        max-height: 200px;
    }
}