/* Fonts loaded via HTML <link> tags for better performance */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Auto-filled form fields styling */
input[readonly], select[disabled] {
    background-color: #f5f5f5 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    border: 1px solid #ddd !important;
}

input[readonly]:focus, select[disabled]:focus {
    box-shadow: none !important;
    border-color: #ddd !important;
}

.form-info {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 80px;
    width: 100%;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    margin-right: 30px;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block; /* Now showing since real images are added */
    max-width: none;
}

/* Ensure logos load properly */
.logo-image,
.footer-logo {
    object-fit: contain;
}

.nav-logo h1 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #1e293b;
    background: rgba(30, 41, 59, 0.05);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.nav-link.special {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.nav-link.special:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    color: white;
}

.nav-link.admin {
    background: linear-gradient(135deg, #003668, #0056b3);
    color: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.nav-link.admin:hover {
    background: linear-gradient(135deg, #0056b3, #003668);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: white;
}

/* Simple Navigation Styles - No Icons */
.nav-link {
    margin-right: 0;
    padding: 0.5rem 1rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menu Styles */
.dropdown .dropdown-arrow {
    transform: rotate(0deg);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 280px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-link:hover {
    background: rgba(5, 150, 105, 0.05);
    color: #059669;
    transform: translateX(5px);
}

.dropdown-link.emergency {
    border-left: 3px solid #003668;
    background: rgba(220, 38, 38, 0.05);
}

.dropdown-link.emergency:hover {
    background: rgba(0, 54, 104, 0.1);
    color: #003668;
}

/* Remove old submenu-icon styles - replaced with Font Awesome */

.submenu-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.submenu-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
}

.submenu-desc {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    background-color: rgba(0, 54, 104, 0.05);
    border: 1px solid rgba(0, 54, 104, 0.1);
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
}

.nav-toggle:hover {
    background: #0036681a;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    background: #003668;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Ensure all hero sections have consistent styling */
.hero .hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white !important;
}

/* Force consistent styling across all pages - ultra specific */
section.hero .hero-content h2.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 41, 59, 0.1) 0%, rgba(251, 146, 60, 0.05) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #002d4e;
    color: white;
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e293b;
}

/* Unified button style for all buttons and button-like links */
button, .button, input[type="button"], input[type="submit"], a.button-link, .btn, .btn-primary, .btn-secondary {
  background: #002d4e !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
  border-radius: 12px !important;
  padding: 0.75em 2em !important;
  font-weight: bold !important;
  font-size: 1.1em !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  transition: background 0.2s, color 0.2s, border 0.2s !important;
  cursor: pointer !important;
  outline: none !important;
  margin: 0.5em !important;
  display: inline-block;
  text-align: center;
  text-decoration: none !important;
}
button:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover, a.button-link:hover, .btn:hover, .btn-primary:hover, .btn-secondary:hover {
  background: #1e293b !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* Remove old .btn-primary and .btn-secondary variants */
.btn-primary, .btn-secondary {
  background: #002d4e !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: linear-gradient(rgba(248, 249, 250, 0.97), rgba(248, 249, 250, 0.97)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-icon {
    color: #1e293b;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    height: 250px;
    background: #e9ecef;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(30, 41, 59, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.portfolio-category {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    margin: 0 0 0.5rem 0;
    padding: 0;
}

.portfolio-content p {
    margin: 0;
    padding: 0;
}

.image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #f1f3f4, #e9ecef);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e9ecef;
    opacity: 0.6;
}

.portfolio-item:nth-child(1) .image-placeholder::before {
    background: #495057;
}

.portfolio-item:nth-child(2) .image-placeholder::before {
    background: #495057;
}

.portfolio-item:nth-child(3) .image-placeholder::before {
    background: #495057;
}

.portfolio-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #1e293b;
    font-size: 1.3rem;
}

.portfolio-item p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-item a {
    color: #1e293b;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e293b;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    display: block; /* Now showing since real images are added */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #475569;
    color: #ccc;
}

/* Fix: Ensure all text on blue backgrounds is white for accessibility */
.bg-blue, 
.bg-dark-blue, 
.bg-navy, 
.bg-cta, 
.bg-emergency, 
.bg-footer, 
.hero, 
.cta-section, 
.emergency-section, 
.footer, 
.page-hero, 
[data-bg-blue],
section[style*="background: #003668"],
section[style*="background: #1e293b"],
section[style*="background: #0056b3"],
section[style*="background: #002d4e"],
section[style*="background: linear-gradient(135deg, #003668, #0056b3"],
section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"],
section[style*="background: linear-gradient(135deg, #0056b3, #003668"] {
  color: #fff !important;
}

/* Override blue text on blue backgrounds to white */
.bg-blue *,
.bg-dark-blue *,
.bg-navy *,
.bg-cta *,
.bg-emergency *,
.bg-footer *,
.hero *,
.cta-section *,
.emergency-section *,
.footer *,
.page-hero *,
[data-bg-blue] *,
section[style*="background: #003668"] *,
section[style*="background: #1e293b"] *,
section[style*="background: #0056b3"] *,
section[style*="background: #002d4e"] *,
section[style*="background: linear-gradient(135deg, #003668, #0056b3"] *,
section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] *,
section[style*="background: linear-gradient(135deg, #0056b3, #003668"] * {
  color: #fff !important;
}

/* Specifically override common blue text classes/selectors on blue backgrounds */
.bg-blue .text-blue,
.bg-dark-blue .text-blue,
.bg-navy .text-blue,
.bg-cta .text-blue,
.bg-emergency .text-blue,
.bg-footer .text-blue,
.hero .text-blue,
.cta-section .text-blue,
.emergency-section .text-blue,
.footer .text-blue,
.page-hero .text-blue,
[data-bg-blue] .text-blue,
section[style*="background: #003668"] .text-blue,
section[style*="background: #1e293b"] .text-blue,
section[style*="background: #0056b3"] .text-blue,
section[style*="background: #002d4e"] .text-blue,
section[style*="background: linear-gradient(135deg, #003668, #0056b3"] .text-blue,
section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] .text-blue,
section[style*="background: linear-gradient(135deg, #0056b3, #003668"] .text-blue {
  color: #fff !important;
}

/* Utility: If you use .text-blue for links, add underline for visibility on blue backgrounds */
.bg-blue a,
.bg-dark-blue a,
.bg-navy a,
.bg-cta a,
.bg-emergency a,
.bg-footer a,
.hero a,
.cta-section a,
.emergency-section a,
.footer a,
.page-hero a,
[data-bg-blue] a,
section[style*="background: #003668"] a,
section[style*="background: #1e293b"] a,
section[style*="background: #0056b3"] a,
section[style*="background: #002d4e"] a,
section[style*="background: linear-gradient(135deg, #003668, #0056b3"] a,
section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] a,
section[style*="background: linear-gradient(135deg, #0056b3, #003668"] a {
  color: #fff !important;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-container {
        position: relative;
        justify-content: space-between;
    }
    
    .nav-logo {
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .nav-menu {
        order: 3;
        position: fixed !important;
        left: -100% !important;
        top: 80px !important;
        flex-direction: column !important;
        background: white !important;
        width: 100vw !important;
        height: calc(100vh - 80px) !important;
        text-align: center !important;
        transition: left 0.3s ease-in-out !important;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15) !important;
        padding: 2rem 0 !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        transform: translateZ(0) !important;
    }

    .nav-menu.active {
        left: 0 !important;
        transform: translateZ(0) !important;
    }

    /* Overlay when menu is active */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    body.menu-open {
        overflow: hidden !important;
    }

    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: background 0.3s ease;
        z-index: 10001;
        order: 1;
        align-self: flex-start;
        background-color: rgba(0, 54, 104, 0.05);
        border: 1px solid rgba(0, 54, 104, 0.1);
        min-width: 40px;
        min-height: 40px;
        justify-content: center;
        position: relative;
    }
    
    .nav-toggle:hover {
        background: rgba(0, 54, 104, 0.1);
    }
    
    .nav-toggle span {
        display: block;
        width: 28px;
        height: 4px;
        background: #003668;
        margin: 4px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -8px);
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        color: #1e293b;
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: #f8fafc;
        color: #2563eb;
    }
    
    .dropdown-menu {
        display: none;
        position: static;
        background: #f8fafc;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        border-left: 3px solid #2563eb;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-link {
        display: block;
        padding: 0.75rem 3rem;
        color: #64748b;
        font-size: 0.9rem;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .dropdown-link:hover {
        background: #e2e8f0;
        color: #2563eb;
    }

    .hero {
        background-attachment: scroll; /* Fix parallax on mobile */
        background-position: center center;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Responsive Admin Dashboard Enhancements */
    .dashboard-header,
    .admin-tabs-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .dashboard-header {
        padding: 1rem;
    }
    .admin-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 35px;
    }

    .footer-logo {
        height: 30px;
    }

    section {
        padding: 60px 0;
    }

    .dashboard-header,
    .admin-tabs-container {
        padding: 0.5rem;
    }
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    .tab-btn {
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
    }
    .data-table th,
    .data-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    .admin-login {
        padding: 1rem;
        max-width: 98vw;
    }
}

/* Make tables scrollable on mobile */
.data-table {
  overflow-x: auto;
}
.data-table table {
  min-width: 600px;
}

/* Responsive modals */
.modal {
  max-width: 98vw;
  padding: 1rem;
  box-sizing: border-box;
}

/* Responsive form fields */
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-size: 1rem;
  padding: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Hero Sections */
.page-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Active Navigation */
.nav-link.active {
    color: #1e293b;
    font-weight: 600;
}

/* Service Cards Enhanced */
.services-detail {
    background: linear-gradient(rgba(248, 249, 250, 0.97), rgba(248, 249, 250, 0.97)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.service-card.featured {
    grid-column: span 1;
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.service-features li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e293b;
    font-weight: bold;
}

/* Portfolio Filter */
.portfolio-filter {
    background: #f8f9fa;
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1e293b;
    color: white;
    border-color: #1e293b;
}

/* Portfolio Gallery */
.portfolio-gallery {
    padding: 4rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.97), rgba(248, 249, 250, 0.97)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 41, 59, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.gallery-info p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.gallery-category {
    background: #002d4e;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Process Section */
.process-section {
    background: linear-gradient(rgba(248, 249, 250, 0.97), rgba(248, 249, 250, 0.97)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.process-number {
    width: 60px;
    height: 60px;
    background: #1e293b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background: #1e293b;
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Portfolio Stats Specific */
.portfolio-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.portfolio-stats .stat-number {
    color: #1e293b;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Animation for scroll */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .portfolio-item,
    .gallery-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }
}

/* About Page Styles */
.about {
    background: linear-gradient(rgba(248, 249, 250, 0.97), rgba(248, 249, 250, 0.97)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.company-values {
    margin-top: 2rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e293b;
    font-weight: bold;
}

.values-list li:last-child {
    border-bottom: none;
}

/* Team Section */
.team-section {
    background: linear-gradient(rgba(248, 249, 250, 0.97), rgba(248, 249, 250, 0.97)), url('../images/blue-roller-shutters.jpg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-image {
    margin-bottom: 1.5rem;
}

.placeholder-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.placeholder-avatar:hover {
    transform: scale(1.05);
}

.team-role {
    color: #002d4e;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Certifications */
.certifications-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Certification Logos */
.cert-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.certification-logo {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.certification-logo:hover {
    transform: scale(1.05);
}

/* Mini Certification Badges */
.cert-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.mini-cert-logo {
    height: 25px;
    max-width: 50px;
    object-fit: contain;
    opacity: 0.9;
}

/* Insurance Section */
.insurance-section {
    margin-bottom: 4rem;
}

.insurance-details {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.insurance-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    border-left: 5px solid #1e293b;
}

.insurance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.insurance-header h4 {
    color: #1e293b;
    margin: 0;
    font-size: 1.3rem;
}

.coverage-amount {
    background: #003668;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
}

.insurance-info {
    margin-bottom: 2rem;
}

.insurance-info p {
    margin: 0.75rem 0;
    color: #374151;
    font-size: 0.95rem;
}

.insurance-info strong {
    color: #1e293b;
}

.certificate-download {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .insurance-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .insurance-card {
        margin: 0 1rem;
    }
}

/* Service Area Map */
.map-container {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
}

.coverage-info {
    margin-top: 3rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.coverage-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1e293b;
}

.coverage-item h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.coverage-item p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .service-map {
        height: 300px;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .coverage-item {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e293b;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-details h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.contact-details p {
    margin: 0.25rem 0;
}

.contact-details .small {
    font-size: 0.9rem;
    color: #666;
}

.service-areas {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.service-areas ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-areas li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.service-areas li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #666;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Insurance Badge */
.insurance-badge {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    border-radius: 12px;
    text-align: center;
}

.insurance-badge h4 {
    margin: 0 0 1rem 0;
    color: white;
}

.insurance-badge p {
    margin: 0.5rem 0;
}

.insurance-badge .small {
    opacity: 0.9;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, #003668, #0056b3);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.emergency-content {
    max-width: 600px;
    margin: 0 auto;
}

.emergency-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.emergency-actions {
    margin-top: 2rem;
}

.emergency-note {
    display: block;
    margin-top: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: -3rem;
    width: 2px;
    background: #e9ecef;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: #1e293b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-item:not(:last-child)::after {
        display: none;
    }
}

/* FINAL OVERRIDE - Ensure About page hero title matches all others */
html body section.hero div.hero-container div.hero-content h2.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maintenance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.maintenance-card.featured {
    border: 2px solid #1e293b;
    position: relative;
    overflow: hidden;
}

.maintenance-card.featured::before {
    content: "FEATURED";
    position: absolute;
    top: 10px;
    right: -25px;
    background: #002d4e;
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.maintenance-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.maintenance-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.maintenance-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.maintenance-features li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.maintenance-pricing {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.maintenance-pricing h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.maintenance-pricing p {
    color: #666;
    margin: 0.5rem 0 0 0;
}

.maintenance-lookup {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.maintenance-form {
    margin-bottom: 1.5rem;
}

.maintenance-form .form-group {
    margin-bottom: 1rem;
}

.maintenance-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.maintenance-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.service-record {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #1e293b;
    margin-top: 1rem;
}

.service-record h5 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.record-details {
    margin-bottom: 1.5rem;
}

.record-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-history {
    margin: 1.5rem 0;
}

.service-history h6 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.history-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.history-date {
    min-width: 100px;
    font-weight: 600;
    color: #1e293b;
}

.history-details {
    flex: 1;
    padding-left: 1rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.emergency-contact {
    text-align: center;
    padding: 1.5rem;
    background: #e6f3ff;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.emergency-contact h4 {
    color: #003668;
    margin-bottom: 0.5rem;
}

.emergency-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003668;
    text-decoration: none;
}

.emergency-number:hover {
    text-decoration: underline;
}

.service-benefits {
    text-align: center;
    margin-top: 3rem;
}

.service-benefits h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Mobile Responsiveness for Maintenance Section */
@media (max-width: 768px) {
    .maintenance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .history-item {
        flex-direction: column;
    }
    
    .history-date {
        margin-bottom: 0.5rem;
    }
    
    .history-details {
        padding-left: 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Icon Styling */
.service-icon img,
.contact-icon img,
.cert-icon img,
.benefit-icon img,
.maintenance-icon img,
.emergency-icon img {
    transition: transform 0.3s ease;
}

.service-icon img:hover,
.contact-icon img:hover,
.cert-icon img:hover,
.benefit-icon img:hover {
    transform: scale(1.1);
}

/* Ensure consistent icon sizing */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon,
.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.cert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Service Area Maps Responsive */
@media (max-width: 768px) {
    .service-area-content,
    .contact-coverage-info {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    #servicesMap,
    #contactMap,
    #portfolioMap {
        height: 300px !important;
    }
    
    .coverage-list {
        grid-template-columns: 1fr !important;
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .portfolio-stats {
        grid-template-columns: 1fr !important;
    }
}

/* Admin Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 2px solid #f0f0f0;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #082541 0%, #082541 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Admin Login Styles */
.admin-login {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.admin-login h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.admin-login .contact-form {
    margin: 0;
}

.admin-login .contact-form .form-group {
    margin-bottom: 1rem;
}

.admin-login .contact-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.admin-login .submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.admin-login .submit-btn:hover {
    background: #e67e22;
}

.admin-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: #003668;
    border-bottom-color: #003668;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.variables-help {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.variable-tag {
    background: #e8f4fd;
    color: #002d4e;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-family: monospace;
}

.service-filters,
.warranty-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.service-filters select,
.warranty-filters select,
.service-filters input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.data-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #003668;
    border-bottom: 1px solid #dee2e6;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    background: white;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table tr:hover td {
    background: #f8f9fa;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.expired {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.expiring {
    background: #fff3cd;
    color: #856404;
}

.status-badge.scheduled {
    background: #cce7ff;
    color: #004085;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.overdue {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.cancelled {
    background: #e2e3e5;
    color: #383d41;
}

.btn-sm {
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-right: 5px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm.btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-sm.btn-secondary:hover {
    background: #545b62;
    border-color: #4e555b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: #28a745;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Data Table Button Improvements */
.data-table .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table .btn-sm.btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.data-table .btn-sm.btn-secondary:hover {
    background: #545b62;
    border-color: #4e555b;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.data-table .btn-sm.btn-primary {
    background: #002d4e;
    color: white;
    border: 1px solid #002d4e;
}

.data-table .btn-sm.btn-primary:hover {
    background: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.data-table .btn-sm.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.data-table .btn-sm.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

/* Enhanced User-Friendly Button Styles */
.btn-with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-with-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dashboard Header Improvements */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 5px solid #003668;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-title h2 {
    margin: 0 0 0.5rem 0;
    color: #003668;
    font-size: 1.8rem;
}

.dashboard-subtitle {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Admin Tabs Container */
.admin-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.admin-tabs {
    display: flex;
    border-bottom: none;
    margin-bottom: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #666;
}

.tab-btn:hover {
    background: #f8f9fa;
    color: #003668;
}

.tab-btn.active {
    color: #003668;
    border-bottom-color: #003668;
    background: #f8f9fa;
}

.tab-icon {
    font-size: 1.2rem;
}

/* Customer Portal Welcome Section */
.welcome-section h2 {
    margin: 0 0 0.5rem 0;
    color: #003668;
    font-size: 1.8rem;
}

.customer-ref-display {
    margin: 0.25rem 0;
    color: #666;
    font-size: 0.95rem;
}

.last-login {
    margin: 0.25rem 0;
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.customer-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Enhanced Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
    border-left: 4px solid transparent;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.action-btn.emergency {
    border-left-color: #dc3545;
}

.action-btn.emergency:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 50%);
}

.action-btn.primary {
    border-left-color: #002d4e;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #f0f8ff 0%, #cce7ff 50%);
}

.action-btn.secondary {
    border-left-color: #6c757d;
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%);
}

.action-btn.success {
    border-left-color: #28a745;
}

.action-btn.success:hover {
    background: linear-gradient(135deg, #f8fff9 0%, #d4edda 50%);
}

.action-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.action-content h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced Logout Button */
.btn-danger.btn-with-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.btn-danger.btn-with-icon:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Fix: Force all headings and strong text to white on blue/gradient backgrounds */
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section h5, .cta-section h6,
.emergency-section h1, .emergency-section h2, .emergency-section h3, .emergency-section h4, .emergency-section h5, .emergency-section h6,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.page-hero h1, .page-hero h2, .page-hero h3, .page-hero h4, .page-hero h5, .page-hero h6,
.footer-title, .footer .footer-title, .footer strong, .footer .footer-heading, .footer .footer-section-title,
.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4, .bg-blue h5, .bg-blue h6,
.bg-dark-blue h1, .bg-dark-blue h2, .bg-dark-blue h3, .bg-dark-blue h4, .bg-dark-blue h5, .bg-dark-blue h6,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6,
.bg-cta h1, .bg-cta h2, .bg-cta h3, .bg-cta h4, .bg-cta h5, .bg-cta h6,
.bg-emergency h1, .bg-emergency h2, .bg-emergency h3, .bg-emergency h4, .bg-emergency h5, .bg-emergency h6,
.bg-footer h1, .bg-footer h2, .bg-footer h3, .bg-footer h4, .bg-footer h5, .bg-footer h6,
[data-bg-blue] h1, [data-bg-blue] h2, [data-bg-blue] h3, [data-bg-blue] h4, [data-bg-blue] h5, [data-bg-blue] h6,
section[style*="background: #003668"] h1, section[style*="background: #003668"] h2, section[style*="background: #003668"] h3, section[style*="background: #003668"] h4, section[style*="background: #003668"] h5, section[style*="background: #003668"] h6,
section[style*="background: #1e293b"] h1, section[style*="background: #1e293b"] h2, section[style*="background: #1e293b"] h3, section[style*="background: #1e293b"] h4, section[style*="background: #1e293b"] h5, section[style*="background: #1e293b"] h6,
section[style*="background: #0056b3"] h1, section[style*="background: #0056b3"] h2, section[style*="background: #0056b3"] h3, section[style*="background: #0056b3"] h4, section[style*="background: #0056b3"] h5, section[style*="background: #0056b3"] h6,
section[style*="background: #002d4e"] h1, section[style*="background: #002d4e"] h2, section[style*="background: #002d4e"] h3, section[style*="background: #002d4e"] h4, section[style*="background: #002d4e"] h5, section[style*="background: #002d4e"] h6,
section[style*="background: linear-gradient(135deg, #003668, #0056b3"] h1, section[style*="background: linear-gradient(135deg, #003668, #0056b3"] h2, section[style*="background: linear-gradient(135deg, #003668, #0056b3"] h3, section[style*="background: linear-gradient(135deg, #003668, #0056b3"] h4, section[style*="background: linear-gradient(135deg, #003668, #0056b3"] h5, section[style*="background: linear-gradient(135deg, #003668, #0056b3"] h6,
section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] h1, section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] h2, section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] h3, section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] h4, section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] h5, section[style*="background: linear-gradient(135deg, #1e293b 0%, #334155 100%)"] h6 {
  color: #fff !important;
}

/* Specific Fix: Force all h3 elements inside .footer to white */
.footer h3 {
  color: #fff !important;
}

.footer .footer-section h3 {
  color: #fff !important;
}
.footer .footer-section h3, .footer-section h3 {
  color: #fff !important;
}

/* Specific Fix: Force all h4 elements inside .footer to white */
.footer h4 {
  color: #fff !important;
}

.footer .footer-section h4 {
  color: #fff !important;
}
.footer .footer-section h4, .footer-section h4 {
  color: #fff !important;
}