/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --accent-color: #ff6b35;
    --gold-color: #ffd700;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f5f7fa;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(233, 30, 99, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(233, 30, 99, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
    flex-wrap: nowrap;
}

.logo h1 {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.2;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle:hover span {
    background: var(--secondary-color);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    line-height: 1.4;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a[aria-current="page"] {
    color: var(--primary-color);
    background: rgba(233, 30, 99, 0.05);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a {
    position: relative;
    padding-right: 2.25rem;
}

.nav-menu .dropdown > a::before {
    content: '▾';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: normal;
}

.nav-menu .dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    background: var(--white);
    min-width: 240px;
    max-width: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(233, 30, 99, 0.1);
    overflow: hidden;
    list-style: none;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-menu li {
    list-style: none;
    margin: 0;
}

.nav-menu .dropdown-menu a {
    padding: 0.875rem 1.75rem;
    border-radius: 0;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    transition: var(--transition);
    position: relative;
    border-left: 3px solid transparent;
}

.nav-menu .dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.nav-menu .dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.08) 0%, rgba(233, 30, 99, 0.02) 100%);
    color: var(--primary-color);
    padding-left: 2rem;
    border-left-color: var(--primary-color);
}

.nav-menu .dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.nav-menu .dropdown-menu a:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--gold-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.services-section {
    padding: 4rem 0;
}

.section-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid var(--bg-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 20px 20px 0 0;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.2);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.3;
    min-height: 3.9em;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex-grow: 1;
    font-size: 1rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light);
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--bg-light);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.feature p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
}

.testimonial p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial footer {
    margin-top: 1rem;
}

.testimonial cite {
    font-style: normal;
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-secondary);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--white);
    padding: 4rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-section address {
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.35rem;
    }
    
    .nav-menu > li > a {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-menu .dropdown > a {
        padding-right: 1.75rem;
    }
    
    .header-content {
        gap: 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 1rem 0;
        position: relative;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        display: none;
        gap: 0.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-top: 2px solid var(--bg-light);
        align-items: stretch;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li > a {
        display: block;
        padding: 1rem 1.25rem;
        border-radius: 8px;
        width: 100%;
        font-size: 0.95rem;
    }
    
    .nav-menu > li > a::after {
        display: none;
    }
    
    .nav-menu .dropdown > a::before {
        right: 1.25rem;
    }
    
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin: 0.5rem 0 0 0;
        background: var(--bg-light);
        border-radius: 8px;
        min-width: auto;
        max-width: 100%;
    }
    
    .nav-menu .dropdown-menu a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        border-left: none;
    }
    
    .nav-menu .dropdown-menu a:hover {
        padding-left: 1.5rem;
        background: rgba(233, 30, 99, 0.1);
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .hero h2 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .services-section {
        padding: 3rem 0;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .section-heading::after {
        width: 60px;
    }
    
    .section-intro {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-detail {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
    loading: lazy;
}

/* Core Web Vitals Optimizations */
.service-card,
.feature,
.testimonial,
.faq-item {
    will-change: transform;
    contain: layout style paint;
}

/* Reduce layout shift */
.hero-content,
.section-heading,
.service-card h3,
.feature h3 {
    min-height: 1.2em;
}

/* Optimize font loading */
body {
    font-display: swap;
}

/* Service Detail Pages */
.service-detail {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border: 1px solid var(--bg-light);
}

.service-detail h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-detail p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-detail ul {
    list-style: disc;
    padding-left: 2rem;
    color: var(--text-light);
    line-height: 2;
}

.service-detail ul li {
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item[open] .faq-question::after {
    content: "−";
    transform: rotate(0deg);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
        font-size: 28px;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .footer,
    .btn,
    .whatsapp-float {
        display: none;
    }
}

