/* 
   Hillside Phone Repair - Premium Light Theme Stylesheet
   Author: Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    
    /* Brand Gradient: Dark Blue & Purple */
    --accent-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #7c3aed 100%);
    --accent-gradient-hover: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #8b5cf6 100%);
    
    /* Glowing Gradients */
    --glow-primary: rgba(30, 58, 138, 0.4);
    --glow-purple: rgba(124, 58, 237, 0.4);
    
    /* WhatsApp Colors */
    --whatsapp-color: #25d366;
    --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
    
    /* Layout Variables */
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --shadow-soft: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.3);
    
    --transition-base: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Layout Utils */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-light-section {
    background-color: var(--bg-secondary);
}

/* Glassmorphism Styles */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Premium Glowing Buttons */
.btn-glow {
    position: relative;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px -10px rgba(30, 58, 138, 0.5);
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-base);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient-hover);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-base);
}

.btn-glow:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--glow-purple);
}

.btn-glow:hover::after {
    opacity: 1;
}

.btn-glow i {
    transition: var(--transition-base);
}

.btn-glow:hover i {
    transform: translateX(4px);
}

/* Glowing WhatsApp Button */
.btn-whatsapp {
    position: relative;
    background: var(--whatsapp-gradient);
    color: #ffffff !important;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.5);
    z-index: 1;
    transition: var(--transition-base);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--whatsapp-glow);
}

/* Secondary Button Outline */
.btn-outline-custom {
    color: var(--text-primary);
    background: transparent;
    border: 2px solid rgba(15, 23, 42, 0.1);
    padding: 12px 26px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-base);
}

.btn-outline-custom:hover {
    background: rgba(15, 23, 42, 0.04);
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Form Styles */
.form-control, .form-select {
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
    border-color: #7c3aed;
    background-color: #ffffff;
}

/* Header & Nav */
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px !important;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: #7c3aed !important;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(37, 211, 102, 0.02) 0%, transparent 50%);
}

.hero-tag {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-tag i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* Floating Trust Cards */
.floating-card-container {
    position: relative;
    height: 100%;
}

.floating-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-md);
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 15%;
    right: -30px;
    animation-delay: 3s;
}

.floating-card-3 {
    top: 50%;
    right: 20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card-icon.green-bg {
    background: var(--whatsapp-gradient);
}

.floating-card-info h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.floating-card-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Brand Partners Logos */
.brand-strip {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 40px;
    margin-top: 60px;
}

.brand-logo-item {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.6;
    transition: var(--transition-fast);
    filter: grayscale(100%);
}

.brand-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text-primary);
}

/* Trust Stats Section */
.stat-box {
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

/* Services Grid & Categories */
.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-tag {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #7c3aed;
    display: block;
    margin-bottom: 12px;
}

.service-card {
    position: relative;
    padding: 35px;
    height: 100%;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: rgba(124, 58, 237, 0.05);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-base);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}



.keyword-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.keyword-badge {
    font-size: 0.75rem;
    background-color: rgba(15, 23, 42, 0.04);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(15, 23, 42, 0.02);
    transition: var(--transition-fast);
}

.keyword-badge:hover {
    background-color: var(--text-primary);
    color: #ffffff;
}

/* About Us Section */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Testimonials */
.testimonial-card {
    padding: 35px;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--border-radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.accordion-button {
    font-weight: 600;
    padding: 20px 24px;
    background-color: #ffffff;
    color: var(--text-primary);
    box-shadow: none !important;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-secondary);
    color: #7c3aed;
}

.accordion-body {
    padding: 20px 24px;
    background-color: #ffffff;
    color: var(--text-secondary);
}

/* Map Section */
.map-card {
    overflow: hidden;
    padding: 0;
    border-radius: var(--border-radius-lg);
}

.map-card iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Footer */
.footer-main {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main p, .footer-main a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-main a:hover {
    color: #ffffff;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    padding-top: 30px;
}

/* Responsive Overrides (Mobile-First Focus) */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .floating-card-container {
        margin-top: 60px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 85px !important;
        padding-bottom: 20px !important;
    }
    
    .hero-tag {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
        margin-bottom: 8px !important;
    }
    
    .hero-title {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
        letter-spacing: -0.02em;
    }
    
    .hero-section p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }
    
    /* Buttons in mobile must be full-width and center-aligned */
    .btn-glow, .btn-whatsapp, .btn-outline-custom {
        width: 100% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 8px !important;
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Glowing Scroll Animation indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.8rem;
    cursor: pointer;
}

.scroll-indicator-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

