/* Hero text color override for 13.png background */
.top-background.bg-white-hero .hero-content h1,
.top-background.bg-white-hero .hero-content p {
    color: #111 !important;
    text-shadow: 0 2px 12px rgba(255,255,255,0.12), 0 1px 2px rgba(0,0,0,0.08);
}
.top-background.bg-white-text .hero-content h1,
.top-background.bg-white-text .hero-content p {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.28), 0 1px 2px rgba(0,0,0,0.18);
}
@media (min-width: 769px) {
    .mobile-header-bar,
    .mobile-drawer {
        display: none !important;
    }
}
/* Mobile Drawer Styles */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1200;
}
.mobile-drawer.open {
    display: block;
}
.mobile-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 1;
    padding: 36px 0 0 0;
}
.mobile-drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: var(--light-text);
    box-shadow: 2px 0 16px var(--shadow-medium);
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 24px 0 0 0;
    animation: slideInDrawer 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInDrawer {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 2em;
    color: var(--secondary-color);
    align-self: flex-end;
    margin: 0 22px 18px 0;
    cursor: pointer;
}
.mobile-drawer-nav {
    list-style: none;
    padding: 0 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.mobile-drawer-nav li a {
    color: var(--secondary-color);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.18em;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    padding: 6px 0 6px 0;
    border-radius: 6px;
}
.mobile-drawer-nav li a:hover {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    header {
        display: none !important;
    }
    .nav-list.nav-text,
    .nav-list.nav-icons {
        display: none !important;
    }
    .mobile-header-bar {
        display: flex;
    }
    .mobile-drawer {
        display: none;
    }
    .mobile-drawer.open {
        display: block;
    }
}
/* Mobile header bar (like provided image) */
.mobile-header-bar {
    display: none;
}
.mobile-header-bar {
background: var(--light-bg);
width: 100vw;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 18px;
box-shadow: 0 2px 10px var(--shadow-light);
position: relative;
z-index: 1100;
margin-right: 0;
position: relative;
}
.mobile-header-icon {
background: none;
border: none;
padding: 10px 14px;
font-size: 1.7em;
color: var(--secondary-color);
display: flex;
align-items: center;
cursor: pointer;
}
.mobile-header-icon.mobile-hamburger {
    position: absolute;
    left: 20px;
    margin-left: 0 !important;
}
.mobile-header-icon.mobile-search {
    position: absolute;
    right: 40px;
    margin-right: 0 !important;
}
.mobile-header-center {
display: flex;
align-items: center;
justify-content: center;
flex: 1 1 auto;
min-width: 0;
gap: 10px;
position: absolute;
left: 44%;
transform: translateX(-50%);
margin-right: 0;
}
.mobile-header-logo {
height: 50px;
width: auto;
border-radius: var(--border-radius-sm);
margin-right: 10px;
}
.mobile-header-title {
font-family: 'Bricolage Grotesque', sans-serif;
font-size: 1.12em;
font-weight: 700;
color: var(--secondary-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .mobile-header-bar {
        display: flex;
    }
    header .logo-title-wrapper {
        display: none;
    }
    nav {
        flex-direction: row;
        align-items: center;
        padding: 0 0px;
        width: 100vw;
        overflow-x: auto;
        justify-content: center;
        margin-top: 0;
    }
    .nav-list {
        flex-direction: row !important;
        width: auto;
        margin-top: 0;
        text-align: left;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: center;
        gap: 0;
    }
    .nav-list li {
        margin: 0 8px;
        flex: 0 0 auto;
    }
    .nav-list.nav-icons li {
        margin-left: 0;
    }
    .nav-list::-webkit-scrollbar {
        display: none;
    }
    .nav-list {
        scrollbar-width: none;
    }
    .nav-button {
        display: none;
    }
    header {
        padding: 6px 0 6px 0;
    }
    body {
        overflow-x: hidden;
    }
}
@media (min-width: 769px) {
    .mobile-logo-bar {
        display: none !important;
    }
}
/* Logo and title wrapper for header */
.logo-title-wrapper {
    display: flex;
    align-items: center;
}
.site-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-left: 12px;
}

@media (max-width: 768px) {
    .logo-title-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-bottom: 8px;
    }
    .site-title {
        font-size: 1.1em;
        margin-left: 0;
        margin-top: 4px;
        text-align: center;
    }
    nav {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }
    .nav-list {
        flex-direction: row !important;
        width: auto;
        margin-top: 0;
        text-align: left;
    }
    .nav-list li {
        margin: 0 12px;
    }
    .nav-button {
        display: none;
    }
}
/* Nav text and icon visibility for responsive header */
.nav-list.nav-icons {
    display: none;
}
.nav-list.nav-text {
    display: flex;
}

@media (max-width: 768px) {
    .nav-list.nav-text {
        display: none;
    }
    .nav-list.nav-icons {
        display: flex;
    }
    .nav-list.nav-icons li {
        margin-left: 35px;
    }
    .nav-list.nav-icons i {
        font-size: 1.5em;
        color: var(--dark-text);
    }
}
/* Custom Properties (Variables) */
:root {
    --primary-color: #FF7A00; /* Orange from the design */
    --secondary-color: #2c3e50; /* Dark blue-grey */
    --accent-color: #1abc9c; /* Green accent */
    --light-bg: #f8f8f8; /* Light background for sections */
    --dark-text: #333;
    --light-text: #fff;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0,0,0,0.08);
    --shadow-medium: rgba(0,0,0,0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}


/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--light-bg);
    color: var(--dark-text); /* Default body text color */
    overflow-x: hidden; /* Prevent horizontal scroll */
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color); /* Default heading color */
    margin-bottom: 0.8em;
    font-weight: 700;
    transition: color 0.3s ease;
}

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.primary-btn:hover {
    background: #e66a00; /* Darken color on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

/* Header & Navigation */
header {
    background: rgb(214, 212, 212);
    padding: 10px 0; /* Reduced padding for smaller height */
    width: 100%;
    /* position: sticky;  Removed sticky from header */
    /* top: 38px; */
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
/* Remove .top-background > header stickiness override */
/* Make nav logos sticky */
.info-icon-bar {
    position: sticky;
    top: 38px;
    z-index: 1100;
}
@media (max-width: 600px) {
    .info-icon-bar {
        top: 32px;
    }
}
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Made narrower */
    margin: 0 auto;
    padding: 0 30px; /* Adjusted padding */
}

.logo img {
    height: 75px; /* Reduced logo height to match smaller header */
    border-radius: var(--border-radius-sm);
    /* Ensure the logo image maintains its aspect ratio and fits */
    max-width: 100%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 35px; /* More spacing */
}

nav ul li a {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--dark-text); /* Nav links follow body text color */
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
    font-size: 1.1em; /* Increased font size */
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-button {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 10px 25px;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-button:hover {
    background: #e66a00;
    transform: translateY(-2px);
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    display: none; /* Hide the dark mode toggle button */
}


/* Section Common Styles */
section {
    padding: 64px 32px;
    margin: 0 auto;
    max-width: 1200px; /* Slightly narrower for modern look */
    box-sizing: border-box;
    border-radius: var(--border-radius-md);
    background: var(--light-text);
    box-shadow: 0 2px 16px var(--shadow-light);
}
@media (max-width: 768px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    section {
        padding: 32px 8px;
        max-width: 100vw;
        border-radius: var(--border-radius-sm);
        box-shadow: 0 1px 8px var(--shadow-light);
    }
    .container {
        padding-left: 8px;
        padding-right: 8px;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .hero-section, .overview-section, .services-section, .trustworthy-partner-section, .faq-section, .cta-section, .contact-section, .projects-section {
        border-radius: var(--border-radius-sm);
        box-shadow: 0 1px 8px var(--shadow-light);
        padding-left: 8px;
        padding-right: 8px;
        max-width: 100vw;
    }
    .hero-image img, .overview-video img {
        max-width: 100%;
        height: auto;
        border-radius: var(--border-radius-sm);
    }
    .footer-content, .footer-col, .footer-logo {
        max-width: 100vw;
        box-sizing: border-box;
    }
    .footer-content {
        padding-left: 8px;
        padding-right: 8px;
    }
    .footer-logo {
        height: 36px;
    }
}

section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
}

.icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 80px; /* Adjusted padding after removing hero-stats */
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
    .hero-section {
        border-radius: 0 !important;
        box-shadow: none !important;
        background: none !important;
    }
}

.hero-content {
    flex: 1;
    min-width: 400px;
    text-align: center;
    padding-right: 40px;
    word-break: break-word;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 4.5em; /* MODIFIED - MADE LARGER */
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    color: #e3e3e3;
    letter-spacing: 1.2px;
    word-break: break-word;
    box-sizing: border-box;
    text-shadow: 0 2px 12px rgba(255,255,255,0.12), 0 1px 2px rgba(0,0,0,0.08);
}

.hero-content p {
    font-size: 1.35em;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    color: #222;
    margin-bottom: 30px;
    word-break: break-word;
    box-sizing: border-box;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(255,255,255,0.10), 0 1px 2px rgba(0,0,0,0.07);
}

.hero-content p.hammm {
    font-family: 'Playwrite AU QLD', cursive;
    font-weight: 400;
    color: #dad5d5; /* Adjusted for font availability */
}

.hero-image {
    flex: 1;
    min-width: 400px;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Removed the hero-stats section styles */

/* Overview Section (Why Choose Us) */
.overview-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 40px; /* Increased padding */
    background-color: var(--light-text);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px var(--shadow-light);
    margin-top: 10px;
    flex-wrap: wrap;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.projects-section {
    display: block;
    text-align: center;
    padding: 64px 32px;
    margin: 60px auto 60px auto;
    max-width: 1200px;
    box-sizing: border-box;
    border-radius: var(--border-radius-md);
    background: var(--light-text);
    box-shadow: 0 6px 24px var(--shadow-medium);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .projects-section {
        padding: 32px 8px;
        max-width: 100vw;
        border-radius: var(--border-radius-sm);
        box-shadow: 0 2px 10px var(--shadow-light);
        margin: 40px auto 40px auto;
    }
}

.overview-text {
    flex: 1;
    min-width: 400px;
    padding-right: 40px;
    text-align: left;
}

.overview-text h2 {
    text-align: left;
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.overview-text p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.overview-video {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

.overview-video img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    text-align: center;
    transition: background-color 0.3s ease;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.service-card h3 {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-card p {
    font-size: 0.95em;
    color: var(--dark-text);
}

/* Trustworthy Partner Section */
/* This section was entirely removed */


/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
    text-align: center;
    transition: background-color 0.3s ease;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
    background-color: var(--light-text);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px var(--shadow-light);
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 20px 30px;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px;
    color: var(--dark-text);
    font-size: 1em;
}

.faq-answer.open {
    max-height: 200px; /* Adjust as needed for content */
    padding: 10px 30px 20px;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text); /* Base text for this section is white */
    text-align: center;
    padding: 60px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 25px var(--shadow-medium);
    margin-top: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-section h2 {
    color: var(--light-text); /* Ensure heading is white */
    font-size: 2.5em;
    margin-bottom: 30px;
}

/* Client Testimonials Section - Removed */

/* Contact Section */
.contact-section {
    background-color: var(--light-text);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-light);
    border-radius: var(--border-radius-md);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-intro {
    font-size: 1.1em;
    color: var(--dark-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: var(--light-bg); /* Use light-bg for form inputs */
    color: var(--dark-text); /* Use dark-text for input text */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.2);
    outline: none;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--light-text); /* Base text for the footer is white */
    padding: 60px 20px 20px;
    margin-top: 80px;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-col {
    padding: 10px;
}

.footer-col h3 {
    color: var(--primary-color); /* Footer headings remain orange */
    font-size: 1.4em;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--light-text); /* Ensure paragraphs are white */
    line-height: 1.7;
}

.footer-logo {
    height: 50px;
    border-radius: var(--border-radius-sm);
    /* Ensure the footer logo maintains its aspect ratio and fits */
    max-width: 100%;
    height: auto;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-text); /* Ensure links are white */
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--light-text); /* Ensure social icons are white */
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    color: var(--light-text); /* Ensure copyright text is white */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .overview-text, .overview-video {
        min-width: unset; /* Allow shrinking */
        flex: 1 1 100%; /* Stack on smaller screens */
        padding-right: 0;
        text-align: center;
    }
    .overview-text h2 {
        text-align: center;
    }
    .overview-video {
        margin-top: 40px;
    }
    /* Removed testimonial-carousel from this media query as the section is removed */
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        align-items: center;
        padding: 0 10px;
    }
    .logo img {
        height: 28px;
        max-width: 90px;
    }
    .nav-list {
        flex-direction: row !important;
        width: auto;
        margin-top: 0;
        text-align: left;
    }
    .nav-list li {
        margin: 0 12px;
    }
    .nav-button {
        display: none;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-image {
        margin-top: 40px;
    }
    section {
        padding: 70px 18px 70px 18px;
    }
    section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .service-grid, .partner-grid, .footer-content {
        grid-template-columns: 1fr; /* Stack all grids on small screens */
    }
    .faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .faq-answer {
        /* keep collapsed by default on mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out;
        padding: 0 30px;
    }
    .faq-answer.open {
        max-height: 200px; /* Adjust as needed for content */
        padding: 10px 30px 20px;
    }
    .overview-section {
        padding: 80px 20px; /* Adjusted padding for smaller screens */
    }
    .project-image-wrapper {
        width: 150px; /* Smaller size for mobile */
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2em;
        text-align: center;
        word-break: break-word;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: break-word;
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content p {
        font-size: 0.9em;
        text-align: center;
        word-break: break-word;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: break-word;
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content {
        min-width: unset;
        width: 100vw;
        padding-right: 0;
        padding-left: 0;
        box-sizing: border-box;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .hero-section {
        padding-left: 0;
        padding-right: 0;
    }
}
    /* Removed duplicate selector that overrides font size for .hero-content h1 and p */
    
/* NEW Project Badge */
.new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(45deg, #ff0000, #ff7a00);
    color: white;
    font-size: 0.75em;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    animation: shine 2s infinite linear;
}
@keyframes shine {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}
.project-card {
    position: relative;
    display: inline-block;
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 30px;
}
.gallery img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
}
