/* General Body & Typography */
body {
    font-family: 'Open Sans', sans-serif; /* Applied Open Sans */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.7;
    color: var(--text-dark); /* Default text color for light backgrounds (less common now) */
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Consistent inner padding */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Applied Montserrat */
    color: var(--primary-color); /* Headings default to your brand's purple */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700; /* Bolder headings */
}

h1 { font-size: 3.8em; }
h2 { font-size: 3em; }
h3 { font-size: 1.9em; } /* Slightly larger service titles */

p {
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 400; /* Regular weight for body text */
}

a {
    text-decoration: none;
    color: var(--primary-color); /* Links default to your primary purple */
    transition: color 0.3s ease, transform 0.3s ease; /* Added transform transition */
}

a:hover {
    color: var(--secondary-color); /* Links turn slightly lighter purple on hover */
    text-decoration: none; /* Removed underline on hover for cleaner look */
}

/* --- Brand Color Variables (Directly from your logo theme) --- */
:root {
    --primary-color: #5C2D91;   /* Your logo's vibrant purple */
    --secondary-color: #7B47B9; /* A slightly lighter shade of your purple for secondary elements/hovers */
    --accent-color: #F0BB3B;    /* An amber/gold for high-impact elements like buttons */
    --background-light: #f8f9fa; /* Still defined, but used less directly for backgrounds now */
    --text-dark: #333;           /* Dark gray for general body text on light backgrounds (now used mainly for input text) */
    --text-light: #FFFFFF;       /* Pure white for text on dark backgrounds */
    --shadow-light: rgba(0,0,0,0.06); /* Lighter, subtle shadow */
    --shadow-medium: rgba(0,0,0,0.1);
    --border-color: #e0e0e0; /* Light border color (used less directly now) */
}

/* Header Styling */
header {
    background-color: var(--text-light); /* White header background */
    padding: 18px 0; /* Slightly more padding */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 3px 10px var(--shadow-light); /* More refined shadow */
    position: sticky; /* Keeps header visible on scroll */
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px; /* Slightly larger logo */
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 40px; /* Increased spacing */
}

.nav-links a {
    color: var(--primary-color); /* Navigation links in purple */
    font-weight: 600;
    font-size: 1.05em; /* Slightly larger nav text */
    padding: 8px 0;
    position: relative;
    overflow: hidden; /* For underline animation */
}

.nav-links a::after { /* Underline effect for navigation */
    content: '';
    position: absolute;
    width: 100%;
    height: 3px; /* Thicker underline */
    bottom: -8px; /* Start slightly lower */
    left: 0;
    background-color: var(--primary-color);
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: transform 0.3s ease-out; /* Slide in animation */
}

.nav-links a:hover::after {
    transform: translateX(0%); /* Slide in from left */
}

.hamburger-menu { /* Hidden on desktop, shown on mobile */
    display: none;
    font-size: 32px; /* Larger icon */
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
    transition: transform 0.2s ease;
}
.hamburger-menu:hover {
    transform: scale(1.1);
}

/* Hero Section (First section, typically large and inviting) */
.hero {
    background-color: var(--primary-color); /* Hero section in your primary purple */
    color: var(--text-light); /* White text on purple background */
    text-align: center;
    padding: 140px 0; /* More vertical space */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px; /* Taller hero */
    position: relative;
    overflow: hidden; /* Ensures no overflow for potential background elements */
}

.hero h1 {
    font-size: 4.2em; /* Even larger heading */
    margin-bottom: 30px;
    color: var(--text-light); /* White heading for hero */
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1); /* Subtle text shadow */
}

.hero p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300; /* Lighter weight for intro text */
    opacity: 0.9;
}

/* Call to Action Button Styling */
.btn {
    display: inline-block;
    background-color: var(--accent-color); /* Buttons in accent gold/amber */
    color: var(--primary-color); /* Button text in purple */
    padding: 18px 40px; /* Larger, more prominent button */
    border-radius: 50px; /* Pill-shaped button */
    text-transform: uppercase;
    font-weight: 700; /* Bold button text */
    font-size: 1.15em;
    letter-spacing: 0.8px; /* More letter spacing */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Stronger initial shadow */
}

.btn:hover {
    background-color: #E2AC35; /* Slightly darker accent on hover */
    transform: translateY(-4px); /* More pronounced lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3); /* Larger shadow on hover */
}

/* General Section Styling - ALL MAIN SECTIONS ARE NOW PURPLE */
section {
    padding: 100px 0; /* Consistent padding for all sections */
    text-align: center;
    background-color: var(--primary-color); /* ALL sections will now be primary purple */
    color: var(--text-light); /* ALL text in these sections will be white */
}

section h2 {
    font-size: 3.5em; /* Larger section titles */
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px; /* More space for underline */
    display: inline-block;
    color: var(--text-light); /* Headings in purple sections will now be white */
}

section h2::after {
    content: '';
    position: absolute;
    width: 100px; /* Longer underline */
    height: 5px; /* Thicker underline */
    background-color: var(--accent-color); /* Underline uses accent color */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Services Section Specifics */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly larger min-width for cards */
    gap: 30px; /* Consistent gap */
    margin-top: 50px;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for service cards */
    padding: 40px; /* More padding inside cards */
    border-radius: 12px;
    box-shadow: 0 10px 25px var(--shadow-light); /* Softer, larger shadow */
    text-align: center; /* Centered content in service cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border for cards */
    display: flex; /* Use flexbox for vertical alignment */
    flex-direction: column;
    align-items: center;
    color: var(--text-light); /* Text inside service cards is white */
}

.service-item:hover {
    transform: translateY(-10px); /* More pronounced lift */
    box-shadow: 0 15px 35px var(--shadow-medium); /* Larger, more visible shadow on hover */
    background-color: rgba(255, 255, 255, 0.25); /* More transparent white on hover */
}

.service-icon {
    font-size: 3.5em; /* Larger icons */
    color: var(--accent-color); /* Service icons in accent color for visibility */
    margin-bottom: 25px; /* Space below icon */
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-item:hover .service-icon {
    color: var(--text-light); /* Icon color turns white on hover */
    transform: scale(1.05); /* Subtle icon zoom */
}

.service-item h3 {
    color: var(--text-light); /* Service item titles are white */
    margin-bottom: 15px;
    font-size: 1.8em; /* Adjusted service title size */
    font-weight: 600;
}

.service-item p {
    font-size: 1em;
    color: var(--text-light); /* Service item text is white */
    line-height: 1.6;
}

/* About Section Specifics */
.about-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--text-light); /* About section text is white */
}

/* Contact Section Specifics */
.contact-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-bottom: 120px;
}

.contact-section h2 {
    color: var(--text-light);
}

.contact-section h2::after {
    background-color: var(--accent-color);
}

/* Compact Contact Details Styling - Revamped for single line with separators */
.contact-details-compact {
    max-width: 1000px; /* Allow it to span more width for a single line */
    margin: 0 auto 60px; /* Centered with space before the form */
    padding: 25px 30px; /* Padding inside the compact box */
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white background */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex; /* Use flexbox for horizontal alignment */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Vertically align items */
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
    text-align: center; /* Fallback for text alignment within item */
}

.contact-details-compact p {
    font-family: 'Roboto', sans-serif; /* Applied Roboto font */
    font-size: 1.3em; /* Optimal size for readability */
    font-weight: 500; /* Medium boldness */
    color: var(--accent-color); /* Highlighted in accent color */
    margin: 0; /* Remove default paragraph margin */
    display: flex; /* Make the paragraph a flex container for icon and text */
    align-items: center; /* Align icon and text vertically */
    flex-shrink: 0; /* Prevent text from shrinking too much */
    line-height: 1.4; /* Good line height */
    padding: 5px 15px; /* Padding around each info block */
    box-sizing: border-box; /* Include padding in width calculations */
    white-space: nowrap; /* Keep text on one line if possible */
}

.contact-details-compact p i {
    font-size: 1.1em; /* Size of the icon */
    margin-right: 8px; /* Space between icon and text */
    color: var(--text-light); /* Icon itself remains white */
    flex-shrink: 0; /* Prevent icon from shrinking */
    padding-top: 3px; /* Slightly adjust icon vertical alignment if needed */
}

.contact-details-compact p a {
    color: var(--accent-color); /* Links also use accent color */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details-compact p a:hover {
    color: var(--text-light); /* Links turn white on hover */
    text-decoration: underline;
}

.contact-separator {
    color: rgba(255, 255, 255, 0.5); /* Muted separator color */
    margin: 0 20px; /* Space around the separator */
    font-size: 1.2em;
    font-weight: 300;
    flex-shrink: 0; /* Prevent separator from shrinking */
}


/* Contact Form Styling */
.contact-form {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: #888;
    opacity: 1;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(240, 187, 59, 0.4);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2em;
    background-color: var(--text-light);
    color: var(--primary-color);
}

.contact-form .btn:hover {
    background-color: #eee;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer Styling */
footer {
    background-color: #1a1a1a; /* Dark background for footer */
    color: var(--text-light); /* Light text in footer */
    padding: 60px 0;
    text-align: center;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr; /* Adjust column widths as per example image */
    gap: 40px; /* Space between columns */
    text-align: left; /* Align text within columns to the left */
    align-items: flex-start; /* Align content to the top of each column */
}

.footer-col {
    padding: 15px 0;
}

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em; /* Smaller heading for footer columns */
    color: var(--text-light); /* Headings in white */
    margin-bottom: 25px;
    font-weight: 600;
    position: relative; /* For the underline */
    padding-bottom: 5px;
}

.footer-col h3::after { /* Small underline for footer headings */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px; /* Length of underline */
    height: 3px; /* Thickness of underline */
    background-color: var(--accent-color);
    border-radius: 2px;
}


/* Column 1: Logo & Nav */
.footer-logo img {
    height: 70px; /* Larger logo in footer */
    width: auto;
    margin-bottom: 25px;
    display: block; /* Ensure it doesn't align inline */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px; /* Space between nav items */
}

.footer-nav a {
    color: var(--text-light); /* Nav links in white */
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color); /* Nav links turn accent gold on hover */
    text-decoration: underline;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-top: 30px; /* Space above copyright */
    line-height: 1.5;
}

/* Column 2: Contact Info */
.footer-contact-item {
    display: flex;
    align-items: flex-start; /* Align icon to top of potentially multi-line text */
    margin-bottom: 15px; /* Space between contact items */
}

.footer-contact-item i {
    font-size: 1.3em; /* Icon size */
    color: var(--accent-color); /* Icon color */
    margin-right: 15px; /* Space between icon and text */
    flex-shrink: 0; /* Prevent icon from shrinking */
    padding-top: 3px; /* Vertical alignment adjustment */
}

.footer-contact-item p {
    font-family: 'Roboto', sans-serif; /* Roboto font for contact text */
    font-size: 1em; /* Standard text size */
    color: var(--text-light); /* Contact text in white */
    margin: 0; /* Remove default margin */
    line-height: 1.4;
}

.footer-contact-item a {
    color: var(--text-light); /* Links in white */
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent-color); /* Links turn accent gold on hover */
    text-decoration: underline;
}

/* Column 3: Services & Social */
.footer-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 25px; /* Space before tagline */
}

.footer-services-list li {
    margin-bottom: 8px; /* Space between service links */
}

.footer-services-list a {
    color: var(--text-light);
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-services-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    margin-bottom: 25px; /* Space before social links */
    line-height: 1.5;
}

.footer-social-links {
    display: flex;
    gap: 10px; /* Space between social buttons */
    justify-content: flex-start; /* Align to the left like the image */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.footer-social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Square button size */
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    border-radius: 5px; /* Slightly rounded corners */
    color: var(--text-light); /* Icon color is white */
    font-size: 1.2em; /* Icon size */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.footer-social-links a:hover {
    background-color: var(--accent-color); /* Button turns accent gold on hover */
    color: var(--primary-color); /* Icon turns purple on hover */
    transform: translateY(-2px); /* Subtle lift */
    text-decoration: none; /* Ensure no underline on hover */
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 992px) {
    h1 { font-size: 3.2em; }
    h2 { font-size: 2.5em; }
    h3 { font-size: 1.7em; }

    .hero {
        padding: 100px 0;
        min-height: 450px;
    }

    .hero h1 {
        font-size: 3em;
    }

    .nav-links li {
        margin-left: 25px;
    }

    .service-item {
        padding: 30px;
    }

    /* Footer adjustments for medium screens */
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on medium screens */
    }

    .footer-col-1 {
        grid-column: 1 / span 2; /* Make first column span both columns */
        text-align: center; /* Center content of first column */
        margin-bottom: 30px;
    }

    .footer-col-1 .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col-1 .footer-nav ul {
        display: flex; /* Make nav links horizontal */
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }
    .footer-col-1 .footer-nav li {
        margin-bottom: 0;
    }


    .footer-col-2, .footer-col-3 {
        text-align: left; /* Keep these left-aligned */
    }
    .footer-col h3::after { /* Center underline for spanned column, keep left for others */
        left: unset;
        transform: unset;
        margin: 0 auto; /* Center only if it's a single column heading */
    }
    .footer-col-2 h3::after, .footer-col-3 h3::after {
        margin: 0; /* Reset margin for non-spanned column headings */
    }

    .footer-social-links {
        justify-content: flex-start; /* Ensure left alignment */
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo {
        width: auto;
        margin-bottom: 0;
    }

    .nav-links {
        top: 90px;
    }

    .hamburger-menu {
        position: static;
        margin-left: auto;
    }

    h1 { font-size: 2.8em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.5em; }

    .hero {
        padding: 80px 0;
        min-height: 380px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1.05em;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-item {
        padding: 25px;
    }

    section {
        padding: 70px 0;
    }

    /* Footer adjustments for small screens (stack all columns) */
    footer .container {
        padding: 0 20px; /* Adjust container padding */
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 40px; /* Space between stacked columns */
        text-align: center; /* Center content for all columns */
    }

    .footer-col-1, .footer-col-2, .footer-col-3 {
        grid-column: auto; /* Reset column spanning */
        margin-bottom: 0;
    }
    .footer-col h3::after { /* Center underline for all headings */
        left: 50%;
        transform: translateX(-50%);
        margin: 0; /* Reset margin for headings */
    }
    .footer-col-1 .footer-nav ul {
        flex-direction: column; /* Stack nav links vertically */
        gap: 8px;
    }
    .footer-social-links {
        justify-content: center; /* Center social buttons */
    }
    .footer-contact-item {
        justify-content: center; /* Center contact items in their flex container */
        text-align: center; /* Center text within contact items */
    }
    .footer-contact-item i {
        margin-right: 0; /* Remove horizontal margin */
        margin-bottom: 5px; /* Add vertical margin */
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }

    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .logo img {
        height: 55px;
    }

    .hamburger-menu {
        font-size: 28px;
    }
}