/* Base Styles */
:root {
    --primary-color: #1a4d8f;
    --secondary-color: #f8b739;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --gray: #f8f9fa;
    --dark-gray: #6c757d;
    --transition: all 0.3s ease;
}

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

/* Base Typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: #f8f8f8;
    color: #333;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.top-bar-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.top-bar-left {
    display: none; /* Hide old left section */
}

.top-bar-logo {
    display: none; /* Hide old logo */
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right .contact-info a {
    color: #555;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.top-bar-right .contact-info a i {
    margin-right: 8px;
    color: var(--primary-color);
}

.top-bar-right .contact-info a:hover {
    color: var(--primary-color);
}

.top-bar-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.top-bar-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.language-switcher {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.language-switcher a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-switcher a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.language-switcher a:hover {
    color: var(--primary-color);
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar .contact-info a {
    color: #555;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.top-bar .contact-info a i {
    margin-right: 8px;
    color: var(--primary-color);
}

.top-bar .contact-info a:hover {
    color: var(--primary-color);
}

/* Main Header */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 15px;
}

.main-header .logo {
    margin-right: 30px; /* Space between logo and nav */
}

.main-header .logo img {
    height: 50px;
}

.main-nav {
    flex-grow: 1; /* Allow navigation to take available space */
}

.main-nav ul {
    display: flex;
    gap: 30px;
    justify-content: flex-start; /* Align nav items to the left */
}

.main-nav ul li a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.header-contact {
    display: none; /* Hide old header contact */
}

.social-links {
    display: flex;
    gap: 15px;
    margin-left: 30px; /* Space between nav and social links */
}

.social-links a {
    color: #555;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: static !important;
    margin-right: 15px; /* Add some spacing between menu items */
}

.mega-menu > a {
    position: relative;
    display: flex;
    align-items: center;
}

.mega-menu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
    transition: var(--transition);
}

.mega-menu:hover > a::after {
    transform: rotate(180deg);
}

.mega-menu-content {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 60%;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 10px 0;
    border-top: 3px solid var(--primary-color);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.mega-menu:hover .mega-menu-content,
.mega-menu.open .mega-menu-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* gap: 10px; */
}

.mega-menu-left {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    flex: 1;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for Left Menu */
.mega-menu-left::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-left::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.mega-menu-left::-webkit-scrollbar-thumb {
    background: #1e3c72;
    border-radius: 3px;
}

.mega-menu-left::-webkit-scrollbar-thumb:hover {
    background: #2a5298;
}

.mega-menu-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.company-info {
    text-align: center;
    /* padding: 20px; */
}

.company-logo {
    /* margin-bottom: 30px; */
}

.company-logo img {
    max-width: 300px;
    height: auto;
    filter: grayscale(1);
}

.company-info p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: left;
}

.company-info .btn-primary {
    background: gray;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    font-size: 16px;
}

.company-info .btn-primary:hover {
    background: linear-gradient(90deg, var(--secondary-color), #f8b739);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 183, 57, 0.4);
}

.product-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    border-radius: 12px;
    margin: 0;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.08); */
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    gap: 20px;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.product-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.product-icon svg {
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.product-item:hover .product-icon svg {
    transform: scale(1.05);
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin: 0;
    font-weight: 700;
    text-align: left;
    line-height: 1.3;
    text-transform: none;
}

.product-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.product-item h3 a:hover {
    color: var(--secondary-color);
}

.product-item p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
    font-weight: 400;
}

.mega-menu-feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e0e0e0;
    text-align: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mega-menu-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
}

.mega-menu-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mega-menu-logo {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%) contrast(1.2);
    transition: var(--transition);
}

.mega-menu-logo:hover {
    filter: grayscale(0%) contrast(1);
}

.mega-menu-feature h4 {
    color: var(--primary-color);
    margin: 10px 0 20px;
    font-size: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.mega-menu-feature h4:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
    margin: 12px auto 0;
    border-radius: 3px;
}

.mega-menu-feature p {
    color: #555;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: center;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0d3a7a, #1a5a9e);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content */
.main-content {
    padding: 0px 0;
}

/* Footer Styles */
.company-description {
    text-align: left;
    max-width: 100%;
    margin: 0 0 20px 0;
    padding: 0;
}

.company-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #eee;
    margin-top: 15px;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.read-more-btn:hover {
    background: #fff;
    color: #333;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.main-footer {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/footer-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.heading-section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.heading-title {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.style-color {
    color: #ff6b35;
    font-weight: 900;
}

.footer-widget {
    min-width: auto;
    margin-bottom: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.footer-widget:hover {
    transform: translateY(-5px);
}

.footer-widget h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    margin-top: 25px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-links li a {
    color: #eee;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
    font-weight: 400;
    font-size: 16px;
}

.footer-links li a i {
    color: #ccc;
    margin-right: 8px;
    font-size: 12px;
    min-width: 16px;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links li a:hover i {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #eee;
    line-height: 1.5;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-info li i {
    color: #ccc;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 14px;
    min-width: 16px;
    text-align: center;
}

.contact-info li:hover {
    color: #fff;
    transform: translateX(5px);
}

.stay-connected {
    margin-top: 25px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a::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: 0.5s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-bottom {
    text-align: left;
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.company-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.company-info p {
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 400px;
    line-height: 1.6;
}

.certifications {
    flex: 1;
    text-align: center;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cert-logos img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.cert-logos img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    color: #eee;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: #666;
    font-weight: 300;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-widget {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .company-info p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-widget h3 {
        font-size: 16px;
    }
    
    .footer-widget h4 {
        font-size: 14px;
    }
    
    .footer-links li a,
    .contact-info li {
        font-size: 13px;
    }
}

/* Responsive Mega Menu */
@media (max-width: 991px) {
    .mega-menu-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px 0 0 20px;
        display: none;
        background: #f9f9f9;
        margin-top: 10px;
        border-radius: 4px;
        width: 100%;
        left: 0;
    }
    
    .mega-menu-row {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
        max-width: 100%;
    }
    
    .mega-menu-left {
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }
    
    .mega-menu-right {
        width: 100%;
        max-width: 100%;
        order: -1;
    }
    
    .product-item {
        max-width: 100%;
        min-height: auto;
        padding: 25px 20px;
        margin: 0;
        border-radius: 12px;
    }
    
    .product-icon {
        margin-bottom: 20px;
    }
    
    .product-item h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .product-item p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .company-info {
        padding: 20px 15px;
        text-align: center;
    }
    
    .company-info p {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .mega-menu.active .mega-menu-content {
        display: block;
    }
}

/* Hide top bar on mobile devices */
@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
    
    /* Improve mobile layout */
    .container {
        padding: 0 10px;
    }
    
    /* Better mobile typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    /* Mobile-friendly buttons */
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
    }
    
    /* Mobile navigation improvements */
    .main-nav ul li a {
        padding: 15px 0;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
        padding: 20px;
        overflow-y: auto;
    }
    
    .mega-menu.open .mega-menu-content {
        display: block !important;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 10px;
        padding: 0;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav > ul > li > a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.open .dropdown-menu {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .main-header .logo img {
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 20px;
        color: var(--primary-color);
        cursor: pointer;
        padding: 5px;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 10px;
    }

    .social-links {
        margin-bottom: 10px;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .contact-info i,
[dir="rtl"] .footer-widget h3::after {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .social-links a,
[dir="rtl"] .language-switcher a {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .dropdown .dropdown-menu {
    left: auto;
    right: 0;
}

/* Corporate Page Styles */
.corporate-page-content {
    padding-top: 80px; /* Adjust based on header height */
}

.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.breadcrumbs span {
    margin: 0 10px;
}

.about-section h2,
.mission-vision-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after,
.mission-vision-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-section p,
.mission-vision-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-section img,
.mission-vision-section img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision-section.bg-light {
    background-color: var(--gray);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

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

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

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Responsive Corporate Page */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .about-section .row,
    .mission-vision-section .row {
        flex-direction: column;
    }

    .col-md-6 {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .col-md-6:last-child {
        margin-bottom: 0;
    }

    .about-section h2::after,
    .mission-vision-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mission-vision-section .col-md-6.text-right {
        text-align: center;
    }
}


.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.contact-info-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.contact-info-box:hover::before {
    left: 100%;
}

.contact-info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
}

.contact-info-box h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-info-box h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-info-box > p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 400;
}

.contact-details {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    background: linear-gradient(145deg, #ffffff 0%, #f0f2f5 100%);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 26px;
    color: var(--primary-color);
    margin-right: 18px;
    margin-top: 5px;
    min-width: 26px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.contact-item h4 {
    color: var(--dark-color);
    font-size: 19px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.social-links-contact {
    border-top: 2px solid rgba(0, 0, 0, 0.08);
    padding-top: 30px;
    position: relative;
}

.social-links-contact::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.social-links-contact h4 {
    color: var(--dark-color);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8a65 100%);
    color: var(--dark-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact-form-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-form-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: right 0.6s ease;
}

.contact-form-box:hover::before {
    right: 100%;
}

.contact-form-box h3 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-form-box h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-form .form-group:focus-within label {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-form .form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    font-weight: 400;
    position: relative;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 77, 143, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::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.6s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8a65 100%);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.map-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e9ecef" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.map-container h3 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.map-container h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.map-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.map-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

.map-frame iframe {
    border-radius: 20px;
    transition: all 0.4s ease;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-info-box,
    .contact-form-box {
        padding: 30px;
        margin-bottom: 30px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-item i {
        font-size: 22px;
        margin-right: 15px;
    }
    
    .contact-item h4 {
        font-size: 17px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-form-box h3 {
        font-size: 28px;
    }
    
    .map-container h3 {
        font-size: 30px;
    }
    
    .contact-info-box h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .contact-info-box,
    .contact-form-box {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .contact-form .form-control {
        padding: 14px 16px;
    }
    
    .contact-form .btn-primary {
        padding: 16px;
        font-size: 16px;
    }
}

/* Technical Service Page Styles */
.technical-service-page-content {
    padding-top: 80px;
}

.service-overview-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.service-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e9ecef" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.service-content {
    padding: 20px;
}

.service-title {
    color: var(--dark-color);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.service-description {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: justify;
}

.service-info p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.cta-section {
    margin-top: 35px;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cta-text {
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 77, 143, 0.3);
}

.btn-large i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-large:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8a65 100%);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-large:hover i {
    transform: translateX(3px);
}

.service-image-container {
    text-align: center;
    padding: 20px;
}

.service-image {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    max-width: 100%;
    height: auto;
}

.service-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.warranty-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.warranty-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="%23dee2e6" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.warranty-image-container {
    text-align: center;
    padding: 20px;
}

.warranty-image {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    max-width: 100%;
    height: auto;
    filter: grayscale(30%);
}

.warranty-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    filter: grayscale(0%);
}

.warranty-content {
    padding: 20px;
}

.warranty-title {
    color: var(--dark-color);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
}

.warranty-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.warranty-info p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: justify;
}

.warranty-info p:last-of-type {
    margin-bottom: 30px;
}

/* Responsive Technical Service Page */
@media (max-width: 768px) {
    .service-title {
        font-size: 28px;
    }
    
    .service-description {
        font-size: 20px;
    }
    
    .warranty-title {
        font-size: 24px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .service-content,
    .warranty-content {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .service-image-container,
    .warranty-image-container {
        padding: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 24px;
    }
    
    .service-description {
        font-size: 18px;
    }
    
    .warranty-title {
        font-size: 22px;
    }
    
    .cta-text {
        font-size: 15px;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 14px;
        width: auto;
        justify-content: center;
    }
    
    .cta-section {
        padding: 20px;
    }
}

/* Kurumsal Page Styles */
.corporate-page-content {
    background: #fff;
}

.page-hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 0.7;
}

.about-section {
    padding: 80px 0;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.about-section p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-vision-section {
    padding: 80px 0;
}

.mission-vision-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
}

.mission-vision-section p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
}

/* Company History Section */
.company-history-section {
    padding: 80px 0;
    background: white;
}

.company-history-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.company-history-section .section-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 50px;
}

.history-item {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.history-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(30, 60, 114, 0.15);
    border-color: #1e3c72;
}

.history-year {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.history-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.history-item p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Services Overview Section */
.services-overview-section {
    padding: 80px 0;
}

.services-overview-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.services-overview-section .section-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 50px;
}

.service-item {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(30, 60, 114, 0.15);
    border-color: #1e3c72;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 25px;
}

.service-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-item p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Kurumsal Page */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-section h2,
    .mission-vision-section .section-title,
    .company-history-section .section-title,
    .services-overview-section .section-title {
        font-size: 2rem;
    }
    
    .history-item,
    .service-item {
        margin-bottom: 30px;
    }
    
    .history-year {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-section h2,
    .mission-vision-section .section-title,
    .company-history-section .section-title,
    .services-overview-section .section-title {
        font-size: 1.8rem;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .about-section,
    .mission-vision-section,
    .company-history-section,
    .services-overview-section {
        padding: 60px 0;
    }
}

/* Language Toggle in Header */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(26, 77, 143, 0.1);
}

.language-toggle:hover {
    background: rgba(26, 77, 143, 0.2);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.language-toggle i {
    font-size: 16px;
}

.current-lang-code {
    font-size: 12px;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    min-width: 24px;
    text-align: center;
}

/* Compact Language Selector Section */
.language-selector-compact {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 30px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px; /* For smooth scrolling with fixed header */
}

.language-selector-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="globe" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23globe)"/></svg>');
    pointer-events: none;
}

.language-selector-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.language-selector-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.language-selector-title i {
    font-size: 1rem;
    color: var(--secondary-color);
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.language-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-item.active {
    background: linear-gradient(135deg, var(--secondary-color), #ff8a65);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 183, 57, 0.3);
}

.language-item.active::after {
    content: '✓';
    margin-left: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.language-flag {
    font-size: 1rem;
    line-height: 1;
}

.language-name {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Compact Language Selector */
@media (max-width: 768px) {
    .language-selector-compact {
        padding: 25px 0;
    }
    
    .language-selector-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .language-list {
        gap: 6px;
        max-width: 100%;
    }
    
    .language-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .language-flag {
        font-size: 0.9rem;
    }
    
    .language-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .language-selector-compact {
        padding: 20px 0;
    }
    
    .language-selector-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .language-list {
        gap: 4px;
    }
    
    .language-item {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    .language-flag {
        font-size: 0.8rem;
    }
    
    .language-name {
        font-size: 0.75rem;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-top: 15vh; /* Yazıları yukarı taşımak için bu değeri düşürdüm */
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons .btn-primary {
    background: var(--secondary-color);
    color: #fff;
    border: 2px solid var(--secondary-color);
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Hero Slider Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-nav.prev {
    left: 20px;
}

.hero-nav.next {
    right: 20px;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-content {
        padding-top: 25vh; /* Mobilde daha yukarı */
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 15px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 25px;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .hero-nav.prev {
        left: 10px;
    }
    
    .hero-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 30vh;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-buttons .btn {
        max-width: 250px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Extra small mobile optimizations */
    .main-header .logo img {
        height: 35px;
    }
    
    .container {
        padding: 0 5px;
    }
    
    /* Ensure text is readable on very small screens */
    body {
        font-size: 14px;
    }
    
    /* Better touch targets */
    .btn, .btn-primary, .btn-secondary {
        min-height: 48px;
        padding: 14px 20px;
    }
}
