﻿/* =========================================
   ROOT VARIABLES
========================================= */

:root {
    --primary: #eb141b;
    --primary-dark: #071f3b;
    --primary-dark-alt: #050f23;
    --text-dark: #081120;
    --text-light: #5d6778;
    --bg-light: #f5f7fb;
    --border: rgba(0,0,0,0.06);
    --shadow-sm: 0 4px 14px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
}


/* =========================================
   GLOBAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    background: var(--bg-light);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-content {
    padding-top: 120px;
}

/* Tablet */

@media (max-width: 991px) {

    .page-content {
        padding-top: 0px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .page-content {
        padding-top: 82px;
    }
}


/* =========================================
   IMAGES
========================================= */

img {
    max-width: 100%;
    height: auto;
}


/* =========================================
   LINKS
========================================= */

a {
    text-decoration: none;
    transition: 0.3s ease;
}

    a:hover {
        text-decoration: none;
    }


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 18px;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    margin-bottom: 18px;
    color: var(--muted);
}


/* =========================================
   CONTAINERS
========================================= */

.container,
.container-fluid {
    position: relative;
    z-index: 2;
}


/* =========================================
   SECTION SPACING
========================================= */

.section-space {
    padding: 100px 0;
}

.section-space-sm {
    padding: 70px 0;
}


/* =========================================
   PREMIUM BUTTONS
========================================= */

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-premium-primary {
    background: linear-gradient( 135deg, var(--primary), var(--primary-dark) );
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15,111,255,0.18);
}

    .btn-premium-primary:hover {
        transform: translateY(-3px);
        color: #ffffff;
    }

.btn-premium-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
}


/* =========================================
   PREMIUM CARDS
========================================= */

.premium-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: 0.35s ease;
}

    .premium-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }


/* =========================================
   UTILITIES
========================================= */

.radius-sm {
    border-radius: var(--radius-sm);
}

.radius-md {
    border-radius: var(--radius-md);
}

.radius-lg {
    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);
}

.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff !important;
}

.bg-white {
    background: #ffffff;
}


/* =========================================
   HOVER EFFECTS
========================================= */

.hover-lift {
    transition: 0.35s ease;
}

    .hover-lift:hover {
        transform: translateY(-6px);
    }

.hover-zoom {
    overflow: hidden;
}

    .hover-zoom img {
        transition: transform 0.4s ease;
    }

    .hover-zoom:hover img {
        transform: scale(1.05);
    }


/* =========================================
   OVERLAYS
========================================= */

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(8,28,47,0.82), rgba(8,28,47,0.55) );
}


/* =========================================
   PRELOADER
========================================= */

#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 5px solid #eeeeee;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}


/* =========================================
   SOCIAL FLOATING
========================================= */

.social-sticky-icons {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .social-sticky-icons a {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        border-radius: 0 6px 6px 0;
        transition: 0.3s ease;
    }

        .social-sticky-icons a:hover {
            width: 50px;
        }

.linkedin {
    background: #0077b5;
}

.facebook {
    background: #1877f2;
}

.whatsapp {
    background: #25d366;
}


/* =========================================
   GO TO TOP
========================================= */

#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--primary), var(--primary-dark) );
    color: #ffffff;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: 0.3s ease;
}

    #goTopBtn:hover {
        transform: translateY(-4px);
    }


/* =========================================
   ANIMATIONS
========================================= */

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   LEGACY SLIDER FIXES
   (KEEP ONLY IF STILL USED)
========================================= */

.dg-container {
    width: 100%;
}

.dg-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

    .dg-wrapper img {
        width: 100%;
        border-radius: 14px;
    }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    h1 {
        font-size: 46px;
    }

    h2 {
        font-size: 36px;
    }
}


@media (max-width: 991px) {

    body {
        padding-top: 0;
    }

    .section-space {
        padding: 80px 0;
    }

    .section-space-sm {
        padding: 60px 0;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 26px;
    }

    .premium-card {
        padding: 28px;
    }
}


@media (max-width: 767px) {

    body {
        font-size: 14px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    .section-space {
        padding: 70px 0;
    }

    .section-space-sm {
        padding: 50px 0;
    }

    .btn-premium {
        width: 100%;
    }

    .social-sticky-icons {
        display: none;
    }
}


@media (max-width: 480px) {

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .premium-card {
        padding: 22px;
        border-radius: 20px;
    }
}
