/* Watt Works Electrical Solutions Inc. - Mobile First CSS */
:root {
    --primary: #F5B800;
    --primary-dark: #D9A400;
    --primary-light: #FFD43B;
    --dark: #1A1A1A;
    --dark-gray: #2D2D2D;
    --medium-gray: #4A4A4A;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --gradient-gold: linear-gradient(135deg, #F5B800 0%, #FFD43B 50%, #F5B800 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #2D2D2D 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-gold: 0 4px 20px rgba(245, 184, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   HEADER - Mobile First
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    display: none;
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

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

.header-top a {
    color: var(--white);
    text-decoration: none;
}

.header-top-left {
    display: flex;
    gap: 20px;
}

.header-top-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-left i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--medium-gray);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 18px;
}

/* Header social links - icon only style */
.header-top .social-links a {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
}

.header-top .social-links a span {
    display: none;
}

.header-main {
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin: 0px 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

/* Mobile Navigation */
.nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 0;
}

.nav.active {
    display: flex;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: color 0.3s ease;
}

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

.header-cta {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 12px 16px;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-cta-bar .call-btn {
    background: var(--gradient-gold);
    color: var(--dark);
}

.mobile-cta-bar .quote-btn {
    background: var(--white);
    color: var(--dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 184, 0, 0.4);
}

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

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

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

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

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

.btn-white:hover {
    background: var(--light-gray);
}

/* ============================================
   PAGE HERO SECTIONS
   ============================================ */
.page-hero {
    margin-top: 64px;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(45,45,45,0.9) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.15) 0%, transparent 70%);
}

.page-hero .section-label {
    display: inline-block;
    background: rgba(245, 184, 0, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.page-hero h1 span {
    color: var(--primary);
}

.page-hero p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

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

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 60px 0;
}

.section-gray {
    background: var(--light-gray);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    background: rgba(245, 184, 0, 0.2);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--medium-gray);
    font-size: 16px;
}

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

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 16px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.card p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* Service Card */
.service-card {
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary);
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: 16px;
}

.service-card .card-link:hover {
    gap: 12px;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
    display: grid;
    gap: 20px;
}

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

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

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

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.1);
}

.form-row {
    display: grid;
    gap: 16px;
}

/* ============================================
   FEATURES / BENEFITS
   ============================================ */
.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--medium-gray);
}

/* Checklist */
.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 15px;
}

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

.checklist i {
    color: var(--primary);
    font-size: 18px;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    padding: 30px 0;
    background: var(--white);
    border-bottom: 1px solid #E5E5E5;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 12px;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--dark);
    flex-shrink: 0;
}

.badge-text h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.badge-text p {
    font-size: 12px;
    color: var(--medium-gray);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--medium-gray);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.area-item i {
    color: var(--primary);
}

.area-item:hover i {
    color: var(--dark);
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
    font-size: 14px;
    color: var(--medium-gray);
    text-decoration: none;
}

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

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--dark);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 20px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--dark);
    margin: 0 auto 16px;
}

.team-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 14px;
    color: var(--medium-gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 60px 0;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.15) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-section h2 span {
    color: var(--primary);
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    position: relative;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #111;
    color: var(--white);
    padding: 60px 0 100px;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 24px;
}

.footer-brand .logo-img {
    height: 85px;
    max-width: 280px;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-section {
    margin-bottom: 30px;
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary);
    width: 16px;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.esa-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.esa-logo-small {
    height: 50px;
    width: auto;
    vertical-align: middle;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
}

/* ESA Badge Styling */
.esa-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

/* ESA Badge Logo Styling */
.esa-logo {
    height: 70px;
    width: auto;
}

/* ============================================
   EMERGENCY BANNER
   ============================================ */
.emergency-banner {
    background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
    color: var(--white);
    padding: 16px;
    text-align: center;
}

.emergency-banner h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.emergency-banner p {
    font-size: 14px;
    opacity: 0.9;
}

.emergency-banner a {
    color: var(--white);
    font-weight: 700;
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--medium-gray);
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--dark);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--medium-gray);
}

/* ============================================
   JOB LISTINGS (Careers)
   ============================================ */
.job-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.job-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--medium-gray);
}

.job-meta i {
    color: var(--primary);
}

.job-card p {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 16px;
}

/* ============================================
   TABLET+ BREAKPOINT (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header-main {
        padding: 16px 0;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        font-size: 26px;
    }

    .btn {
        width: auto;
        padding: 14px 28px;
    }

    .page-hero {
        padding: 80px 0;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 36px;
    }

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

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

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

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

    .area-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer {
        padding-bottom: 60px;
    }

    .mobile-cta-bar {
        display: none;
    }
}

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .header-top {
        display: block;
    }

    .header-main {
        padding: 20px 0;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 28px;
    }

    .nav {
        display: flex;
        position: static;
        background: none;
        padding: 0;
        box-shadow: none;
        flex-direction: row;
        gap: 30px;
    }

    .nav a {
        padding: 0;
        border-bottom: none;
        font-size: 15px;
        position: relative;
    }

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

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

    .header-cta {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .header-cta .esa-badge {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0;
        background: transparent;
        font-size: 14px;
        font-weight: 600;
    }

    .header-cta .esa-badge .esa-logo {
        height: 75px;
        width: auto;
    }

    .mobile-menu-btn {
        display: none;
    }

    .page-hero {
        margin-top: 130px;
        padding: 100px 0;
    }

    .page-hero h1 {
        font-size: 44px;
    }

    .section {
        padding: 100px 0;
    }

    .section-header h2 {
        font-size: 42px;
    }

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

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

    .area-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-section h2 {
        font-size: 36px;
    }

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

    .footer-brand {
        margin-bottom: 0;
    }

    .footer-section {
        margin-bottom: 0;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ============================================
   CABLE FUSION ANIMATION
   ============================================ */
.cable-animation {
    position: relative;
    height: 50px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cable wrapper to control the animation from center */
.cable {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.cable-left {
    right: 50%;
    margin-right: 0px;
    animation: cableMoveLeft 4s ease-in-out infinite;
}

.cable-right {
    left: 50%;
    margin-left: 0px;
    flex-direction: row-reverse;
    animation: cableMoveRight 4s ease-in-out infinite;
}

/* Cable wire - the black outer sheath */
.cable-wire {
    width: 70px;
    height: 14px;
    background: linear-gradient(180deg, 
        #2a2a2a 0%, 
        #4a4a4a 25%,
        #3a3a3a 50%,
        #2a2a2a 75%,
        #1a1a1a 100%);
    border-radius: 3px;
    position: relative;
    box-shadow: 
        inset 0 1px 2px rgba(255,255,255,0.15),
        inset 0 -1px 2px rgba(0,0,0,0.3),
        0 2px 4px rgba(0,0,0,0.3);
}

/* Cable ribbing texture */
.cable-wire::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    right: 6px;
    height: 10px;
    background: repeating-linear-gradient(90deg,
        transparent 0px,
        transparent 5px,
        rgba(0,0,0,0.2) 5px,
        rgba(0,0,0,0.2) 7px
    );
    border-radius: 1px;
}

/* Cable end connector */
.cable-end {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg,
        #5a5a5a 0%,
        #7a7a7a 30%,
        #4a4a4a 70%,
        #3a3a3a 100%);
    border-radius: 3px;
    position: relative;
    box-shadow: 
        inset 0 1px 1px rgba(255,255,255,0.2),
        inset 0 -1px 1px rgba(0,0,0,0.3),
        0 2px 4px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Copper core */
.copper-core {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg,
        #e8a849 0%,
        #cd7f32 50%,
        #b8860b 100%);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(232, 168, 73, 0.5);
}

/* Spark container */
.spark-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    z-index: 5;
    opacity: 0;
    animation: sparkAppear 4s ease-in-out infinite;
}

/* Individual sparks */
.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 
        0 0 4px #fff,
        0 0 8px var(--primary);
}

.spark-1 { top: 5px; left: 50%; animation: sparkFly1 0.2s ease-out infinite; }
.spark-2 { top: 15px; left: 35%; animation: sparkFly2 0.25s ease-out infinite 0.05s; }
.spark-3 { top: 20px; left: 65%; animation: sparkFly3 0.22s ease-out infinite 0.1s; }
.spark-4 { top: 10px; left: 60%; animation: sparkFly4 0.18s ease-out infinite 0.08s; }

/* Arc flash */
.arc-flash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle,
        rgba(255,255,255,0.95) 0%,
        rgba(245,184,0,0.7) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: arcPulse 0.1s ease-in-out infinite;
}

/* Fused joint */
.fused-joint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 28px;
    height: 20px;
    background: linear-gradient(180deg,
        #5a5a5a 0%,
        #6a6a6a 30%,
        #4a4a4a 70%,
        #3a3a3a 100%);
    border-radius: 4px;
    opacity: 0;
    animation: jointAppear 4s ease-in-out infinite;
    box-shadow: 
        inset 0 1px 2px rgba(255,255,255,0.15),
        inset 0 -1px 2px rgba(0,0,0,0.3),
        0 2px 6px rgba(0,0,0,0.4);
    z-index: 10;
}

/* Joint weld seam */
.fused-joint::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    right: 3px;
    height: 3px;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
        rgba(232, 168, 73, 0.4) 0%,
        rgba(232, 168, 73, 0.7) 50%,
        rgba(232, 168, 73, 0.4) 100%);
    border-radius: 1px;
}

/* Cable movement - start apart, come together */
@keyframes cableMoveLeft {
    0%, 8% {
        margin-right: 60px;
    }
    25%, 85% {
        margin-right: -9px;
    }
    100% {
        margin-right: 60px;
    }
}

@keyframes cableMoveRight {
    0%, 8% {
        margin-left: 60px;
    }
    25%, 85% {
        margin-left: -9px;
    }
    100% {
        margin-left: 60px;
    }
}

/* Spark visibility */
@keyframes sparkAppear {
    0%, 20% { opacity: 0; }
    22%, 35% { opacity: 1; }
    40%, 100% { opacity: 0; }
}

/* Spark trajectories */
@keyframes sparkFly1 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-8px, -12px) scale(0); opacity: 0; }
}
@keyframes sparkFly2 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(6px, 10px) scale(0); opacity: 0; }
}
@keyframes sparkFly3 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(10px, -8px) scale(0); opacity: 0; }
}
@keyframes sparkFly4 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-6px, 8px) scale(0); opacity: 0; }
}

/* Arc pulse */
@keyframes arcPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Joint appearance - appears after cables meet */
@keyframes jointAppear {
    0%, 35% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    45%, 80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    95%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ============================================
   DYNAMIC QUOTE FORM STYLES
   ============================================ */
.quote-form {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    padding-top: 24px;
    margin-top: 20px;
    position: relative;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
}

.quote-form:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.quote-form h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--dark);
}

.quote-form > p {
    color: var(--medium-gray);
    margin-bottom: 24px;
    font-size: 15px;
}

/* Form input animations */
.quote-form .form-group {
    position: relative;
    animation: slideInUp 0.5s ease backwards;
}

.quote-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.quote-form .form-group:nth-child(2) { animation-delay: 0.15s; }
.quote-form .form-group:nth-child(3) { animation-delay: 0.2s; }
.quote-form .form-group:nth-child(4) { animation-delay: 0.25s; }
.quote-form .form-group:nth-child(5) { animation-delay: 0.3s; }

.quote-form .form-row .form-group {
    animation: slideInUp 0.5s ease backwards;
}

.quote-form .form-row .form-group:first-child { animation-delay: 0.1s; }
.quote-form .form-row .form-group:last-child { animation-delay: 0.15s; }

.quote-form input,
.quote-form select,
.quote-form textarea {
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
    border-color: #CCCCCC;
    background: var(--white);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--dark);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

/* Submit button - YouTube Subscribe style animation */
.quote-form .btn {
    width: 100%;
    margin-top: 8px;
    position: relative;
    overflow: visible;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
    animation: btnPulseGlow 2s ease-in-out infinite;
}

/* Animated ring pulse effect */
.quote-form .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: btnRingPulse 2s ease-out infinite;
    pointer-events: none;
}

/* Second ring for layered effect */
.quote-form .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: btnRingPulse 2s ease-out infinite 0.4s;
    pointer-events: none;
}

/* Shimmer sweep on hover */
.quote-form .btn .btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: btnShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.quote-form .btn:hover {
    animation: none;
    transform: scale(1.03);
    box-shadow: 
        0 8px 25px rgba(245, 184, 0, 0.4),
        0 0 20px rgba(245, 184, 0, 0.3);
}

.quote-form .btn:hover::before,
.quote-form .btn:hover::after {
    animation: none;
    opacity: 0;
}

.quote-form .btn:active {
    transform: scale(0.98);
}

/* Button pulse glow */
@keyframes btnPulseGlow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(245, 184, 0, 0.3),
            0 0 0 0 rgba(245, 184, 0, 0);
    }
    50% {
        box-shadow: 
            0 6px 20px rgba(245, 184, 0, 0.5),
            0 0 25px rgba(245, 184, 0, 0.2);
    }
}

/* Expanding ring pulse */
@keyframes btnRingPulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    100% {
        width: calc(100% + 30px);
        height: calc(100% + 20px);
        opacity: 0;
    }
}

/* Shimmer sweep */
@keyframes btnShimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

/* Attention-grabbing corner badge */
.quote-form .form-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 25px;
    animation: bounce 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(238, 90, 90, 0.5);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Keyframe Animations */
@keyframes formFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 184, 0, 0.4);
    }
    50% {
        box-shadow: 
            0 4px 15px rgba(245, 184, 0, 0.4),
            0 0 30px rgba(245, 184, 0, 0.3);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(3deg);
    }
    40% {
        transform: translateY(-8px) rotate(3deg);
    }
    60% {
        transform: translateY(-4px) rotate(3deg);
    }
}

/* Sparkle effect for labels */
.quote-form label {
    position: relative;
    transition: color 0.3s ease;
}

.quote-form .form-group:focus-within label {
    color: var(--primary-dark);
}

/* Quote section background enhancement */
.quote-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.quote-section > .container {
    position: relative;
    z-index: 1;
}

.quote-section .quote-form {
    max-width: 500px;
    margin: 0 auto;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.1) 0%, transparent 70%);
    animation: floatBg 8s ease-in-out infinite;
}

.quote-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.08) 0%, transparent 70%);
    animation: floatBg 10s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

/* ============================================
   HERO SECTION WITH FORM
   ============================================ */
.hero {
    margin-top: 64px;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.97) 0%, rgba(45,45,45,0.95) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.12) 0%, transparent 70%);
    animation: floatBg 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.08) 0%, transparent 70%);
    animation: floatBg 15s ease-in-out infinite reverse;
}

.hero > .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 184, 0, 0.2);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 16px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero-text {
    font-size: 17px;
    opacity: 0.9;
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.hero-stat .label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

/* Form in hero section specific styles */
.page-hero .quote-form,
.hero .quote-form {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop hero layout */
@media (min-width: 992px) {
    .hero {
        padding: 100px 0;
        margin-top: 108px;
    }
    
    .hero > .container {
        grid-template-columns: 1fr 420px;
        gap: 60px;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-text {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .hero h1 {
        font-size: 44px;
    }
    
    .hero .quote-form {
        margin-left: auto;
        margin-right: 0;
    }
    
    /* Hide standalone quote section on desktop - use hero form */
    .quote-section {
        display: none;
    }
}

@media (max-width: 991px) {
    /* Hide hero form on tablet/mobile - use standalone quote section */
    .hero .quote-form {
        display: none;
    }
    
    /* Show standalone quote section on tablet/mobile */
    .quote-section {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 64px;
        padding: 60px 0;
    }
    
    .quote-form {
        animation: none;
        padding: 24px;
    }
    
    .quote-form:hover {
        transform: none;
    }
    
    .page-hero .quote-form,
    .hero .quote-form {
        max-width: 100%;
        margin: 32px auto 0;
    }
}
