/* ============================================
   ARSLAN TORNA - STATIC WEBSITE STYLES
   Modern, Premium Corporate Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* CSS Variables */
:root {
    --primary: #1e4e9d;
    --primary-dark: #163a75;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --dark: #0f172a;
    --darker: #0b1120;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   TOP HEADER (Desktop)
   ============================================ */
.top-header {
    background: var(--white);
    padding: 1rem 0;
    display: none;
}

@media (min-width: 1024px) {
    .top-header {
        display: block;
    }
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .logo img {
    height: 65px;
    width: auto;
}

.top-header .contact-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    border: 1px solid #eee;
    transition: var(--transition);
}

.contact-item:hover .icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-item .label {
    font-size: 10px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.contact-item .value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.contact-item:hover .value {
    color: var(--accent);
}

.divider {
    width: 1px;
    height: 40px;
    background: #eee;
}

/* ============================================
   MAIN HEADER / NAVBAR
   ============================================ */
.main-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(30, 78, 157, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.main-header .mobile-logo {
    display: block;
}

.main-header .mobile-logo img {
    height: 35px;
    filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
    .main-header .mobile-logo {
        display: none;
    }
}

/* Desktop Navigation */
.main-nav {
    display: none;
    width: 100%;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }
}

/* Language Toggle - Oval Design */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    gap: 2px;
}

.lang-toggle a {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    line-height: 1;
    text-decoration: none;
}

.lang-toggle a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-toggle a.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.main-nav .lang-toggle a::after {
    display: none;
}

/* Mobile Language Toggle */
.mobile-lang-toggle {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mobile-lang-toggle a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-light);
    border: 2px solid #eee;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-lang-toggle a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-lang-toggle a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}



.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
}

.main-nav a {
    position: relative;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Language Toggle */
/* Language Toggle - Desktop Menu */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    gap: 2px;
}

.lang-toggle a {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    line-height: 1;
}

.lang-toggle a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-toggle a.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Remove underline effect from lang-toggle links */
.main-nav .lang-toggle a::after {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul li {
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text);
    font-weight: 700;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 2rem;
}

.mobile-menu ul li a i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.mobile-menu-footer {
    padding: 1rem;
    background: var(--bg-light);
}

/* Mobile Language Toggle */
.mobile-lang-toggle {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mobile-lang-toggle a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-light);
    border: 2px solid #eee;
    transition: var(--transition);
}

.mobile-lang-toggle a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-lang-toggle a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.mobile-call-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    background: #111;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 10;
}

.slide.active {
    opacity: 1;
    z-index: 20;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 10s linear;
}

.slide.active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
}

/* Slide 2: Sicak tonlar (altin/amber) */

.slide-warm .slide-text {
    border-left-color: #d4952a;
}

.slide-warm .slide-title .gradient {
    color: rgba(255, 255, 255, 0.75);
}

.slide-warm .slide-badge {
    color: #d4952a;
}

.slide-warm .slide-btn {
    background: linear-gradient(135deg, #d4952a, #8b5e1a);
    box-shadow: 0 4px 20px rgba(212, 149, 42, 0.4);
}

.slide-warm .slide-btn:hover {
    background: linear-gradient(135deg, #8b5e1a, #d4952a);
    box-shadow: 0 8px 30px rgba(212, 149, 42, 0.6);
}

/* Slide 3: Soğuk tonlar (celik/gri) */

.slide-steel .slide-text {
    border-left-color: #5a9fd4;
}

.slide-steel .slide-title .gradient {
    color: rgba(255, 255, 255, 0.75);
}

.slide-steel .slide-badge {
    color: #5a9fd4;
}

.slide-steel .slide-btn {
    background: linear-gradient(135deg, #2a6fa8, #1a4570);
    box-shadow: 0 4px 20px rgba(42, 111, 168, 0.4);
}

.slide-steel .slide-btn:hover {
    background: linear-gradient(135deg, #1a4570, #2a6fa8);
    box-shadow: 0 8px 30px rgba(42, 111, 168, 0.6);
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.slide-text {
    max-width: 800px;
    padding-left: 1rem;
    border-left: 8px solid var(--accent);
    margin-left: 1rem;
}

@media (min-width: 768px) {
    .slide-text {
        margin-left: 0;
    }
}

.slide-badge {
    display: block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards 0.2s;
}

.slide.active .slide-badge {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.slide-title .gradient {
    color: rgba(255, 255, 255, 0.75);
}

.slide-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent), #1a3a6e);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(30, 78, 157, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.slide-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slide-btn:hover::before {
    left: 100%;
}

.slide-btn:hover {
    background: linear-gradient(135deg, #1a3a6e, var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 78, 157, 0.6);
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .slider-nav {
        display: flex;
    }
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.slider-nav.prev {
    left: 24px;
}

.slider-nav.prev:hover {
    transform: translateY(-50%) translateX(-3px) scale(1.08);
}

.slider-nav.next {
    right: 24px;
}

.slider-nav.next:hover {
    transform: translateY(-50%) translateX(3px) scale(1.08);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    min-height: 0;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 50px;
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.6);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.section-badge::before,
.section-badge::after {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   VALUES SECTION (Blue Background)
   ============================================ */
.values-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5rem;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: var(--white);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    pointer-events: none;
}

.values-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .values-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.values-header .badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.values-header h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.values-header h2 span {
    color: var(--accent);
}

.values-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 400px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.value-card:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-10px);
}

.value-card::before {
    content: '';
    position: absolute;
    top: -32px;
    right: -32px;
    width: 64px;
    height: 64px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 0 0 0 100%;
    transition: var(--transition);
}

.value-card:hover::before {
    background: var(--accent);
    transform: scale(1.5);
}

.value-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.value-card:hover .icon {
    background: var(--accent);
    color: var(--white);
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.value-card:hover h4 {
    color: var(--primary);
}

.value-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    transition: var(--transition);
}

.value-card:hover p {
    color: var(--text-light);
}

.values-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.values-link:hover {
    color: var(--white);
    border-color: var(--accent);
}

.values-link i {
    color: var(--accent);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 78, 157, 0.15);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.5s ease;
}

.service-card:hover::after {
    width: 100%;
}

.service-card .content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(30, 78, 157, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-card:hover .icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    margin-top: 3rem;
}

.services-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   WORKFLOW SECTION
   ============================================ */
.workflow-section {
    background: var(--white);
}

.workflow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
}

@media (min-width: 640px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .workflow-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .workflow-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: #eee;
        transform: translateY(-50%);
        z-index: 0;
    }
}

.workflow-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.workflow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 78, 157, 0.15);
    border-color: rgba(30, 78, 157, 0.2);
}

.workflow-card .number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.08);
    line-height: 1;
    z-index: 0;
    transition: var(--transition);
    user-select: none;
}

.workflow-card:hover .number {
    color: rgba(30, 78, 157, 0.2);
    transform: scale(1.1);
}

.workflow-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(30, 78, 157, 0.1), rgba(230, 126, 34, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.workflow-card:hover .icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.1);
}

.workflow-card h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
    transition: var(--transition);
}

.workflow-card:hover h5 {
    color: var(--primary);
}

.workflow-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 42, 85, 0.9);
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 3.5rem;
    }
}

.cta-box::before,
.cta-box::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.cta-box::before {
    top: -16px;
    left: -16px;
    border-top: 4px solid var(--accent);
    border-left: 4px solid var(--accent);
}

.cta-box::after {
    bottom: -16px;
    right: -16px;
    border-bottom: 4px solid var(--accent);
    border-right: 4px solid var(--accent);
}

.cta-box h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-box h2 span {
    color: var(--accent);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    min-width: 220px;
    transition: var(--transition);
}

.cta-btn.primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

.cta-btn.primary:hover {
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.6);
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: #25D366;
}

/* ============================================
   QUALITY SECTION
   ============================================ */
.quality-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.quality-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.quality-item:last-child {
    border-bottom: none;
}

.quality-item:hover {
    background: transparent;
}

.quality-item .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(96, 165, 250, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.quality-item:hover .icon {
    transform: scale(1.08);
    background: rgba(96, 165, 250, 0.2);
}

.quality-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.quality-item p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

/* Featured Quality Item (ISO Certificate) - Aynı boyut, farklı renk */
.quality-item-featured {
    background: transparent;
    padding: 1rem 0;
}

.quality-item-featured:hover {
    background: transparent;
}

.quality-item-featured .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.125rem;
    background: rgba(230, 126, 34, 0.15);
    color: var(--accent);
}

.quality-item-featured:hover .icon {
    background: rgba(230, 126, 34, 0.25);
}

/* Certificate View Button */
.cert-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(230, 126, 34, 0.25);
}

.cert-view-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.35);
}

.cert-view-btn i {
    font-size: 0.8rem;
}

/* Quality Right Column */
.quality-right-column {
    display: flex;
    flex-direction: column;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    border-top: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

.footer-main {
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand h3 span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
}

.social-links a.facebook:hover {
    background: #3b5998;
}

.social-links a.instagram:hover {
    background: #C13584;
}

.social-links a.linkedin:hover {
    background: #0077b5;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-col ul li a i {
    font-size: 10px;
    color: rgba(230, 126, 34, 0.5);
}

.footer-col ul li a:hover i {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact li:first-child {
    align-items: flex-start;
}

.footer-contact li:first-child .icon {
    margin-top: 4px;
}

.footer-contact li .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-contact li:hover .icon {
    background: var(--accent);
    color: var(--white);
}

.footer-contact li span,
.footer-contact li a {
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-contact li strong {
    color: var(--white);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20b858;
    transform: translateY(-2px);
}

.footer-bottom {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
    .footer-bottom .container {
        flex-direction: row;
    }
}

.footer-bottom strong {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 50;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
    position: relative;
    padding: 6rem 0 4rem;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 767px) {
    .page-header {
        padding: 3.5rem 0 2rem;
    }

    .section [style*="min-height"] {
        min-height: 150px !important;
    }

    .section img[alt*="mza"],
    .section img[alt*="İmza"] {
        max-width: 180px !important;
        height: auto !important;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 78, 157, 0.95), rgba(15, 42, 85, 0.9));
}

.page-header .container {
    position: relative;
    z-index: 10;
}

.page-header .top-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
}

.page-header .breadcrumb .separator {
    color: var(--accent);
}

/* ============================================
   PRODUCT GALLERY
   ============================================ */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #eee;
    background: transparent;
    color: var(--text-light);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card.hidden {
    display: none;
}

.product-card .image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 78, 157, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .overlay {
    opacity: 1;
}

.product-card .overlay .zoom-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    transform: translateY(20px);
}

.product-card:hover .overlay .zoom-btn {
    transform: translateY(0);
}

.product-card .overlay .zoom-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.product-card .overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.product-card .info {
    padding: 1.5rem;
    text-align: center;
}

.product-card .category {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.product-card:hover h3 {
    color: var(--primary);
}

.product-card .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #eee;
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.product-card .whatsapp-link:hover {
    border-color: #25D366;
    color: #25D366;
}

.product-card .whatsapp-link i {
    font-size: 1.125rem;
}

/* Image Modal / Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    color: var(--accent);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-list li .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 78, 157, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-list li h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-list li span,
.contact-list li a {
    color: var(--text-light);
}

.contact-list li a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 78, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.map-container {
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none !important;
}

/* Font Awesome Icons (if using CDN) */
[class^="ti-"],
[class*=" ti-"] {
    font-family: 'themify';
}

[class^="fa-"],
[class*=" fa-"] {
    font-family: 'FontAwesome';
}

/* ============================================
   MOBILE RESPONSIVE FIXES - COMPREHENSIVE
   ============================================ */

/* Mobile - Small screens (max-width: 767px) */
@media (max-width: 767px) {

    /* ========== UNIVERSAL GRID OVERRIDE ========== */
    /* Force ALL inline grid layouts to single column */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Specific grid patterns backup */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    [style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
    }

    /* ========== FLEX LAYOUT FIXES ========== */
    /* Make flex containers wrap properly */
    [style*="display: flex"][style*="gap: 4rem"],
    [style*="display:flex"][style*="gap:4rem"] {
        flex-wrap: wrap !important;
        gap: 1.5rem !important;
    }

    [style*="display: flex"][style*="gap: 3rem"],
    [style*="display:flex"][style*="gap:3rem"] {
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    /* Flex justify-content fixes for mobile */
    [style*="justify-content: space-between"] {
        flex-wrap: wrap !important;
    }

    /* ========== PADDING & GAP REDUCTION ========== */
    [style*="padding: 4rem"],
    [style*="padding:4rem"] {
        padding: 1.5rem !important;
    }

    [style*="padding: 3rem"],
    [style*="padding:3rem"] {
        padding: 1.25rem !important;
    }

    [style*="gap: 4rem"],
    [style*="gap:4rem"] {
        gap: 1.5rem !important;
    }

    [style*="gap: 3rem"],
    [style*="gap:3rem"] {
        gap: 1.25rem !important;
    }

    [style*="gap: 2rem"],
    [style*="gap:2rem"] {
        gap: 1rem !important;
    }

    /* ========== TYPOGRAPHY SCALING ========== */
    [style*="font-size: 3.5rem"],
    [style*="font-size:3.5rem"] {
        font-size: 1.75rem !important;
    }

    [style*="font-size: 3rem"],
    [style*="font-size:3rem"] {
        font-size: 1.5rem !important;
    }

    [style*="font-size: 2.5rem"],
    [style*="font-size:2.5rem"] {
        font-size: 1.5rem !important;
    }

    [style*="font-size: 2rem"],
    [style*="font-size:2rem"] {
        font-size: 1.25rem !important;
    }

    /* Hide large decorative elements */
    [style*="font-size: 6rem"],
    [style*="font-size:6rem"],
    [style*="font-size: 5rem"],
    [style*="font-size:5rem"] {
        display: none !important;
    }

    /* ========== WIDTH CONSTRAINTS ========== */
    /* Prevent horizontal overflow */
    [style*="width:"][style*="px"]:not([style*="25px"]):not([style*="40px"]):not([style*="48px"]):not([style*="56px"]):not([style*="64px"]):not([style*="80px"]) {
        max-width: 100% !important;
    }

    /* ========== QUALITY SECTION FIXES ========== */
    .quality-section [style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Force 1fr 1fr grids to single column */
    .quality-section [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .quality-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .quality-item .icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Hide decorative frame on mobile */
    .quality-frame-desktop {
        display: none !important;
    }

    /* Certificate container - simpler mobile layout */
    .quality-cert-container {
        min-height: auto !important;
        padding: 2rem 1rem !important;
    }

    .quality-cert-column {
        height: auto !important;
    }

    /* Certificate content - centered and visible on mobile */
    .quality-cert-content {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        padding: 2rem 1.5rem !important;
        margin: 0 auto !important;
        max-width: 320px !important;
    }

    .quality-cert-content h3 {
        font-size: 1.25rem !important;
    }

    .quality-cert-content p {
        font-size: 0.875rem !important;
    }

    /* Certificate text */
    .quality-section h3[style*="font-size: 1.5rem"] {
        font-size: 1.25rem !important;
    }

    /* ========== COMPONENT SPECIFIC FIXES ========== */
    /* CTA buttons */
    .cta-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .cta-buttons a {
        width: 100% !important;
        min-width: unset !important;
        text-align: center !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .footer-col {
        text-align: left;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        max-width: 180px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .social-links {
        justify-content: center;
    }

    /* Mobile Header Logo Fix */
    .main-header .mobile-logo img {
        max-width: 250px !important;
        height: 45px !important;
        width: auto !important;
    }

    /* Top Header Logo Mobile */
    .top-header .logo img {
        max-width: 220px !important;
        height: auto !important;
    }

    /* Quality Section Certificate Frame Fix */
    .quality-section [style*="position: absolute"][style*="translate(-50%, -50%)"] {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 2rem auto 0 !important;
    }

    .quality-section [style*="aspect-ratio: 1/1.414"] {
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }

    .quality-section iframe {
        max-height: 350px !important;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Hero slider */
    .slide-title {
        font-size: 2.5rem !important;
        line-height: 1.15 !important;
    }

    .slide-desc {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    .slide-badge {
        font-size: 0.75rem !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 0.75rem !important;
    }

    .slide-text {
        padding-left: 0.75rem !important;
        border-left-width: 4px !important;
    }

    .slide-btn {
        padding: 0.55rem 1.2rem !important;
        font-size: 0.7rem !important;
        gap: 0.4rem !important;
        box-shadow: 0 2px 10px rgba(30, 78, 157, 0.3) !important;
    }

    .slider-dots {
        bottom: 12px !important;
        gap: 5px !important;
        padding: 4px 8px !important;
        border-radius: 30px !important;
    }

    .slider-dots .dot {
        width: 5px !important;
        height: 5px !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
    }

    .slider-dots .dot.active {
        width: 16px !important;
        height: 5px !important;
    }

    .hero-slider {
        touch-action: pan-y;
    }

    /* Page header */
    .page-header h1 {
        font-size: 1.75rem !important;
    }

    .page-header p {
        font-size: 0.95rem !important;
    }

    /* Section spacing */
    .section {
        padding: 3rem 0 !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }

    /* Cards and boxes */
    [style*="border-radius: 2rem"],
    [style*="border-radius:2rem"] {
        border-radius: 1rem !important;
    }

    /* ========== TOUCH FRIENDLY ========== */
    /* Ensure minimum touch target size */
    a,
    button,
    .btn,
    [role="button"] {
        min-height: 44px;
    }

    /* Better tap targets for links in lists */
    .mobile-menu ul li a {
        padding: 1rem 1.5rem !important;
    }

    /* ========== IMAGE HANDLING ========== */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* ========== TABLE RESPONSIVE ========== */
    table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* ========== FORM ELEMENTS ========== */
    input,
    textarea,
    select,
    .form-control {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
    }
}

/* Tablet - Medium screens (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {

    /* Grid adjustments for tablet */
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Padding adjustments */
    [style*="padding: 4rem"],
    [style*="padding:4rem"] {
        padding: 2.5rem !important;
    }

    [style*="gap: 4rem"],
    [style*="gap:4rem"] {
        gap: 2rem !important;
    }

    /* Typography */
    [style*="font-size: 3.5rem"],
    [style*="font-size:3.5rem"] {
        font-size: 2.5rem !important;
    }

    .slide-title {
        font-size: 2.5rem !important;
    }

    /* Section spacing */
    .section {
        padding: 4rem 0;
    }
}

/* Large screens optimization (1024px+) */
@media (min-width: 1024px) {

    /* Ensure grids work properly on desktop */
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}