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

:root {
    --primary: #0A2540;
    --secondary: #635BFF;
    --accent: #00D4FF;
    --bg-color: #F6F9FC;
    --text-color: #425466;
    --text-heading: #0A2540;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body, html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header & Navbar */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

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

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary);
}

.primary-btn {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: inline-block;
}

.primary-btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(to bottom, #FFFFFF, var(--bg-color));
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-color);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 50px;
}

/* Services */
.services-section {
    padding: 80px 0;
}

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

.service-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(99, 91, 255, 0.05);
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
    border-color: rgba(99, 91, 255, 0.2);
}

.service-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) translateY(-5px);
    color: var(--accent);
}

.service-card h3 {
    font-size: 22px;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    font-size: 15px;
}

/* Interior Pages */
.page-header {
    background: var(--primary);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
}

.content-section {
    padding: 80px 0;
    background: var(--white);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--text-heading);
    margin: 30px 0 15px;
}

.content-wrapper p {
    margin-bottom: 20px;
}

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

.contact-info h3 {
    color: var(--text-heading);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-heading);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--secondary);
}

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

/* Footer */
footer {
    background: var(--primary);
    color: #aab8c5;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--accent);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
}

.whatsapp-float i {
    margin-top: 2px;
}

.whatsapp-float:hover {
    background-color: #20b858;
    color: #FFF;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.service-link-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: rgba(99, 91, 255, 0.1);
    color: var(--secondary);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link-btn:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Logo Slider */
.logo-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    background: transparent;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, rgba(246,249,252,0) 100%);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, rgba(246,249,252,0) 100%);
}

.logo-slide-track {
    display: flex;
    width: calc(200px * 16);
    animation: scroll 25s linear infinite;
}

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

.slide {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.slide:hover {
    opacity: 1;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 8)); }
}

/* Trust Indicators Styling */
.trust-indicators {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--accent);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    animation: float-up 3s ease-in-out infinite alternate;
}

/* Stagger the floating animation */
.stat-card:nth-child(2) {
    animation-delay: 1s;
    border-bottom-color: var(--secondary);
}
.stat-card:nth-child(3) {
    animation-delay: 2s;
    border-bottom-color: #FF5E62;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.12);
    animation-play-state: paused;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #FF9933, #FF5E62);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #00C9FF, #92FE9D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-heading);
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Testimonials Slider Styles */
.testi-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}
.testi-track {
    display: flex;
    gap: 30px;
    width: calc((400px + 30px) * 10);
    animation: scroll-testi 40s linear infinite;
}
.testi-track:hover {
    animation-play-state: paused;
}
.t-card {
    width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px;
    text-align: left;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s;
    border-top: 4px solid transparent;
}
.t-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.gradient-border-pure { border-top-color: #635BFF; }
.gradient-border-cyan { border-top-color: #00D4FF; }
.gradient-border-orange { border-top-color: #FF9933; }
.gradient-border-green { border-top-color: #25D366; }

.t-stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 14px;
}
.t-text {
    font-style: italic;
    color: #E1E5EA;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}
.t-author strong {
    display: block;
    color: #FFFFFF;
    font-size: 18px;
}
.t-author span {
    color: #AAB8C5;
    font-size: 14px;
}

@keyframes scroll-testi {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-430px * 5)); }
}

.mobile-only-btn {
    display: none;
}
.relative-nav {
    position: relative;
}

@media (max-width: 768px) {
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .menu-toggle {
        display: block !important;
        position: absolute;
        right: 0;
        top: 20px;
    }
    .desktop-only-btn {
        display: none !important;
    }
    .mobile-only-btn {
        display: block;
        margin-top: 10px;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
        gap: 15px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        border-radius: 8px;
        z-index: 999;
    }
    .nav-links.active {
        max-height: 350px;
        padding: 20px 0;
    }
    .hero {
        padding: 40px 10px;
    }
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 10px;
    }
    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    .why-us-section {
        text-align: center !important;
    }
    .why-us-section .section-title {
        text-align: center !important;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
        padding-top: 30px !important;
        margin-top: 30px !important;
        width: 100%;
        box-sizing: border-box;
    }
    .stat-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .t-card {
        width: 300px;
        padding: 25px;
    }
    .testi-track {
        width: calc((300px + 30px) * 10);
        animation: scroll-testi-mobile 30s linear infinite;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        padding: 25px 20px !important;
    }
    .logo-slider::before, .logo-slider::after {
        width: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3 {
        margin-bottom: 10px;
    }

    @keyframes scroll-testi-mobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-330px * 5)); }
    }
}
