/* ============================================
   SEB Cooling Ltd - Main Stylesheet
   ============================================ */

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

:root {
    --primary-blue: #1677ff;
    --dark-navy: #041b45;
    --dark-gradient: linear-gradient(90deg, #02142f, #05275e);
    --white: #ffffff;
    --light-grey: #f7f8fb;
    --border: #e4e7ee;
    --text-dark: #1a1a1a;
    --text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #0d5fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.btn-emergency {
    background-color: var(--white);
    color: var(--dark-navy);
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
}

.btn-emergency:hover {
    background-color: var(--light-grey);
    transform: scale(1.05);
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar-right {
    font-weight: 500;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: inline-block;
}

.logo img {
    max-height: 50px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-navy);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 999;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-list a {
    display: block;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 500;
}

.mobile-menu-list a:hover {
    background-color: var(--light-grey);
    color: var(--primary-blue);
}

.mobile-quote-btn {
    margin: 20px 30px;
    width: calc(100% - 60px);
}

/* Page Hero */
.page-hero {
    background: var(--dark-gradient);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero-content {
    position: relative;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.snowflake {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/rooftop.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 20, 47, 0.9) 0%, rgba(2, 20, 47, 0.5) 50%, transparent 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
    color: var(--white);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--light-grey);
    padding: 40px 0;
}

.trust-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.trust-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Services Section */
.services-section {
    background-color: var(--dark-navy);
    padding: 80px 0;
    color: var(--white);
}

.services-section .section-header h2 {
    color: var(--white);
}

.services-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.service-link:hover {
    text-decoration: underline;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.project-image {
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-navy);
}

.project-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.project-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    display: inline-block;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

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

.quote-areas h3,
.quote-form-container h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.quote-areas ul {
    list-style: none;
}

.quote-areas li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.quote-areas li::before {
    content: '✓';
    color: var(--primary-blue);
    margin-right: 10px;
    font-weight: 700;
}

.quote-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

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

.quote-map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Emergency Strip */
.emergency-strip {
    background: var(--dark-gradient);
    padding: 50px 0;
    color: var(--white);
}

.emergency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.emergency-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.emergency-text p {
    font-size: 16px;
    opacity: 0.9;
}

.emergency-text .snowflake {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: #010a1e;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-blue);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-link {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 14px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 5px;
}

/* Services Detail Section */
.services-detail-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

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

.service-detail-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-detail-image {
    height: 250px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    padding: 30px;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

.service-detail-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.service-detail-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 25px;
}

.service-detail-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: var(--text-light);
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.service-quote-btn {
    width: 100%;
}

/* Filter Bar */
.filter-bar {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 25px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* Projects Gallery */
.projects-gallery {
    padding: 60px 0;
    background-color: var(--light-grey);
}

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-gallery-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-gallery-item.hidden {
    display: none;
}

.project-gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.project-gallery-item:hover .project-gallery-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.project-gallery-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-gallery-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-navy);
}

.project-gallery-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-view-btn {
    width: 100%;
    margin-top: auto;
}

/* About Intro */
.about-intro {
    padding: 80px 0;
    background-color: var(--white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-navy);
}

.about-intro-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-intro-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.value-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    font-size: 20px;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-navy);
}

.value-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Certification Strip */
.certification-strip {
    background-color: var(--dark-navy);
    padding: 60px 0;
    color: var(--white);
}

.certification-content {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.certification-badge {
    text-align: center;
}

.badge-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.certification-badge h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.certification-badge p {
    font-size: 14px;
    opacity: 0.8;
}

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

.commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.commitment-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-navy);
}

.commitment-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.commitment-text ul {
    list-style: none;
    margin-top: 20px;
}

.commitment-text li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-light);
}

.commitment-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.commitment-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.commitment-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

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

.contact-info h2,
.contact-form-container h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-navy);
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-navy);
}

.contact-details p {
    font-size: 15px;
    color: var(--text-light);
}

.contact-note {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-form-container {
    background-color: var(--light-grey);
    padding: 40px;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

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

/* Service Area Section */
.service-area-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.service-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-area-map {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-area-list h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.service-area-list > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.area-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.area-item ul {
    list-style: none;
}

.area-item li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-light);
}

.area-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: var(--white);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--light-grey);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--border);
}

.modal-header {
    padding: 40px 40px 20px;
    text-align: center;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-navy);
}

.modal-body {
    padding: 0 40px 40px;
}

.modal-emergency-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #856404;
}

.modal-emergency-notice .snowflake {
    font-size: 20px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

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

/* Project Modal */
.project-modal {
    max-width: 900px;
}

.project-modal-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
}

.project-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal-details h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.project-modal-details > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.project-modal-info {
    background-color: var(--light-grey);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.project-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.project-info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--dark-navy);
}

.project-modal-details .btn {
    width: 100%;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-area-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .top-bar {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .trust-items {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-masonry {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .commitment-images {
        flex-direction: row;
    }
    
    .commitment-image img {
        height: 150px;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-text .snowflake {
        display: none;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .commitment-images {
        flex-direction: column;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-emergency {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .hero-text h1 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .page-hero h1 {
        font-size: 24px;
    }
}
