/* Import custom fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
    color: #111820;
    background-color: #e8e8e8;
}

/* Ensure all text elements use Orbitron */
p, span, div, a, li, td, th, label, input, textarea, select, button {
    font-family: 'Orbitron', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px;
}

.header .container {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    height: 120px;
    width: auto;
    display: block;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #ff8c00;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active {
    transform: rotate(90deg);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav a:hover {
    color: #ff8c00;
}

.nav a.active {
    color: #ff8c00;
    position: relative;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff8c00;
}

.btn-contact {
    background-color: #ff8c00;
    color: #FFFFFF !important;
    padding: 4px 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 20px;
}

.btn-contact:hover {
    background-color: #e6740a;
}

.btn-contact.active {
    background-color: #ffecd1;
    color: #ff8c00 !important;
}

.btn-contact.active::after {
    display: none;
}

/* Main content */
main {
    margin-top: 120px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 120px 0 60px;
    background-color: #e8e8e8;
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: #111820;
    margin: 0;
    letter-spacing: 2px;
}

/* Section titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 5vw, 32px);
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    color: #111820;
}

.highlight {
    color: #FF8300;
}

/* About section */
.about-section {
    background-color: #e8e8e8;
    padding: 60px 0;
    animation: fadeInUp 0.8s ease-out;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.about-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.about-logo {
    flex-shrink: 0;
}

.about-logo-image {
    height: 220px;
    width: auto;
    display: block;
}

.about-heading-image {
    flex-shrink: 0;
}

.about-heading-img {
    height: 220px;
    width: auto;
    display: block;
}

.about-wording {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-wording-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.about-wording-mobile {
    display: none;
}


/* Building plans section */
.building-plans-section {
    padding: 0;
    position: relative;
    width: 100vw;
    height: 65vh;
    min-height: 500px;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0;
    overflow: hidden;
}

.building-plans-section .nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
    transform: translateY(-50%);
}

.plans-slide::before,
.plans-slide::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 2;
    pointer-events: none;
}

.plans-slide::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(232, 232, 232, 1) 0%, rgba(232, 232, 232, 1) 40%, rgba(232, 232, 232, 0.7) 60%, rgba(232, 232, 232, 0.3) 80%, rgba(232, 232, 232, 0.1) 95%, rgba(232, 232, 232, 0) 100%);
}

.plans-slide::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(232, 232, 232, 1) 0%, rgba(232, 232, 232, 1) 40%, rgba(232, 232, 232, 0.7) 60%, rgba(232, 232, 232, 0.3) 80%, rgba(232, 232, 232, 0.1) 95%, rgba(232, 232, 232, 0) 100%);
}

.plans-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: block;
}

.plans-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    pointer-events: none;
}

.plans-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.plans-slide .slider-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
    filter: grayscale(60%);
}

.plans-slide .plans-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plans-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 600px;
}

.building-plans-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #111820;
    font-weight: 700;
}

.building-plans-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #111820;
    font-weight: 700;
}

.building-plans-section p {
    color: #111820;
    margin-bottom: 20px;
    font-size: 16px;
}

.plans-text {
    font-family: 'Orbitron', sans-serif;
}

.services-list {
    list-style: none;
    font-size: 1.2rem;
    line-height: 2;
    color: #111820;
    font-family: 'Orbitron', sans-serif;
}

.services-list li {
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.arrow-left,
.arrow-right {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.3s ease;
    padding: 0;
    z-index: 11;
    position: relative;
}

.arrow-left:hover,
.arrow-right:hover {
    opacity: 0.8;
}

.arrow-left img,
.arrow-right img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

/* Section separators */
.section-separator {
    height: 2px;
    background-color: #ff8c00;
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    display: block;
}

/* Scope section */
.scope-section {
    background-color: #e8e8e8;
    padding: 60px 0;
    text-align: center;
}

.scope-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 5vw, 32px);
    text-align: center;
    letter-spacing: 1.60px;
    line-height: clamp(1.8rem, 7vw, 48px);
    max-width: 776px;
    margin: 0 auto 40px;
}

.scope-main {
    color: #111820;
    letter-spacing: 0.51px;
}

.scope-highlight {
    font-family: 'Orbitron', sans-serif;
    color: #ff8c00;
    letter-spacing: 0.51px;
    font-weight: 700;
}

.scope-mobile-image {
    display: none;
}

.scope-mobile-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.scope-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.scope-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e8e8e8;
}

.scope-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Partners section */
.partners-section {
    background-color: #e8e8e8;
    padding: 60px 0;
    text-align: center;
}

.partners-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #111820;
}

.partners-section .subtitle {
    color: #ff8c00;
    font-size: 18px;
    margin-bottom: 40px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    font-weight: bold;
    font-size: 16px;
    padding: 20px;
    color: #111820;
}

/* Founder section */
.founder-section {
    background-color: #e8e8e8;
    padding: 60px 0;
}

.founder-section h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #111820;
}

.founder-section .subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #111820;
}

.founder-section .subtitle .orange {
    color: #ff8c00;
    font-weight: 700;
}

.founder-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.founder-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 2px;
    background-color: #ff8c00;
}

.founder-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 8px solid #ff8c00;
    overflow: hidden;
    flex-shrink: 0;
    background: #ccc;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-quote {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #000;
    position: relative;
}

.founder-quote blockquote {
    line-height: 1.8;
    color: #111820;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 14px;
}

.founder-quote cite {
    text-align: right;
    font-weight: bold;
    color: #111820;
    font-style: normal;
    font-size: 14px;
}

.founder-image-full {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.founder-full-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.founder-mobile-container {
    display: none;
}

.founder-mobile-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.founder-mobile-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.founder-mobile-info {
    width: 100%;
    display: flex;
    justify-content: center;
}

.founder-info-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #ff8c00;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: 'Orbitron', sans-serif;
}

.footer-section h3.business-hours {
    margin-top: 30px;
    margin-bottom: 8px;
}

.footer-section p,
.footer-section a {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ff8c00;
}

.footer-section ul {
    list-style: none;
}

.social-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-item .icon {
    width: 30px;
    height: 30px;
    background: #ff8c00;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

/* Social Media Icons - Reusable styles for footer social icons */
.social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-icon-sm {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-icon-lg {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services page styles */
.services-section,
.projects-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    animation: fadeIn 1s ease-in 0.4s backwards;
    background-color: #FFFFFF;
}

.services-hero {
    padding: 120px 0 60px;
    text-align: center;
    background-color: #FFFFFF;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: #111820;
}

/* Services Carousel */
.services-carousel-section {
    padding: 80px 0;
    position: relative;
}

.services-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.services-carousel {
    position: relative;
    overflow: hidden;
}

.service-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.service-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    position: relative;
    z-index: 2;
}

.service-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 0;
    pointer-events: all;
}

.service-nav-arrow:hover {
    opacity: 0.8;
}

.service-nav-arrow img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.service-nav-left {
    left: 20px;
}

.service-nav-right {
    right: 20px;
}

@media (min-width: 1200px) {
    .service-nav-left {
        left: -70px;
    }
    
    .service-nav-right {
        right: -70px;
    }
}

.service-section {
    padding: 80px 0;
}

.service-section.dark-bg {
    background-color: #333;
    color: white;
}

.service-section.dark-bg .service-content h2,
.service-section.dark-bg .service-content h3 {
    color: white;
}

.service-section.dark-bg .service-content p {
    color: #ccc;
}

.service-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-section.dark-bg .service-card {
    background-color: #444;
}

.service-image {
    flex: 1.2;
    display: flex;
    align-items: stretch;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.service-image::before,
.service-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1;
    pointer-events: none;
}

.service-image::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 1) 40%, rgba(248, 249, 250, 0.7) 60%, rgba(248, 249, 250, 0.3) 80%, rgba(248, 249, 250, 0.1) 95%, rgba(248, 249, 250, 0) 100%);
}

.service-image::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 1) 40%, rgba(248, 249, 250, 0.7) 60%, rgba(248, 249, 250, 0.3) 80%, rgba(248, 249, 250, 0.1) 95%, rgba(248, 249, 250, 0) 100%);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.service-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #111820;
}

.service-intro {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.checkmark {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
    display: block;
}

.feature-content h3 {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    font-weight: 600;
    margin-bottom: 8px;
    color: #FF8300;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

/* Projects page styles */
.projects-hero {
    padding: 120px 0 60px;
    text-align: center;
    background-color: #FFFFFF;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: stretch;
    gap: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.project-card:nth-child(1) {
    animation-delay: 0s;
}

.project-card:nth-child(2) {
    animation-delay: 0.1s;
}

.project-card:nth-child(3) {
    animation-delay: 0.2s;
}

.project-card:nth-child(4) {
    animation-delay: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    flex: 1;
    min-width: 400px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

.nav-arrow {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    opacity: 0.8;
}

.nav-arrow img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.project-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #111820;
}

.project-location,
.project-year {
    color: #FF8300;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.project-client {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.project-description {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

/* Contact page styles */
.contact-page {
    background-color: #FFFFFF;
}

.contact-hero {
    padding: 120px 0 20px;
    text-align: center;
    background-color: #FFFFFF;
}

.contact-intro {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: #111820;
    margin-bottom: 20px;
}

.contact-page,
.services-page,
.projects-page {
    background-color: #FFFFFF;
}

.contact-section {
    padding: 20px 0 80px;
}

.contact-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: stretch;
    gap: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.contact-image {
    flex: 1;
    display: flex;
    align-items: stretch;
    margin: -40px 0 -40px -40px;
    padding: 0;
    overflow: hidden;
    height: calc(100% + 80px);
    align-self: stretch;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    border-radius: 12px 0 0 12px;
    display: block;
    flex: 1;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF8300;
}

.form-group textarea {
    height: 120px;
    max-height: 300px;
    resize: vertical;
    overflow-y: auto;
    min-height: 120px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #ff8c00;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-item label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: #333;
}

.submit-btn {
    background-color: #FF8300;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    margin-left: auto;
    display: block;
}

.submit-btn:hover {
    background-color: #e6740a;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Test buttons for development */
.test-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    margin-right: 10px;
    transition: opacity 0.3s ease;
    display: none; /* Hidden by default - change to 'block' to show for testing */
}

.test-success-btn {
    background-color: #28a745;
    color: white;
}

.test-success-btn:hover {
    background-color: #218838;
    opacity: 0.9;
}

.test-error-btn {
    background-color: #dc3545;
    color: white;
}

.test-error-btn:hover {
    background-color: #c82333;
    opacity: 0.9;
}

/* Form message display (success/error) */
.form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Field error messages */
.field-error {
    display: none;
    color: #FF8300;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        border-radius: 15px;
        overflow: visible;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        width: 100%;
    }
    
    .nav.open {
        max-height: 400px;
        opacity: 1;
        padding: 20px;
        overflow: visible;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: left;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .nav ul li {
        width: 100%;
    }
    
    .nav ul li a {
        display: block;
        padding: 10px 0;
    }
    
    .btn-contact {
        width: 100%;
        text-align: center;
        margin-left: 0;
        padding: 10px;
    }
    
    main {
        margin-top: 150px;
    }
    
    .section-title {
        font-size: clamp(1.3rem, 6vw, 2rem);
    }
    
    /* About section mobile - reduce gaps */
    .hero-section {
        padding: 80px 0 30px;
    }
    
    .about-section {
        padding: 20px 0;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .about-images {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-logo-image,
    .about-heading-img {
        height: 150px;
    }
    
    .about-wording {
        margin-top: 0;
    }
    
    .about-wording-desktop {
        display: none;
    }
    
    .about-wording-mobile {
        display: block;
        max-width: 90%;
    }
    
    /* Building plans slider responsive - increase image height and center text */
    .building-plans-section {
        height: 80vh !important;
        min-height: 600px !important;
    }
    
    .plans-slider {
        height: 80vh !important;
        min-height: 600px !important;
    }
    
    .slider-bg-image {
        height: 80vh !important;
        min-height: 600px !important;
        object-fit: cover !important;
    }
    
    .plans-slide .plans-overlay {
        height: 80vh !important;
        min-height: 600px !important;
    }
    
    /* Ensure separator stays right beneath slider */
    .building-plans-section {
        margin-bottom: 0 !important;
    }
    
    .section-separator {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .plans-content {
        padding: 0 20px;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .plans-text {
        text-align: center;
        width: 100%;
    }
    
    .plans-text h3 {
        font-size: 28px;
        text-align: center;
    }
    
    .services-list {
        font-size: 18px;
        text-align: center;
        display: inline-block;
    }
    
    .arrow-left {
        left: 10px;
    }
    
    .arrow-right {
        right: 10px;
    }
    
    /* Scope section mobile - show mobile image, hide desktop content */
    .scope-title-desktop {
        display: none;
    }
    
    .scope-grid-desktop {
        display: none;
    }
    
    .scope-mobile-image {
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    
    .scope-mobile-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .partners-logos {
        flex-direction: column;
    }
    
    /* Founder section responsive - show mobile images */
    .founder-title-desktop {
        display: none;
    }
    
    .founder-image-desktop {
        display: none;
    }
    
    .founder-mobile-container {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    
    .founder-mobile-image {
        width: 100%;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    
    .founder-mobile-img {
        width: 85%;
        max-width: 85%;
    }
    
    .founder-mobile-info {
        width: 100%;
    }
    
    .founder-info-img {
        width: 100%;
        max-width: 100%;
    }
    
    .founder-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Contact page responsive - image on top, form below */
    .contact-card {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .contact-image {
        margin: 0;
        height: auto;
        width: 100%;
        border-radius: 12px 12px 0 0;
    }
    
    .contact-image img {
        border-radius: 12px 12px 0 0;
        object-fit: cover;
        object-position: center;
        height: 250px;
    }
    
    .contact-form {
        padding: 30px 20px;
        width: 100%;
    }
    
    /* Services responsive - reorder: title, intro, image, features */
    .service-card {
        flex-direction: column;
        padding: 0;
    }
    
    .service-content {
        display: contents;
    }
    
    .service-content h2 {
        order: 1;
        padding: 20px 20px 0 20px;
        margin-bottom: 15px;
    }
    
    .service-intro {
        order: 2;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    
    .service-image {
        order: 3;
        flex: none;
        width: 100%;
        height: 250px;
        margin: 0;
    }
    
    .service-image img {
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
    
    .service-features {
        order: 4;
        padding: 20px;
        margin-top: 0;
    }
    
    /* Services carousel arrows - keep on sides of images on mobile */
    .services-carousel-wrapper {
        position: relative;
    }
    
    .service-card {
        position: relative;
    }
    
    .service-image {
        position: relative;
    }
    
    .service-nav-arrow {
        position: absolute;
        z-index: 20;
    }
    
    /* Position arrows to be vertically centered on the image */
    /* Calculate: padding-top (20px) + h2 height (~60px) + h2 margin-bottom (15px) + intro height (~70px) + intro margin-bottom (20px) + image center (125px) */
    /* Total: ~310px from card top */
    .service-nav-left {
        left: 10px;
        top: 310px;
        transform: translateY(-50%);
    }
    
    .service-nav-right {
        right: 10px;
        top: 310px;
        transform: translateY(-50%);
    }
    
    .service-nav-arrow img {
        width: 40px;
        height: 40px;
    }
    
    /* Projects responsive - image on top, text below */
    .project-card {
        flex-direction: column;
        gap: 0;
    }
    
    .project-image {
        flex: none;
        min-width: 100%;
        width: 100%;
    }
    
    .project-image img {
        min-height: 250px;
        width: 100%;
    }
    
    .project-content {
        flex: 1;
        padding: 20px;
        width: 100%;
    }
    
    .project-title {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .project-location,
    .project-year,
    .project-client {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
    }
    
    .project-description {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        line-height: 1.5;
    }
    
    .project-nav {
        padding: 0 10px;
    }
    
    .nav-arrow img {
        width: 25px;
        height: 25px;
    }
}
