/* ===================================================
   STANDARD ZONE TECHNOLOGIES - MAIN STYLESHEET
   =================================================== */

/* ===================== ROOT VARIABLES ===================== */
:root {
    --primary-color: #0d47a1;
    --primary-light: #1976d2;
    --primary-dark: #002171;
    --secondary-color: #1e88e5;
    --accent-color: #ff6f00;
    --accent-light: #ff9800;
    --dark-color: #1a1a2e;
    --darker-color: #0f0f1e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --gradient-primary: linear-gradient(135deg, #0d47a1 0%, #1976d2 50%, #1e88e5 100%);
    --gradient-accent: linear-gradient(135deg, #ff6f00 0%, #ff9800 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(13, 71, 161, 0.15);
    --shadow-xl: 0 24px 60px rgba(13, 71, 161, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* ===================== GLOBAL RESET ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===================== UTILITY CLASSES ===================== */
.section-padding {
    padding: 100px 0;
}

.bg-light-custom {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(13, 71, 161, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* ===================== BUTTONS ===================== */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 15px;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 14px 35px;
    font-size: 16px;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.btn-primary-custom:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.45);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-light-custom {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-light-custom:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light-custom:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ===================== PRELOADER ===================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    position: relative;
}

.loader-inner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: loaderSpin 1.2s linear infinite;
}

.loader-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--primary-light);
    animation-duration: 0.9s;
    animation-direction: reverse;
}

.loader-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--white);
    animation-duration: 0.6s;
}

.loader-text {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* ===================== NAVBAR ===================== */
#mainNavbar {
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.navbar-brand {
    padding: 0;
}

.brand-logo {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    position: relative;
    overflow: hidden;
}

.brand-logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.navbar-brand:hover .brand-logo::before {
    transform: translateX(100%);
}

.brand-icon {
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--dark-color);
}

#mainNavbar:not(.scrolled) .brand-name {
    color: var(--white);
}

.brand-sub {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

#mainNavbar:not(.scrolled) .brand-sub {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}

#mainNavbar.scrolled .navbar-nav .nav-link {
    color: var(--text-dark);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 25px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

#mainNavbar.scrolled .navbar-nav .nav-link:hover,
#mainNavbar.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

#mainNavbar.scrolled .navbar-nav .nav-link::after {
    background: var(--primary-color);
}

.nav-link.btn-nav {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.nav-link.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.45);
    color: var(--white) !important;
}

.nav-link.btn-nav::after {
    display: none;
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 5px;
    box-shadow: none !important;
}

.toggler-icon {
    width: 30px;
    height: 24px;
    position: relative;
    display: block;
}

.toggler-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

#mainNavbar.scrolled .toggler-icon span {
    background: var(--primary-color);
}

.toggler-icon span:nth-child(1) { top: 0; }
.toggler-icon span:nth-child(2) { top: 10px; }
.toggler-icon span:nth-child(3) { top: 20px; }

/* ===================== HERO SECTION ===================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 100px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(13, 71, 161, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 111, 0, 0.2) 0%, transparent 50%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 50%, #ffa726 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats-mini {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

.stat-mini i {
    color: var(--accent-color);
    font-size: 20px;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-center-circle {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 80px;
    box-shadow: 0 20px 60px rgba(13, 71, 161, 0.5);
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulseRing 2.5s infinite;
}

.pulse-ring.delay-1 { animation-delay: 0.8s; }
.pulse-ring.delay-2 { animation-delay: 1.6s; }

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.float-element {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatAnim 4s ease-in-out infinite;
}

.float-1 { top: 10%; left: 10%; animation-delay: 0s; color: var(--primary-color); }
.float-2 { top: 15%; right: 10%; animation-delay: 0.5s; color: var(--accent-color); }
.float-3 { bottom: 20%; left: 5%; animation-delay: 1s; color: #2e7d32; }
.float-4 { bottom: 15%; right: 8%; animation-delay: 1.5s; color: #c62828; }
.float-5 { top: 50%; left: 0; animation-delay: 2s; color: #6a1b9a; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll-indicator a {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 1.5s infinite;
}

@keyframes wheelMove {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ===================== SERVICE CARD ===================== */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1) 0%, rgba(25, 118, 210, 0.1) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
    gap: 10px;
}

/* ===================== ABOUT PREVIEW ===================== */
.about-image-wrapper {
    position: relative;
    padding: 30px;
}

.about-img-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.1;
    z-index: 0;
}

.about-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.img-box {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.img-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.img-box i {
    font-size: 45px;
    color: var(--primary-color);
}

.img-box span {
    font-weight: 600;
    color: var(--dark-color);
}

.box-1 { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); }
.box-1 i { color: #1976d2; }
.box-2 { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
.box-2 i { color: #f57c00; }
.box-3 { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.box-3 i { color: #388e3c; }
.box-4 { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%); }
.box-4 i { color: #c2185b; }

.about-experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.4);
    z-index: 2;
}

.exp-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-title {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
}

.about-features {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-item i {
    color: #2e7d32;
    font-size: 20px;
    flex-shrink: 0;
}

/* ===================== VALUE CARD ===================== */
.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    opacity: 0.05;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-card:hover::after {
    transform: scale(1.5);
    opacity: 0.1;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    background: var(--gradient-accent);
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.4);
    transform: rotate(360deg);
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
    background:
        linear-gradient(135deg, rgba(13, 71, 161, 0.9) 0%, rgba(25, 118, 210, 0.9) 100%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.stat-card {
    text-align: center;
    color: var(--white);
    padding: 30px 20px;
    position: relative;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: inline-block;
    margin-bottom: 0;
}

.stat-plus {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-color);
    vertical-align: top;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== TECH STACK SLIDER ===================== */
.tech-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    gap: 25px;
    animation: techScroll 30s linear infinite;
    width: max-content;
}

.tech-item {
    background: var(--white);
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    min-width: 180px;
    text-align: center;
}

.tech-item:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-item span {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-color);
    transition: var(--transition);
}

.tech-item:hover span {
    color: var(--white);
}

@keyframes techScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================== CTA SECTION ===================== */
.cta-section {
    background: var(--gradient-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.15) 0%, transparent 70%);
    animation: ctaFloat 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.2) 0%, transparent 70%);
    animation: ctaFloat 8s ease-in-out infinite reverse;
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-40px); }
}

.cta-title {
    font-size: 44px;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================== FOOTER ===================== */
.footer-section {
    background: var(--darker-color);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget .footer-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-brand .brand-name {
    color: var(--white);
    font-size: 18px;
}

.footer-brand .brand-sub {
    color: rgba(255, 255, 255, 0.6);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent-color);
    font-weight: 700;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact .contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact .contact-item i {
    width: 38px;
    height: 38px;
    background: rgba(255, 111, 0, 0.15);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contact .contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
    padding-top: 8px;
}

.footer-bottom {
    padding: 25px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 111, 0, 0.5);
}

/* ===================== PAGE BANNER (For Inner Pages) ===================== */
.page-banner {
    background: var(--gradient-dark);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(13, 71, 161, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 111, 0, 0.2) 0%, transparent 50%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-banner-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.page-breadcrumb a:hover {
    color: var(--accent-color);
}

.page-breadcrumb .separator {
    color: var(--accent-color);
}

.page-breadcrumb .current {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===================== RESPONSIVE STYLES ===================== */
@media (max-width: 1199px) {
    .hero-title { font-size: 50px; }
    .section-title { font-size: 36px; }
}

@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }
    .hero-title { font-size: 42px; }
    .section-title { font-size: 32px; }
    .cta-title { font-size: 34px; }
    .page-banner-title { font-size: 40px; }
    .page-banner { padding: 150px 0 80px; }

    #mainNavbar {
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
    }

    #mainNavbar .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        padding: 20px;
        margin-top: 15px;
        border-radius: 15px;
    }

    .navbar-nav .nav-link {
        color: var(--white) !important;
        padding: 12px 18px !important;
    }

    #mainNavbar.scrolled .navbar-nav .nav-link {
        color: var(--white) !important;
    }

    .nav-link.btn-nav {
        margin-top: 10px;
        text-align: center;
    }

    .about-experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px 20px;
    }

    .exp-number { font-size: 28px; }
}

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 28px; }
    .cta-title { font-size: 28px; }
    .stat-number { font-size: 38px; }
    .stat-plus { font-size: 30px; }
    .page-banner-title { font-size: 32px; }
    .page-banner { padding: 130px 0 60px; }

    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats-mini { gap: 15px; }

    .cta-buttons { flex-direction: column; align-items: stretch; }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    .copyright { text-align: center; }

    .back-to-top {
        width: 42px;
        height: 42px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 24px; }
    .brand-name { font-size: 15px; }
    .brand-sub { font-size: 9px; }
    .brand-logo { width: 42px; height: 42px; }
    .brand-icon { font-size: 15px; }

    .service-card, .value-card { padding: 30px 20px; }
    .tech-item { min-width: 140px; padding: 15px 25px; }
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===================== NO ANIMATION FALLBACK ===================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================================
   LOGO STYLES
   =================================================== */

/* ===== NAVBAR LOGO ICON (Second image - SZ icon with white bg) ===== */
.navbar-logo-icon {
    height: 55px;
    width: 55px;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#mainNavbar.scrolled .navbar-logo-icon {
    height: 50px;
    width: 50px;
}

.navbar-brand:hover .navbar-logo-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(13, 71, 161, 0.25);
}

/* ===== FOOTER FULL LOGO (Third image - Full logo with company name) ===== */
.footer-logo-full {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--white);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.footer-logo-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ===== PRELOADER LOGO ===== */
.loader-logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ===== RESPONSIVE LOGO STYLES ===== */
@media (max-width: 991px) {
    .navbar-logo-icon {
        height: 48px;
        width: 48px;
    }

    #mainNavbar.scrolled .navbar-logo-icon {
        height: 45px;
        width: 45px;
    }

    .footer-logo-full {
        max-width: 260px;
        padding: 10px 16px;
    }
}

@media (max-width: 767px) {
    .navbar-logo-icon {
        height: 44px;
        width: 44px;
        border-radius: 10px;
    }

    #mainNavbar.scrolled .navbar-logo-icon {
        height: 42px;
        width: 42px;
    }

    .footer-logo-full {
        max-width: 240px;
        padding: 10px 15px;
    }

    .loader-logo-img {
        height: 52px;
        width: 52px;
    }
}

@media (max-width: 575px) {
    .navbar-logo-icon {
        height: 40px;
        width: 40px;
    }

    .footer-logo-full {
        max-width: 220px;
        padding: 8px 12px;
    }
}