/* ========================================
   Hall Ceilings - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #B8963E;
    --color-primary-dark: #9A7B2E;
    --color-primary-light: #C9A84C;
    --color-dark: #2D2D2D;
    --color-text: #4A4A4A;
    --color-text-light: #6B6B6B;
    --color-light: #F8F8F8;
    --color-white: #FFFFFF;
    --color-border: #E5E5E5;
    --color-footer: #1E1E1E;

    --font-primary: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-script: Georgia, 'Times New Roman', serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

p.lead {
    font-size: 1.1rem;
    color: var(--color-text);
}

strong {
    font-weight: 600;
}

/* Section Underline */
.section-underline {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin-bottom: 40px;
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-main {
    border-bottom: 1px solid var(--color-border);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    transition: height 0.3s ease;
}

.scrolled .header-main .container {
    height: 80px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
    padding: 4px 0;
    transition: height 0.3s ease, padding 0.3s ease;
}

.scrolled .logo-img {
    height: 60px;
    padding: 0;
}

/* Main Navigation */
.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text);
    padding: 10px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-dark);
}

/* Navigation Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    vertical-align: 2px;
    position: absolute;
    right: -14px;
    top: 50%;
    margin-top: -4px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 240px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin-bottom: 0;
    line-height: 1;
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 8px 25px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-text);
    white-space: nowrap;
    line-height: 1.4;
}

.dropdown a::after {
    display: none;
}

.dropdown a:hover {
    background-color: var(--color-light);
    color: var(--color-primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

/* Services Sub-nav Marquee */
.header-services {
    background-color: rgba(139, 26, 26, 1);
    overflow: hidden;
    position: relative;
}

.header-services .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.header-services:hover .marquee-track {
    animation-play-state: paused;
}

.header-services ul {
    display: flex;
    list-style: none;
    gap: 40px;
    padding: 8px 20px;
    flex-shrink: 0;
}

.header-services a {
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 1);
    white-space: nowrap;
}

.header-services a:hover {
    color: var(--color-white);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 55vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/hall-ceilings-examples-7.jpg') center center / cover no-repeat;
    margin-top: 155px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
}

.hero-welcome {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero h1 .accent {
    color: var(--color-primary-light);
}

.hero-underline {
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    margin-bottom: 30px;
}

/* Rotating Taglines */
.hero-taglines {
    position: relative;
    height: 4.5rem;
    margin-bottom: 30px;
}

.hero-tagline {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.2;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin: 0;
    white-space: nowrap;
}

.hero-tagline .accent {
    color: var(--color-primary-light);
}

.hero-tagline.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-tagline.exit {
    opacity: 0;
    transform: translateY(-30px);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 0;
}

.hero-subtitle .accent {
    color: var(--color-primary-light);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.hero-scroll span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(10px);
    }
    60% {
        transform: rotate(45deg) translateY(5px);
    }
}

/* Hero CTA */
.hero-cta {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    text-align: right;
}

.hero-cta span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.hero-cta a {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-cta a:hover {
    color: var(--color-primary-light);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.service-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.suspended-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Crect x='3' y='8' width='18' height='2'/%3E%3Cline x1='6' y1='10' x2='6' y2='16'/%3E%3Cline x1='12' y1='10' x2='12' y2='16'/%3E%3Cline x1='18' y1='10' x2='18' y2='16'/%3E%3Crect x='3' y='16' width='18' height='4'/%3E%3C/svg%3E");
}

.acoustic-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Cpath d='M3 9h4l5-5v16l-5-5H3V9z'/%3E%3Cpath d='M15 9a4 4 0 010 6'/%3E%3Cpath d='M18 6a8 8 0 010 12'/%3E%3C/svg%3E");
}

.metal-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cline x1='3' y1='14' x2='21' y2='14'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E");
}

.wood-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='16' rx='1'/%3E%3Cline x1='3' y1='8' x2='21' y2='8'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='16' x2='21' y2='16'/%3E%3Cpath d='M8 4c1 2 0 4 1 8'/%3E%3Cpath d='M15 12c1 2 0 4 1 8'/%3E%3C/svg%3E");
}

.tin-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Crect x='3' y='3' width='8' height='8' rx='1'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1'/%3E%3C/svg%3E");
}

.fabric-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 8h18'/%3E%3Cpath d='M3 16h18'/%3E%3Cpath d='M8 3v18'/%3E%3Cpath d='M16 3v18'/%3E%3C/svg%3E");
}

.service-card h3 {
    color: var(--color-dark);
    font-weight: 500;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.why-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Quote Section
   ======================================== */
.quote-section {
    position: relative;
    padding: 150px 0;
    background: url('../images/hall-ceilings-examples-5.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.quote-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.quote-text {
    font-family: var(--font-script);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.5;
    margin-bottom: 30px;
}

.quote-attribution {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.experience-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.team-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Cpath d='M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 00-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E");
}

.service-icon-feat::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E");
}

.feature h4 {
    color: var(--color-text);
}

.feature p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 10px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-icon.phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
}

.contact-icon.email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22 6 12 13 2 6'/%3E%3C/svg%3E");
}

.contact-icon.location::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.contact-icon.area::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E");
}

.contact-icon.fax::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='1.5'%3E%3Crect x='6' y='9' width='12' height='12' rx='1'/%3E%3Cpath d='M6 18H4a1 1 0 01-1-1v-5a1 1 0 011-1h16a1 1 0 011 1v5a1 1 0 01-1 1h-2'/%3E%3Cpath d='M6 9V4a1 1 0 011-1h10a1 1 0 011 1v5'/%3E%3Cline x1='10' y1='14' x2='14' y2='14'/%3E%3Cline x1='10' y1='17' x2='14' y2='17'/%3E%3C/svg%3E");
}

.contact-item a {
    color: var(--color-primary);
}

.contact-item a:hover {
    color: var(--color-primary-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border: 1px solid var(--color-border);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

#form-status {
    margin-top: 20px;
    padding: 15px;
    display: none;
}

#form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background-color: var(--color-footer);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    max-width: 160px;
    height: auto;
}

.site-footer h5 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer-underline {
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: 20px;
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 6px;
}

.site-footer ul a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.site-footer ul a:hover {
    color: var(--color-white);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 0;
    padding-bottom: 20px;
    line-height: 1.2;
}

.footer-contact strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    margin-bottom: 0;
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-main .container {
        height: 75px;
    }

    .scrolled .header-main .container {
        height: 75px;
    }

    .logo-img {
        height: 65px;
        padding: 0;
    }

    .scrolled .logo-img {
        height: 65px;
        padding: 0;
    }

    .main-nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 20px;
        border-bottom: 1px solid var(--color-border);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .has-dropdown > a::before {
        right: -16px;
        transition: transform 0.2s ease;
    }

    .has-dropdown.open > a::before {
        transform: rotate(-135deg);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        min-width: 0;
        padding: 5px 0 0 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.open .dropdown {
        max-height: 300px;
    }

    .dropdown a {
        padding: 6px 0;
    }

    .dropdown a:hover {
        background-color: transparent;
    }

    .header-services {
        display: none;
    }

    .hero {
        margin-top: 75px;
        height: auto;
        min-height: auto;
        padding: 50px 0 30px;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }

    .hero-tagline {
        font-size: 1.3rem;
        white-space: normal;
    }

    .hero-taglines {
        position: relative;
        height: auto;
        min-height: 5rem;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-cta {
        position: static;
        text-align: center;
        margin-top: auto;
        padding-top: 40px;
    }

    .hero-cta span {
        display: inline;
        margin-right: 8px;
    }

    .hero-scroll {
        display: none;
    }

    h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-text {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 1.15rem;
    }

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

    .hero-taglines {
        min-height: 4.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .about-section,
    .services-section,
    .why-section,
    .contact-section {
        padding: 60px 0;
    }

    .quote-section {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }

.features-grid .feature:nth-child(1) { transition-delay: 0.1s; }
.features-grid .feature:nth-child(2) { transition-delay: 0.2s; }
.features-grid .feature:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   Service Cards as Links (Homepage)
   ======================================== */
a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* ========================================
   Service Sub-Pages
   ======================================== */

/* Page Hero */
.page-hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background: center center / cover no-repeat;
    margin-top: 155px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

/* Service Overview */
.service-overview {
    padding: 100px 0;
    background-color: var(--color-white);
}

.service-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-overview-content h2 {
    margin-bottom: 10px;
}

.service-overview-content p:last-child {
    margin-bottom: 0;
}

.service-overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery */
.service-gallery {
    padding: 100px 0;
    background-color: var(--color-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    overflow: hidden;
}

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

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

/* Applications */
.service-applications {
    padding: 100px 0;
    background-color: var(--color-white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.application-item {
    padding: 30px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.application-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.application-item h4 {
    color: var(--color-dark);
    margin-bottom: 10px;
}

.application-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Service CTA */
.service-cta {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-dark);
}

.service-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.service-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-content h2 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.service-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.service-cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Short Page Hero (Contact page) */
.page-hero-short {
    height: 35vh;
    min-height: 280px;
}

/* About & Why Us Pages */
.about-page-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-values-section {
    padding: 100px 0;
    background-color: var(--color-light);
}

/* Service Page Responsive */
@media (max-width: 768px) {
    .page-hero {
        margin-top: 75px;
        height: 35vh;
        min-height: 280px;
    }

    .page-hero-content {
        padding: 0 20px 40px;
    }

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

    .service-overview {
        padding: 60px 0;
    }

    .service-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-gallery {
        padding: 60px 0;
    }

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

    .gallery-item img {
        height: 250px;
    }

    .service-applications {
        padding: 60px 0;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-cta {
        padding: 60px 0;
    }

    .service-cta-actions {
        flex-direction: column;
    }

    .about-page-section,
    .about-values-section {
        padding: 60px 0;
    }

    .page-hero-short {
        height: 30vh;
        min-height: 220px;
    }
}
