/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #509498;
    --secondary-color: #C09A76;
    --accent-color: #C09A76;
    --text-color: #2d2d2d;
    --light-bg: #E8E6DC;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Bowwie', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 300;
    letter-spacing: 0.3px;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header and Navigation */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    transition: all 0.4s ease;
    letter-spacing: 1.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Carousel Section */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #fafafa;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: none;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 3.5rem 4rem;
    border-radius: 0;
    max-width: 700px;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3.5px) saturate(115%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Perpetua', 'Georgia', serif;
    color: var(--white);
    letter-spacing: 4px;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.15rem;
    margin: 0;
    color: var(--white);
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
    border: none;
    padding: 1.2rem 1.8rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(5px);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev {
    left: 40px;
}

.carousel-btn.next {
    right: 40px;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.3);
    border-color: var(--white);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* About Us Page Styles */
.about-main {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 4rem;
    align-items: center;
}

.about-left {
    position: relative;
}

.about-image-stack {
    position: relative;
    width: 100%;
    height: 600px;
}

.about-image-stack img {
    position: absolute;
    width: 70%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stack-img-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.stack-img-2 {
    bottom: 0;
    right: 0;
    z-index: 1;
}

.about-right h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-right p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.about-values {
    background-color: #f5f5f5;
    padding: 5rem 2rem;
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.about-full-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.about-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.image-overlay h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    max-width: 800px;
}

.image-overlay p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 700px;
    line-height: 1.8;
}

/* What We Do Page Styles */
.services-hero {
    background-color: var(--white);
    padding: 5rem 2rem 3rem 2rem;
    text-align: center;
}

.services-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.services-hero p {
    font-size: 1.3rem;
    color: var(--text-color);
    opacity: 0.8;
}

.service-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.service-feature.reverse .service-feature-img {
    order: 2;
}

.service-feature.reverse .service-feature-content {
    order: 1;
}

.service-feature-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.service-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-feature-content {
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5;
}

.service-feature-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-feature-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-feature-content ul li {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-color);
    padding-left: 1.5rem;
    position: relative;
}

.service-feature-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.process-section {
    background-color: var(--white);
    padding: 5rem 2rem;
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.process-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
}

.step-number {
    font-size: 2rem;
    font-family: 'Perpetua', 'Georgia', serif;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.process-step h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Portfolio Page Styles */
.portfolio-hero {
    background-color: var(--white);
    padding: 5rem 2rem 3rem 2rem;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.portfolio-hero p {
    font-size: 1.3rem;
    color: var(--text-color);
    opacity: 0.8;
}

.portfolio-gallery {
    padding: 3rem 2rem;
    background-color: var(--white);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.portfolio-cta {
    background-color: #f5f5f5;
    padding: 5rem 2rem;
    text-align: center;
}

.portfolio-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: translate(-50%, -50%) scale(0.8);}
    to {transform: translate(-50%, -50%) scale(1);}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--white);
    padding: 5rem 2rem 3rem 2rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.contact-hero p {
    font-size: 1.3rem;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-content {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.contact-info-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.contact-info-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

/* Hero Section (kept for other pages) */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Perpetua', 'Georgia', serif;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: #3d7578;
    letter-spacing: 2.5px;
}

/* Content Section Button Style */
.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 32px;
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Intro Section */
.intro-section {
    background-color: var(--white);
    padding: 7rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.intro-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.intro-container h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: 'Perpetua', 'Georgia', serif;
    line-height: 1.2;
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
}

.intro-container p {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 0;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Content Sections with Alternating Layout */
.content-section {
    padding: 2rem 2rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background-color: #f5f5f5;
    padding: 0;
}

.content-section.reverse .content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.content-section.reverse .content-text {
    order: 2;
}

.content-section.reverse .content-image {
    order: 1;
}

.content-text {
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Perpetua', 'Georgia', serif;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.content-text .btn {
    margin-top: 1rem;
}

.content-image {
    width: 100%;
    height: 100%;
}

.content-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-family: 'Perpetua', 'Georgia', serif;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary-color);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Perpetua', 'Georgia', serif;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
    background-color: var(--light-bg);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.loading-logo-svg {
    height: auto;
    max-width: 100px;
    width: 100px;
    opacity: 0;
    animation: growLogoRotate 1.5s ease-out forwards, zoomIntoLogo 1.2s ease-in 1.5s forwards;
}

.loading-logo-png {
    height: auto;
    max-width: 500px;
    width: 500px;
    opacity: 0;
    animation: growLogo 1.5s ease-out forwards, fadeOutLogo 0.5s ease-out 1.5s forwards;
}

@keyframes growLogo {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes growLogoRotate {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
}

@keyframes zoomIntoLogo {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(15);
        opacity: 0;
    }
}

@keyframes fadeOutLogo {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1.2rem 1.8rem;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 350px;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    background-color: #4caf50;
}

.toast-error {
    background-color: #f44336;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    margin-top: 2rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1.5fr auto 1fr auto 1fr auto 1fr;
    column-gap: 3rem;
    align-items: start;
}

.footer-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    height: 100%;
    align-self: stretch;
}

.footer-logo-section {
    padding-right: 1rem;
}

.footer-branches {
    padding-right: 0.5rem;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
}

.footer-branches {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-branches h3 {
    margin-bottom: 0.8rem;
}

.branch-item {
    margin-bottom: 0;
}

.branch-item h4 {
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.branch-item p {
    margin: 0;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-phones h3 {
    margin-bottom: 0.8rem;
}

.phone-item {
    margin-bottom: 0;
}

.phone-item h4 {
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.phone-item p {
    margin: 0;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-family: 'Perpetua', 'Georgia', serif;
    letter-spacing: 1px;
    padding: 0;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.1rem;
    color: var(--white);
    font-family: 'Perpetua', 'Georgia', serif;
    letter-spacing: 1px;
    font-weight: bold;
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.social-link-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-link-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0;
    margin: 0;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Additional Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Perpetua', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1px;
}

h1 {
    letter-spacing: 3px;
}

h2 {
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        height: 30px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 5rem 2rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel {
        padding: 0;
    }

    .carousel-container {
        width: 100%;
        height: 700px;
        border-radius: 0;
    }

    .carousel-caption {
        padding: 2rem 1.5rem;
        width: 85%;
        max-width: 90%;
    }

    .carousel-caption h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-dots {
        bottom: 25px;
        gap: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Loading Screen Mobile */
    .loading-logo-svg {
        max-width: 60px;
        width: 60px;
    }

    .loading-logo-png {
        max-width: 250px;
        width: 250px;
    }

    .loading-content {
        gap: 2rem;
    }

    /* Intro Section Responsive */
    .intro-section {
        padding: 4rem 1.5rem;
    }

    .intro-container h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .intro-container p {
        font-size: 0.9rem;
    }

    /* Content Sections Responsive */
    .content-section {
        padding: 3rem 1.5rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    /* On mobile, always show image first, then text */
    .content-text {
        order: 2;
    }

    .content-image {
        order: 1;
    }

    /* Override reverse section to also show image first on mobile */
    .content-section.reverse .content-wrapper {
        flex-direction: column;
    }

    .content-section.reverse .content-text {
        order: 2;
    }

    .content-section.reverse .content-image {
        order: 1;
    }

    .content-text {
        padding-top: 1rem;
    }

    .content-text h2 {
        font-size: 1.5rem;
    }

    .content-text p {
        font-size: 0.9rem;
    }

    .content-image img {
        height: 300px;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .btn:hover {
        letter-spacing: 1.8px;
    }

    /* About Us Page Responsive */
    .about-main {
        padding: 2rem 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-stack {
        height: 400px;
        margin-bottom: 2rem;
    }

    .about-image-stack img {
        width: 75%;
        height: 280px;
    }

    .about-right h1 {
        font-size: 2rem;
    }

    .about-lead {
        font-size: 1.2rem;
    }

    .about-right p {
        font-size: 1rem;
    }

    .about-values {
        padding: 3rem 1.5rem;
    }

    .about-values h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .about-full-image {
        height: 400px;
    }

    .image-overlay h2 {
        font-size: 1.8rem;
    }

    .image-overlay p {
        font-size: 1.05rem;
    }

    /* What We Do Page Responsive */
    .services-hero {
        padding: 3rem 1.5rem;
    }

    .services-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .services-hero p {
        font-size: 1.1rem;
    }

    .service-feature {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-feature.reverse .service-feature-img {
        order: 1;
    }

    .service-feature.reverse .service-feature-content {
        order: 2;
    }

    .service-feature-img {
        min-height: 300px;
    }

    .service-feature-content {
        padding: 2.5rem 1.5rem;
    }

    .service-feature-content h2 {
        font-size: 1.8rem;
    }

    .service-feature-content p {
        font-size: 1.05rem;
    }

    .service-feature-content ul li {
        font-size: 1rem;
    }

    .process-section {
        padding: 3rem 1.5rem;
    }

    .process-section h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .process-step h3 {
        font-size: 1.3rem;
    }

    .process-step p {
        font-size: 1rem;
    }

    /* Portfolio Page Responsive */
    .portfolio-hero {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }

    .portfolio-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .portfolio-hero p {
        font-size: 1.1rem;
    }

    .portfolio-gallery {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-cta {
        padding: 3rem 1.5rem;
    }

    .portfolio-cta h2 {
        font-size: 2rem;
    }

    .portfolio-cta p {
        font-size: 1.1rem;
    }

    /* Contact Page Responsive */
    .contact-hero {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .contact-content {
        padding: 2rem 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-wrapper {
        order: 1;
    }

    .contact-form-wrapper {
        order: 2;
        padding: 2rem 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.8rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-card h3 {
        font-size: 1.2rem;
    }

    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .footer-section {
        text-align: center;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-section h3 {
        margin-top: 0;
    }

    .footer-logo {
        height: 30px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links,
    .footer-nav {
        align-items: center;
    }
}
