/* Modern Homepage Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 0 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-search {
    margin-bottom: 40px;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
    color: #333;
}

.search-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.hero-img.loaded {
    opacity: 1 !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    z-index: 1;
}

.hero-placeholder {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 400px;
    width: 100%;
}

.hero-placeholder h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.hero-placeholder p {
    font-size: 1rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.placeholder-icon {
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Hero Loading */
.hero-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2;
}

.hero-loading.hidden {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.hero-loading p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CSS Shopping Bag Icon */
.icon-stack {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.shopping-bag {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 20px auto;
}

.bag-body {
    width: 60px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border-radius: 8px;
    position: absolute;
    top: 15px;
    left: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: bagFloat 3s ease-in-out infinite;
}

.bag-handle-left,
.bag-handle-right {
    width: 20px;
    height: 20px;
    border: 4px solid rgba(255,255,255,0.9);
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: 5px;
}

.bag-handle-left {
    left: 15px;
}

.bag-handle-right {
    right: 15px;
}

.floating-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.item {
    position: absolute;
    border-radius: 4px;
    opacity: 0.8;
}

.item-1 {
    width: 12px;
    height: 12px;
    background: #48bb78;
    top: 10px;
    right: 20px;
    animation: itemFloat1 2s ease-in-out infinite;
}

.item-2 {
    width: 10px;
    height: 10px;
    background: #ed8936;
    top: 30px;
    right: 10px;
    animation: itemFloat2 2.5s ease-in-out infinite 0.5s;
}

.item-3 {
    width: 8px;
    height: 8px;
    background: #ecc94b;
    top: 20px;
    left: 15px;
    animation: itemFloat3 3s ease-in-out infinite 1s;
}

@keyframes bagFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes itemFloat1 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-15px) translateX(5px); }
}

@keyframes itemFloat2 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-12px) translateX(-3px); }
}

@keyframes itemFloat3 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-8px) translateX(8px); }
}

.placeholder-text h3 {
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.placeholder-text p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.view-all-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: #f8fafc;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, #667eea, #764ba2);
    padding: 2px;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.category-count {
    color: #718096;
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #764ba2;
    text-decoration: none;
    transform: translateX(5px);
}

/* Offers Section */
.offers-section {
    padding: 80px 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.offer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e53e3e;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.offer-image {
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-content {
    padding: 25px;
}

.offer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.offer-price {
    margin-bottom: 20px;
}

.price-old {
    color: #a0aec0;
    text-decoration: line-through;
    margin-right: 10px;
}

.price-new {
    color: #e53e3e;
    font-weight: 700;
    font-size: 1.2rem;
}

.offer-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn,
.wishlist-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.quick-view-btn:hover,
.wishlist-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.stars i.filled {
    color: #fbbf24;
}

.rating-count {
    font-size: 0.85rem;
    color: #718096;
}

.product-price {
    margin-bottom: 15px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.product-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f7fafc;
    color: #667eea;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-btn:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.newsletter-input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 8px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
    color: #333;
}

.newsletter-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid,
    .offers-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-btn {
        border-radius: 25px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .categories-section,
    .offers-section,
    .products-section,
    .newsletter-section {
        padding: 60px 0;
    }
}
/* Hero 
Section Updates */
.hero-title .highlight {
    background: linear-gradient(45deg, #48bb78, #38a169);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-size: 0.9em;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.6);
    color: white;
    text-decoration: none;
}

.cta-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.service-icon.electrical {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
}

.service-icon.plumbing {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
}

.service-icon.aircon {
    background: linear-gradient(45deg, #06b6d4, #0891b2);
}

.service-icon.construction {
    background: linear-gradient(45deg, #f59e0b, #d97706);
}

.service-icon.cleaning {
    background: linear-gradient(45deg, #10b981, #059669);
}

.service-icon.emergency {
    background: linear-gradient(45deg, #ef4444, #dc2626);
}

.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.service-desc {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #764ba2;
    text-decoration: none;
    transform: translateX(5px);
}

.service-link.emergency-call {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.service-link.emergency-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
    color: white;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.method-info p {
    color: #718096;
    margin-bottom: 3px;
}

.method-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.method-info a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* CSS House Icon for Fallback */
.house-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.house-roof {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 30px solid rgba(255,255,255,0.9);
    position: absolute;
    top: 0;
    left: 0;
}

.house-body {
    width: 60px;
    height: 50px;
    background: rgba(255,255,255,0.8);
    position: absolute;
    top: 25px;
    left: 10px;
    border-radius: 4px;
}

.house-door {
    width: 12px;
    height: 20px;
    background: rgba(102, 126, 234, 0.8);
    position: absolute;
    top: 55px;
    left: 34px;
    border-radius: 2px;
}

.house-window {
    width: 10px;
    height: 10px;
    background: rgba(72, 187, 120, 0.8);
    position: absolute;
    top: 40px;
    left: 20px;
    border-radius: 2px;
}

.floating-tools {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tool {
    position: absolute;
    font-size: 20px;
    opacity: 0.8;
}

.tool-1 {
    top: 10px;
    right: 10px;
    animation: toolFloat1 3s ease-in-out infinite;
}

.tool-2 {
    top: 30px;
    left: 5px;
    animation: toolFloat2 3.5s ease-in-out infinite 0.5s;
}

.tool-3 {
    bottom: 20px;
    right: 5px;
    animation: toolFloat3 4s ease-in-out infinite 1s;
}

.tool-4 {
    bottom: 10px;
    left: 15px;
    animation: toolFloat4 2.5s ease-in-out infinite 1.5s;
}

@keyframes toolFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

@keyframes toolFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-10deg); }
}

@keyframes toolFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(15deg); }
}

@keyframes toolFloat4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-5deg); }
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 25px 20px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 1.8rem;
    }
}/* Co
ntact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.contact-modal .modal-content {
    max-width: 500px;
}

.contact-modal h3 {
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.contact-modal-form .form-group {
    margin-bottom: 15px;
}

.contact-modal-form input,
.contact-modal-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-modal-form input:focus,
.contact-modal-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-cancel:hover {
    background: #cbd5e0;
}

.btn-submit {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.quick-contact {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.quick-contact p {
    color: #718096;
    margin-bottom: 10px;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
    color: white;
    text-decoration: none;
}/* Cust
om CSS Icons */
.icon-electrical::before {
    content: "⚡";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.2em;
}

.icon-water::before {
    content: "💧";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.2em;
}

.icon-aircon::before {
    content: "❄️";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.2em;
}

.icon-tools::before {
    content: "🔨";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.2em;
}

.icon-cleaning::before {
    content: "🧹";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.2em;
}

/* Alternative CSS-only icons (fallback) */
.icon-electrical-alt::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #fbbf24 0%, #f59e0b 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.icon-water-alt::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #3b82f6 0%, #1d4ed8 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-5.33 4.55-8 8.48-8 11.8 0 4.98 3.8 8.2 8 8.2s8-3.22 8-8.2c0-3.32-2.67-7.25-8-11.8z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.icon-aircon-alt::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #06b6d4 0%, #0891b2 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12C5.11 12 4 13.11 4 14.5S5.11 17 6.5 17 9 15.89 9 14.5 7.89 12 6.5 12M17.5 12C16.11 12 15 13.11 15 14.5S16.11 17 17.5 17 20 15.89 20 14.5 18.89 12 17.5 12M12 7C10.61 7 9.5 8.11 9.5 9.5S10.61 12 12 12 14.5 10.89 14.5 9.5 13.39 7 12 7Z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.icon-tools-alt::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #f59e0b 0%, #d97706 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.icon-cleaning-alt::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #10b981 0%, #059669 100%);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.36 2.72L20.78 4.14L15.06 9.85C16.13 11.39 16.28 13.24 15.38 14.44L9.06 8.12C10.26 7.22 12.11 7.37 13.65 8.44L19.36 2.72M5.93 17.57C3.92 15.56 2.69 13.16 2.35 10.92L7.23 8.83L14.67 16.27L12.58 21.15C10.34 20.81 7.94 19.58 5.93 17.57Z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

/* Enhanced service icons with better styling */
.service-icon i {
    font-size: 28px;
    line-height: 1;
}

/* Ensure emoji icons display properly */
.service-icon .icon-electrical,
.service-icon .icon-water,
.service-icon .icon-aircon,
.service-icon .icon-tools,
.service-icon .icon-cleaning {
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    display: inline-block;
}

/* Feature icons enhancement */
.feature-icon i {
    font-size: 32px;
    line-height: 1;
}

/* Method icons enhancement */
.method-icon i {
    font-size: 24px;
    line-height: 1;
}

/* Responsive icon adjustments */
@media (max-width: 768px) {
    .service-icon i {
        font-size: 24px;
    }
    
    .feature-icon i {
        font-size: 28px;
    }
    
    .method-icon i {
        font-size: 20px;
    }
}/* Enha
nced Icon Styling */
.service-icon {
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.service-card:hover .service-icon::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Icon glow effects */
.service-icon.electrical {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.service-icon.plumbing {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.service-icon.aircon {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.service-icon.construction {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.service-icon.cleaning {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.service-icon.emergency {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Feature icon enhancements */
.feature-icon {
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover .feature-icon::after {
    left: 100%;
}

/* Method icon styling */
.method-icon {
    position: relative;
}

.method-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.contact-method:hover .method-icon::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Icon loading animation */
@keyframes iconLoad {
    0% { opacity: 0; transform: scale(0.5) rotate(-180deg); }
    50% { opacity: 0.5; transform: scale(0.8) rotate(-90deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.service-icon i,
.feature-icon i,
.method-icon i {
    animation: iconLoad 0.6s ease-out;
}

/* Stagger animation delays */
.service-card:nth-child(1) .service-icon i { animation-delay: 0.1s; }
.service-card:nth-child(2) .service-icon i { animation-delay: 0.2s; }
.service-card:nth-child(3) .service-icon i { animation-delay: 0.3s; }
.service-card:nth-child(4) .service-icon i { animation-delay: 0.4s; }
.service-card:nth-child(5) .service-icon i { animation-delay: 0.5s; }
.service-card:nth-child(6) .service-icon i { animation-delay: 0.6s; }

.feature-card:nth-child(1) .feature-icon i { animation-delay: 0.2s; }
.feature-card:nth-child(2) .feature-icon i { animation-delay: 0.4s; }
.feature-card:nth-child(3) .feature-icon i { animation-delay: 0.6s; }
.feature-card:nth-child(4) .feature-icon i { animation-delay: 0.8s; }
.feature-card:nth-child(5) .feature-icon i { animation-delay: 1.0s; }
.feature-card:nth-child(6) .feature-icon i { animation-delay: 1.2s; }

/* Icon text alternatives for accessibility - Screen reader will use aria-label instead of icon content */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-icon,
    .feature-icon,
    .method-icon {
        border: 2px solid currentColor;
    }
    
    .service-icon::before,
    .feature-icon::after,
    .method-icon::before {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-icon i,
    .feature-icon i,
    .method-icon i {
        animation: none;
    }
    
    .service-icon::before,
    .feature-icon::after,
    .method-icon::before {
        transition: none;
    }
    
    .service-card:hover .service-icon,
    .feature-card:hover .feature-icon {
        transform: none;
    }
}/* Floating
 Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-phone-btn,
.float-line-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.float-phone-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
}

.float-line-btn {
    background: linear-gradient(45deg, #00c300, #00b300);
}

.float-phone-btn:hover,
.float-line-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.btn-text {
    font-size: 0.9rem;
}



/* Contact info enhancements */
.method-info a {
    position: relative;
    transition: all 0.3s ease;
}

.method-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.method-info a:hover::after {
    width: 100%;
}

/* Phone number formatting */
.phone-highlight {
    font-weight: 700;
    color: #48bb78;
    font-size: 1.1em;
}

/* Line ID styling */
.line-id {
    font-weight: 600;
    color: #00c300;
    font-family: monospace;
}

/* Business name styling */
.business-name {
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 15px;
        left: 15px;
    }
    
    .float-phone-btn,
    .float-line-btn {
        padding: 10px 14px;
    }
    
    .btn-text {
        font-size: 0.8rem;
    }
    

}

@media (max-width: 480px) {
    .floating-contact-btn {
        flex-direction: row;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .btn-text {
        display: none;
    }
    
    .float-phone-btn,
    .float-line-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    

}