/* 
====================================================================
   PURE GROWTH THEME - CORE STYLESHEET
   Domain: DomainName
   Theme: White, Sky Blue, Soft Navy
====================================================================
*/

:root {
    /* Color Palette */
    --color-primary: #007BFF;
    /* Sky Blue */
    --color-primary-dark: #0056b3;
    --color-secondary: #003366;
    /* Soft Navy */
    --color-secondary-light: #004d99;
    --color-accent: #00C6FF;
    /* Bright Cyan accent */

    /* Neutrals */
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-medium-gray: #e9ecef;
    --color-text-dark: #1a1a1a;
    --color-text-body: #4a4a4a;
    --color-text-light: #8c8c8c;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #007BFF 0%, #00C6FF 100%);
    --gradient-dark: linear-gradient(135deg, #003366 0%, #001a33 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Borders & Shadows */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 30px;
    --shadow-sm: 0 2px 8px rgba(0, 51, 102, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 51, 102, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 51, 102, 0.12);
    --shadow-float: 0 20px 60px rgba(0, 123, 255, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* =========================================
   UTILITIES
========================================= */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light {
    background-color: var(--color-light-gray);
}

.bg-navy {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00C6FF 0%, #007BFF 100%);
    z-index: -1;
    transition: opacity var(--transition-normal);
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* =========================================
   HEADER & NAVIGATION (STRICT CONSISTENCY)
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    height: 80px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-secondary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Nav */
@media screen and (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition-slow);
        z-index: 1001;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-secondary);
    }
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 90% 10%, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-body);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* 3D CSS Animation Elements */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.orb-main {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2ff 0%, #f0f8ff 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 20px 20px 60px rgba(0, 123, 255, 0.1),
        -20px -20px 60px #ffffff;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: float 5s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: 0%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -10%;
    animation-delay: 1.5s;
}

.card-3 {
    top: 40%;
    right: -20%;
    animation-delay: 2.5s;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-text strong {
    display: block;
    font-size: 1rem;
    color: var(--color-secondary);
}

.card-text span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) translateY(0px);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
}

@keyframes float-card {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   STATS COUNTER
========================================= */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-container {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    border-right: 1px solid var(--color-medium-gray);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-section {
    background-color: var(--color-light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.subtitle {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 123, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e6f2ff 0%, #ffffff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--color-primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.learn-more {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more i {
    transition: 0.2s;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* =========================================
   CALCULATOR SECTION
========================================= */
.calculator-section {
    background: var(--color-secondary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.calc-content h2 {
    color: var(--color-white);
}

.calc-content p {
    color: rgba(255, 255, 255, 0.8);
}

.calculator-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.calc-result {
    margin-top: 30px;
    background: #f0f8ff;
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 1px dashed var(--color-primary);
}

.calc-result h4 {
    margin-bottom: 5px;
    color: var(--color-secondary);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* =========================================
   TESTIMONIALS & PROCESS
========================================= */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step-card {
    background: var(--color-white);
    position: relative;
    z-index: 1;
    width: 23%;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.step-card h4 {
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Testimonials Carousel (Simple CSS Scroll) */
.testimonial-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial-wrapper::-webkit-scrollbar {
    height: 6px;
}

.testimonial-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.testimonial-card {
    min-width: 350px;
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    border-top: 4px solid var(--color-primary);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    object-fit: cover;
}

/* =========================================
   CONTACT PAGE STYLES
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-box {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.contact-info-box h3 {
    color: white;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-top: 5px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

/* =========================================
   LEGAL PAGES
========================================= */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    color: var(--color-secondary);
}

.legal-content p,
.legal-content li {
    color: var(--color-text-body);
    margin-bottom: 15px;
}

/* =========================================
   FOOTER (STRICT CONSISTENCY)
========================================= */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding-top: 80px;
    padding-bottom: 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========================================
   LIVE CHAT & 3D ELEMENTS
========================================= */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-float);
    cursor: pointer;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.chat-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* =========================================
   RESPONSIVE
========================================= */
@media screen and (max-width: 1024px) {

    .hero-grid,
    .calc-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 350px;
        margin-top: 50px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-card {
        width: 100%;
        display: flex;
        text-align: left;
        gap: 20px;
        align-items: flex-start;
    }

    .process-steps::before {
        left: 40px;
        top: 0;
        height: 100%;
        width: 2px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border: none;
        border-bottom: 1px solid #eee;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations Classes */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}