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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

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

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

ul {
    list-style: none;
}

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

/* Header */
.header {
    background: #0d1b2a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-top {
    background: rgba(0,0,0,0.3);
    padding: 10px 0;
}

.header-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 14px;
}

.header-contact a:hover {
    color: #d4af37;
}

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

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

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

.nav-menu a {
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #d4af37;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13,27,42,0.2) 0%, rgba(13,27,42,0.15) 50%, rgba(13,27,42,0.25) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 0 0 25px rgba(0,0,0,0.7), 4px 4px 15px rgba(0,0,0,0.8);
}

.hero h1 {
    margin-bottom: 20px;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.8), 5px 5px 20px rgba(0,0,0,0.7);
}
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.7);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(13,27,42,0.9);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.fnb-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.98);
    color: #0d1b2a;
    padding: 15px 35px;
    border-radius: 50px;
    margin: 20px 0;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border: 2px solid rgba(255,215,0,0.3);
}

.fnb-badge img {
    width: 50px;
    height: 50px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #d4af37;
    color: #0d1b2a;
    box-shadow: 0 5px 20px rgba(212,175,55,0.3);
}

.btn-primary:hover {
    background: #f0c44a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Why Choose Us */
.why-choose-us {
    background: #f8f9fa;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}

.credentials {
    background: #0d1b2a;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: left;
}

.credentials ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.credentials li {
    font-size: 14px;
}

/* Services */
.services {
    background: #fff;
}

.services h2, .services .section-subtitle {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.service-card h3 {
    color: #0d1b2a;
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 15px;
    color: #666;
}

.service-card ul {
    padding: 0 20px 20px 40px;
    list-style: disc;
    color: #666;
}

.service-card li {
    margin-bottom: 8px;
}

/* Service Areas */
.service-areas {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%);
    color: #fff;
}

.service-areas h2, .service-areas .section-subtitle {
    color: #fff;
    text-align: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.area-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.area-card h3 {
    color: #d4af37;
    margin-bottom: 20px;
}

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

.area-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.area-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
}

/* Portfolio */
.portfolio {
    background: #f8f9fa;
}

.portfolio h2, .portfolio .section-subtitle {
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13,27,42,0.95), transparent);
    color: #fff;
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

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

.portfolio-overlay h4 {
    margin-bottom: 5px;
}

/* About */
.about {
    background: #fff;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.about-text h3 {
    color: #0d1b2a;
    margin: 30px 0 15px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
    font-size: 20px;
}

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

/* Process */
.process {
    background: #f8f9fa;
}

.process h2, .process .section-subtitle {
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-number {
    font-size: 3rem;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 20px;
}

.process-step h3 {
    color: #0d1b2a;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%);
    color: #fff;
}

.contact h2, .contact .section-subtitle {
    color: #fff;
    text-align: center;
}

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

.contact-info h3 {
    color: #d4af37;
    margin-bottom: 30px;
}

.office {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.office h4 {
    color: #d4af37;
    margin-bottom: 15px;
}

.office p {
    margin-bottom: 10px;
}

.office a {
    color: #fff;
}

.office a:hover {
    color: #d4af37;
}

.fnb-partner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.95);
    color: #1e3c72;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.fnb-partner h4 {
    color: #0d1b2a;
    margin-bottom: 10px;
}

.fnb-partner p {
    color: #666;
    font-size: 14px;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: #0d1b2a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #d4af37;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    color: #aaa;
}

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

.footer-col a {
    color: #aaa;
}

.footer-col a:hover {
    color: #d4af37;
}

.credentials-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.credentials-footer p {
    font-size: 13px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Pulsing animation for WhatsApp button */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e3c72;
        flex-direction: column;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero {
        height: 75vh;
        min-height: 580px;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid,
    .services-grid,
    .areas-grid,
    .portfolio-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 50px 0;
    }
    
    .credentials ul {
        flex-direction: column;
    }
    
    .fnb-partner {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .header-contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card img,
    .portfolio-item {
        height: 200px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
