:root {
    --primary-red: #ff3131;
    --primary-blue: #1800ad;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f8faff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(24, 0, 173, 0.1);
    --shadow-hover: 0 20px 40px rgba(24, 0, 173, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    /* 10 Smooth Page Transitions */
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 3px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: #fff;
    box-shadow: 0 6px 15px rgba(255, 49, 49, 0.3);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 49, 49, 0.4);
}

/* Button Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(-45deg, #ffffff, var(--bg-light), #eef2ff, #fff0f0);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Animated Dotted Background Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--primary-blue) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 1;
    animation: moveDots 40s linear infinite;
}

@keyframes moveDots {
    0% { background-position: 0 0; }
    100% { background-position: 600px 600px; }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24,0,173,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--text-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    animation: float 6s ease-in-out infinite;
}

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

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

.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary-blue);
    color: #fff;
    transform: rotateY(360deg);
}

.card h3 {
    margin-bottom: 15px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(24,0,173,0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.stat-number span {
    font-size: inherit;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.pricing-table thead {
    background: rgba(24,0,173,0.08);
}
.pricing-table th,
.pricing-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-align: left;
    vertical-align: top;
    color: var(--text-dark);
}
.pricing-table th {
    font-weight: 700;
    color: var(--primary-blue);
}
.pricing-table tbody tr:nth-child(even) {
    background: #f8faff;
}
.pricing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
@media (max-width: 960px) {
    .pricing-table th,
    .pricing-table td {
        padding: 16px 14px;
    }
}
@media (max-width: 820px) {
    .pricing-table thead {
        display: none;
    }
    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
        width: 100%;
    }
    .pricing-table tr {
        margin-bottom: 18px;
        border: 1px solid rgba(24,0,173,0.12);
        border-radius: 16px;
        overflow: hidden;
    }
    .pricing-table td {
        padding: 16px;
        text-align: right;
        position: relative;
    }
    .pricing-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 16px;
        top: 16px;
        font-weight: 700;
        color: var(--primary-blue);
        text-transform: uppercase;
        font-size: 0.85rem;
    }
    .pricing-table td:last-child {
        padding-bottom: 24px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.faq-item {
    position: relative;
    background: var(--bg-white);
    border: 1px solid rgba(24, 0, 173, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding-left: 24px;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12px;
    width: 4px;
    height: calc(100% - 48px);
    background: rgba(24, 0, 173, 0.12);
    border-radius: 999px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 24px 18px 0;
    background: transparent;
    border: none;
    outline: none;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question::after {
    content: '\2b9f';
    font-size: 1.15rem;
    line-height: 1;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-item.active .faq-question::after {
    transform: rotate(-135deg);
}

.faq-answer {
    display: none;
    padding: 0 0 24px 0;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin: 0;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(24,0,173,0.05);
    position: relative;
}

/* Add quote icon overlay */
.testimonial-card::after {
    content: '\201D';
    font-family: Arial, sans-serif;
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 100px;
    color: rgba(255, 49, 49, 0.05);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(24,0,173,0.15);
}

.client-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 25px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.client-quote {
    font-style: italic;
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.8;
}

.client-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Blog Cards */
.blog-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.blog-title {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #fff;
    padding: 80px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.footer-links h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

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

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fdfdfd;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(24, 0, 173, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 49, 49, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--bg-white);
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-card .team-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.team-card .team-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.team-card .team-social-links .linkedin-link {
    background: #edf5ff;
    color: #0a66c2;
    border: 1px solid rgba(10, 102, 194, 0.15);
}

.team-card .team-social-links .twitter-link {
    background: #f7f7f7;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.team-card .team-social-links .linkedin-link:hover {
    background: #0a66c2;
    color: #ffffff;
    transform: translateY(-3px);
}

.team-card .team-social-links .twitter-link:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-3px);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .contact-container, .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links.show {
        max-height: 400px;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-btn { display: block; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-links h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
}
