/*
================================================================================
  GUARDIAN FIRE SYSTEMS - MAIN STYLESHEET
================================================================================
  Author: Guardian Fire Systems
  Last Updated: 2025

  TABLE OF CONTENTS:
  1. Imports & Fonts
  2. Reset & Base Styles
  3. Layout & Container
  4. Header & Navigation
  5. Hero Section
  6. About Section
  7. Services Section
  8. BIM & Design Section
  9. Industries & Projects
  10. Footer
  11. Components (Modals, Buttons, Forms)
  12. Responsive Design (Media Queries)
================================================================================
*/

/* ============================================================================
   1. IMPORTS & FONTS
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ============================================================================
   2. RESET & BASE STYLES
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Inter', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1e3a8a;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #475569;
    font-weight: 400;
}

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

/* ============================================================================
   3. LAYOUT & CONTAINER
   ============================================================================ */
/* Container responsive padding handled in media queries section */

/* ============================================================================
   4. HEADER & NAVIGATION
   ============================================================================ */
.header {
    background: #000000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d1f47 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100%;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo-image {
    height: 70px;
    width: auto;
    border-radius: 8px;
    border: 2px solid #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .logo-image {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 45px;
    }
}


/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
    justify-content: flex-end;
}

.nav-menu li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-menu > li > a:hover {
    color: #00B4D8;
    border-bottom-color: #00B4D8;
}

.portal-link {
    background: transparent !important;
    border: 2px solid #00B4D8 !important;
    border-radius: 6px !important;
    padding: 0.6rem 1rem !important;
    margin-left: 0.5rem !important;
}

.portal-link:hover {
    background: #00B4D8 !important;
    color: white !important;
    border-bottom-color: #00B4D8 !important;
}

.payment-link {
    background: #f97316 !important;
    color: white !important;
    border: 2px solid #f97316 !important;
    border-radius: 6px !important;
    padding: 0.6rem 1.25rem !important;
    margin-left: 0.5rem !important;
    font-weight: 600 !important;
}

.payment-link:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    border-bottom-color: #ea580c !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    color: #000000;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: #00B4D8;
    color: white;
    padding-left: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 0;
    }

    .nav-menu > li > a {
        padding: 0.75rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 0.5rem 0;
    }

    .header .container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .header-content {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.25rem;
        width: 100%;
    }

    .logo {
        flex: 0 0 auto;
        order: 1;
    }

    .logo-image {
        height: 40px;
    }

    .main-nav {
        flex: 0 1 auto;
        order: 2;
        display: flex !important;
        justify-content: flex-end;
    }

    .mobile-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.15rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
    }

    /* Hide non-priority items on mobile */
    .nav-menu > li:not(:has(.portal-link)):not(:has(.payment-link)):not(:has(#menu-contact-link)) {
        display: none !important;
    }

    .nav-menu > li {
        display: block !important;
    }

    .nav-menu > li > a {
        padding: 0.5rem 0.4rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .portal-link,
    .payment-link {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.65rem !important;
        margin-left: 0.1rem !important;
    }

    .portal-link i,
    .payment-link i {
        display: none;
    }
}

@media (max-width: 640px) {
    .header .container {
        padding: 0 0.35rem;
    }

    .logo-image {
        height: 35px;
    }

    .nav-menu {
        gap: 0.05rem;
    }

    .nav-menu > li > a {
        padding: 0.4rem 0.3rem;
        font-size: 0.65rem;
    }

    .portal-link,
    .payment-link {
        padding: 0.35rem 0.4rem !important;
        font-size: 0.6rem !important;
        margin-left: 0.05rem !important;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0 0.25rem;
    }

    .logo-image {
        height: 30px;
    }

    .nav-menu {
        gap: 0.05rem;
    }

    .nav-menu > li > a {
        padding: 0.35rem 0.25rem;
        font-size: 0.6rem;
    }

    .portal-link,
    .payment-link {
        padding: 0.3rem 0.35rem !important;
        font-size: 0.55rem !important;
        margin-left: 0.05rem !important;
    }
}

.btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

.btn-email {
    background-color: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.btn-email:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-call {
    background-color: #00B4D8;
    color: white;
    border-color: #00B4D8;
}

.btn-call:hover {
    background-color: #0096B8;
    border-color: #0096B8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.btn-emergency {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

.btn-emergency:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-contact {
    background-color: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.btn-contact:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-capability {
    background-color: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-capability:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* ============================================================================
   5. HERO SECTION
   ============================================================================ */
.hero {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(226, 232, 240, 0.95) 50%, rgba(241, 245, 249, 0.95) 100%), url('../images/sprinkler-inspection-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, rgba(249, 115, 22, 0.05) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #00B4D8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-heading {
    text-align: center;
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.carousel-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #00B4D8, #f97316);
    border-radius: 2px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.carousel-slide {
    display: none;
    position: relative;
    animation: fadeIn 0.5s ease-in;
}

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

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
}

.carousel-project-name {
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.carousel-project-name i {
    color: #f97316;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.carousel-project-name span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 58, 138, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.carousel-btn:hover {
    background: rgba(30, 58, 138, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact-title {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-email {
    color: #00B4D8;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-email:hover {
    background-color: #00B4D8;
    color: white;
    border-color: #00B4D8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

/* Combined Sections */
.combined-section {
    background-color: #ffffff;
    padding: 3rem 0;
}

.combined-section-dark {
    background: linear-gradient(135deg, #1e3a8a 0%, #2d3748 100%);
    padding: 3rem 0;
    color: white;
}

.combined-section-dark .section-title {
    color: white;
}

.combined-section-dark .industries-intro {
    color: #e2e8f0;
}


.side-by-side-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .side-by-side-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.side-by-side-item {
    width: 100%;
}

/* ============================================================================
   6. ABOUT SECTION
   ============================================================================ */
.about {
    background-color: #ffffff;
    padding: 3rem 0;
}

.about-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #475569;
    line-height: 1.7;
}

.about-leadership h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.leadership-item {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #00B4D8;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
}

.leadership-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.15);
}

.leadership-item strong {
    display: block;
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.leadership-item span {
    color: #475569;
    font-size: 0.95rem;
}

/* See More Button - Mobile Only
   Used for expandable sections (Leadership, Services, BIM, Industries) */
.see-more-btn {
    display: none; /* Hidden by default, shown on mobile */
}

/* Mobile expandable sections - show/hide functionality */
@media (max-width: 992px) {
    /* Hide extra items on mobile by default */
    .leadership-hidden,
    .service-hidden,
    .bim-hidden,
    .industry-hidden {
        display: none;
    }

    /* Show items when expanded */
    .leadership-hidden.show,
    .service-hidden.show,
    .bim-hidden.show,
    .industry-hidden.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .see-more-btn {
        display: block;
        margin: 1rem auto 0;
        padding: 0.75rem 1.5rem;
        background: white;
        color: #00B4D8;
        border: 2px solid #00B4D8;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 300px;
    }

    .see-more-btn:hover {
        background: #00B4D8;
        color: white;
    }

    .see-more-btn i {
        transition: transform 0.3s ease;
        margin-left: 0.5rem;
    }

    .see-more-btn.expanded i {
        transform: rotate(180deg);
    }
}

/* ============================================================================
   7. SERVICES SECTION
   ============================================================================ */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e3a8a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #00B4D8, #f97316);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.service-item {
    background-color: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00B4D8, #f97316);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15);
}

.service-image {
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    max-width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.service-item h3 {
    margin-bottom: 0.75rem;
    color: #1e3a8a;
    font-size: 1.25rem;
}

.service-description {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.service-item ul {
    list-style: none;
    text-align: left;
}

.service-item li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

.service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: bold;
}

.service-item li:last-child {
    border-bottom: none;
}

/* Footer Government Section */
.footer-government {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #475569;
}

.footer-government h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn-capability-footer {
    background: #00B4D8;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #00B4D8;
}

.btn-capability-footer:hover {
    background: #0096B8;
    border-color: #0096B8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.government-content {
    text-align: center;
}

/* ============================================================================
   8. BIM & DESIGN SECTION
   ============================================================================ */
.bim-design-full {
    background: linear-gradient(135deg, #1e3a8a 0%, #2d3748 100%);
    padding: 3rem 0;
    color: white;
}

.bim-design-full .section-title {
    color: white;
}

.bim-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.bim-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .bim-features {
        grid-template-columns: 1fr;
    }
}

.bim-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.bim-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: #f97316;
    margin-bottom: 1rem;
}

.bim-feature h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.bim-feature p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .bim-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ============================================================================
   9. INDUSTRIES & PROJECTS SECTIONS
   ============================================================================ */
.industries-full {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 3rem 0;
}

.industries-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.industry-card {
    background: white;
    border-radius: 12px;
    padding: 0.85rem;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.15);
}

.industry-icon {
    font-size: 2rem;
    color: #00B4D8;
    margin-bottom: 0.5rem;
}

.industry-card:hover .industry-icon {
    color: #f97316;
}

.industry-card h3 {
    color: #1e3a8a;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.projects-gallery-title {
    text-align: center;
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .featured-projects-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Project Gallery Improvements */
.project-group {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px 24px 24px 24px;
    margin: 32px auto;
    max-width: 900px;
    text-align: center;
}
.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #357ABD;
    margin-bottom: 18px;
    text-align: center;
}
.projects-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 10px;
}
.projects-gallery img {
    width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #f5f5f5;
}
.projects-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(53,122,189,0.15);
}

/* Contact & Location Section */
.contact-location-section {
    background: #ffffff;
    padding: 3.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.contact-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-form-wrapper h3 {
    color: #1e3a8a;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.map-wrapper h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00B4D8;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

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

.btn-submit {
    background: linear-gradient(135deg, #00B4D8 0%, #0096B8 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0096B8 0%, #007a98 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.location-address {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.map-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-embed {
    flex: 1;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.map-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    border: 1px solid #e2e8f0;
}

/* ============================================================================
   10. FOOTER
   ============================================================================ */
.footer {
    background: #000000;
    color: #e2e8f0;
    padding: 3rem 0 1rem 0;
    border-top: 3px solid #00B4D8;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Footer Section Styles */
.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #00B4D8;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Company Info Section */
.company-info .footer-logo {
    margin-bottom: 1rem;
}

.company-info .footer-logo img {
    height: auto;
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
}

.company-description {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Media Section */
.social-media h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #00B4D8;
    padding-bottom: 0.25rem;
    display: inline-block;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #4a5568;
    background: rgba(0, 180, 216, 0.1);
}

.social-link:hover {
    color: #ffffff;
    background: #00B4D8;
    transform: translateY(-2px);
    border-color: #00B4D8;
}

.social-link i {
    font-size: 1.1rem;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 100%;
}

.contact-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #f7fafc;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-section .contact-item i {
    color: #00B4D8;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    min-width: 16px;
}

.contact-section .contact-item.emergency i {
    color: #f97316;
}

.contact-section .contact-item strong {
    color: #cbd5e1;
    font-weight: 600;
}

.contact-section .contact-item a {
    color: #00B4D8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-section .contact-item a:hover {
    color: #f97316;
    text-decoration: underline;
}

/* Services and Links Lists */
.footer-services,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li,
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-services a,
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-services a:hover,
.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-services a::before,
.footer-links a::before {
    content: "→";
    color: #3b82f6;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-services a:hover::before,
.footer-links a:hover::before {
    transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.footer-copyright p,
.footer-certification p {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
    overflow-wrap: break-word;
}

.footer-certification p {
    font-weight: 500;
    color: #cbd5e1;
}

.footer-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.capability-box {
    flex: 0 0 auto;
}

.emergency-box {
    flex: 0 0 auto;
}

.emergency-box a {
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.emergency-box a:hover {
    background: white;
    color: #000000;
}

@media (max-width: 992px) {
    .footer-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .emergency-box {
        justify-content: flex-start;
    }
}

/* Footer Contact Items Mobile Fix */
@media (max-width: 600px) {
    .footer {
        overflow-x: hidden;
    }
    
    .footer .container {
        padding: 0 0.5rem;
        max-width: 100%;
        overflow: hidden;
    }
    
    .contact-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
    }
    
    .contact-section .contact-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        width: 100% !important;
        margin-bottom: 1.2rem !important;
        padding: 0 !important;
    }
    
    .contact-section .contact-item i {
        color: #3b82f6;
        font-size: 1rem !important;
        margin-top: 0.1rem !important;
        min-width: 16px !important;
    }
    
    .contact-section .contact-item.emergency i {
        color: #f59e0b !important;
    }
    
    .contact-section .contact-item span {
        width: 100% !important;
        overflow-wrap: break-word !important;
    }
    
    .contact-section .contact-item strong {
        color: #cbd5e1 !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
    }
    
    .contact-section .contact-item a[href^="tel:"] {
        color: #60a5fa !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        word-spacing: normal !important;
        letter-spacing: 0.5px !important;
    }
    
    .contact-section .contact-item a[href^="mailto:"] {
        color: #60a5fa !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        word-break: break-all !important;
        line-height: 1.3 !important;
    }
    
    /* Address section */
    .contact-section .contact-item:last-child span {
        color: #e2e8f0 !important;
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
}

.contact-section .contact-item {
    overflow-wrap: break-word;
    line-height: 1.5;
}

.contact-section .contact-item a[href^="mailto:"] {
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.4;
    max-width: 100%;
    display: inline-block;
}

.contact-section .contact-item a[href^="tel:"] {
    white-space: nowrap;
    display: inline-block;
}

.contact-section .contact-item span {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

.footer-services a,
.footer-links a {
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Privacy Link */
.privacy-link {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #60a5fa;
}

.emergency-note {
    color: #fc8181;
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
}

/* ============================================================================
   11. COMPONENTS (Modals, Buttons, Forms, Lightbox)
   ============================================================================ */
/* Component styles are interspersed above - see:
   - Lightbox Modal (line ~2015)
   - Contact Modal (line ~2454)
   - Back to Top Button (line ~2136)
   - Form Styles (line ~2180)
*/

/* ============================================================================
   12. RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================================================ */
/* All responsive breakpoints consolidated below for easier maintenance */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .contact-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content {
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about, .services {
        padding: 3rem 0;
    }
    
    .about-content {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .project-card {
        padding: 1.5rem 1rem 1rem 1rem;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        gap: 0.75rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-image img {
        max-width: 400px;
    }
    
    .about, .services {
        padding: 2rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 1.25rem;
    }
    
    .service-image img {
        height: 150px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-preview-img {
        width: 120px;
        height: 80px;
    }
    
    .footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer {
        overflow-x: hidden;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .company-info .footer-logo img {
        max-width: 280px;
    }
    
    .company-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        overflow-wrap: break-word;
    }
    
    .social-media h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .social-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Contact items already handled by 600px breakpoint */
    
    .footer-services a,
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 320px) {
    .hero {
        padding: 1.5rem 0;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .about, .services {
        padding: 1.5rem 0;
    }
    
    .service-item li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .footer {
        overflow-x: hidden;
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer .container {
        padding: 0 0.1rem;
    }
    
    /* More specific mobile contact adjustments for very small screens */
    .contact-section .contact-item a[href^="tel:"] {
        font-size: 0.85rem !important;
        letter-spacing: 0.3px !important;
    }
    
    .contact-section .contact-item a[href^="mailto:"] {
        font-size: 0.75rem !important;
    }
    
    .contact-section .contact-item strong {
        font-size: 0.8rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    /* Removed redundant contact styles - handled by 600px breakpoint */
    
    .contact-section .contact-item a[href^="mailto:"] {
        font-size: 0.8rem;
        word-break: break-word;
        hyphens: auto;
        display: inline;
    }
    
    .contact-section .contact-item a[href^="tel:"] {
        font-size: 0.75rem;
        white-space: nowrap;
        display: block;
        margin-top: 0.2rem;
    }
    
    .contact-section .contact-item strong {
        display: block;
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }
    

    
    .footer-services a,
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .made-by {
        font-size: 0.75rem;
    }
    
    .footer-section {
        min-width: 0;
    }
    
    .legal-page {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .project-group { padding: 18px 6px; }
    .projects-gallery img { width: 140px; height: 100px; }
}
@media (max-width: 600px) {
    .project-group { padding: 10px 2px; }
    .projects-gallery { gap: 10px; }
    .projects-gallery img { width: 90px; height: 60px; }
    .upload-form {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 8px;
    }
    .upload-form label {
        margin-bottom: 6px;
    }
    .btn-upload {
        width: 100%;
    }
    .lightbox-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .lightbox-close {
        top: 10px;
        right: 18px;
        font-size: 32px;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lightbox-modal.show {
    display: flex;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: #fff;
    padding: 1rem;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #00B4D8;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 58, 138, 0.8);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-nav:hover {
    background: rgba(30, 58, 138, 1);
    transform: translateY(-50%) scale(1.1);
}

#lightbox-prev {
    left: 2rem;
}

#lightbox-next {
    right: 2rem;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
    z-index: 1002;
    max-width: 80%;
    backdrop-filter: blur(10px);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .lightbox-caption {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        bottom: 1rem;
    }
}

/* Upload Form Styles */
.upload-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.upload-form label {
    font-weight: bold;
    margin-right: 10px;
}
.btn-upload {
    background-color: #4A90E2;
    color: white;
    border: 2px solid #4A90E2;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.btn-upload:hover {
    background-color: #357ABD;
    border-color: #357ABD;
}

/* Button Icon Styles */
.btn i { margin-right: 8px; }
.btn.btn-emergency { background: #d32f2f; color: #fff; border: 2px solid #d32f2f; }
.btn.btn-emergency:hover { background: #b71c1c; border-color: #b71c1c; }

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.4);
}

#backToTop:focus {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

/* About Highlight */
.about-highlight { background: #f0f8ff; }

/* Testimonials */
.testimonials { background: #fff; padding: 60px 0; }
.testimonials-list { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.testimonial-item { background: #f9f9f9; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); padding: 24px; max-width: 350px; font-style: italic; }
.testimonial-item span { display: block; margin-top: 12px; font-weight: bold; color: #357ABD; font-style: normal; }

/* Map Section */
.map-section { background: #f9f9f9; padding: 60px 0; }
.map-embed { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* Contact Form */
.contact-form-section { background: #fff; padding: 60px 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 400px; margin: 0 auto; }
.contact-form label { font-weight: bold; }
.contact-form input, .contact-form textarea { padding: 10px; border-radius: 5px; border: 1px solid #ccc; font-size: 16px; }
.contact-form button { align-self: flex-end; }

/* Legal Pages Styling */
.legal-content {
    padding: 2rem 0 4rem 0;
    background: #f8fafc;
    min-height: 80vh;
}

.legal-page {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3b82f6;
}

.legal-section p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section .contact-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    margin-top: 1rem;
}

.legal-section .contact-info p {
    margin-bottom: 0.5rem;
}

.legal-section .contact-info p:last-child {
    margin-bottom: 0;
}

.legal-section .contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

.legal-section .contact-info a:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Made By Credit Styling */
.made-by {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.made-by a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.made-by a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Emergency Note */
.emergency-note { color: #d32f2f; font-size: 13px; margin-left: 6px; }

/* Accessibility Tweaks */
.btn, .btn:focus { outline: 2px solid #357ABD; outline-offset: 2px; }

/* Responsive Tweaks */
@media (max-width: 900px) {
    .testimonials-list { flex-direction: column; align-items: center; }
    .about-content { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .about-content, .services-grid { grid-template-columns: 1fr; }
    .testimonials, .map-section, .contact-form-section { padding: 30px 0; }
    .testimonial-item { max-width: 95vw; }
    #backToTop { right: 10px; bottom: 10px; width: 40px; height: 40px; font-size: 18px; }
}

/* Projects Grid and Card Styles */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0;
}
.project-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
    padding: 0.85rem;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.project-card:hover {
    box-shadow: 0 12px 24px rgba(0, 180, 216, 0.15);
    transform: translateY(-8px);
}
.project-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.rename-project-btn {
    background: none;
    border: none;
    color: #357ABD;
    margin-left: 2px;
    cursor: pointer;
    font-size: 1.1rem;
    vertical-align: middle;
    padding: 0 2px;
}
.rename-project-btn:hover { color: #d32f2f; }
.project-preview-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 0.25rem;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    background: #e9ecf2;
}
.project-preview-img:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    transform: scale(1.04);
}

/* See More Projects Link */
.see-more-container {
    text-align: center;
    margin-top: 1.5rem;
}

.see-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00B4D8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #00B4D8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.see-more-link:hover {
    background: #00B4D8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
}

.see-more-link i {
    transition: transform 0.3s ease;
}

.see-more-link:hover i {
    transform: translateX(4px);
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 5rem 0;
    text-align: center;
}

.contact-intro {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f97316;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-contact-cta:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-contact-cta i {
    font-size: 1.25rem;
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.contact-modal.show {
    display: block;
}

.contact-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #000;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-modal-close:hover {
    background: #f97316;
    transform: rotate(90deg);
}

.contact-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem;
}

@media (max-width: 992px) {
    .contact-modal {
        padding: 1rem 0.5rem;
        align-items: flex-start;
    }

    .contact-modal-content {
        margin: 0;
        border-radius: 12px;
        max-height: none;
        min-height: auto;
    }

    .contact-modal-grid {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem 2rem 1.5rem;
        gap: 2rem;
    }

    .contact-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .map-embed iframe {
        min-height: 300px !important;
    }
}

/* ============================================
   COMING SOON MODAL
   ============================================ */
.coming-soon-content {
    max-width: 500px;
    text-align: center;
    padding: 3rem;
}

.coming-soon-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.coming-soon-message i {
    font-size: 4rem;
    color: #f97316;
}

.coming-soon-message h2 {
    font-size: 2rem;
    color: #000;
    margin: 0;
}

.coming-soon-message p {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .coming-soon-content {
        padding: 2rem;
    }

    .coming-soon-message i {
        font-size: 3rem;
    }

    .coming-soon-message h2 {
        font-size: 1.5rem;
    }

    .coming-soon-message p {
        font-size: 1rem;
    }
}

.delete-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(231,76,60,0.08);
    transition: background 0.18s;
    z-index: 2;
}
.delete-image-btn:hover {
    background: #c0392b;
}
.view-project-btn {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #2a6bbf;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
}
.project-card:hover .view-project-btn {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Gallery Grid for Project Images */
.admin-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 18px;
}
.image-caption {
    margin-top: 6px;
    font-size: 0.98rem;
    color: #444;
    background: #e9ecf2;
    border-radius: 6px;
    padding: 3px 8px;
    max-width: 130px;
    word-break: break-word;
    margin-bottom: 2px;
}

/* Section spacing */
.section {
    margin-bottom: 48px;
}

/* Misc improvements */
input, select, textarea {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #cfd8e3;
    padding: 7px 10px;
    margin-bottom: 10px;
}
label {
    font-weight: 600;
    color: #2a6bbf;
    margin-bottom: 4px;
    display: block;
}

