/* ==========================================================================
   BRM Iss Ekipmanlari - Single Page Dynamic UI
   ========================================================================== */

:root {
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;

    --primary-color: #10b981;
    --primary-hover: #059669;
    --accent-color: #2563eb;
    --glow-color: rgba(37, 99, 235, 0.4);

    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);

    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --font-main: 'Montserrat', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

/* Typography & Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-6 {
    margin-top: 3rem;
}

.justify-center {
    justify-content: center;
}

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.section-subtitle,
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.text-center .section-subtitle {
    margin-inline: auto;
}

.text-gradient {
    background: linear-gradient(90deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Ambient Glows */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--glow-color);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.15);
    bottom: 20%;
    left: -200px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition-normal), border-bottom var(--transition-normal);
    padding: 1.2rem 0;
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo img {
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    text-shadow: none;
}

.logo-dot {
    color: var(--primary-color);
}

.logo-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.85;
    position: relative;
    padding-bottom: 0.2rem;
    text-shadow: none;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Base styles for responsive menu will go in media queries */

/* Hero Slider */
.hero-slider-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
}

.slide-content-inner {
    max-width: 600px;
}

.slide-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    border-left: 3px solid var(--primary-color);
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.slide-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.slide-title span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8);
    // background: url(../images/4.jpeg) center/cover;
    background-clip: text;
    -webkit-background-clip: text;
}

.slide-desc {
    font-size: 1.2rem;
    color: #040438;
    margin-bottom: 2rem;
}

/* Swiper custom controls */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-primary);
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

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

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Company Section */
.company-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.company-visual {
    position: relative;
    height: 550px;
    perspective: 1000px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.image-card {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.back-card {
    width: 75%;
    height: 80%;
    top: 0;
    right: 0;
    background: #8e959f;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(-100px) rotateY(-10deg) rotateX(5deg);
}

.front-card {
    width: 80%;
    height: 85%;
    bottom: 0;
    left: 0;
    background: #ffffff;
    padding: 1.5rem;
    transform: translateZ(50px) rotateY(-5deg) rotateX(2deg);
}

.front-card img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-tag {
    position: absolute;
    bottom: -10px;
    right: -20px;
    background: #10b981;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
    transform: translateZ(30px);
}

/* Fabric Section */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.fabric-timeline {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.fabric-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fabric-item.reverse {
    direction: rtl;
}

.fabric-item.reverse>* {
    direction: ltr;
    /* keep text readable */
}

.fabric-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.fabric-hexagon {
    width: 400px;
    height: 400px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    transform: rotate(10deg);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.fabric-hexagon img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: rotate(-10deg);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.fabric-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fabric-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #7b8491;
}

.tech-list li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Featured Products Carousel */
.products-carousel-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #f1f5f9, #ffffff);
}

.product-swiper {
    width: 100%;
    padding: 2rem 0 4rem;
    overflow: visible;
    /* Let the shadow expand cleanly without getting cut */
}

/* Product Navigation Arrows */
.product-nav-arrows {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: relative;
    /* Ensure arrows stay within the normal document flow and don't escape container */
}

.product-prev,
.product-next {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.8rem;
}

.product-prev:hover,
.product-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img-box img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.product-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
    cursor: pointer;
}

.btn-icon:hover {
    background: #e65500;
}

.product-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: 1px solid #f1f5f9;
}

.product-details .tech-tag {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.product-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
    line-height: 1.4;
}

.product-details .btn-outline {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    font-weight: 600;
    transition: all 0.3s;
}

.product-details .btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Custom Product Swiper Pagination */
.product-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.product-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Nav links list reset (from CMS menu rendering) */
.nav-links-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links-list li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.85;
    position: relative;
    padding-bottom: 0.2rem;
    text-shadow: none;
    transition: all var(--transition-fast);
}

.nav-links-list li a:hover {
    opacity: 1;
}

.nav-links-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links-list li a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-wrapper {
    position: relative;
}

.language-wrapper a,
.language-wrapper select {
    color: var(--text-primary);
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Contact CTA Section */
.contact-cta-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-cta {
    padding: 5rem 0;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-contact-info {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-main {
    padding: 5rem 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

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

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: #ffffff;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(16, 185, 129, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-contact-list li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2rem 0;
    background: #f8fafc;
}

.footer-bottom-inner {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-secondary);
    padding: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    margin-top: 70px;
}

.breadcrumb-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.breadcrumb-inner .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-inner .breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb-inner .breadcrumb .active {
    color: var(--text-secondary);
}

/* Post Detail */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-meta i {
    color: var(--primary-color);
}

.post-thumbnail {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-thumbnail img {
    width: 100%;
    border-radius: 16px;
}

.post-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content h2, .post-content h3, .post-content h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.tag-link {
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tag-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

/* Back to Top */
#back2top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

#back2top.visible {
    opacity: 1;
    visibility: visible;
}

#back2top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Page Content */
.page-content {
    padding-top: 0;
}

body.show-admin-bar .navbar {
    top: 40px !important;
}

.ck-content > p:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.page-content .ck-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content .ck-content h2,
.page-content .ck-content h3,
.page-content .ck-content h4 {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .company-grid,
    .fabric-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .fabric-item.reverse {
        direction: ltr;
    }

    .slide-title {
        font-size: 3rem;
    }

    .company-visual {
        height: 400px;
    }

    .fabric-hexagon {
        width: 300px;
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .slide-content {
        text-align: center;
        padding-left: 0;
        margin: 0 auto;
    }

    .slide-overlay {
    }

    .section {
        padding: 5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .footer-title {
        font-size: 1.8rem;
    }
}

/* ==========================================
   PREMIUM CONTACT PAGE DESIGN
   ========================================== */
.contact-page-container {
    margin-top: 2rem;
    color: var(--text-primary);
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.contact-card:hover .contact-card-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.contact-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-card-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-card-content p a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-card-content p a:hover {
    color: var(--primary-color);
}

.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Beautiful Inputs & Textarea */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.contact-form .form-control {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    box-shadow: none;
}

.contact-form .form-control:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    outline: none;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Checkbox Style */
.contact-form .form-check-input {
    border-color: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    cursor: pointer;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Contact Button */
.contact-form button[type="submit"],
.contact-form .contact-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    background-color: var(--primary-color);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    margin-top: 1rem;
}

.contact-form button[type="submit"]:hover,
.contact-form .contact-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(16, 185, 129, 0.35);
}

/* Navigation Login Button */
.login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
}

.login-link i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.login-link:hover {
    color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.08);
}

.mobile-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-login-btn i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.mobile-login-btn:hover {
    background-color: rgba(16, 185, 129, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .login-link {
        display: none;
    }
}

/* Auth Pages Styles */
.auth-section {
    position: relative;
    padding: 6rem 1.5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    overflow: hidden;
}

.auth-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 2;
}

/* Glassmorphism Floating Blobs */
.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    transition: all 1s ease-in-out;
}

.auth-blob-1 {
    width: 250px;
    height: 250px;
    background: var(--primary-color, #10b981);
    top: -50px;
    left: -50px;
}

.auth-blob-2 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    bottom: -80px;
    right: -80px;
}

/* Premium Card Box */
.auth-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color, #10b981);
    border-radius: 16px;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.75rem;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
}

/* Form Styles */
.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
}

.forgot-password-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color, #10b981);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-password-link:hover {
    color: var(--primary-hover, #059669);
    text-decoration: underline;
}

.input-wrapper-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-custom {
    position: absolute;
    left: 1.25rem;
    color: var(--text-secondary, #64748b);
    font-size: 1.2rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.form-input-custom {
    width: 100%;
    padding: 0.9rem 1.25rem 0.9rem 3.25rem;
    font-size: 0.95rem;
    color: var(--text-primary, #1e293b);
    background-color: #ffffff;
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-input-custom::placeholder {
    color: #a0aec0;
}

.form-input-custom:focus {
    border-color: var(--primary-color, #10b981);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
    background-color: #ffffff;
}

.form-input-custom:focus + .input-icon-custom {
    color: var(--primary-color, #10b981);
}

/* Remember Me Checkbox */
.remember-me-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.remember-me-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 5px;
    outline: none;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.remember-me-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary-color, #10b981);
    border-color: var(--primary-color, #10b981);
}

.remember-me-checkbox input[type="checkbox"]:checked::after {
    content: "\eb7b"; /* Remix Icon Check symbol */
    font-family: "remixicon" !important;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: bold;
}

.checkbox-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary, #64748b);
}

/* Alerts */
.auth-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: none;
}

.auth-alert.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.auth-alert.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color, #10b981);
}

/* Submit Button */
.auth-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background-color: var(--primary-color, #10b981);
    border: none;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15);
    transition: all var(--transition-fast);
}

.auth-submit-btn:hover {
    background-color: var(--primary-hover, #059669);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(16, 185, 129, 0.25);
}

.auth-submit-btn i {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.auth-submit-btn:hover i {
    transform: translateX(4px);
}

/* Footer Link */
.auth-footer {
    text-align: center;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding-top: 1.5rem;
}

.auth-footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary, #64748b);
}

.auth-footer-link {
    font-weight: 700;
    color: var(--primary-color, #10b981);
    text-decoration: none;
    margin-left: 0.25rem;
    transition: color var(--transition-fast);
}

.auth-footer-link:hover {
    color: var(--primary-hover, #059669);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 2.25rem 1.5rem;
        border-radius: 20px;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

/* Auth Back Link Style */
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.auth-back-link:hover {
    color: var(--primary-color, #10b981);
}

.auth-back-link i {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.auth-back-link:hover i {
    transform: translateX(-4px);
}

/* Desktop Logout Button */
.logout-desktop-btn {
    padding: 0.5rem !important;
    min-width: unset !important;
    border-radius: 50% !important;
}

.logout-desktop-btn:hover {
    background-color: rgba(239, 68, 68, 0.08) !important;
}
