/* style.css */

/* 1. Variables & Root
-------------------------------------------------- */
:root {
    --font-primary: 'Work Sans', 'Tajawal', sans-serif;
    --font-secondary: 'Poppins', 'Cairo', sans-serif;

    /* Split-Complementary Theme: Teal Green (Base), Orange, Red/Coral */
    --color-base: #2A9D8F;        /* Teal Green - Primary */
    --color-primary: var(--color-base);
    --color-primary-dark: #207D70;  /* Darker Teal Green */
    
    --color-accent1: #F4A261;     /* Orange - Split Complement 1 */
    --color-accent1-dark: #E08A4C;/* Darker Orange */
    
    --color-accent2: #E76F51;     /* Red/Coral - Split Complement 2 (use sparingly) */

    --color-secondary-accent: #E9C46A; /* Yellow/Gold - from cookie banner */

    --color-text-light: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-darker: #222222; /* For strong headings */
    --color-text-muted: #6c757d;

    --color-background-body: #FFFFFF;
    --color-background-light: #F8F9FA;
    --color-background-medium: #E9ECEF;
    --color-background-dark: #212529; /* For footer or dark sections */
    
    --border-color: #dee2e6;
    --border-radius-small: 5px;
    --border-radius-medium: 8px;

    --box-shadow-light: 0 3px 6px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.12);
    --box-shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.15);

    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-speed-slow: 0.5s;
    --easing-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --easing-dynamic: cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy - use with care */

    --header-height: 80px;
    --container-max-width: 1140px;
    --container-padding: 15px;
}

/* 2. Base & Typography
-------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--color-text-darker);
    margin-bottom: 0.75em;
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; } /* Section titles */
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem; /* Base paragraph size */
}

a {
    color: var(--color-accent1);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease-in-out;
}
a:hover {
    color: var(--color-accent1-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Layout
-------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--color-text-darker);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--color-accent1);
    border-radius: var(--border-radius-small);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-top: -20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* Bulma columns compatibility & enhancements */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem; /* Default Bulma */
}
.columns:not(:last-child) {
    margin-bottom: calc(1.5rem - 0.75rem); /* Default Bulma */
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-two-thirds { flex: none; width: 66.6666%; }
.column.is-one-third { flex: none; width: 33.3333%; }
.column.is-half { flex: none; width: 50%; }
.columns.is-multiline { flex-wrap: wrap; }
.columns.is-centered { justify-content: center; }
.columns.is-vcentered { align-items: center; }


/* 4. Header
-------------------------------------------------- */
.site-header {
    background-color: var(--color-background-body);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow-light);
    height: var(--header-height);
    transition: background-color var(--transition-speed-normal) var(--easing-smooth);
}

.site-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo img {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin-right: 25px; /* RTL: margin-left */
}
.main-navigation li:last-child {
    margin-right: 0; /* RTL: margin-left */
}

.main-navigation a {
    font-family: var(--font-secondary);
    color: var(--color-text-dark);
    font-weight: 500;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-speed-fast) var(--easing-smooth);
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent1);
    transition: width var(--transition-speed-normal) var(--easing-smooth);
}
.main-navigation a:hover,
.main-navigation a.active-link { /* Add .active-link class with JS */
    color: var(--color-accent1);
}
.main-navigation a:hover::after,
.main-navigation a.active-link::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Shown on mobile */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-darker);
    cursor: pointer;
}


/* 5. Footer
-------------------------------------------------- */
.site-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding: 50px 0 20px;
}

.site-footer h4 {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.site-footer p {
    color: #adb5bd; /* Lighter shade for paragraphs in footer */
    font-size: 0.95rem;
}

.footer-links li,
.social-media-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a,
.social-media-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease, padding-right var(--transition-speed-fast) ease; /* RTL: padding-left */
}
.footer-links a:hover,
.social-media-links a:hover {
    color: var(--color-accent1);
    padding-right: 5px; /* RTL: padding-left */
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #495057; /* Slightly lighter border */
}
.footer-bottom p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* 6. Global Components
-------------------------------------------------- */

/* Buttons */
.button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-speed-normal) var(--easing-smooth), 
                transform var(--transition-speed-fast) var(--easing-smooth),
                box-shadow var(--transition-speed-normal) var(--easing-smooth);
    user-select: none;
}

.button-primary,
button.button-primary, /* For <button> elements */
input[type="submit"] { /* Default for submit buttons */
    background-color: var(--color-accent1);
    color: var(--color-text-light);
}
.button-primary:hover,
button.button-primary:hover,
input[type="submit"]:hover {
    background-color: var(--color-accent1-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--color-text-light); /* Ensure text color remains on hover */
    text-decoration: none;
}

.button-secondary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.button-secondary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--color-text-light);
}

.is-fullwidth {
    width: 100%;
}

/* Forms */
.field {
    margin-bottom: 1.5rem;
}
.label {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-darker);
    font-size: 0.95rem;
}
.input, .textarea {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-background-body);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    transition: border-color var(--transition-speed-normal) var(--easing-smooth), 
                box-shadow var(--transition-speed-normal) var(--easing-smooth);
}
.input:focus, .textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb, 42, 157, 143), 0.25); /* Fallback --color-primary-rgb if needed */
}
/* Define --color-primary-rgb in :root if you use it or compute manually: */
/* :root { --color-primary-rgb: 42, 157, 143; } /* For #2A9D8F */

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

/* Cards (Base Style - to be extended by specific card types) */
.card {
    background-color: var(--color-background-body);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed-normal) var(--easing-smooth), 
                box-shadow var(--transition-speed-normal) var(--easing-smooth);
    display: flex; /* For centering content as per strict requirement */
    flex-direction: column;
    /* align-items: center;  STRICT: this centers card-content too. Better to center within card-content if needed */
    height: 100%; /* For equal height cards in a row */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}
.card-image { /* Container for the image */
    width: 100%;
    overflow: hidden; /* Ensures image respects border radius if applied here */
    /* align-self: stretch; Remove if align-items: center is on .card */
}
.card-image img {
    width: 100%;
    height: 200px; /* Default fixed height, adjust per card type */
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed-slow) var(--easing-smooth);
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: 20px;
    flex-grow: 1; /* Allows content to fill space if card heights are matched */
    /* text-align: center; /* STRICT: if all card text should be centered */
}
.card-content h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--color-text-darker);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* 7. Section Specific Styling
-------------------------------------------------- */

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--color-text-light);
    /* min-height: 70vh; Ensure natural height, remove if too much space */
    padding: 120px 0; /* Adjust padding for content */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Parallax effect can be enhanced with JS */
}
.hero-section .overlay { /* Already in HTML inline, this is a fallback/enhancement */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));
    z-index: 1;
}
.hero-section .container.content-container { /* Ensure HTML has this class structure */
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-light) !important; /* Override specificity */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--color-text-light) !important; /* Override specificity */
    opacity: 0.9;
}
.hero-section .button-primary {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* About Us Section */
#about-us .content-block h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}
#about-us .image-block img {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
}

/* Services Section */
.service-card .card-image img {
    height: 220px; /* Specific height for service card images */
}
.service-card h3 {
    color: var(--color-primary);
}

/* Our Process Section (Accordion) */
.process-accordion .accordion-item {
    background-color: var(--color-background-body);
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
}
.process-accordion .accordion-header {
    background-color: transparent; /* or var(--color-background-light) */
    width: 100%;
    padding: 18px 25px;
    text-align: right; /* RTL */
    border: none;
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-darker);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed-fast);
}
.process-accordion .accordion-header:hover {
    background-color: var(--color-background-light);
}
.process-accordion .accordion-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-speed-normal) var(--easing-smooth);
}
.process-accordion .accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.process-accordion .accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed-normal) var(--easing-smooth), 
                padding var(--transition-speed-normal) var(--easing-smooth);
}
.process-accordion .accordion-item.active .accordion-content {
    padding: 20px 25px;
    max-height: 500px; /* Adjust as needed for content */
}
.process-accordion .accordion-content img {
    border-radius: var(--border-radius-small);
    margin-top: 10px;
}

/* Projects Section (Carousel) */
/* Basic styling for carousel items, JS will handle actual carousel logic */
.project-carousel .carousel-item {
    padding: 0 10px; /* Gutter between items */
}
.project-card .card-image img {
    height: 240px;
}
/* For actual carousel (e.g., Slick, Swiper), you'd have more specific styles */
.content-carousel { /* Placeholder - a library like Swiper or Slick is better */
    display: flex; /* Simplified for example, real carousels are more complex */
    overflow-x: auto; /* Horrible for UX, but shows items. Use a library. */
}

/* Success Stories (Testimonials) */
.testimonial-card {
    background-color: var(--color-background-light);
    display: flex;
    flex-direction: row; /* Horizontal layout for image and text */
    align-items: flex-start; /* Align items to top */
    padding: 25px;
    text-align: right; /* RTL */
}
.testimonial-card .card-image { /* This is now the container for the portrait */
    width: 100px; /* Fixed width for portrait */
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 20px; /* RTL: margin-right */
    flex-shrink: 0;
}
.testimonial-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-card .card-content {
    padding: 0;
    flex-grow: 1;
}
.testimonial-card .card-content p {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    font-size: 1rem;
}
.testimonial-card .card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

/* Sustainability & Community Sections */
/* Similar layout to About Us, can reuse styles or add specifics if needed */
#sustainability .image-block img,
#community .image-block img {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
}

/* Press Section */
.press-card {
    text-align: center;
    padding: 20px;
}
.press-card .card-image { /* container for logo */
    height: 60px; /* Adjust for logo size */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.press-card .card-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain; /* Logos should not be cropped */
}
.press-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.press-card p {
    font-size: 0.9rem;
}
.press-card p a {
    font-weight: 500;
}

/* Blog Section */
.blog-post-card .card-image img {
    height: 200px;
}
.blog-post-card .read-more {
    display: inline-block;
    margin-top: 15px;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--color-accent1);
    text-decoration: none;
    position: relative;
}
.blog-post-card .read-more::after {
    content: '←'; /* RTL arrow */
    margin-right: 8px; /* RTL */
    transition: margin-right var(--transition-speed-fast) ease; /* RTL */
}
.blog-post-card .read-more:hover::after {
    margin-right: 12px; /* RTL */
}

/* External Resources Section */
.external-link-card {
    background-color: var(--color-background-body); /* Or var(--color-background-light) */
}
.external-link-card h4 a {
    font-size: 1.15rem;
    color: var(--color-primary); /* Use primary for these links or accent */
}
.external-link-card h4 a:hover {
    color: var(--color-primary-dark);
}
.external-link-card p {
    font-size: 0.9rem;
}

/* Contact Section */
#contact .contact-details h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}
#contact .contact-details p {
    margin-bottom: 10px;
    font-size: 1rem;
}
#contact .contact-details p strong {
    color: var(--color-text-darker);
}
#contact .contact-details a {
    color: var(--color-accent1);
}
#contact .contact-details a:hover {
    color: var(--color-accent1-dark);
}
#contact .map-placeholder img {
    border-radius: var(--border-radius-small);
    width: 100%;
    height: auto; /* Maintain aspect ratio, max-height if needed */
    max-height: 250px;
    object-fit: cover;
}

/* 8. Page Specific Styles
-------------------------------------------------- */
/* success.html */
.success-page-container { /* Add this class to a wrapper div on success.html */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 149px); /* Full height minus header and approx footer */
    /* If footer height is dynamic, a more robust JS solution or different CSS approach is needed for precise centering */
    /* Alternatively, if success page has no footer, min-height: calc(100vh - var(--header-height)); */
    text-align: center;
    padding: 40px var(--container-padding);
}
.success-page-container h1 {
    color: var(--color-primary);
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.success-page-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}
.success-page-container .icon-success { /* For an optional success icon */
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* privacy.html, terms.html */
.privacy-page-content, .terms-page-content { /* Add these classes to main content wrapper on these pages */
    padding-top: calc(var(--header-height) + 40px); /* Header height + extra space */
    padding-bottom: 60px;
}
.privacy-page-content h1, .terms-page-content h1 {
    margin-bottom: 30px;
    text-align: center;
}
.privacy-page-content h2, .terms-page-content h2 {
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* 9. Animations & Transitions (Base for Scroll Reveal)
-------------------------------------------------- */
[data-scroll-reveal] {
    opacity: 0;
    transition: opacity var(--transition-speed-slow) var(--easing-smooth), 
                transform var(--transition-speed-slow) var(--easing-smooth);
}
[data-scroll-reveal="fade-in"] { transform: translateY(20px); }
[data-scroll-reveal="enter-left"] { transform: translateX(-40px); } /* RTL: translateX(40px) */
[data-scroll-reveal="enter-right"] { transform: translateX(40px); } /* RTL: translateX(-40px) */
[data-scroll-reveal="enter-bottom"] { transform: translateY(40px); }

/* When element is in view (JS will add a class like 'is-visible') */
.is-visible[data-scroll-reveal] {
    opacity: 1;
    transform: translate(0, 0) !important; /* Ensure it overrides initial transform */
}

/* Microinteractions for forms - already handled by :focus states */

/* 10. Utilities
-------------------------------------------------- */
.bg-light { background-color: var(--color-background-light) !important; }
.bg-dark { background-color: var(--color-background-dark) !important; color: var(--color-text-light); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark p { color: var(--color-text-light); }
.bg-dark a { color: var(--color-accent1); }
.bg-dark a:hover { color: var(--color-secondary-accent); }

.text-center { text-align: center !important; }
.text-right { text-align: right !important; } /* RTL: text-left */
.text-left { text-align: left !important; } /* RTL: text-right */

.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
/* Add more margin/padding utilities as needed */

/* 11. Responsive Design (Media Queries)
-------------------------------------------------- */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2, .section-title { font-size: 2rem; }
    .hero-section h1 { font-size: 2.6rem; }
    .hero-section p { font-size: 1.1rem; }

    .column.is-two-thirds,
    .column.is-one-third,
    .column.is-half {
        width: 100%;
        flex: none;
    }
    .columns .column:not(:last-child) {
        margin-bottom: 20px; /* Space between stacked columns */
    }
    #about-us .image-block,
    #sustainability .image-block,
    #community .image-block {
        margin-top: 30px; /* Or order change with flex order */
    }
    /* Reverse column order for some sections on mobile if needed */
    #about-us .columns,
    #sustainability .columns,
    #community .columns {
        flex-direction: column-reverse; /* If image should be on top for these */
    }
     #about-us .columns .image-block, /* Reset margin if order is reversed */
     #sustainability .columns .image-block,
     #community .columns .image-block {
        margin-top: 0;
        margin-bottom: 30px;
    }


    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .testimonial-card .card-image {
        margin-left: 0; /* RTL: margin-right: 0; */
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 10px 0;
        height: auto; /* Adjust for mobile menu */
    }
    .main-navigation {
        display: none; /* JS will toggle this */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--color-background-body);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
    }
    .main-navigation.is-active { /* Class added by JS */
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    .main-navigation li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation a {
        padding: 12px var(--container-padding);
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .main-navigation li:last-child a {
        border-bottom: none;
    }
    .main-navigation a::after {
        display: none; /* Remove underline effect on mobile nav items */
    }
    .menu-toggle {
        display: block;
    }

    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero-section {
        padding: 80px 0;
    }
    .hero-section h1 { font-size: 2.2rem; }

    .site-footer .columns > .column {
        margin-bottom: 30px;
        text-align: center;
    }
    .site-footer .columns > .column:last-child {
        margin-bottom: 0;
    }

    /* Accordion text size adjustment */
    .process-accordion .accordion-header {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .process-accordion .accordion-content {
        padding: 0 20px;
    }
     .process-accordion .accordion-item.active .accordion-content {
        padding: 15px 20px;
    }

    #contact .columns {
      flex-direction: column-reverse; /* Form on top on mobile */
    }
    #contact .contact-details {
      margin-bottom: 30px;
      text-align: center;
    }

}
*{
    opacity: 1 !important;
}