/* ============================================
   ÖZGÜN FRONTEND CSS
   ============================================ */

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

:root {
    --primary-color: #4D648D;
    --primary-dark: #283655;
    --primary-light: #D0E1F9;
    --secondary-color: #4D648D;
    --accent-color: #4D648D;
    --dark-color: #1E1F26;
    --light-color: #D0E1F9;
    --white: #ffffff;
    --border-color: #D0E1F9;
    --text-primary: #1E1F26;
    --text-secondary: #4D648D;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(208, 225, 249, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    gap: 30px;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #1E1F26;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.site-logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 150px;
}

.logo-text {
    white-space: nowrap;
}

.site-logo::before {
    display: none;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4D648D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-contact-item i {
    color: #4D648D;
    font-size: 16px;
    width: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.header-contact-item:hover {
    background: rgba(77, 100, 141, 0.1);
    color: #283655;
    transform: translateY(-1px);
}

.header-contact-item:hover i {
    color: #283655;
    transform: scale(1.1);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 12px 22px;
    color: #1E1F26;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: linear-gradient(90deg, #4D648D 0%, #283655 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(77, 100, 141, 0.08) 0%, rgba(40, 54, 85, 0.05) 100%);
    color: #283655;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.nav-link.active {
    color: #283655;
    background: linear-gradient(135deg, rgba(77, 100, 141, 0.12) 0%, rgba(40, 54, 85, 0.08) 100%);
}

.nav-link.active::before {
    transform: scaleX(1);
}

.nav-link.active::after {
    display: none;
}

.nav-link i {
    font-size: 12px;
    transition: var(--transition);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(30, 31, 38, 0.12), 0 2px 8px rgba(30, 31, 38, 0.08);
    border-radius: 12px;
    list-style: none;
    padding: 8px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(208, 225, 249, 0.4);
    backdrop-filter: blur(10px);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #1E1F26;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 0;
    position: relative;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #4D648D 0%, #283655 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, rgba(77, 100, 141, 0.1) 0%, rgba(40, 54, 85, 0.05) 100%);
    color: #283655;
    padding-left: 20px;
}

.dropdown-link:hover::before {
    height: 60%;
}

.dropdown-link.active {
    color: #283655;
    background: linear-gradient(135deg, rgba(77, 100, 141, 0.12) 0%, rgba(40, 54, 85, 0.08) 100%);
    font-weight: 600;
}

.dropdown-link.active::before {
    height: 60%;
}

.dropdown-link i {
    font-size: 10px;
    margin-left: 8px;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(30, 31, 38, 0.12), 0 2px 8px rgba(30, 31, 38, 0.08);
    border-radius: 12px;
    list-style: none;
    padding: 8px;
    margin-left: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid rgba(208, 225, 249, 0.4);
    backdrop-filter: blur(10px);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.submenu-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.submenu-link.active {
    color: var(--primary-color);
    background: rgba(77, 100, 141, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1E1F26;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.mobile-menu-toggle:hover {
    background: rgba(77, 100, 141, 0.1);
    color: #283655;
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
    z-index: 0;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
    pointer-events: all;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 8s ease-out;
}

.slide.active .slide-image img {
    transform: scale(1.05);
}

/* Siyah overlay katmanı */
.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Şık içerik kutusu */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 2;
    text-align: left;
    color: var(--text-primary);
    padding: 0;
    width: auto;
    display: flex;
    align-items: center;
    opacity: 0.85 !important;
    transition: none !important;
}

.slide.active .slide-content {
    opacity: 0.85 !important;
}

.slide-inner {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 80px 70px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    border: none;
    box-shadow: 
        -4px 0 40px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    min-width: 520px;
    max-width: 650px;
    opacity: 1 !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.slide-inner::before {
    display: none;
}

.slide-inner::after {
    display: none;
}

.slide.active .slide-inner:hover {
    transform: translateX(4px);
    box-shadow: 
        -8px 0 50px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.15);
}

.slide-title,
.slide-description,
.slide-button {
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

.slide-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.2;
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    opacity: 1 !important;
    letter-spacing: -0.5px;
}

.slide-description {
    font-size: 19px;
    margin-bottom: 44px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    opacity: 1 !important;
}

.slide-button {
    display: inline-block;
    padding: 18px 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(77, 100, 141, 0.4),
        0 0 0 0 rgba(77, 100, 141, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-button::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.5s;
}

.slide-button:hover::before {
    left: 100%;
}

.slide-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(77, 100, 141, 0.5),
                0 0 0 4px rgba(77, 100, 141, 0.2);
}

.slide-button:active {
    transform: translateY(-1px);
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideZoom {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2),
                0 0 20px rgba(255, 255, 255, 0.4);
}

.dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.25);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.dot:active {
    transform: scale(1.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4D648D 0%, #283655 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form */
.contact-section {
    background: var(--light-color);
    padding: 60px 20px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-primary);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(77, 100, 141, 0.1);
}

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

.form-row .form-group {
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77, 100, 141, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #065f46;
}

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

.alert-info {
    background: rgba(77, 100, 141, 0.1);
    border-color: var(--primary-color);
    color: #283655;
}

/* Footer */
/* ============================================
   STATS & ONLINE SERVICES SECTION - COMPACT
   ============================================ */
.stats-services-section {
    background-image: url('../img/bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ffffff;
    padding: 60px 20px;
    position: relative;
}

.stats-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 0;
}

.stats-services-container {
    position: relative;
    z-index: 1;
}

.stats-services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* İstatistikler Bölümü - Horizontal Compact */
.stats-section {
    margin-bottom: 60px;
}

.stats-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1E1F26;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    background: #283655;
    border: none;
    border-radius: 12px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 31, 38, 0.15);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 31, 38, 0.25);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.stat-icon i {
    color: #D0E1F9;
    transition: all 0.3s ease;
}

.stat-item:nth-child(1) .stat-icon i {
    color: #FFD700;
}

.stat-item:nth-child(2) .stat-icon i {
    color: #90EE90;
}

.stat-item:nth-child(3) .stat-icon i {
    color: #87CEEB;
}

.stat-item:nth-child(4) .stat-icon i {
    color: #DDA0DD;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1);
}

.stat-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Online Hizmetler Bölümü - Compact Cards */
.online-services-section {
    margin-top: 60px;
}

.online-services-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    color: #1E1F26;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
}

.online-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.online-service-card {
    background: #ffffff;
    border: 1px solid #D0E1F9;
    border-radius: 10px;
    padding: 20px 18px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(30, 31, 38, 0.08);
}

.online-service-card:hover {
    border-color: #4D648D;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 31, 38, 0.12);
}

.service-icon {
    font-size: 24px;
    margin-bottom: 12px;
    width: 44px;
    height: 44px;
    background: rgba(77, 100, 141, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    color: #4D648D;
    transition: all 0.3s ease;
}

.online-service-card:nth-child(1) .service-icon i {
    color: #FFD700;
}

.online-service-card:nth-child(2) .service-icon i {
    color: #90EE90;
}

.online-service-card:nth-child(3) .service-icon i {
    color: #87CEEB;
}

.online-service-card:nth-child(4) .service-icon i {
    color: #DDA0DD;
}

.online-service-card:hover .service-icon {
    background: rgba(77, 100, 141, 0.12);
    transform: scale(1.05);
}

.service-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #1E1F26;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 12px;
}

.service-card-text {
    font-size: 11px;
    color: #4D648D;
    margin: 0 0 16px 0;
    line-height: 1.6;
    flex-grow: 1;
    opacity: 0.9;
}

.service-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border: 1.5px solid #4D648D;
    border-radius: 6px;
    color: #4D648D;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
    width: fit-content;
}

.service-detail-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4D648D;
    transition: width 0.3s ease;
    z-index: 0;
}

.service-detail-btn span {
    position: relative;
    z-index: 1;
}

.service-detail-btn:hover {
    color: #ffffff;
    border-color: #4D648D;
    transform: translateY(-1px);
}

.service-detail-btn:hover::before {
    width: 100%;
}

.site-footer {
    background: #1E1F26;
    color: #D0E1F9;
    padding: 60px 20px 20px;
    margin-top: 0;
    border-top: 1px solid rgba(77, 100, 141, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    text-align: left;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.footer-slogan {
    font-size: 14px;
    line-height: 1.6;
    color: #D0E1F9;
    margin: 0;
    opacity: 0.9;
}

.footer-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(77, 100, 141, 0.3);
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    color: #D0E1F9;
    margin: 0 0 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-info i {
    color: #4D648D;
    width: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-info a {
    color: #D0E1F9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #ffffff;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #D0E1F9;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 100, 141, 0.2);
    color: #D0E1F9;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(77, 100, 141, 0.3);
}

.social-link:hover {
    background: #4D648D;
    color: #ffffff;
    transform: translateY(-2px);
    border-color: #4D648D;
}

.footer-bottom {
    border-top: 1px solid rgba(77, 100, 141, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: #D0E1F9;
    opacity: 0.8;
    margin: 0;
}

/* Page Content */
.page-content {
    padding: 60px 20px;
}

.page-header {
    margin-bottom: 60px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #1E3A8A;
    z-index: 0;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 20px auto 0;
    padding: 25px 40px;
    color: #1E1F26;
    text-align: center;
    position: relative;
    z-index: 1;
    background: #ffffff;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.page-content-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.9;
    color: var(--text-secondary);
    font-size: 17px;
}

/* Sayfa Resmi */
.page-image-wrapper {
    width: 350px;
    max-width: 100%;
    margin-bottom: 30px;
    margin-right: 30px;
    float: left;
    overflow: hidden;
}

.page-featured-image {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.page-content-body > *:first-child {
    margin-top: 0;
}

.page-content-body h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 12px;
}

.page-content-body h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Services Section */
.services-section {
    padding: 0 20px 100px;
    background-color: #f5f5f5;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll !important;
    position: relative;
    z-index: 5;
}

.services-section .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 0;
    border: none;
    border-radius: 0;
    margin-top: 0;
    position: relative;
    z-index: 6;
    box-shadow: none;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

/* 1. satır: metin solda, resim sağda */
.service-row:nth-child(1) .service-text-block {
    order: 1;
}

.service-row:nth-child(1) .service-image-block {
    order: 2;
}

/* 2. satır: resim solda, metin sağda */
.service-row:nth-child(2) .service-image-block {
    order: 1;
}

.service-row:nth-child(2) .service-text-block {
    order: 2;
}

/* 3. satır: metin solda, resim sağda */
.service-row:nth-child(3) .service-text-block {
    order: 1;
}

.service-row:nth-child(3) .service-image-block {
    order: 2;
}

.service-text-block {
    background-color: #283655;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
}

.service-image-block {
    width: 100%;
    height: auto;
    max-height: 200px;
    overflow: hidden;
    border-radius: 0;
}

.service-image-block img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-block-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-block-description {
    font-size: 12px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

.service-block-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #1E1F26;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    align-self: flex-start;
}

.service-block-button:hover {
    background-color: #ffffff;
    color: #1E1F26;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

/* Şirket Başlığı */
.company-title {
    text-align: right;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.company-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #1E1F26, rgba(30, 31, 38, 0.6));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-title h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1E1F26;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: none;
}

/* Sol sütundaki kutular: sağa yaslı */
.services-grid .column.left .service-card {
    text-align: right;
}

.services-grid .column.left .service-card .service-title,
.services-grid .column.left .service-card .service-description {
    text-align: right;
}


/* Sağ sütundaki kutular: sola yaslı ama aynı hizada değil */
.services-grid .column.right .service-card {
    text-align: left;
}

.services-grid .column.right .service-card .service-title,
.services-grid .column.right .service-card .service-description {
    text-align: left;
}



.service-title {
    margin-top: 0;
    color: #1E1F26;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.4;
    letter-spacing: 0.3px;
    text-shadow: none;
}

.service-description {
    font-size: 14px;
    line-height: 1.5;
    color: #4D648D;
    text-shadow: none;
}

.services-right {
    width: 50%;
    flex-shrink: 0;
}

.page-content-body p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.page-content-body ul,
.page-content-body ol {
    margin-left: 24px;
    margin-bottom: 24px;
    padding-left: 20px;
}

.page-content-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.page-content-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.page-content-body a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* Responsive Page Content */
@media (max-width: 768px) {
    .page-content {
        padding: 40px 15px;
    }
    
    .page-header {
        margin-bottom: 35px;
    }
    
    .page-header {
        margin-bottom: 40px;
    }
    
    .page-header::before {
        height: 6px;
    }
    
    .page-title {
        font-size: 26px;
        padding: 20px 25px;
        margin-top: 15px;
        max-width: 95%;
    }
    
    .page-content-body {
        font-size: 16px;
    }
    
    .page-image-wrapper {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        float: none;
        margin-bottom: 25px;
    }
    
    .page-featured-image {
        height: auto;
        aspect-ratio: 1;
    }
    
    .page-content-body h2 {
        font-size: 26px;
        margin-top: 35px;
    }
    
    .page-content-body h3 {
        font-size: 20px;
        margin-top: 30px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .header-contact-info {
        gap: 16px;
    }
    
    .header-contact-item {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .header-contact-item span {
        display: none;
    }
    
    .header-contact-item i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 70px;
        gap: 15px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .header-contact-info {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 30px rgba(30, 31, 38, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-top: 1px solid rgba(208, 225, 249, 0.3);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-color);
        margin: 8px 0 8px 16px;
        padding: 0;
        min-width: auto;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-color);
        margin: 8px 0 8px 16px;
        padding: 0;
        min-width: auto;
    }
    
    .dropdown-link,
    .submenu-link {
        padding: 8px 16px;
    }
    
    .slider-container {
        height: 450px;
    }
    
    .slide-inner {
        padding: 50px 35px;
        min-width: 100%;
        max-width: 100%;
        border: none;
        border-radius: 0;
    }
    
    .slide-content {
        width: 100%;
    }
    
    .slide-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .slide-description {
        font-size: 16px;
        margin-bottom: 28px;
    }
    
    .slide-button {
        padding: 14px 32px;
        font-size: 15px;
    }
    
    .slider-dots {
        bottom: 30px;
        gap: 12px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .dot.active {
        transform: scale(1.3);
    }
    
    .about-section {
        padding: 60px 20px;
    }
    
    .about-card {
        padding: 40px 30px;
    }
    
    .about-title {
        font-size: 32px;
    }
    
    .about-text {
        font-size: 16px;
    }
    
    .services-section {
        padding: 0 20px 60px;
    }
    
    .services-section .container {
        flex-direction: column;
    }
    
    .services-grid {
        width: 100%;
        max-width: 100%;
        margin-top: -60px;
    }
    
    .service-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-row:nth-child(1) .service-text-block,
    .service-row:nth-child(2) .service-text-block,
    .service-row:nth-child(3) .service-text-block {
        order: 2;
    }
    
    .service-row:nth-child(1) .service-image-block,
    .service-row:nth-child(2) .service-image-block,
    .service-row:nth-child(3) .service-image-block {
        order: 1;
    }
    
    .service-text-block {
        padding: 18px 16px;
    }
    
    .service-image-block {
        max-height: 160px;
    }
    
    .service-image-block img {
        height: 160px;
    }
    
    .service-block-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .service-block-description {
        font-size: 11px;
        margin-bottom: 0;
    }
    
    .service-block-button {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .services-right {
        width: 100%;
        margin-top: 30px;
    }
    
    .service-card {
        padding: 5px 0;
        margin: 0 !important;
    }
    
    /* Mobilde şirket başlığı */
    .company-title {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .company-title h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .company-title::after {
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    
    /* Mobilde tüm kutular sola yaslı */
    .services-grid .column.left .service-card,
    .services-grid .column.right .service-card {
        text-align: left;
    }
    
    .services-grid .column.left .service-card .service-title,
    .services-grid .column.left .service-card .service-description,
    .services-grid .column.right .service-card .service-title,
    .services-grid .column.right .service-card .service-description {
        text-align: left;
    }
    
    .service-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .service-description {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .page-title {
        font-size: 32px;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ============================================
   MODERN HERO SECTION
   ============================================ */
.modern-hero-section {
    position: relative;
    width: 100%;
    min-height: 75vh;
    overflow: hidden;
    background: linear-gradient(135deg, #1E1F26 0%, #283655 100%);
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 75vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 31, 38, 0.3) 0%, rgba(40, 54, 85, 0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content-standalone {
    min-height: 70vh;
}

.hero-content-inner {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: #ffffff;
}

.hero-main-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-main-description {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.6;
    margin: 0 0 40px 0;
    color: #D0E1F9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #4D648D 0%, #283655 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(77, 100, 141, 0.4);
    border: 2px solid rgba(208, 225, 249, 0.2);
    overflow: hidden;
    position: relative;
}

.hero-cta-button::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;
}

.hero-cta-button:hover::before {
    left: 100%;
}

.hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(77, 100, 141, 0.5);
    background: linear-gradient(135deg, #283655 0%, #4D648D 100%);
}

.hero-cta-button i {
    transition: transform 0.3s ease;
}

.hero-cta-button:hover i {
    transform: translateX(4px);
}

.hero-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(30, 31, 38, 0.6);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(208, 225, 249, 0.1);
}

.hero-slider-prev,
.hero-slider-next {
    background: transparent;
    border: none;
    color: #D0E1F9;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(208, 225, 249, 0.1);
    color: #ffffff;
    transform: scale(1.1);
}

.hero-slider-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(208, 225, 249, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-dot.active {
    background: #4D648D;
    width: 24px;
    border-radius: 5px;
    border-color: rgba(208, 225, 249, 0.3);
}

/* ============================================
   MODERN SERVICES SECTION - SIRADIŞI TASARIM
   ============================================ */
.modern-services-section {
    padding: 140px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #D0E1F9 30%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.modern-services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(77, 100, 141, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(40, 54, 85, 0.06) 0%, transparent 40%),
        linear-gradient(135deg, transparent 0%, rgba(208, 225, 249, 0.3) 50%, transparent 100%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.modern-services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(77, 100, 141, 0.02) 100px,
            rgba(77, 100, 141, 0.02) 200px
        );
    pointer-events: none;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.modern-services-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-intro {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.services-intro::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4D648D, transparent);
    border-radius: 2px;
}

.services-badge {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(77, 100, 141, 0.15) 0%, rgba(40, 54, 85, 0.1) 100%);
    color: #283655;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 2px solid rgba(77, 100, 141, 0.2);
    box-shadow: 0 4px 15px rgba(77, 100, 141, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.services-badge::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;
}

.services-badge:hover::before {
    left: 100%;
}

.services-section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #1E1F26;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.services-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4D648D 0%, #283655 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(77, 100, 141, 0.3);
}

.modern-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
    position: relative;
}

.modern-service-card {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(30, 31, 38, 0.08),
        0 2px 8px rgba(30, 31, 38, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 2px solid rgba(208, 225, 249, 0.4);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.modern-service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(77, 100, 141, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.modern-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(77, 100, 141, 0.05) 0%, 
        transparent 30%,
        transparent 70%,
        rgba(40, 54, 85, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

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

.modern-service-card:hover {
    transform: translateY(-16px) rotateX(2deg) rotateY(-1deg);
    box-shadow: 
        0 20px 60px rgba(30, 31, 38, 0.2),
        0 8px 24px rgba(77, 100, 141, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(77, 100, 141, 0.5);
}

.modern-service-card:hover::before {
    opacity: 1;
}

.modern-service-card:hover::after {
    opacity: 1;
}

.modern-service-card:nth-child(1) {
    transform: translateY(0) rotate(-0.5deg);
}

.modern-service-card:nth-child(1):hover {
    transform: translateY(-16px) rotate(0.5deg) rotateX(2deg);
}

.modern-service-card:nth-child(2) {
    transform: translateY(20px) rotate(0.5deg);
}

.modern-service-card:nth-child(2):hover {
    transform: translateY(4px) rotate(-0.5deg) rotateX(2deg);
}

.modern-service-card:nth-child(3) {
    transform: translateY(0) rotate(-0.3deg);
}

.modern-service-card:nth-child(3):hover {
    transform: translateY(-16px) rotate(0.3deg) rotateX(2deg);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    z-index: 2;
}

.service-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 100, 141, 0.1) 0%, transparent 50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.modern-service-card:hover .service-card-image::before {
    opacity: 1;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: brightness(0.95) contrast(1.05);
}

.modern-service-card:hover .service-card-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1) contrast(1.1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(30, 31, 38, 0.2) 60%,
        rgba(30, 31, 38, 0.5) 100%
    );
    z-index: 1;
    transition: background 0.6s ease;
}

.modern-service-card:hover .service-card-overlay {
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(30, 31, 38, 0.15) 60%,
        rgba(30, 31, 38, 0.4) 100%
    );
}

.service-card-content {
    padding: 40px 36px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
}

.service-card-number {
    position: absolute;
    top: -35px;
    right: 36px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4D648D 0%, #283655 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 
        0 8px 24px rgba(77, 100, 141, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 3;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.modern-service-card:hover .service-card-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 
        0 12px 32px rgba(77, 100, 141, 0.5),
        0 0 0 6px rgba(77, 100, 141, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.service-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #1E1F26;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 12px;
}

.service-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4D648D 0%, #283655 100%);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.modern-service-card:hover .service-card-title::after {
    width: 80px;
}

.service-card-description {
    font-size: 15px;
    line-height: 1.75;
    color: #4D648D;
    margin: 0 0 28px 0;
    transition: color 0.3s ease;
}

.modern-service-card:hover .service-card-description {
    color: #283655;
}

.service-card-line {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #4D648D 0%, #283655 50%, #4D648D 100%);
    border-radius: 2px;
    margin-top: 8px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(77, 100, 141, 0.3);
}

.modern-service-card:hover .service-card-line {
    width: 100px;
}

/* Responsive Modern Design */
@media (max-width: 1024px) {
    .modern-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 32px;
    }
    
    .service-card-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        min-height: 60vh;
    }
    
    .hero-slider-wrapper {
        height: 60vh;
    }
    
    .hero-content-standalone {
        min-height: 50vh;
    }
    
    .modern-services-section {
        padding: 80px 20px;
    }
    
    .services-intro {
        margin-bottom: 50px;
    }
    
    .modern-services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-card-image {
        height: 220px;
    }
    
    .service-card-content {
        padding: 24px;
    }
    
    .service-card-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -15px;
        right: 24px;
    }
    
    .hero-slider-controls {
        bottom: 20px;
        padding: 10px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-info {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Stats & Services Section Responsive */
    @media (max-width: 1024px) {
        .stats-grid,
        .online-services-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
        }
        
        .stat-item {
            padding: 22px 18px;
        }
        
        .stat-number {
            font-size: 36px;
        }
        
        .online-service-card {
            padding: 24px 20px;
        }
    }
    
    @media (max-width: 640px) {
        .stats-services-section {
            padding: 50px 20px;
        }
        
        .stats-section {
            margin-bottom: 50px;
        }
        
        .stats-title,
        .online-services-title {
            font-size: 24px;
            margin-bottom: 30px;
        }
        
        .stats-grid,
        .online-services-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        
        .stat-item {
            padding: 20px 18px;
        }
        
        .stat-icon {
            font-size: 20px;
            width: 38px;
            height: 38px;
            margin-bottom: 12px;
        }
        
        .stat-number {
            font-size: 32px;
        }
        
        .stat-label {
            font-size: 9px;
        }
        
        .online-service-card {
            padding: 22px 18px;
        }
        
        .service-icon {
            font-size: 28px;
            width: 42px;
            height: 42px;
            margin-bottom: 14px;
        }
        
        .service-card-title {
            font-size: 12px;
        }
        
        .service-card-text {
            font-size: 11px;
        }
        
        .service-detail-btn {
            padding: 8px 20px;
            font-size: 10px;
        }
    }
}