/* 
  Aktemiz Nakliyat - Vibrant, Professional, Informative Theme 
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #004AAD;
    /* Vibrant Trust Blue */
    --primary-dark: #002D6B;
    --secondary: #FF8A00;
    /* Energetic Orange/Yellow for action/attention */
    --secondary-hover: #E07900;

    --success: #00B67A;
    /* Green for Trust/Checkmarks */
    --success-light: #E6F8F2;

    --text-main: #374151;
    /* Dark Gray */
    --text-heading: #111827;
    /* Near Black */
    --text-light: #6B7280;

    --bg-main: #ffffff;
    --bg-gray: #F8FAFC;
    /* Soft Gray for alternate sections */

    --border-color: #E5E7EB;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(255, 138, 0, 0.4);

    font-size: 16px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Colors */
h1,
h2,
h3,
h4,
.logo-text {
    color: var(--text-heading);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-gradient {
    color: var(--primary);
}

.highlight {
    color: var(--secondary);
    font-weight: 800;
}

.color-success {
    color: var(--success);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 90px 0;
}

.bg-gray {
    background-color: var(--bg-gray);
}

.mt-4 {
    margin-top: 2rem;
}

/* Top Bar (Info Dense) */
.top-bar {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-right {
    display: flex;
    gap: 20px;
}

.tb-right a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tb-right a:hover {
    color: var(--secondary);
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: -1px;
    /* Hack to prevent jumping */
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-aktemiz {
    color: var(--secondary);
}

.logo-nakliyat {
    color: var(--primary);
}

.footer-logo .logo-nakliyat {
    color: #fff;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin-left: 40px;
}

.nav-links a {
    color: var(--text-heading);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-vibrant {
    background: linear-gradient(135deg, var(--secondary), #ff8c00);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border: none;
    font-weight: 700;
}

.btn-vibrant:hover {
    background: linear-gradient(135deg, #ff8c00, var(--secondary));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-heading);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(10px);
}

/* Quote Module overlapping hero */
.quote-module {
    margin-top: -60px;
    /* Pull it up to overlap hero slightly */
    position: relative;
    z-index: 10;
    padding: 0 5%;
    /* Use 5% padding to match container */
}

.quote-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow to stand out */
    padding: 40px;
    border: 1px solid var(--border-color);
}

.quote-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.quote-header p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 4 fields + 1 button */
    gap: 20px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group select {
    padding: 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: #f9fbfc;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

/* Hero Section (Vibrant & Trust Focused) */
.hero {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(to right, #ffffff 50%, var(--bg-gray) 50%);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.05) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--success-light);
    color: var(--success);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 182, 122, 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

.hero-subtitle strong {
    color: var(--primary);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.h-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-heading);
    box-shadow: var(--shadow-sm);
}

.h-feature i {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Visuals */
.hero-image-grid {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Page Headers for Internal Subpages */
.page-header {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.main-hero-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.floating-proof {
    position: absolute;
    bottom: 10px;
    left: -20px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--border-color);
}

.proof-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.proof-text {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.proof-text span {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-main);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary);
    color: #fff;
    padding: 40px 0;
    margin-top: -30px;
    position: relative;
    z-index: 3;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
}

/* Asansör Section (Elevator Highlight) */
.asansor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.asansor-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.asansor-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: #fff;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.asansor-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.asansor-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.05rem;
}

.benefit-list i {
    font-size: 1.2rem;
}

/* Services Cards */
.text-center {
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.title-desc {
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vibrant-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.vibrant-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.s-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.icon-blue {
    background: rgba(0, 74, 173, 0.1);
    color: var(--primary);
}

.icon-orange {
    background: rgba(255, 138, 0, 0.1);
    color: var(--secondary);
}

.icon-green {
    background: var(--success-light);
    color: var(--success);
}

.vibrant-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Trust Banner */
.trust-banner {
    margin: 60px 0;
}

.trust-banner-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--primary-dark);
    border-radius: 24px;
    overflow: hidden;
    align-items: stretch;
}

.tb-text {
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tb-text h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tb-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.company-guarantees {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.company-guarantees span {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-image {
    position: relative;
    min-height: 400px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.tb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* -------------------------------------
   Service / Work Gallery Section
--------------------------------------*/
.gallery-section {
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    /* Base height */
    gap: 20px;
    padding-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 74, 173, 0.9) 0%, rgba(255, 138, 0, 0.4) 100%);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

.gallery-overlay span {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-align: center;
    padding: 0 15px;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.08);
    /* slight zoom */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}


/* Customer Reviews Section */
.reviews-section {
    padding: 80px 0;
}

.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.reviews-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* We want gap 30px, so 3 items per view. Width of each item will be calculated such that 3 items fit exactly. */
    gap: 30px;
}

.r-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    /* Exactly flex basis for 3 items with 30px gap (2 gaps = 60px). Calc: (100% - 60px) / 3 */
    flex: 0 0 calc((100% - 60px) / 3);
}

.slider-btn {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    z-index: 5;
}

.slider-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.r-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.r-card::before {
    content: '\f10d';
    /* FontAwesome quote-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 3rem;
    color: rgba(0, 74, 173, 0.05);
    /* very faint primary color */
}

.stars {
    color: #FFB800;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.r-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.7;
}

.r-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.r-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 800;
}

.r-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.r-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Regions Detailed Boxes */
.region-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.r-box {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border-top: 5px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.r-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.r-head i {
    font-size: 2rem;
    color: var(--secondary);
}

.r-head h3 {
    font-size: 1.4rem;
}

/* Footer */
.footer-vibrant {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 100px;
    padding-top: 60px;
    position: relative;
}

.footer-top-cta {
    position: absolute;
    top: -50px;
    left: 5%;
    right: 5%;
    background: #fff;
    border-radius: 16px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    border: 2px solid var(--secondary);
}

.ft-content h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 10px;
}

.ft-content p {
    font-size: 1.1rem;
    max-width: 600px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 100px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand .logo-text {
    color: #fff;
    margin-bottom: 20px;
    display: block;
    font-size: 2rem;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: background 0.3s;
}

.socials a:hover {
    background: var(--secondary);
}

.f-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.f-col ul {
    list-style: none;
}

.f-col li {
    margin-bottom: 15px;
}

.f-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.f-col a:hover {
    color: var(--secondary);
}

.contact-list i {
    color: var(--secondary);
    width: 25px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* Floating Action Buttons (Sticky Right) */
.floating-contact {
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid #fff;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    background-color: #25d366;
    animation: bounce 3s infinite;
}

.float-phone {
    background-color: var(--primary);
    animation: bounce 3s infinite 0.5s;
    /* Offset animation slightly */
}

/* Pulsing rings effect behind the buttons */
.float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    z-index: -1;
    animation: ripple 2s infinite ease-out;
}

.float-whatsapp::before {
    border: 2px solid #25d366;
}

.float-phone::before {
    border: 2px solid var(--primary);
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Animations */
.hidden-onload {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.show-onload {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------
   Timeline / Step-by-Step Process (Enhanced)
--------------------------------------*/
.timeline-section {
    background: linear-gradient(180deg, #f9fbfc 0%, #ffffff 100%);
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 0;
}

/* Base vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #e9ecef;
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 1;
}

/* Animated fill line that grows on scroll (handled via JS) */
.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 0%;
    /* JS will update this */
    background: linear-gradient(to bottom, var(--success), var(--primary), var(--secondary));
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 2;
    transition: height 0.3s ease-out;
}

.timeline-step {
    position: relative;
    width: 50%;
    padding-right: 60px;
    margin-bottom: 70px;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-step.right {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 60px;
    justify-content: flex-start;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Advanced Icon Styling */
.step-icon {
    position: absolute;
    right: -30px;
    /* Center perfectly over 6px line (30 - 3) */
    top: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 5px #f9fbfc, 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border: 3px solid var(--border-color);
    transition: all 0.5s ease;
}

.timeline-step.active .step-icon {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(0, 74, 173, 0.2), 0 10px 20px rgba(0, 74, 173, 0.3);
    transform: scale(1.1);
    animation: pulse-ring 2s infinite;
}

.timeline-step.right .step-icon {
    left: -30px;
    right: auto;
}

/* Custom Colors for Active Steps */
.timeline-step.active:nth-child(even) .step-icon {
    background-color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 0 5px rgba(255, 138, 0, 0.2), 0 10px 20px rgba(255, 138, 0, 0.3);
}

.timeline-step.active:nth-child(4) .step-icon {
    background-color: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 0 5px rgba(39, 174, 96, 0.2), 0 10px 20px rgba(39, 174, 96, 0.3);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 74, 173, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 74, 173, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 74, 173, 0);
    }
}

.step-content {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    max-width: 420px;
    text-align: left;
    transition: all 0.4s ease;
}

.timeline-step.active .step-content {
    border-left: 5px solid var(--primary);
}

.timeline-step.active.right .step-content {
    border-left: none;
    border-right: 5px solid var(--secondary);
}

.timeline-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Modern clean arrows */
.step-content::before {
    content: '';
    position: absolute;
    top: 25px;
    right: -12px;
    width: 24px;
    height: 24px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    z-index: 1;
}

.timeline-step.right .step-content::before {
    left: -12px;
    right: auto;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}


/* -------------------------------------
   FAQ Section (Accordion)
--------------------------------------*/
.faq-section {
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover,
.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Settings */
@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }

    /* Hide top bar on smaller screens */
    .hero {
        background: #fff;
        padding-top: 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-bg-shape {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .floating-proof {
        bottom: -20px;
        left: 10%;
    }

    .asansor-grid,
    .trust-banner-inner {
        grid-template-columns: 1fr;
    }

    .tb-image {
        clip-path: none;
        height: 300px;
    }

    .service-cards,
    .region-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .r-card {
        flex: 0 0 calc((100% - 30px) / 2);
        /* 2 items on tablet */
    }

    .footer-top-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links.active li a {
        padding: 12px 5%;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-color);
        white-space: normal;
    }

    .nav-links.active li:last-child a {
        border-bottom: none;
    }

    .hamburger {
        display: block;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        /* Updated from left: 20px to right: 20px */
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .quote-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-action {
        grid-column: span 2;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .quote-box {
        padding: 25px 15px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-cards,
    .region-boxes {
        grid-template-columns: 1fr;
    }

    .r-card {
        flex: 0 0 100%;
        /* 1 item on mobile */
    }

    .reviews-slider-container {
        padding: 0 10px;
        /* reduce padding for buttons on small screens */
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }

    .socials {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
        width: 100%;
    }

    /* Timeline Mobile */
    .timeline-line,
    .timeline-progress {
        left: 30px;
        transform: none;
    }

    .timeline-step {
        width: 100%;
        padding-right: 0;
        padding-left: 80px;
        justify-content: flex-start;
        margin-left: 0 !important;
        margin-bottom: 40px;
    }

    .step-icon {
        left: 0 !important;
        right: auto !important;
    }

    .step-content::before {
        left: -12px !important;
        right: auto !important;
        border-top: none !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        border-left: 1px solid var(--border-color) !important;
        filter: drop-shadow(-2px 0 1px rgba(0, 0, 0, 0.05)) !important;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item.tall {
        grid-row: span 1;
        height: 250px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {
    .quote-form {
        grid-template-columns: 1fr;
    }

    .form-action {
        grid-column: span 1;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo img {
        height: 50px !important;
        width: auto;
    }

    .section-padding {
        padding: 40px 0;
    }

    .hero {
        padding-top: 80px;
    }

    .stats-container {
        gap: 20px;
    }
}

/* Portfolio Grid for Hizmetlerimiz */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.pc-content {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pc-content h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.pc-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-portfolio {
    background: #0056b3;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
    align-self: center;
}

.btn-portfolio:hover {
    background: #004494;
    color: #fff;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}