/*
==========================================================================
A+Co ASC - Modern Frontend Redesign
Industrial Elegance Theme - Premium CO2 & Food Safety Company
==========================================================================
*/

/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Colors - Industrial Premium */
    --color-primary: #1a1a2e;
    --color-primary-light: #16213e;
    --color-secondary: #0f3460;
    --color-accent: #e94560;
    --color-accent-hover: #ff6b6b;
    --color-accent-glow: rgba(233, 69, 96, 0.4);
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-gray: #e9ecef;
    --color-medium-gray: #6c757d;
    --color-dark-gray: #343a40;
    --color-black: #0d0d0d;
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(180deg, #0d0d0d 0%, #1a1a2e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, #1a1a2e 0px, transparent 50%),
                     radial-gradient(at 80% 0%, #0f3460 0px, transparent 50%),
                     radial-gradient(at 0% 50%, #16213e 0px, transparent 50%),
                     radial-gradient(at 80% 50%, #e94560 0px, transparent 50%),
                     radial-gradient(at 0% 100%, #0f3460 0px, transparent 50%);
    
    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.24);
    --shadow-glow: 0 0 40px var(--color-accent-glow);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ========== BASE RESET & TYPOGRAPHY ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark-gray);
    background-color: var(--color-off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--color-medium-gray);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-accent-hover);
}

/* ========== LAYOUT UTILITIES ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-padding {
    padding: var(--space-4xl) 0;
}

/* ========== ANIMATED BACKGROUND ========== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-mesh);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    opacity: 0.03;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== HEADER & NAVIGATION ========== */
#rs-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    transition: var(--transition-base);
}

.toolbar-area.topbar-style1 {
    background: var(--gradient-primary);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-area .rs-contact-info li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    margin-right: var(--space-xl);
    font-size: 0.875rem;
}

.toolbar-area .rs-contact-info li i {
    color: var(--color-accent);
    margin-right: var(--space-sm);
    font-size: 1rem;
}

.toolbar-area .rs-contact-info li a {
    color: rgba(255, 255, 255, 0.8);
}

.toolbar-area .rs-contact-info li a:hover {
    color: var(--color-accent);
}

.toolbar-sl-share ul li a {
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    margin-left: var(--space-xs);
}

.toolbar-sl-share ul li a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Main Menu */
.menu-area.menu-sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.menu-area .logo-area img {
    max-height: 60px;
    transition: var(--transition-base);
}

.rs-menu .nav-menu > li > a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-primary);
    padding: var(--space-lg) var(--space-md);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-base);
}

.rs-menu .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.rs-menu .nav-menu > li > a:hover::after,
.rs-menu .nav-menu > li > a.current-menu-item::after {
    width: 30px;
}

.rs-menu .nav-menu > li > a:hover {
    color: var(--color-accent);
}

/* Dropdown Menu */
.rs-menu .nav-menu .sub-menu {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-light-gray);
    min-width: 220px;
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.rs-menu .nav-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rs-menu .nav-menu .sub-menu li a {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    display: block;
    transition: var(--transition-base);
}

.rs-menu .nav-menu .sub-menu li a:hover {
    color: var(--color-accent);
    background: rgba(233, 69, 96, 0.05);
    padding-left: calc(var(--space-lg) + 5px);
}

/* Language Switcher */
.col-cell a[href*="lang"] {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.col-cell a[href*="lang"]:hover {
    background: var(--color-accent);
    color: var(--color-white) !important;
}

/* ========== HERO SLIDER ========== */
#rs-slider {
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

#botslider .carousel-item {
    height: 85vh;
    min-height: 600px;
    position: relative;
}

#botslider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.85) 0%, 
        rgba(15, 52, 96, 0.7) 50%,
        rgba(233, 69, 96, 0.3) 100%);
    z-index: 1;
}

#botslider .carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: saturate(1.1);
}

#botslider .carousel-caption {
    z-index: 2;
    text-align: left;
    left: 10%;
    right: 10%;
}

.botslider .sl-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    background: rgba(233, 69, 96, 0.15);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.botslider .sl-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-white) !important;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.botslider .sl-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.slider-bottom .readon.slide-started {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-lg) var(--space-2xl);
    background: var(--gradient-accent);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    transition: var(--transition-spring);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
    border: none;
}

.slider-bottom .readon.slide-started:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 50px var(--color-accent-glow);
}

/* Carousel Controls */
#botslider .carousel-control-prev,
#botslider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: var(--transition-base);
}

#botslider .carousel-control-prev:hover,
#botslider .carousel-control-next:hover {
    background: var(--color-accent);
    opacity: 1;
}

#botslider .carousel-control-prev { left: 30px; }
#botslider .carousel-control-next { right: 30px; }

#botslider .carousel-indicators {
    bottom: 40px;
}

#botslider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    margin: 0 6px;
    transition: var(--transition-base);
}

#botslider .carousel-indicators button.active {
    background: var(--color-accent);
    width: 40px;
    border-radius: 20px;
}

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

/* ========== SECTION TITLES ========== */
.sec-title {
    margin-bottom: var(--space-2xl);
}

.sec-title .sub-text {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.sec-title .title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
}

.sec-title .title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin-top: var(--space-md);
    border-radius: 2px;
}

.sec-title.text-center .title::after {
    margin-left: auto;
    margin-right: auto;
}

/* ========== BREADCRUMBS ========== */
.rs-breadcrumbs {
    position: relative;
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-top: 90px;
}

.rs-breadcrumbs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.92) 0%, 
        rgba(15, 52, 96, 0.85) 100%);
}

.rs-breadcrumbs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--color-off-white), transparent);
}

.breadcrumbs-inner {
    position: relative;
    z-index: 2;
}

.rs-breadcrumbs .page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease forwards;
}

/* Animated title effect */
.rs-breadcrumbs .page-title.text1 {
    background: linear-gradient(90deg, 
        var(--color-white) 0%, 
        var(--color-accent) 50%, 
        var(--color-white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* ========== BRAND CAROUSEL ========== */
.rs-team.team-style1.our-team-style1 {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.rs-team.team-style1.our-team-style1::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.brand-wrapper {
    padding: var(--space-lg);
    transition: var(--transition-spring);
}

.brand-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: var(--radius-full);
    padding: var(--space-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    border: 3px solid transparent;
}

.brand-wrapper:hover {
    transform: translateY(-10px);
}

.brand-wrapper:hover .brand-img {
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

/* Owl Carousel Modern Style */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background: var(--color-white) !important;
    border-radius: var(--radius-full) !important;
    box-shadow: var(--shadow-md);
    color: var(--color-primary) !important;
    font-size: 1.5rem !important;
    transition: var(--transition-base);
    border: 2px solid var(--color-light-gray) !important;
}

.owl-carousel .owl-nav button:hover {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent) !important;
    transform: scale(1.1);
}

.owl-carousel .owl-dots {
    margin-top: var(--space-xl);
    text-align: center;
}

.owl-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background: var(--color-light-gray) !important;
    border-radius: var(--radius-full);
    margin: 0 5px;
    transition: var(--transition-base);
}

.owl-carousel .owl-dot.active {
    background: var(--color-accent) !important;
    width: 30px;
    border-radius: 10px;
}

/* ========== CARDS - MODERN GLASS STYLE ========== */
.card {
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    opacity: 1;
}

.card .card-img-top {
    transition: var(--transition-slow);
}

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

.card .card-body {
    padding: var(--space-xl);
}

.card .card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.card .card-text {
    color: var(--color-medium-gray);
    font-size: 0.95rem;
}

/* ========== PRODUCTS GRID - PREMIUM DARK THEME ========== */
.rs-shop-part {
    position: relative;
}

.rs-shop-part[style*="gradient-body"] {
    background: var(--gradient-dark);
}

.card__article {
    background: linear-gradient(145deg, 
        rgba(26, 26, 46, 0.95) 0%, 
        rgba(15, 52, 96, 0.9) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-spring);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card__article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(233, 69, 96, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
}

.card__article:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(233, 69, 96, 0.3);
}

.card__article:hover::before {
    opacity: 1;
}

.card__data {
    position: relative;
    z-index: 2;
    text-align: center;
}

.image-wrapper {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.card__img {
    max-width: 280px;
    max-height: 320px;
    object-fit: contain;
    transition: var(--transition-spring);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.card__article:hover .card__img {
    transform: translateY(-20px) scale(1.05);
    filter: drop-shadow(0 20px 40px rgba(233, 69, 96, 0.3));
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.card__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    cursor: pointer;
}

/* Animated Shapes Background */
.card__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.card__shape {
    position: absolute;
    width: 200px;
    height: 30px;
    background: linear-gradient(90deg, 
        rgba(233, 69, 96, 0.3) 0%, 
        rgba(255, 107, 107, 0.1) 100%);
    border-radius: 30px;
    transform: rotate(-20deg);
    opacity: 0;
    animation: floatShape 3s ease-in-out infinite;
}

.card__article:hover .card__shape {
    opacity: 0.5;
}

.card__shape:nth-child(1) { top: 10%; left: -50px; animation-delay: 0s; }
.card__shape:nth-child(2) { top: 25%; left: -30px; animation-delay: 0.2s; }
.card__shape:nth-child(3) { top: 40%; left: -60px; animation-delay: 0.4s; }
.card__shape:nth-child(4) { top: 55%; left: -20px; animation-delay: 0.6s; }
.card__shape:nth-child(5) { top: 70%; left: -40px; animation-delay: 0.8s; }

@keyframes floatShape {
    0%, 100% { transform: rotate(-20deg) translateX(0); }
    50% { transform: rotate(-20deg) translateX(30px); }
}

/* ========== ABOUT SECTION ========== */
.rs-about.about-style1 {
    background: var(--color-white);
    position: relative;
}

.rs-about .images-part {
    position: relative;
}

.rs-about .images-part::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.rs-about .images-part img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-spring);
}

.rs-about .images-part:hover img {
    transform: translate(-10px, -10px);
}

/* ========== CONTACT SECTION ========== */
.rs-contact .contact-box {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.rs-contact .address-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: var(--transition-base);
}

.rs-contact .address-box:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.rs-contact .address-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rs-contact .contact-wrap {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Form Styles */
.from-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark-gray);
    background: var(--color-white);
    transition: var(--transition-base);
}

.from-control:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-glow);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========== BUTTONS ========== */
.readon,
.btn-primary,
input[type="submit"],
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-md) var(--space-2xl);
    background: var(--gradient-accent);
    color: var(--color-white) !important;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-spring);
    box-shadow: var(--shadow-md);
}

.readon:hover,
.btn-primary:hover,
input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.readon.submit,
.readon.apply {
    min-width: 200px;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-base);
}

.btn-close:hover {
    opacity: 1;
}

/* ========== MODALS ========== */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-xl);
    border: none;
}

.modal-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: var(--space-2xl);
}

.modal-footer {
    padding: var(--space-lg) var(--space-2xl);
    border-top: 1px solid var(--color-light-gray);
}

/* ========== PHOTO GALLERY ========== */
.imgs-parent {
    display: flex;
    gap: 0.5rem;
    perspective: 1000px;
    justify-content: center;
    flex-wrap: wrap;
}

.imgs-parent .img {
    width: 80px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.8) brightness(0.6);
    box-shadow: var(--shadow-md);
}

.imgs-parent .img:hover {
    width: 300px;
    filter: grayscale(0) brightness(1);
    box-shadow: var(--shadow-xl);
    transform: translateZ(30px);
}

.imgs-parent .img.open {
    width: 400px;
    filter: grayscale(0) brightness(1);
}

/* ========== PARTNERS SECTION ========== */
.rs-partner {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.rs-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rs-partner .breadcrumbs-inner h1 {
    color: var(--color-white);
    text-align: center;
    position: relative;
}

.rs-partner .logo-img {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-spring);
}

.rs-partner .logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.rs-partner .logo-img img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* ========== FOOTER ========== */
#rs-footer {
    background: var(--gradient-primary);
    position: relative;
}

#rs-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.footer-top {
    padding: var(--space-4xl) 0;
    position: relative;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-md);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.address-widget li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
}

.address-widget li i {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-top: 3px;
}

.address-widget li a {
    color: rgba(255, 255, 255, 0.8);
}

.address-widget li a:hover {
    color: var(--color-accent);
}

.site-map li {
    margin-bottom: var(--space-sm);
}

.site-map li a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-base);
}

.site-map li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.site-map li a:hover {
    color: var(--color-accent);
    padding-left: var(--space-md);
}

.site-map li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter */
.footer-top input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.footer-top input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-top input[type="submit"] {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-xl) 0;
    position: relative;
}

.footer-social li {
    display: inline-block;
    margin-left: var(--space-sm);
}

.footer-social li a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: var(--transition-spring);
}

.footer-social li a:hover {
    background: var(--color-accent);
    transform: translateY(-5px) rotate(10deg);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.copyright a {
    color: var(--color-accent);
}

/* ========== SCROLL TO TOP ========== */
#scrollUp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-spring);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
}

#scrollUp.show {
    opacity: 1;
    visibility: visible;
}

#scrollUp:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ========== VACANCIES ========== */
.rs-services.services-style1 {
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-white) 100%);
}

.rs-services .services-item {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    border: 1px solid var(--color-light-gray);
    height: 100%;
}

.rs-services .services-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.rs-services .services-content .title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.rs-services .services-content .title a {
    color: var(--color-primary);
}

.rs-services .services-content .title a:hover {
    color: var(--color-accent);
}

.rs-services .services-txt {
    color: var(--color-medium-gray);
    margin-bottom: var(--space-lg);
}

/* ========== CTA SECTION ========== */
.rs-cta {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.rs-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.rs-cta .title2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.rs-cta .readon.cta-started {
    background: var(--color-white);
    color: var(--color-primary) !important;
}

.rs-cta .readon.cta-started:hover {
    background: var(--color-accent);
    color: var(--color-white) !important;
}

/* ========== LOGIN POPUP / AGE VERIFICATION ========== */
.login-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.login-popup.show {
    opacity: 1;
    visibility: visible;
}

.login-popup .box {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    display: flex;
    box-shadow: var(--shadow-xl);
}

.login-popup .img-area {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.login-popup .img-area .img {
    background-size: cover;
    background-position: center;
    animation: zoomInOut 15s ease-in-out infinite;
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.login-popup .form {
    width: 50%;
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-popup .form p {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.login-popup .btn {
    width: 100%;
    padding: var(--space-lg);
    background: var(--gradient-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    margin-bottom: var(--space-md);
}

.login-popup .btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.login-popup .silver {
    width: 100%;
    padding: var(--space-lg);
    background: var(--color-light-gray);
    color: var(--color-dark-gray);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.login-popup .silver:hover {
    background: var(--color-medium-gray);
    color: var(--color-white);
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.pagination .page-item .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    color: var(--color-dark-gray);
    font-weight: 600;
    transition: var(--transition-base);
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* ========== ALERT MESSAGES ========== */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: none;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1199px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 991px) {
    #rs-slider {
        margin-top: 70px;
    }
    
    .rs-breadcrumbs {
        margin-top: 70px;
        padding: 120px 0 80px;
    }
    
    #botslider .carousel-item {
        height: 70vh;
    }
    
    .botslider .sl-title {
        font-size: 2.5rem;
    }
    
    .login-popup .box {
        flex-direction: column;
    }
    
    .login-popup .img-area,
    .login-popup .form {
        width: 100%;
    }
    
    .login-popup .img-area {
        height: 200px;
    }
}

@media (max-width: 767px) {
    :root {
        --space-4xl: 4rem;
    }
    
    #botslider .carousel-item {
        height: 60vh;
        min-height: 500px;
    }
    
    .botslider .sl-desc {
        display: none;
    }
    
    #botslider .carousel-control-prev,
    #botslider .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #botslider .carousel-control-prev { left: 15px; }
    #botslider .carousel-control-next { right: 15px; }
    
    .imgs-parent .img {
        width: 60px;
        height: 300px;
    }
    
    .imgs-parent .img:hover {
        width: 200px;
    }
    
    .card__article {
        padding: var(--space-xl);
    }
    
    .image-wrapper {
        height: 250px;
    }
    
    .card__img {
        max-width: 200px;
        max-height: 230px;
    }
}

@media (max-width: 575px) {
    .rs-breadcrumbs .page-title {
        font-size: 2rem;
    }
    
    .footer-top {
        padding: var(--space-2xl) 0;
    }
    
    #scrollUp {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--color-white) !important; }
.text-accent { color: var(--color-accent) !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.shadow-none { box-shadow: none !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* Reveal animation for scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
