/* ===========================================
   Custom Variables & Global Styles
   =========================================== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}
.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===========================================
   Navbar Styles
   =========================================== */
.navbar {
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* ===========================================
   Hero Section
   =========================================== */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    border-radius: 50%;
    transform: translateY(-20%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-section h1 {
    color: #212529;
    animation: fadeInUp 0.8s ease;
}

.hero-section h2 {
    animation: fadeInUp 1s ease;
}

.hero-section .btn {
    animation: fadeInUp 1.2s ease;
}

.hero-section img {
    animation: fadeInRight 1s ease;
    transition: transform 0.3s ease;
}

.hero-section img:hover {
    transform: scale(1.02);
}

.trust-indicators {
    animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================================
   Problem Section
   =========================================== */
.problem-section .card {
    transition: var(--transition);
    height: 100%;
}

.problem-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.problem-section .icon-box {
    transition: var(--transition);
}

.problem-section .card:hover .icon-box i {
    transform: scale(1.1);
}

/* ===========================================
   Benefits Section
   =========================================== */
.benefits-section {
    background: #fff;
}

.benefit-card {
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===========================================
   Social Proof Section
   =========================================== */
.social-proof-section {
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.client-logos .logo-item {
    min-width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-logos .logo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.social-proof-section .card {
    transition: var(--transition);
}

.social-proof-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ===========================================
   How It Works Section
   =========================================== */
.how-it-works-section {
    background: #fff;
}

.process-card {
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-10px);
}

.step-number-circle {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: var(--transition);
}

.process-card:hover .step-number-circle {
    background: var(--primary-color);
}

.process-card:hover .step-number-circle span {
    color: white !important;
}

/* Timeline connector for larger screens */
@media (min-width: 992px) {
    .how-it-works-section .row {
        position: relative;
    }
    
    .how-it-works-section .row::before {
        content: '';
        position: absolute;
        top: 80px;
        left: 15%;
        right: 15%;
        height: 3px;
        background: linear-gradient(to right, var(--primary-color), var(--info-color), var(--success-color));
        z-index: -1;
    }
}

/* ===========================================
   CTA Section
   =========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .card {
    border-radius: 1rem;
}

.cta-section form input,
.cta-section form select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    transition: var(--transition);
}

.cta-section form input:focus,
.cta-section form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.cta-section .btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.cta-section .btn-primary:hover {
    background: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* ===========================================
   FAQ Section
   =========================================== */
.faq-section {
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    background: white;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(1) invert(1);
}

.accordion-body {
    padding: 1.25rem;
    line-height: 1.8;
}

/* ===========================================
   Footer
   =========================================== */
.footer {
    background: var(--dark-bg);
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-link:hover {
    color: #fff !important;
    transform: translateX(5px);
}

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

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

/* ===========================================
   Buttons
   =========================================== */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn-primary {
    box-shadow: 0 0.25rem 0.5rem rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.4);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.2);
}

.btn-lg {
    font-size: 1.1rem;
}

/* ===========================================
   Modal
   =========================================== */
.modal-content {
    border-radius: 1rem;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ===========================================
   Utility Classes
   =========================================== */
.shadow-custom {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================================
   Responsive Adjustments
   =========================================== */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 2rem !important;
    }
    
    .hero-section .min-vh-75 {
        min-height: auto;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.65rem 1.25rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* ===========================================
   Loading Animation
   =========================================== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

/* ===========================================
   Scroll to Top Button (Optional Enhancement)
   =========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #0a58ca;
    transform: translateY(-5px);
}

/* ===========================================
   Print Styles
   =========================================== */
@media print {
    .navbar,
    .footer,
    .btn,
    .cta-section {
        display: none !important;
    }
}
