:root {
    --primary-color: #FF6B6B; /* A vibrant orange/red from logo */
    --secondary-color: #8338EC; /* A vibrant purple from logo */
    --accent-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --dark-color: #222;
    --light-color: #f8f9fa;
    --grey-color: #6c757d;
    --text-color: #333;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition-speed: 0.3s ease;
}

/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem; /* Responsive later */
    font-weight: 900;
    color: var(--dark-color);
}

h2 {
    font-size: 2.5rem; /* Responsive later */
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

h2::after { /* Underline accent for section titles */
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color); /* Changed from --accent-gradient for a cleaner look */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
    color: var(--grey-color);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: center;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.logo-tagline {
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--grey-color);
    text-transform: none;
    letter-spacing: 0;
    margin-top: -0.3rem;
    opacity: 0.8;
    line-height: 1;
}

.logo-icon {
    width: 80px;
    height: 80px;
    transition: all var(--transition-speed);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
    letter-spacing: -0.5px;
    transition: all var(--transition-speed);
}

.logo-container:hover .logo-text {
    transform: scale(1.05);
}

.logo-container:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}


.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    position: relative;
    transition: transform var(--transition-speed);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    left: 0;
    transition: transform var(--transition-speed), top var(--transition-speed), bottom var(--transition-speed);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile Nav Open State */
.nav-open .hamburger {
    transform: rotate(45deg);
}
.nav-open .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}
.nav-open .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
    opacity: 0; /* Or rotate to form X, depending on preference */
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: none;
    cursor: pointer;
    margin-right: 10px; /* Spacing between buttons */
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* Hero Section */
.hero-section {
    min-height: 80vh; /* Adjust as needed, can be 100vh too */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    padding: 4rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-background.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center; /* Center text within the section */
    color: var(--light-color); /* Default text color for the section */
}

.hero-content {
    display: flex;
    flex-direction: column; /* Stack hero-text vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically if hero-section has fixed height */
    gap: 1.5rem; /* Adjust gap as needed */
    width: 100%; /* Allow content to take full width of container */
    max-width: 800px; /* Optional: constrain width of text block */
    margin: 0 auto; /* Center the content block if max-width is used */
}

.hero-text {
    /* Most text alignment will be handled by .hero-section or .hero-content */
    /* flex: 1; and max-width: 600px; might not be needed or adjusted */
    max-width: 100%; /* Allow text to use available space */
}

.hero-section h1 { /* More specific selector for hero h1 */
    color: #fff; /* Ensure h1 is white */
    font-size: 3.5rem; /* Optional: Adjust size */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Add shadow for readability */
}

.hero-text .tagline {
    font-size: 1.3rem; /* Optional: Adjust size */
    margin-bottom: 2rem;
    color: var(--light-color); /* Ensure tagline is light */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Add shadow for readability */
}

/* .hero-image-placeholder and .hero-main-graphic rules are removed as they are no longer used. */
/* Ensure they are fully deleted from the CSS file if they exist elsewhere. */


/* Section Padding */
#about, #services, #process, #contact {
    padding: 4rem 0;
}

/* About Section */
.about-section {
    background-color: #fff;
}

/* Services Section */
.services-section {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.services-section .container {
    max-width: 1200px;
}

.services-section .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.services-section h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.services-section .section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
}

/* New horizontal service boxes */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-box {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}

.service-box:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.service-box:nth-child(even) {
    flex-direction: row-reverse;
}

.service-box:nth-child(even):hover {
    transform: translateX(-10px);
}

.service-icon-wrapper {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
}

.service-box .service-icon {
    font-size: 2.5rem;
    color: white;
    -webkit-text-fill-color: white;
}

.service-content {
    padding: 2rem;
    flex: 1;
}

.service-box h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.service-box h3::after {
    content: '';
    height: 1px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    flex: 1;
    margin-left: 1rem;
    opacity: 0.3;
}

.service-box:nth-child(even) h3::after {
    background: linear-gradient(to left, var(--primary-color), transparent);
}

.service-box p {
    color: var(--grey-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-btn:hover i {
    transform: translateX(5px);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .service-box, 
    .service-box:nth-child(even) {
        flex-direction: column;
    }
    
    .service-icon-wrapper {
        flex: 0 0 auto;
        width: 100%;
        padding: 1.5rem;
    }
    
    .service-box:hover,
    .service-box:nth-child(even):hover {
        transform: translateY(-5px);
    }
}

/* Process Section */
.process-section {
    background-color: #fff;
}
.process-steps {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}
.step {
    flex: 1;
    padding: 1.5rem;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.step h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Why Us Section */
.why-us-section {
    padding: 4rem 0; /* Standard section padding */
    background-color: var(--light-color); /* Alternate background */
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Spacing between items */
    margin-top: 2rem; /* Space below the section title */
}

.why-us-item {
    display: flex;
    align-items: flex-start; /* Align icon and text block to the top */
    gap: 1rem; /* Space between icon and text */
    background-color: #fff; /* White background for each item card */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.why-us-item .list-icon {
    font-size: 2rem; /* Icon size */
    color: var(--primary-color); /* Use primary color for icons */
    margin-top: 0.25rem; /* Slight adjustment for alignment with text */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.why-us-item h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.why-us-item p {
    font-size: 0.95rem;
    color: var(--grey-color);
    margin-bottom: 0; /* Remove default paragraph bottom margin */
}

/* Contact Section */
.contact-section {
    background: var(--accent-gradient); /* Using gradient for a strong CTA feel */
    color: white;
}
.contact-section h2 {
    color: white;
}
.contact-section h2::after { /* Adjust underline for light text on dark bg */
    background: white;
}
.contact-section .section-intro {
    color: rgba(255,255,255,0.9);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}
.form-group {
    margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-secondary);
    font-size: 1rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
}
.contact-form select option {
    background-color: var(--dark-color);
    color: white;
}
.contact-form button {
    background-color: white;
    color: var(--primary-color); /* Or var(--secondary-color) */
    border: none;
}
.contact-form button:hover {
    background-color: rgba(255,255,255,0.9);
    color: var(--primary-color);
}

/* Form Message Styles */
.form-message {
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.form-message i {
    font-size: 1.1rem;
}

/* Button Loading State */
.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 80px;
    height: 80px;
}

.footer-logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 2.1rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: lowercase;
    letter-spacing: -0.5px;
}

.footer-logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-logo-tagline {
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--light-color);
    text-transform: none;
    letter-spacing: 0;
    margin-top: -0.3rem;
    opacity: 0.7;
    line-height: 1;
}

.footer-brand p {
    color: var(--light-color);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-legal a {
    color: var(--light-color);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity var(--transition-speed);
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-color);
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--light-color);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    /* h1 { font-size: 2.5rem; } // General h1, hero h1 is now more specific */
    /* h2 { font-size: 2rem; } */
    .hero-section h1 { /* Adjust hero h1 for tablets */
        font-size: 3rem;
    }
    .hero-text .tagline { /* Adjust hero tagline for tablets */
        font-size: 1.2rem;
    }
    /* .hero-content flex-direction: column was already there for this breakpoint if side-by-side */
    /* .hero-text max-width: 100% was already there */
    /* .hero-image-placeholder and .hero-main-graphic media query styles are removed */
    .process-steps {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .logo-icon {
        width: 56px;
        height: 56px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding-bottom: 1rem; /* Add some padding */
    }
    .nav-links.active { /* JS will toggle this class */
        display: flex;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .nav-toggle {
        display: block; /* Show hamburger */
    }

    /* h1 { font-size: 2.2rem; } // General h1 */
    .hero-section h1 { /* Adjust hero h1 for mobile */
        font-size: 2.5rem;
    }
    .hero-text .tagline { /* Adjust hero tagline for mobile */
        font-size: 1.1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .why-us-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
}

@media (max-width: 576px) {
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .footer-logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .logo-tagline {
        font-size: 0.55rem;
    }
    
    .footer-logo-text {
        font-size: 1.7rem;
    }
    
    .footer-logo-tagline {
        font-size: 0.55rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .services-grid {
        grid-template-columns: 1fr; /* Stack cards on very small screens */
    }
    #about, #services, #process, #contact {
        padding: 3rem 0;
    }
    .contact-form button {
        width: 100%;
    }
}