/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
    --primary-yellow: #fddd2f;
    --dark-bg: #1A1A1A;
    --footer-top-bg: #555555;
    --footer-bottom-bg: #323232;
    --white: #ffffff;
    --black: #000000;
    --grey-light: #f9f9f9;
    --transition: all 0.3s ease-in-out;

    /* Header & Nav Colors (CRM Configurable) */
    --header-bg: var(--white);
    --header-border-color: #f0f0f0;
    --header-logo-color: var(--black);
    --header-link-color: #333;
    --header-underline-color: var(--primary-yellow);

    /* Nav Box (CRM Configurable) - REFINED */
    --nav-box-bg: transparent;
    --nav-box-border-color: #e0e0e0;
    --nav-box-border-width: 1px;
    --nav-box-padding: 10px 20px;
    --nav-box-radius: 0px;
    --nav-box-gap: 40px;

    /* Nav Item Active/Hover State */
    --nav-item-active-bg: transparent;
    --nav-item-active-color: var(--primary-yellow);
    --nav-item-radius: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Offset for sticky header when scrolling to anchors */
section[id] {
    scroll-margin-top: 120px;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

header .container {
    max-width: 1200px;
}

.home-page .container {
    max-width: 1200px;
}

/* Header & Navigation */
header {
    position: sticky;
    /* flow'u bozmamak için position: fixed yerine sticky */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background-color: var(--header-bg);
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



header.is-sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Background removed here to let the base header style (or CRM style) persist */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    padding: 15px 0;
    /* Reduced padding per user request */
}

header.is-sticky .navbar {
    justify-content: space-between;
    /* Keep logo and nav separated */
    padding: 15px 0;
    /* Match normal state or keep consistent */
}

.logo {
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--header-logo-color);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

header.is-sticky .logo {
    display: flex;
    /* Changed from block to flex for alignment */
    align-items: center;
    /* Restore logo visibility when sticky */
}

.logo a {
    display: flex;
    align-items: center;
    line-height: 0;
    /* Remove line-height gap */
}

.logo img {
    display: block;
    /* Remove toggle inline gap */
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--header-logo-color);
}

.nav-links {
    display: flex;
    gap: var(--nav-box-gap);
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--header-link-color);

    /* Box Styling */
    background-color: var(--nav-box-bg);
    border: var(--nav-box-border-width) solid var(--nav-box-border-color);
    padding: var(--nav-box-padding);
    border-radius: var(--nav-box-radius);
    transition: all 0.3s ease;
}

.nav-links li a {
    position: relative;
    padding: 10px 15px;
    margin: 0;
    /* Removed large margins that stretched the box */
    display: block;
    transition: all 0.3s ease;
    border-radius: var(--nav-item-radius);
}

header.is-sticky .nav-links li a {
    padding: 8px 15px;
}

/* Active & Hover Indicator */
/* Active & Hover Indicator */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* Positioned slightly below the text */
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--header-underline-color);
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li.active a {
    background-color: var(--nav-item-active-bg);
    color: var(--nav-item-active-color);
}

.nav-links li a:hover::after,
.nav-links li.active a::after {
    width: 100%;
}

header.is-sticky .nav-links li a::after {
    bottom: -5px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 75%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    border-top: 3px solid var(--primary-yellow);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    padding: 12px 20px !important;
    /* Override nav-a padding */
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    text-transform: capitalize;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    color: var(--primary-yellow);
    padding-left: 25px !important;
    background: #f9f9f9;
}

/* Hide the indicator line for dropdown items */
.dropdown-menu li a::after {
    display: none;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--banner-bg);
    height: 350px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-page .hero {
    height: 600px !important;
    /* Force 600px */
    padding: 0;
    display: block;
    /* Ensure it's a block */
}

/* Ensure Swiper takes full available space */
.hero .swiper {
    width: 100%;
    height: 100% !important;
    position: relative;
}

.hero .swiper-wrapper {
    width: 100%;
    height: 100% !important;
    position: relative;
    display: flex;
}

.hero .swiper-slide {
    width: 100%;
    height: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for readability */
    z-index: 1;
}

.swiper-slide .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: 50px;
    color: var(--white);
    /* Changed to white for better contrast on images */
    max-width: 650px;
    margin: 0 auto;
}

.hero-text h2 span {
    font-weight: 700;
    color: var(--primary-yellow);
    /* Keep primary yellow for span */
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    transition: var(--transition);
    z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.2);
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-yellow);
    opacity: 1;
}

.breadcrumb {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.breadcrumb li a {
    color: #777;
    font-weight: 600;
}

.breadcrumb li:last-child {
    color: #333;
    font-weight: 700;
}

/* Breadcrumb separator */
.breadcrumb li:not(:last-child)::after {
    content: '⊙';
    /* Circle dot symbol to match reference */
    margin-left: 10px;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
}

/* Portfolio Grid */
/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 50px 0;
    /* Background removed - will be set by CRM */
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a3a6b;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #fddd2f 0%, #f7971e 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
    /* Center align per visual request */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    border-bottom: 3px solid transparent;
    /* Prepare for hover color */
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items */
    justify-content: flex-start;
}

/* Remove gradient overrides */
.service-card:nth-child(n) {
    background: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-width: 3px;
}

/* Unique Glow Effects & Colors per Card */
.service-card:nth-child(1):hover {
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
    border-bottom-color: #FFC107;
}

.service-card:nth-child(1):hover .service-icon,
.service-card:nth-child(1):hover .service-title {
    color: #FFC107;
}

.service-card:nth-child(2):hover {
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.3);
    border-bottom-color: #2196F3;
}

.service-card:nth-child(2):hover .service-icon,
.service-card:nth-child(2):hover .service-title {
    color: #2196F3;
}

.service-card:nth-child(3):hover {
    box-shadow: 0 15px 35px rgba(244, 67, 54, 0.3);
    border-bottom-color: #F44336;
}

.service-card:nth-child(3):hover .service-icon,
.service-card:nth-child(3):hover .service-title {
    color: #F44336;
}

.service-card:nth-child(4):hover {
    box-shadow: 0 15px 35px rgba(255, 235, 59, 0.4);
    border-bottom-color: #dbca00;
}

/* Darker yellow for text visibility */
.service-card:nth-child(4):hover .service-icon,
.service-card:nth-child(4):hover .service-title {
    color: #dbca00;
}

.service-card:nth-child(5):hover {
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.3);
    border-bottom-color: #00BCD4;
}

.service-card:nth-child(5):hover .service-icon,
.service-card:nth-child(5):hover .service-title {
    color: #00BCD4;
}

.service-card:nth-child(6):hover {
    box-shadow: 0 15px 35px rgba(156, 39, 176, 0.3);
    border-bottom-color: #9C27B0;
}

.service-card:nth-child(6):hover .service-icon,
.service-card:nth-child(6):hover .service-title {
    color: #9C27B0;
}

.service-card:nth-child(7):hover {
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.3);
    border-bottom-color: #4CAF50;
}

.service-card:nth-child(7):hover .service-icon,
.service-card:nth-child(7):hover .service-title {
    color: #4CAF50;
}

.service-card:nth-child(8):hover {
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.3);
    border-bottom-color: #FF9800;
}

.service-card:nth-child(8):hover .service-icon,
.service-card:nth-child(8):hover .service-title {
    color: #FF9800;
}

.service-card:nth-child(9):hover {
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.3);
    border-bottom-color: #E91E63;
}

.service-card:nth-child(9):hover .service-icon,
.service-card:nth-child(9):hover .service-title {
    color: #E91E63;
}

.service-card:nth-child(10):hover {
    box-shadow: 0 15px 35px rgba(63, 81, 181, 0.3);
    border-bottom-color: #3F51B5;
}

.service-card:nth-child(10):hover .service-icon,
.service-card:nth-child(10):hover .service-title {
    color: #3F51B5;
}


.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    margin: 0 0 15px 0;
    display: inline-block;
    backdrop-filter: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Override old styles */
.service-icon::before {
    display: none;
}

.service-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-description {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    max-width: 90%;
}

/* ===== WHY US SECTION ===== */
.why-us-section {
    padding: 50px 0;
    /* Background removed - will be set by CRM */
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.why-card:hover {
    transform: translateY(-8px);
    border-bottom-width: 3px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Hover Colors for Why Us - Cycling colors */
.why-card:nth-child(4n+1):hover {
    border-bottom-color: #fddd2f;
}

.why-card:nth-child(4n+1):hover .why-icon,
.why-card:nth-child(4n+1):hover .why-title {
    color: #fddd2f;
}

.why-card:nth-child(4n+2):hover {
    border-bottom-color: #1a3a6b;
}

.why-card:nth-child(4n+2):hover .why-icon,
.why-card:nth-child(4n+2):hover .why-title {
    color: #1a3a6b;
}

.why-card:nth-child(4n+3):hover {
    border-bottom-color: #f7971e;
}

.why-card:nth-child(4n+3):hover .why-icon,
.why-card:nth-child(4n+3):hover .why-title {
    color: #f7971e;
}

.why-card:nth-child(4n+4):hover {
    border-bottom-color: #e31e24;
}

.why-card:nth-child(4n+4):hover .why-icon,
.why-card:nth-child(4n+4):hover .why-title {
    color: #e31e24;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    margin: 0 0 15px 0;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.why-icon::after {
    display: none;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a3a6b;
    margin-bottom: 15px;
}

.why-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    padding: 80px 0;
    /* background: linear-gradient(135deg, #1a3a6b 0%, #0d2447 100%);  Removed per user request */
    /* color: white; Removed per user request to match page style */
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    position: relative;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: transparent;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Remove border-bottom colors on hover since we are minimalist now */
.stat-card:nth-child(n):hover {
    border-bottom-color: transparent;
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    color: #fddd2f;
    /* Keep yellow or use variable */
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-label {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 50px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
    /* Fixes the white space issue */
}

/* Center the last item ONLY if it is an odd number (e.g. 3rd, 5th, 7th...) */
.faq-grid .faq-item:nth-child(odd):last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a6b;
    margin: 0;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: #fddd2f;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {

    .services-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .services-grid,
    .why-us-grid,
    .stats-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .faq-grid .faq-item:nth-child(n+5):nth-last-child(odd) {
        max-width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 42px;
    }

    .services-section,
    .why-us-section {
        padding: 60px 0;
    }

    .stats-section {
        padding: 50px 0;
    }
}

/* Footer */
footer {
    color: var(--white);
    font-size: 14px;
}

.footer-top {
    background-color: var(--footer-top-bg);
    padding: 80px 0;
}

.footer-logo {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    /* Reduced from 40px for balance */
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    text-transform: lowercase;
    line-height: 1.2;
    letter-spacing: -0.5px;

    /* Alignment with other columns */
    position: relative;
    padding-top: 15px;
    border-top: 10px solid var(--primary-yellow);
    display: block;
    width: 100%;
}

.footer-logo span {
    color: var(--primary-yellow);
    width: 100%;
}

/* Expand footer container width */
.footer-top .container {
    max-width: 95%;
    /* Make it almost full width */
    padding: 0 40px;
    margin: 0 auto;
    /* Ensure centering */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Correct to 3 columns */
    gap: 80px;
    /* Increase gap to spread content */
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-top: 15px;
    /* Space for border */
    border-top: 10px solid var(--primary-yellow);
    /* Kanop style thick border */
    color: var(--white);
    text-transform: capitalize;
}

.recent-posts li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
    border-bottom: 1px solid #666;
    padding-bottom: 10px;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.insta-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.contact-info li {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #666;
    padding-bottom: 10px;
}

.contact-info li:last-child {
    border-bottom: none;
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 40px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.back-to-top:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 5px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--black);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h2 {
    animation: fadeInUp 1s ease-out;
}

.portfolio-item {
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.portfolio-item:nth-child(1) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(2) {
    animation-delay: 0.2s;
}

.portfolio-item:nth-child(3) {
    animation-delay: 0.3s;
}

.portfolio-item:nth-child(4) {
    animation-delay: 0.4s;
}

.portfolio-item:nth-child(5) {
    animation-delay: 0.5s;
}

.portfolio-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Micro-interactions */
.nav-links li a {
    position: relative;
}

.hero-text h2 span {
    font-weight: 700;
    color: var(--primary-yellow);
    position: relative;
    display: inline-block;
}

.hero-text h2 span::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

/* Page transitions */
body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Statistics Boxed Design */
.stats-section {
    padding: 80px 0;
    /* background-color: #f9f9f9; Removed per user request */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--stat-text-color, var(--primary-yellow));
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    transition: color 0.3s ease;
}

.stat-suffix {
    font-size: 42px;
    font-weight: 700;
    color: var(--stat-text-color, var(--primary-yellow));
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    margin-left: 2px;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-suffix {
    color: var(--stat-hover-color, var(--stat-text-color, var(--primary-yellow)));
}

.stat-label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Below */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        /* Full width for logo/description */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .footer-top {
        padding: 50px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col:first-child {
        grid-column: 1;
    }

    .footer-logo {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .footer-text {
        font-size: 14px;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-col h4 {
        font-size: 18px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info li {
        font-size: 13px;
    }
}

/* About Page Specific Styles */
.about-hero {
    background-color: #f0d329;
    /* Kesin Kanop Sarısı */
    height: 350px;
    /* Updated height based on user visual ref */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-hero h1 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    padding: 0;
}

.breadcrumb {
    font-size: 14px;
    color: var(--black);
    text-transform: lowercase;
}

.about-motto {
    padding: 95px 0 85px 0;
    /* Kanop standardı */
    text-align: center;
}

.about-motto h2 {
    font-size: 31px;
    /* Kesin Kanop ölçüsü */
    font-weight: 500;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    color: var(--black);
}

.professionals-section {
    padding: 0 0 100px 0;
}

.professionals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.professionals-images {
    display: grid;
    grid-template-columns: 263px 283px;
    /* Kanop görsel genişlikleri */
    grid-template-rows: auto auto;
    gap: 20px;
}

.prof-img-large {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.professionals-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.professionals-text h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--black);
}

.professionals-text p {
    font-size: 14px;
    line-height: 24px;
    color: #666;
    margin-bottom: 20px;
}

.testimonials-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../images/portfolio_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}

.testimonials-section h2 {
    font-size: 30px;
    /* Kesin Kanop ölçüsü */
    font-weight: 700;
    margin-bottom: 68px;
    /* Kesin Kanop ölçüsü */
    text-transform: capitalize;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Kesin Kanop ölçüsü */
    margin-bottom: 30px;
}

.nav-dot {
    width: 15px;
    /* Kesin Kanop ölçüsü */
    height: 15px;
    /* Kesin Kanop ölçüsü */
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Kesin Kanop stili */
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.nav-dot.active {
    background-color: #fdd12f;
    /* Kesin Kanop rengi */
    border-color: #fdd12f;
}

.testimonial-wrapper {
    max-width: 1140px;
    /* Standart container genişliği */
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}

.testimonial-content {
    background-color: rgba(0, 0, 0, 0.4);
    /* Koyu transparan */
    border: 2px solid #fdd12f;
    /* Kesin Kanop ölçüsü */
    padding: 35px 38px;
    /* Kesin Kanop ölçüsü */
    position: relative;
    margin-bottom: 0;
    /* Boşluk info kutusuyla birleşecek */
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fdd12f;
    z-index: 10;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    font-style: normal;
    overflow-wrap: break-word;
    /* Uzun kelimeleri böler */
    word-wrap: break-word;
    hyphens: auto;
}

.testimonial-info {
    background-color: #fdd12f;
    /* Kesin Kanop rengi */
    color: var(--black);
    padding: 17px 15px;
    /* Kesin Kanop ölçüsü */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 14px;
    opacity: 0.8;
}

.team-section {
    padding: 70px 0;
}

.team-section h2 {
    font-size: 30px;
    margin-bottom: 50px;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
    margin-bottom: 15px;
}

.team-member:hover img {
    filter: grayscale(0%);
}

.team-member h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-member p {
    color: #888;
    font-size: 14px;
}

/* WORK PAGE STYLES */
.work-section {
    padding: 80px 0;
}

.work-section .container {
    max-width: 1170px;
    /* Standard Bootstrap width matching reference */
}

.work-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* approx 66% / 33% like col-md-8 col-md-4 */
    gap: 30px;
    /* Tighter gap */
}

/* Sidebar */
.sidebar {
    padding-left: 20px;
}

.widget {
    margin-bottom: 50px;
}

.widget h4 {
    font-size: 14px;
    font-weight: 500;
    /* Lighter weight from 700 to match image */
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Wider spacing */
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-top: 0;
    border-top: none;
    display: inline-block;
}

.widget h4::after {
    content: '';
    /* Removing yellow border based on feedback */
}

/* Categories Widget */
.category-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    /* Increased padding */
    border-bottom: 1px solid #ebebeb;
    /* Lighter border */
    font-size: 12px;
    /* Slightly smaller */
    color: #888;
    /* Lighter text */
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-list li:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.category-list li:last-child {
    border-bottom: none;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    /* Lighter gray matches reference */
    padding: 0 15px 10px 0;
    /* More spacing right */
    border: none;
    border-radius: 0;
    font-weight: 400;
    transition: var(--transition);
    display: inline-block;
    /* Ensure padding works correctly */
}

.tag-cloud a:hover {
    background: transparent;
    border-color: transparent;
}




/* Work Content */
.work-content {
    /* Clean layout, no box */
    border: none;
    padding: 0;
    background: transparent;
}

/* Slider Structure */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    /* Hide non-visible slides */
    margin-bottom: 30px;
}

.slider-track {
    display: flex;
    /* Arrange images side by side */
    transition: transform 0.5s ease-in-out;
    /* Smooth sliding effect */
    width: 100%;
}

.slider-track img {
    width: 100%;
    flex-shrink: 0;
    /* Prevent shrinking */
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.slider-nav span {
    position: absolute;
    top: 0;
    bottom: 0;
    /* Full height */
    width: 60px;
    /* Width of the overlay */
    background: rgba(0, 0, 0, 0.2);
    /* Semi-transparent dark overlay */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
    opacity: 0;
    z-index: 10;
}

.slider-wrapper:hover .slider-nav span {
    opacity: 1;
}

.slider-nav span:hover {
    background: rgba(0, 0, 0, 0.5);
    /* Darker on hover */
    color: white;
}

.slider-nav .prev {
    left: 0;
}

.slider-nav .next {
    right: 0;
}

.work-article h3 {
    font-size: 20px;
    /* Reduced from 24px */
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    text-transform: uppercase;
    /* Reference has uppercase headers */
}

.work-article p {
    font-size: 14px;
    line-height: 26px;
    color: #777;
    margin-bottom: 30px;
}

.work-gallery-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

.mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Changed to 3 columns */
    gap: 20px;
    margin-bottom: 30px;
}

.mini-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.mini-item img:hover {
    opacity: 0.8;
}

.share-icon {
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #ccc;
    cursor: pointer;
}

/* Responsive Work Page */
@media (max-width: 992px) {
    .work-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
}

/* Services Page Redesign */
.services-intro {
    padding: 100px 0 60px;
    background-color: #fff;
}

.services-intro-flex {
    display: flex;
    align-items: center;
    /* Reverted to center for better balance */
    gap: 50px;
    /* Reduced gap slightly */
}

.services-text {
    flex: 1;
    padding-top: 0;
    /* Removed top padding offset */
}

.services-text h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.3;
}

.services-text p {
    color: #666;
    /* Darker text for readability */
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    /* Normal weight */
}

.services-image {
    flex: 1;
}

.services-image img {
    width: 100%;
    height: 350px;
    /* Fixed height to match reference banner style */
    object-fit: cover;
    /* Crop to fill */
    border-radius: 4px;
}

/* Service Boxes */
.services-boxes-section {
    padding: 0 0 100px;
    /* Increased bottom padding */
}

.services-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-box {
    border: 1px solid #eee;
    /* Light border around the whole box */
    text-align: center;
    transition: var(--transition);
    background: #fff;
}

.service-box:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow on hover */
    transform: translateY(-5px);
}

.service-box-header {
    background-color: var(--primary-yellow);
    padding: 25px 15px;
    font-size: 15px;
    font-weight: 600;
    /* Slightly less than 700 */
    color: #333;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.service-box-body {
    padding: 50px 20px;
    background: #fff;
    min-height: 180px;
    /* Taller box */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-box-icon {
    font-size: 48px;
    /* Larger icon */
    color: #444;
    /* Dark grey icon */
    margin-bottom: 0;
}

.service-box-icon svg {
    fill: #444;
    width: 48px;
    height: 48px;
}

/* Features Section (Phone) */
.services-features-section {
    padding: 60px 0 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 60px;
    align-items: center;
}

.features-left .feature-item {
    flex-direction: row-reverse;
    text-align: right;
}

.feature-item {
    display: flex;
    align-items: center;
    /* Center vertically with icon */
    margin-bottom: 50px;
    gap: 25px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-yellow);
    border: 4px solid #fff;
    /* White gap */
    outline: 1px solid var(--primary-yellow);
    /* Outer ring using outline to avoid layout shift */
    box-shadow: 0 0 0 1px var(--primary-yellow);
    /* Fallback/Strengthen outer ring */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #333;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
}

.feature-content p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.feature-phone {
    display: flex;
    justify-content: center;
}

/* iPhone Design */
.iphone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background-color: #fff;
    /* White bezel */
    border-radius: 40px;
    box-shadow:
        inset 0 0 0 2px #e0e0e0,
        /* Inner bezel edge */
        inset 0 0 0 5px #fcfcfc,
        /* Bezel */
        0 0 0 4px #d4af37,
        /* Gold Trim */
        0 10px 40px rgba(0, 0, 0, 0.3);
    /* Drop shadow */
    padding: 80px 15px;
    /* Space for top/bottom bezels */
    margin: 0 auto;
    z-index: 1;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background-color: #111;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Top Detail (Camera, Sensor, Speaker) */
.iphone-top {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.iphone-top .camera {
    display: block;
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
}

.iphone-top .speaker {
    display: block;
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.iphone-top .sensor {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

/* Bottom Detail (Home Button) */
.iphone-bottom {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.home-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #d4af37;
    /* Gold ring */
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Side Buttons */
.iphone-buttons .on-off,
.iphone-buttons .up,
.iphone-buttons .down,
.iphone-buttons .sleep {
    position: absolute;
    background: #d4af37;
    /* Gold */
    border-radius: 2px 0 0 2px;
}

.iphone-buttons .on-off {
    top: 90px;
    left: -7px;
    width: 3px;
    height: 25px;
}

.iphone-buttons .up {
    top: 150px;
    left: -7px;
    width: 3px;
    height: 50px;
}

.iphone-buttons .down {
    top: 215px;
    left: -7px;
    width: 3px;
    height: 50px;
}

.iphone-buttons .sleep {
    top: 150px;
    right: -7px;
    width: 3px;
    height: 50px;
    border-radius: 0 2px 2px 0;
}

/* Responsive Services */
@media (max-width: 992px) {
    .services-intro-flex {
        flex-direction: column;
    }

    .services-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-left .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .features-right .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-phone {
        grid-row: 1;
        /* Place phone at top on mobile */
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .services-boxes-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NEW ABOUT PAGE SECTIONS - MODERN DESIGN
   ============================================ */

/* Gradient Color Palette */
:root {
    --gradient-pink: linear-gradient(135deg, #f48fb1 0%, #ec407a 100%);
    --gradient-purple: linear-gradient(135deg, #ce93d8 0%, #ab47bc 100%);
    --gradient-blue-dark: linear-gradient(135deg, #64b5f6 0%, #1976d2 100%);
    --gradient-blue-light: linear-gradient(135deg, #81d4fa 0%, #039be5 100%);
    --gradient-white: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    --gradient-coral: linear-gradient(135deg, #ff8a80 0%, #ff5252 100%);
    --gradient-purple-dark: linear-gradient(135deg, #b39ddb 0%, #7e57c2 100%);
    --gradient-teal: linear-gradient(135deg, #80cbc4 0%, #00897b 100%);
    --gradient-orange: linear-gradient(135deg, #ffcc80 0%, #ff9800 100%);
}

/* ============================================
   MODERN ABOUT PAGE - REDESIGNED
   ============================================ */

/* Hero Section - Modern Design */
.about-hero-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(253, 221, 47, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #fddd2f 0%, #f0c800 100%);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(253, 221, 47, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 221, 47, 0.4);
    background: linear-gradient(135deg, #f0c800 0%, #fddd2f 100%);
}

.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.icon-wrapper {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(253, 221, 47, 0.2), rgba(74, 144, 226, 0.2));
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
}

.icon-wrapper svg {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes wheelSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes speedLines {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateX(-100px);
        opacity: 0;
    }
}

@keyframes carBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-1px) rotate(-0.5deg);
    }

    50% {
        transform: translateY(-2px) rotate(0deg);
    }

    75% {
        transform: translateY(-1px) rotate(0.5deg);
    }
}

.wheel-rotate {
    animation: wheelSpin 0.5s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.speed-lines line {
    animation: speedLines 1s linear infinite;
}

.speed-lines line:nth-child(1) {
    animation-delay: 0s;
}

.speed-lines line:nth-child(2) {
    animation-delay: 0.3s;
}

.speed-lines line:nth-child(3) {
    animation-delay: 0.6s;
}

.speed-lines line:nth-child(4) {
    animation-delay: 0.1s;
}

.car-body-bounce {
    animation: carBounce 0.5s ease-in-out infinite;
}

/* ============================================
   BATTERY TYPES SECTION - ENHANCED
   ============================================ */
.battery-types {
    padding: 70px 0;
    background: #ffffff;
}

.battery-types h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 70px;
    letter-spacing: -0.5px;
}

.battery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.battery-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.battery-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(253, 221, 47, 0.3);
}

.battery-logo {
    width: 140px;
    height: 90px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 26px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.battery-card:hover .battery-logo {
    transform: scale(1.05);
}

.celik-logo {
    background: #000000;
    color: #fddd2f;
    font-family: 'Impact', sans-serif;
    letter-spacing: 3px;
}

.mutlu-logo {
    background: #ffffff;
    color: #e30613;
    border: 4px solid #e30613;
    font-family: 'Arial Black', sans-serif;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}

.hugel-logo {
    background: #000000;
    color: #ffffff;
    font-family: 'Impact', sans-serif;
    letter-spacing: 4px;
    font-style: italic;
}

.battery-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.battery-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
    font-weight: 500;
}

.battery-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.battery-specs span {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    transition: all 0.2s ease;
}

.battery-specs span:hover {
    background: linear-gradient(135deg, #fddd2f 0%, #f0c800 100%);
    border-color: #fddd2f;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Conflicting styles removed to allow custom 5+5 grid and glow effects */

/* ============================================
   RESPONSIVE DESIGN - MODERN
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-icon {
        order: -1;
    }

    .icon-wrapper {
        width: 220px;
        height: 220px;
    }

    .icon-wrapper svg {
        width: 140px;
        height: 140px;
    }

    .battery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-modern {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .icon-wrapper {
        width: 180px;
        height: 180px;
    }

    .icon-wrapper svg {
        width: 120px;
        height: 120px;
    }

    .battery-types h2,
    .our-services h2 {
        font-size: 32px;
    }

    .battery-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-item {
        padding: 40px 25px;
    }
}

/* ===== QUICK ACTION BAR (Advanced Tech Style) ===== */
/* ===== QUICK ACTION BAR (Refined) ===== */
.quick-action-bar {
    position: relative;
    z-index: 20;
    margin-top: -50px;
    /* Overlap hero */
    padding: 0;
    background: transparent !important;
    /* Override inline */
}

.action-bar-wrapper {
    display: flex;
    background: #1a1a1a;
    /* Fallback/Base */
    border-radius: 8px;
    /* Rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.action-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 30px 40px;
    background: linear-gradient(90deg, #1a1a1a 0%, #222 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.action-item:last-child {
    border-right: none;
}

/* Hover Effect: Subtle Highlight */
.action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(253, 221, 47, 0.05);
    /* Yellow Tint */
    transition: width 0.4s ease;
    z-index: 1;
}

.action-item:hover::before {
    width: 100%;
}

.action-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    color: #fddd2f;
    /* Icon Color */
}

.action-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.action-item:hover .action-icon {
    background: #fddd2f !important;
    border-color: #fddd2f !important;
    color: #1a1a1a;
    box-shadow: 0 0 15px rgba(253, 221, 47, 0.4) !important;
    transform: scale(1.1);
}

.action-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.action-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    margin-bottom: 4px;
    font-family: 'Raleway', sans-serif;
}

.action-desc {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.action-item:hover .action-title {
    color: #fddd2f;
}

.action-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 2;
}

.action-arrow svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.action-item:hover .action-arrow {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: #fddd2f;
}

.action-item:hover .action-arrow svg {
    fill: #fddd2f;
}

/* Responsive Action Bar */
@media (max-width: 768px) {
    .quick-action-bar {
        margin-top: 0;
    }

    .action-bar-wrapper {
        flex-direction: column;
        max-width: 100%;
        border-radius: 0;
    }

    .action-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
    }
}

/* ===== FOOTER RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col:first-child {
        grid-column: 1;
    }

    .footer-logo {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .footer-col h4 {
        font-size: 18px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   NEW UNIFIED ACTION BAR (SOLID DESIGN)
   ========================================= */

.unified-action-bar {
    width: 100%;
    /* Background color is set inline for CRM control */
    color: #fff;
    padding: 0;
    position: relative;
    z-index: 20;
}

.unified-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
}

.unified-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 100%;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.unified-col:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.unified-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.unified-icon {
    font-size: 32px;
    color: #fddd2f;
    /* Brand Yellow */
}

.unified-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: #fff;
}

.unified-text p {
    margin: 5px 0 0;
    font-size: 13px;
    opacity: 0.7;
    font-weight: 400;
    color: #ccc;
}

.unified-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: #fddd2f;
}

.unified-col:hover .unified-arrow {
    background-color: #fddd2f;
    color: #000;
    transform: translateX(5px);
    border-color: #fddd2f;
}

.unified-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .unified-wrapper {
        flex-direction: column;
        height: auto;
    }

    .unified-col {
        width: 100%;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .unified-divider {
        display: none;
    }
}

/* =========================================
   RESPONSIVE (MOBIL) DÜZENLEMELER
   ========================================= */

@media (max-width: 991px) {

    /* --- Genel Düzen --- */
    .container {
        padding: 0 20px;
    }

    /* --- Top Bar (Üst Bilgi Çubuğu) --- */
    .top-info-bar-custom .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .top-info-bar-custom .contact-left,
    .top-info-bar-custom .contact-right {
        justify-content: center;
        width: 100%;
    }

    .address-hide {
        display: none !important;
        /* Mobilde adresi gizle */
    }

    /* --- Header & Nav --- */
    .navbar {
        padding: 15px 0;
    }

    .logo img {
        max-height: 60px !important;
    }

    .hamburger-menu {
        display: block;
        color: var(--black);
    }

    .nav-links {
        display: none !important;
        /* Varsayılan olarak gizle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
        border-top: 3px solid var(--primary-yellow);
        z-index: 1000;
        border: none;
        border-radius: 0;
    }

    .nav-links.active {
        display: flex !important;
        /* JS ile açıldığında göster */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 10px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .nav-links li a::after {
        display: none;
    }

    /* --- Hero Slider --- */
    .hero,
    .home-page .hero {
        height: 400px !important;
    }

    .hero-text h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 16px !important;
    }

    /* --- Hizmetler ve Gridler --- */
    /* --- Hizmetler ve Gridler --- */
    .services-grid,
    .why-us-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Son eleman tek kalırsa ortala (2 sütunlu yapıda) */
    .services-grid> :last-child:nth-child(odd),
    .why-us-grid> :last-child:nth-child(odd),
    .stats-grid> :last-child:nth-child(odd) {
        grid-column: span 2;
        width: 50%;
        /* Görsel denge için genişliği sınırla */
        margin-left: auto;
        margin-right: auto;
    }

    .services-section {
        padding: 40px 0;
    }

    /* --- Biz Kimiz --- */
    .hero-content {
        flex-direction: column;
    }

    .hero-icon {
        display: none !important;
    }

    .working-hours-corporate {
        width: 100%;
    }

    .hours-list {
        flex-direction: column;
    }

    /* --- Footer --- */
    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .stat-card:last-child:nth-child(odd) {
        grid-column: auto !important;
        /* Reset span */
        width: 100% !important;
        margin: 0 !important;
    }
}