/* Base Variables & Theme (Madder Standard) */
:root {
    --primary-color: #004aad;
    --primary-light: #3373c4;
    --primary-dark: #00337a;
    --secondary-color: #0c2337;
    --secondary-light: #163854;
    --accent-color: #ff9900; /* Subtle accent if needed */
    
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --text-light: #f3f4f6;
    
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 74, 173, 0.15);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 32px;
    transition: var(--transition);
}

.glass-panel:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 74, 173, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(238, 245, 255, 0.85) 100%);
    overflow: hidden;
}

/* Optional background shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,74,173,0.05) 0%, rgba(0,74,173,0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 74, 173, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(0);
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(0,74,173,0.2);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 40px 30px;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.premium {
    background: linear-gradient(to bottom, var(--secondary-color), var(--secondary-light));
    color: white;
}

.pricing-card.premium h3,
.pricing-card.premium h4 {
    color: white;
}

.pricing-card.premium .price {
    color: #fff;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pricing-card.premium .pricing-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.pricing-body {
    flex-grow: 1;
    margin-bottom: 30px;
}

.pricing-body h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.pricing-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.pricing-body ul li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.pricing-card.premium ul li i {
    color: #4da6ff;
}

/* Testimonials */
.testimonials-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.testimonials-slider::before,
.testimonials-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.testimonials-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollTestimonials 35s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

.testimonial-card {
    min-width: 350px;
    max-width: 400px;
    flex: 0 0 auto;
    padding: 30px;
    white-space: normal;
}

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

.review {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-size: 1rem;
}

.client-info strong {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    display: block;
}

/* About & Features */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
    transition: var(--transition);
}

.about-image img:hover {
    transform: translateY(-5px);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    cursor: pointer;
    overflow: hidden;
}

.faq-item summary {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--secondary-color);
    list-style: none;
    position: relative;
    padding-right: 30px;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    margin-top: 16px;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.about-content strong {
    color: var(--secondary-color);
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--text-muted);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    gap: 16px;
}

.legal-links a {
    color: rgba(255,255,255,0.6);
    margin: 0 8px;
}

.legal-links a:hover {
    color: white;
}

.madder-credit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.madder-credit img {
    height: 24px;
    width: auto;
    transition: transform 0.3s ease;
}

.madder-credit a:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Consider adding an easy hamburger menu if needed */
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Modal & Forms */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 245, 255, 0.95) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
}

.close-modal:hover {
    color: var(--primary-color);
    background: rgba(0,74,173,0.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 74, 173, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.7);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
    background: #fff;
}

.lead-form .btn {
    margin-top: 12px;
}
