/* 
 * Yantrika Engitech - Premium Design System
 * Developed & Managed by ByteRoots
 * Theme: Petrol & Vibrant Teal
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* --- Corporate Professional Palette --- */
    --primary-color: #0F4C63;
    /* Deep Petrol */
    --primary-vibrant: #1a6d8d;
    /* Lighter Petrol */
    --primary-dark: #072D3C;
    /* Darker Shade for depth */

    --accent-color: #2CA0B8;
    /* Professional Teal */
    --accent-vibrant: #48C0D8;
    --accent-soft: rgba(44, 160, 184, 0.1);

    --success-color: #10B981;
    /* Clean Emerald */
    --warning-color: #F59E0B;
    /* Amber */

    /* --- Neutrals --- */
    --bg-main: #FFFFFF;
    /* Pure White */
    --bg-white: #ffffff;
    --bg-light: #F8FAFC;
    /* Slate 50 */
    --bg-dark-card: #FFFFFF;
    --text-heading: #1E293B;
    /* Slate 800 */
    --text-body: #475569;
    /* Slate 600 */
    --text-light: #94A3B8;
    /* Slate 400 */
    --border-soft: #E2E8F0;
    /* Slate 200 */

    /* --- Gradients --- */
    --grad-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-vibrant) 100%);
    --grad-vibrant: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    --grad-dark: linear-gradient(180deg, rgba(7, 45, 60, 0.8) 0%, rgba(7, 45, 60, 1) 100%);

    /* --- Effects --- */
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* --- Configuration --- */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 85px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-main);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Layout Enhancements --- */
.section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* --- Typography Utilities --- */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.display-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 800;
}

.display-medium {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
}

.ls-tight {
    letter-spacing: -0.04em;
}

.x-small {
    font-size: 0.7rem;
}

.label-premium {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-vibrant);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

/* --- Component Stylings --- */

/* Professional Navigation */
.navbar-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-soft);
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 30px rgba(15, 76, 99, 0.1);
}

.nav-link {
    font-weight: 500;
    color: var(--text-heading) !important;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
}

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

/* Premium Buttons */
.btn-premium {
    background: var(--grad-primary);
    color: white;
    padding: 14px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: none;
    z-index: 1;
    display: inline-flex;
    align-items: center;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary-premium {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.btn-secondary-premium:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- Hero Section Pivot --- */
.hero-section-premium {
    padding: 60px 0 140px;
    background: radial-gradient(circle at 70% 20%, rgba(44, 160, 184, 0.08), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(15, 76, 99, 0.05), transparent 40%);
    overflow: hidden;
    position: relative;
}

.hero-visual-wrapper {
    position: relative;
    z-index: 2;
}

.hero-main-img {
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(7, 45, 60, 0.15);
    position: relative;
    z-index: 2;
    border: 8px solid white;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    border: 1px solid rgba(15, 76, 99, 0.05);
    animation: floatAnim 6s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.badge-text .badge-title {
    display: block;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text .badge-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.badge-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    right: -5%;
    animation-delay: 2s;
}

.badge-3 {
    bottom: -5%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.decorative-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--accent-soft);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
}

/* Corporate Cards */
.card-premium {
    background: var(--bg-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--shadow-sm);
}

.card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-premium .icon-box-link {
    width: 65px;
    height: 65px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card-premium:hover .icon-box-link {
    background: var(--primary-color);
    color: white;
}

/* Clean Mesh Background */
.mesh-bg {
    background-color: var(--bg-light);
    background-image:
        radial-gradient(at 0% 0%, rgba(15, 76, 99, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(44, 160, 184, 0.05) 0, transparent 50%);
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}

/* Floating Animation */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: floatY 5s ease-in-out infinite;
}

/* Micro-interactions */
.hover-reveal {
    overflow: hidden;
    position: relative;
}

.hover-reveal img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-reveal:hover img {
    transform: scale(1.05);
}

/* --- Swiper / Hero Overrides --- */
.hero-slider-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-slider,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 10s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    max-width: 900px;
    color: white;
}

.hero-content h1 {
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.max-w-700 {
    max-width: 700px;
}

/* Navigation buttons polish */
.swiper-button-next,
.swiper-button-prev {
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: white !important;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Professional Labels */
.label-premium {
    background: var(--accent-soft);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* --- Responsive Helpers --- */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

/* --- Developer Credits --- */
.br-badge-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 76, 99, 0.04);
    border: 1px solid rgba(15, 76, 99, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    margin-top: 10px;
}

.br-badge-wrapper:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(15, 76, 99, 0.12);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.br-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    margin-right: 12px;
    box-shadow: 0 4px 8px rgba(15, 76, 99, 0.2);
}

.br-text {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.br-text span {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dark Footer Overrides */
footer .br-badge-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

footer .br-badge-wrapper:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

footer .br-text {
    color: rgba(255, 255, 255, 0.6);
}

footer .br-text span {
    color: white;
}