/* Modern CSS Variables */
:root {
    --primary-color: #00BBC9;
    --primary-dark: #009BA6;
    --secondary-color: #84B026;
    --accent-color: #C2C0A6;
    --dark-bg: #1a2332;
    --darker-bg: #0f1419;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #6a8f1e 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Modern Link Styling */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-dark);
}

/* Notification Bar - Modern */
#notification-bar {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modern Header */
#header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

#header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

#header .logo img:hover {
    transform: scale(1.05);
}

#header .navbar ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

#header .navbar a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

#header .navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

#header .navbar a:hover::after,
#header .navbar a.active::after {
    width: 100%;
}

#header .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

#header .menu-toggle:active {
    transform: scale(0.95);
}

/* Modern Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 187, 201, 0.95) 0%, rgba(132, 176, 38, 0.9) 100%),
                url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modern Button Styles */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:active {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--light-bg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid var(--white);
}

.btn-secondary:hover,
.btn-secondary:active {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Modern Services Section */
.services {
    padding: 6rem 0;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--text-primary);
    margin: 1.5rem 1.5rem 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Modern CTA Section */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* Modern Appliance Care Section */
.appliance-care {
    padding: 6rem 0;
    background: var(--white);
}

.appliance-care h1 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-primary);
    font-weight: 700;
}

details {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

details:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

details[open] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

summary {
    padding: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: background 0.3s ease;
    user-select: none;
}

summary:hover {
    background: var(--light-bg);
}

summary i {
    color: var(--primary-color);
    font-size: 2rem;
    min-width: 50px;
    transition: transform 0.3s ease;
}

details[open] summary i {
    transform: scale(1.1);
}

.summary-content {
    flex: 1;
}

summary h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

summary p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-content {
    padding: 0 1.75rem 1.75rem 5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.faq-content h4 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-content ul {
    padding-left: 1.5rem;
}

.faq-content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Modern Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 187, 201, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern About Section */
.about {
    padding: 6rem 0;
    background: var(--light-bg);
}

.about .container > h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.about .container > h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-text > p:first-child {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
}

.about-text h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-text h4::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}

.about-text h5 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 3rem 0 1rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-text h5 a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-text h5 a:hover {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.about-text ul,
.about-text li {
    list-style: none;
    padding-left: 0;
}

.about-text li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.7;
}

.about-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
    min-height: 500px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 187, 201, 0.2) 0%, rgba(132, 176, 38, 0.2) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Why Choose Us Cards (Alternative Layout) */
.why-choose-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.choose-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.choose-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.choose-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Modern Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.footer-section p,
.footer-section ul {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* General Image Styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        min-height: 400px;
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    #header {
        padding: 0.75rem 0;
    }

    #header .menu-toggle {
        display: block;
    }

    #header .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        animation: slideDown 0.3s ease;
    }

    #header .navbar.active {
        display: block;
    }

    #header .navbar ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    #header .navbar li {
        width: 100%;
    }

    #header .navbar a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    #header .navbar a::after {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .about,
    .services,
    .appliance-care,
    .contact {
        padding: 4rem 0;
    }

    .about-text {
        padding: 1.5rem;
    }

    .about-image {
        min-height: 300px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }

    summary {
        padding: 1.25rem;
        gap: 1rem;
    }

    summary i {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .faq-content {
        padding: 0 1.25rem 1.25rem 3.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-icons a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-content {
        padding: 0 1rem 1rem 1rem;
    }

    .summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .about-text h4::before {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }

    .about-text h5 {
        font-size: 1.25rem;
        padding: 1.25rem;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}