/* ==========================================================
   iWorld Technologies
   Premium SaaS Design System
   Version: 2.0
   ========================================================== */

/* ==========================================================
   ROOT VARIABLES
   ========================================================== */

:root {

    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --secondary: #06b6d4;
    --accent: #8b5cf6;

    --dark: #0f172a;
    --dark-card: #111827;

    --white: #ffffff;
    --light: #f8fafc;

    --text: #334155;
    --text-light: #64748b;

    --border: rgba(255,255,255,.08);

    --shadow-sm: 0 5px 15px rgba(0,0,0,.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,.12);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.18);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;

    --transition: all .3s ease;
}

/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after {

    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;
}

body {

    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.7;

    color: var(--text);
    background: var(--white);

    overflow-x: hidden;
}

/* ==========================================================
   AUTH PAGES
   ========================================================== */    
.auth-section {

    min-height: calc(100vh - 250px);

    display: flex;

    align-items: flex-start;

    justify-content: center;

    padding-top: 160px;

    padding-bottom: 80px;
}

/* ==========================================================
   GLOBAL
   ========================================================== */

/*.container {

    max-width: 1200px;
} */

.site-container {

    max-width: 1200px;

}

a {

    text-decoration: none;
    transition: var(--transition);
}

img {

    max-width: 100%;
    height: auto;
}

section {

    position: relative;
}

.py-section {

    padding: 100px 0;
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

.display-title {

    font-size: 4rem;
    font-weight: 800;
}

.section-title {

    font-size: 2.75rem;
    font-weight: 800;

    margin-bottom: 15px;
}

.section-subtitle {

    color: var(--text-light);

    max-width: 700px;

    margin: 0 auto 50px;
}

/* ==========================================================
   GRADIENT TEXT
   ========================================================== */

.gradient-text {

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary),
        var(--accent)
    );

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {

    border-radius: 50px;
    padding: 12px 28px;

    font-weight: 600;

    transition: var(--transition);
}

.btn:hover {

    transform: translateY(-2px);
}

.btn-primary {

    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {

    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* ==========================================================
   NAVBAR
   ========================================================== */

.navbar-glass {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: all .3s ease;
    z-index: 1050;
}

.navbar {
    min-height: 90px;
}

.navbar-logo {
    height: 72px;
    width: auto;
    display: block;
}

.navbar-nav {
    gap: .75rem;
}

.navbar-nav .nav-link,
.navbar-glass .dropdown-toggle {
    /* color: #ffffff !important; */
    color: #60a5fa !important;
    font-weight: 600;
    font-size: 15px;
    padding: .75rem .5rem !important;
    white-space: nowrap;
    transition: all .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-glass .dropdown-toggle:hover {
    color: #60a5fa !important;
}

.navbar-nav .nav-link.active,
.navbar-glass .dropdown-toggle.active {
    color: #60a5fa !important;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-link {
    color: #ffffff !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    height: 42px;
}

.login-link:hover {
    color: #60a5fa !important;
}

.navbar-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.20);
}

.dropdown-menu {
    border: none;
    border-radius: 14px;
    padding: .5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.dropdown-item {
    font-size: .92rem;
    font-weight: 500;
    padding: .7rem .9rem;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: #eff6ff;
}

.navbar .btn-primary {
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
}

.user-dropdown {
    margin-left: .5rem;
}

@media (max-width: 1199px) {

    .navbar-logo {
        height: 56px;
    }

    .navbar-collapse {
        background: #111827;
        padding: 20px;
        margin-top: 15px;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,.08);
    }

    .navbar-actions {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }

    .navbar-divider {
        display: none;
    }
}
/* ==========================================================
   HERO SECTION
   ========================================================== */

.hero-section {

    min-height: auto;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at top left,
            rgba(37,99,235,.20),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(139,92,246,.20),
            transparent 35%
        ),
        var(--dark);

    color: var(--white);

    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {

    color: var(--white);
}

.hero-content {

    max-width: 650px;
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    max-width: fit-content;
    
    padding: 12px 20px;

    border-radius: 999px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.10);

    color: #cbd5e1;

    margin-bottom: 25px;
}

.hero-title {

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 20px;
}

.hero-description {

    color: #cbd5e1;

    font-size: 1.15rem;

    line-height: 1.8;
    
    margin-bottom: 30px;
}

.hero-actions {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 30px;
}

.hero-image {

    animation: floatY 5s ease-in-out infinite;
}

/* ==========================================================
   TRUST BAR
   ========================================================== */

.trust-bar {

    background: #fff;

    border-top: 1px solid #e2e8f0;

    border-bottom: 1px solid #e2e8f0;
}

/* ==========================================================
   TECHNOLOGY STACK
   ========================================================== */

.tech-stack {

    background: #f8fafc;

    padding: 40px 0;
}

.tech-item {

    font-weight: 700;

    color: #475569;
}

/* ==========================================================
   CARDS
   ========================================================== */

.solution-card,
.industry-card,
.case-study-card {

    background: var(--white);

    border-radius: var(--radius-md);

    border: 1px solid rgba(0,0,0,.05);

    padding: 30px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    position: relative;

    overflow: hidden;
}

.card-equal-height {

    height: 100%;
}

.solution-card:hover,
.industry-card:hover,
.case-study-card:hover {

    transform: translateY(-8px);

    border-color: rgba(37,99,235,.20);

    box-shadow: var(--shadow-lg);
}

.card-icon {

    font-size: 2.5rem;

    margin-bottom: 20px;
}

/* ==========================================================
   UTILITIES
   ========================================================== */

.h-auto {

    height: auto !important;
}

.rounded-xl {

    border-radius: var(--radius-lg);
}

.shadow-soft {

    box-shadow: var(--shadow-sm);
}

.shadow-medium {

    box-shadow: var(--shadow-md);
}

.shadow-large {

    box-shadow: var(--shadow-lg);
}

/* ==========================================================
   STATISTICS
   ========================================================== */

.stats-section {

    background: var(--dark);

    color: var(--white);
}

.stat-number {

    font-size: 3rem;

    font-weight: 800;

    color: var(--primary);
}

.stat-label {

    color: rgba(255,255,255,.75);
}

/* ==========================================================
   PROCESS
   ========================================================== */

.process-step {

    text-align: center;
}

.process-number {

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.4rem;
    font-weight: 700;
}

/* ==========================================================
   LEAD FORM
   ========================================================== */

.lead-form {

    background: #fff;

    padding: 40px;

    border-radius: 20px;

    box-shadow: var(--shadow-md);
}

/* ==========================================================
   FAQ SECTION
   ========================================================== */

.faq-section {

    position: relative;

    clear: both;

    z-index: 1;

    padding-top: 80px;

    padding-bottom: 80px;
}

.faq-section .accordion {

    max-width: 1000px;

    margin: 0 auto;
}

.faq-section .accordion-item {

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    overflow: hidden;

    margin-bottom: 12px;

    background: #fff;
}

.accordion-button {

    font-weight: 600;

    box-shadow: none;
}

.accordion-button:not(.collapsed) {

    background: #eff6ff;

    color: var(--primary);
}

.accordion-button:focus {

    box-shadow: none;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.contact-section {

    position: relative;

    z-index: 2;

    padding-bottom: 80px;
}

.contact-sidebar {

    position: relative;
}

.contact-sidebar .solution-card {

    height: auto !important;

    min-height: auto !important;
}

/* ==========================================================
   CTA
   ========================================================== */

.cta-section {

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    color: #fff;

    text-align: center;

    padding: 80px 0;
}

.cta-section h2 {

    color: #fff;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer-section {

    background: var(--dark);

    color: #cbd5e1;

    position: relative;

    z-index: 1;

    clear: both;

    overflow: hidden;
}

.footer-title {

    color: #fff;
}

/* ==========================================================
   BACK TO TOP
   ========================================================== */

.back-to-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    display: none;

    z-index: 999;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */

@keyframes floatY {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

[data-animate] {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.animate-in {

    opacity: 1;

    transform: translateY(0);
}

/* ==========================================================
   LAYOUT SAFETY
   ========================================================== */

.row {

    position: relative;
}

.col-lg-4,
.col-lg-8,
.col-md-6 {

    position: relative;
}

section {

    width: 100%;

    overflow: hidden;
}

.container {

    position: relative;

    z-index: 2;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 991.98px) {

    .navbar-collapse {

        background: #111827;

        padding: 20px;

        margin-top: 15px;

        border-radius: 16px;

        border: 1px solid rgba(255,255,255,.08);
    }

    .dropdown-menu {

        background: transparent;

        border: none;

        box-shadow: none;

        margin-left: 10px;
    }
}

@media (max-width: 768px) {

    .hero-section {

        text-align: center;

        padding: 120px 0 80px;
    }

    .hero-actions {

        flex-direction: column;

        align-items: center;
    }

    .hero-actions .btn {

        width: 100%;

        max-width: 320px;
    }

    .section-title {

        font-size: 2rem;
    }

    .py-section {

        padding: 70px 0;
    }

    .stat-number {

        font-size: 2.25rem;
    }

    .container {

        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-sidebar {

    margin-top: 30px;
    }

    .faq-section {

        padding-top: 60px;

        padding-bottom: 60px;
    }

}