:root {
    --primary: #025ebb;
    --secondary: #28a745;
    --accent: #66ffcc;
    --dark: #0b1020;
    --light: #f8f9fa;
    --text: #333;
    --gray: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background-color: white;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color:black;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 10px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: rgb(0, 157, 255);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display:none;
    background:none;
    border: 2px solid black;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: url('https://appliancecare.shop//images/microwave_repair.webp') no-repeat center center/cover;
    color: #FCFEFF; /* slightly off pure white to reduce glare */
    text-align: center;
    padding: 150px 20px 80px;
    position: relative;
    overflow: hidden;
}
/* dark overlay to improve text contrast */
.hero::before {
    content: "";
    position: absolute;
    inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0 */
    background: linear-gradient(
        rgba(0,0,0,0.45),     /* top darker */
        rgba(0,0,0,0.35)      /* bottom slightly lighter */
    );
    z-index: 0;
    pointer-events: none;
}
.hero * {
    position: relative;
    z-index: 1;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FCFEFF;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55); /* heavier shadow for complex background */
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(252,254,255,0.95);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    opacity: 0.95;
}



.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(40, 167, 69, 0.4);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7); /* softer white border */
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.card p {
    color: var(--gray);
}

/* Image Sections */
.image-section {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-section:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Pricing */
.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.warranty-badge {
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-size: 1.1rem;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active:after {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-top: 10px;
}

/* Service Areas */
.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.area {
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


     
        /* Disclaimer Card Styling */
.content-card.disclaimer {
    background-color: #fff7e6;
    border-left: 4px solid #ff9900;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-family: "Arial", sans-serif;
}

/* Title */
.content-card.disclaimer h2 {
    font-size: 1.25rem; /* responsive font */
    margin-bottom: 12px;
    color: #cc6600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Paragraph */
.content-card.disclaimer p {
    font-size: 1rem; /* responsive */
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
}

/* Icon */
.content-card.disclaimer i {
    color: #ff9900;
    font-size: 1.4rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Floating Actions */
    .floating-actions {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .floating-action {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      color: white;
    }
    /* Remove underline on floating action links and ensure consistent layout */
.floating-action,
.floating-action:link,
.floating-action:visited {
  text-decoration: none;        /* remove underline */
  display: inline-flex;         /* keep flex layout across browsers */
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent; /* optional: removes mobile tap highlight */
}

/* keep accessible focus ring instead of removing outline altogether */
.floating-action:focus {
  outline: 3px solid rgba(255,255,255,0.25);
  outline-offset: 3px;
}

/* make sure the icon itself doesn't capture pointer-events */
.floating-action i {
  pointer-events: none;
}

    .floating-action:hover {
      transform: scale(1.1);
    }
    
    .floating-whatsapp {
      background: #25d366;
    }
    
    .floating-call {
      background: var(--primary);
    }


/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.5s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}