:root {
    /* Primary Colors */
    --primary-color: #004b72;
    /* Logo Blue */
    --primary-dark: #003652;
    /* Darker shade */
    --primary-light: #2e749e;
    /* Lighter shade */
    --accent-color: #00d2ff;
    /* Kept cyan accent for digital vibe */

    /* Neutral Colors */
    --text-color: #1f2937;
    --text-light: #5a6472;
    /* Updated for better contrast (was #6b7280) */
    --bg-color: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --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);

    /* Typography */
    --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Glow Color Default */
    --glow-color: rgba(0, 210, 255, 0.5);

    /* Focus Ring */
    --focus-ring: 0 0 0 3px rgba(0, 210, 255, 0.3);
}

.blog-teaser-card p {
    line-clamp: 2;
    -webkit-line-clamp: 2;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #fafafa;
    /* Clean, flat neutral/white */

    /* Decoration: Ultra-subtle "Tech" Grid */
    /* No radial colors, just a faint grid structure */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);

    /* Grid Size */
    background-size:
        40px 40px,
        40px 40px;

    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Typography Polish */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 500;
    /* Lighter weight for elegance */
    letter-spacing: -0.02em;
    /* Tight tracking */
}

/* Phosphor Icons Polish */
.ph {
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card .ph {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}



.service-card:hover .ph {
    transform: scale(1.05);
    /* Minimal nefes alma efekti */
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--glow-color));
    /* Glow efekti */
}

/* Glassmorphism Utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(10, 79, 163, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 79, 163, 0.4);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    /* Header yüksekliğine uygun ayar */
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    background-color: #fff;
    /* Header override */
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 1.2s linear;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    z-index: 1;
}

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

/* Background Parallax Effect */
.slide::before {
    content: '';
    position: absolute;
    inset: -5%;
    /* Slightly larger for parallax move */
    background: inherit;
    z-index: -1;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide.active::before {
    transform: scale(1.05) translate(1%, 1%);
}

.slide .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

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

/* Tiered Content Animations */
/* Hero Slider Styles and Templates */
.hero-content {
    display: grid;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.hero-content.template-standard {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content.template-standard .hero-text p {
    margin-left: auto;
    margin-right: auto;
}

.hero-content.template-services {
    grid-template-columns: 1.2fr 0.8fr;
}

/* Slider Engine v2: Layout Alignment Modes */
.hero-content.left-align {
    text-align: left;
    margin-right: auto;
}

.hero-content.right-align {
    text-align: right;
    margin-left: auto;
}

.hero-content.right-align .hero-text {
    order: 2;
}

.hero-content.right-align .hero-services {
    order: 1;
}

.hero-content.full-screen {
    width: 100%;
    max-width: none;
    padding: 0 4rem;
}

/* Slider Engine v2: Color Schemes */
.slide.light {
    background-color: #f8fafc;
    color: var(--text-color);
}

.slide.light .hero-text h1 {
    color: var(--primary-dark);
}

.slide.light .hero-text p {
    color: var(--text-light);
}

.slide.vibrant {
    background-image: linear-gradient(135deg, #004b72 0%, #00d2ff 100%) !important;
}

.slide.vibrant .hero-text h1,
.slide.vibrant .hero-text p {
    color: white;
}

/* Slider Engine v2: Template: Split Visual */
.template-split-visual {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 100vh;
}

.template-split-visual .hero-text {
    padding: 4rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: -0.03em;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s,
        opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s,
        opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}

.hero-cta {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s,
        opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s;
}

.hero-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateX(50px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s,
        opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s;
}

.slide.active .hero-text h1,
.slide.active .hero-text p,
.slide.active .hero-cta,
.slide.active .hero-services {
    transform: translate(0);
    opacity: 1;
}

.hero-services .service-card {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
}

.slide.active .hero-services .service-card:nth-child(1) {
    transition-delay: 1.1s;
}

.slide.active .hero-services .service-card:nth-child(2) {
    transition-delay: 1.3s;
}

/* Hub Services Grid (2-Column Premium Layout) */
.hub-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Strict 2-Column */
    gap: 1.5rem;
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .hub-services-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.hub-services-grid .service-card {
    opacity: 1 !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hub-services-grid .service-card:hover {
    background: white;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.hub-services-grid .service-card i {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-services-grid .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hub-services-grid .service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    background: var(--primary-color);
    border-radius: 10px;
}

/* Mobile Adjustments for Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 800px;
        /* Ensure space on mobile */
    }

    .slide {
        position: relative;
        /* Stack on mobile if absolute causes height issues, but keep structure */
        height: auto;
        padding: 4rem 0;
    }

    .slide:not(.active) {
        display: none;
        /* Simple hide for non-active on mobile */
    }

    .slide .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        transform: none;
        opacity: 1;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .slider-btn {
        display: none;
        /* Hide arrows on mobile, use swipe or dots */
    }
}

.service-card {
    background: transparent;
    /* Free flow as requested */
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    /* No border */
    box-shadow: none;
    /* No shadow by default */
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    /* Reveal on hover */
    backdrop-filter: blur(10px);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-card a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card a:hover {
    color: var(--accent-color);
}

/* Sections */
.content-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section:nth-child(even) {
    background-color: #f3f6fa;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #9ca3af;
}

.footer-col a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}




.form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #f9fafb;
    /* Light gray background */
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 79, 163, 0.1);
}

.btn-block {
    width: 100%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-block:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 79, 163, 0.2);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1.5rem;
}

/* Blog Section */
.blog-hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at top right, rgba(10, 79, 163, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 210, 255, 0.05), transparent 40%);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-image {
    height: 220px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-tag {
    background: rgba(0, 75, 114, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more:hover {
    gap: 0.5rem;
    color: var(--accent-color);
}

/* Single Post Styles */
.article-header {
    text-align: left;
    max-width: 100%;
    /* Context is now limited by parent */
    margin: 0 0 2rem;
    padding-top: 0;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    background: #e2e8f0;
    border-radius: 24px;
    margin-bottom: 3rem;
    margin-top: 100px;
    /* Spacing for fixed header */
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.25rem;
    margin: 2.5rem 0;
}

.author-box {
    background: #eff6ff;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 4rem auto;
    max-width: 720px;
    border: 1px solid rgba(10, 79, 163, 0.1);
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #cbd5e1;
    overflow: hidden;
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-featured-image {
        height: 250px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 900px) {

    /* Header & Nav */
    .header .container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
    }

    /* App-like Mobile Menu Overlay */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        max-width: 300px;
        transform: translateY(20px);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    nav.active ul {
        transform: translateY(0);
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 1rem;
        opacity: 0;
        animation: slideInMenu 0.5s forwards;
    }

    nav ul li:nth-child(1) {
        animation-delay: 0.1s;
    }

    nav ul li:nth-child(2) {
        animation-delay: 0.2s;
    }

    nav ul li:nth-child(3) {
        animation-delay: 0.3s;
    }

    nav ul li:nth-child(4) {
        animation-delay: 0.4s;
    }

    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav ul li a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-dark);
        display: block;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: var(--accent-color);
        transform: scale(1.05);
    }

    .btn-nav {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
        color: white !important;
        padding: 1rem 2rem !important;
        border-radius: 50px !important;
        box-shadow: 0 10px 30px rgba(0, 54, 82, 0.3);
        margin-top: 1rem;
        display: inline-block;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-visual {
        order: -1;
        /* Show image first on mobile if desired, or keep as is */
    }

    /* Service Cards */
    .hero-services {
        grid-template-columns: 1fr;
    }
}


/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-info .glass-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    background: rgba(0, 210, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.info-item span,
.info-item a {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding: 0;
        /* Remove wrapper padding to use full width */
    }

    .contact-form {
        /* This is a glass-panel, so we control its internal padding */
        padding: 1.5rem;
    }

    .contact-info .glass-panel {
        padding: 1.5rem;
    }
}

/* Services Summary Grid */
.services-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.summary-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    text-decoration: none;
    color: var(--text-color);
}

.summary-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.5s ease;
    color: var(--primary-color);
}

.summary-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.summary-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.summary-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

.summary-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color) !important;
}

/* Portfolio Grid Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-visual {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dynamic images are handled via inline styles in PHP */

.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 54, 82, 0.9) 0%, transparent 60%);
    transition: all 0.5s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover .portfolio-visual {
    transform: scale(1.1);
}

.portfolio-tags {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}

.portfolio-item:hover .portfolio-tags,
.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s;
}

.portfolio-item:hover .portfolio-link {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-item {
        height: 350px;
    }

    .portfolio-tags,
    .portfolio-overlay h3,
    .portfolio-overlay p,
    .portfolio-link {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Hizmetler Hub Styles */
.hub-tabs-wrapper {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 15px;
}

.hub-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.hub-tab {
    padding: 0.8rem 2rem;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.hub-tab.active {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(0, 54, 82, 0.3);
}

.hub-tab:hover:not(.active) {
    color: var(--primary-color);
    background: rgba(0, 54, 82, 0.05);
}

.hub-content-viewport {
    position: relative;
    min-height: 400px;
}

.hub-pane {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-pane.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .hub-tabs-wrapper {
        justify-content: flex-start;
        padding: 0 1rem 1rem;
    }
}

/* Modern Light Page Header */
.page-header-premium {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 8rem 0 5rem;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 210, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(10, 79, 163, 0.06), transparent 40%);
    pointer-events: none;
}

.page-header-premium .blog-tag {
    background: rgba(0, 75, 114, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 75, 114, 0.15);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-header-premium h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-premium p {
    font-size: 1.15rem;
    opacity: 0.75;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .page-header-premium {
        padding: 6rem 0 4rem;
    }

    .page-header-premium h1 {
        font-size: 2.5rem;
    }
}

/* Fix Blog Listing Title Visibility */
.blog-listing-page .content-section {
    position: relative;
    z-index: 5;
    margin-top: -2rem;
}

/* Slider Engine v3: Background Patterns */
.slide.pattern-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
}

.slide.pattern-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
}

.slide.pattern-circuit {
    background-image:
        radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.03) 2px, transparent 0),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 0),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 0) !important;
    background-size: 100px 100px, 100px 100px, 100px 100px !important;
}

.slide.pattern-waves {
    background: radial-gradient(circle at 100% 50%, transparent 20%, rgba(255, 255, 255, 0.02) 21%, rgba(255, 255, 255, 0.02) 34%, transparent 35%, transparent),
        radial-gradient(circle at 0% 50%, transparent 20%, rgba(255, 255, 255, 0.02) 21%, rgba(255, 255, 255, 0.02) 34%, transparent 35%, transparent) !important;
    background-size: 60px 120px !important;
}

/* Unified Grid System */
.grid-layout {
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Service Detail Page Responsive */
@media (max-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .service-detail-grid>div:first-child {
        order: 1;
    }

    .sticky-sidebar {
        position: static !important;
        order: 2;
    }
}

/* Strategic AI Suite Tabs */
.strategic-suite-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: rgba(0, 54, 82, 0.03);
    padding: 0.5rem;
    border-radius: 100px;
    width: fit-content;
}

.suite-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.95rem;
}

.suite-tab:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.5);
}

.suite-tab.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    border-color: rgba(0, 0, 0, 0.05);
}

.suite-content {
    animation: fadeIn 0.4s ease;
}

/* AI Demo Input Area */
.ai-demo-input-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.ai-demo-input-group input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-demo-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 75, 114, 0.1);
    outline: none;
}

@media (max-width: 600px) {
    .strategic-suite-tabs {
        width: 100%;
        overflow-x: auto;
        border-radius: 16px;
        padding: 10px;
        justify-content: flex-start;
    }

    .suite-tab {
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .ai-demo-input-group {
        flex-direction: column;
    }

    .ai-demo-input-group button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {

    .grid-cols-4,
    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-layout {
        gap: 1.5rem;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-light);
}

.empty-state i {
    display: block;
    margin-bottom: 1.5rem;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   FORM VALIDATION & FEEDBACK STYLES
   ============================================ */

/* Form Group Error State */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Error Message */
.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.error-message i {
    font-size: 1rem;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    color: #166534;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border: 1px solid #86efac;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.1);
}

.success-message i {
    font-size: 1.5rem;
}

/* Global Error Message */
.global-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.1);
}

.global-error i {
    font-size: 1.5rem;
}

/* ============================================
   LOADING OVERLAY & SPINNER
   ============================================ */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.spinner {
    background: white;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto 1rem;
    animation: fadeInScale 0.3s ease;
}

.spinner i {
    font-size: 3.5rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.loading-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* --- Digital Evolution / Vizyon Section Styles --- */

.aurora-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(10, 79, 163, 0.4), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 210, 255, 0.2), transparent 40%);
    animation: aurora 15s infinite linear;
    z-index: 0;
    filter: blur(60px);
    pointer-events: none;
}

@keyframes aurora {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid white;
}

.value-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(10, 79, 163, 0.15);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
    padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.timeline-content .date {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-dot.pulsing {
    background: var(--accent-color);
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
    animation: pulse-blue 2s infinite;
    border-color: white;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

.active-glow {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}



/* ============================================
   BUTTON LOADING STATE
   ============================================ */

button.loading,
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

button.loading::after,
.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Enhanced Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.service-card:focus,
.blog-card:focus,
.portfolio-item:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    transition: outline-offset 0.2s ease;
}

/* Remove default outline for mouse users, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Slider Dots Keyboard Navigation */
.slider-dots .dot:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    transform: scale(1.2);
}

.slider-dots .dot[aria-selected="true"] {
    background: var(--primary-color);
}

/* Navigation Focus States */
nav a:focus {
    background: rgba(0, 210, 255, 0.1);
    border-radius: 8px;
}

/* Button Focus Enhancement */
.btn:focus,
.btn-primary:focus,
.btn-premium:focus {
    box-shadow: var(--focus-ring), 0 8px 25px rgba(10, 79, 163, 0.4);
}

/* Form Focus States Already Defined Above */

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #4a5568;
        --border-color: #cbd5e0;
    }

    .btn-primary {
        border: 2px solid var(--primary-dark);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .slide,
    .slider-btn,
    .service-card,
    .portfolio-item {
        transition: none !important;
    }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ============================================
   UI POLISH (PHASE 6)
   ============================================ */

/* Tooltip Styles */
.tooltip {
    position: fixed;
    background: rgba(0, 54, 82, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 10000;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    margin-left: -4px;
    border-width: 4px;
    border-style: solid;
    border-color: rgba(0, 54, 82, 0.9) transparent transparent transparent;
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f2f5 25%, #e6e8eb 37%, #f0f2f5 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

/* Page Content Typography (Prose) */
.page-content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.page-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.page-content blockquote {
    border-left: 4px solid var(--accent-color);
    background: white;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-content img {
    border-radius: 12px;
    max-width: 100%;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-content .btn-premium {
    display: inline-block;
    margin-top: 1rem;
}

/* Sticky Sidebar for Service Detail */
.sticky-sidebar {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 110px;
    /* Header height (approx 80px) + 30px gap */
    height: fit-content;
    z-index: 10;
}

/* GEO Optimization Components */
.stat-highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.stat-highlight [itemprop="value"] {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-highlight [itemprop="description"] {
    font-size: 1.1rem;
    opacity: 0.9;
}

.key-takeaway {
    background: rgba(0, 210, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.key-takeaway strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.geo-ready-badge {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.geo-ready-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00d2ff, #004b72);
}

.geo-ready-badge h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.geo-ready-badge ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.geo-ready-badge ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
}

.geo-ready-badge ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Visible FAQ (Accordion) */
.faq-container {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.faq-container h3 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
    font-size: 1.5rem;
    text-align: center;
}

details {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

details[open] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

details summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
    color: var(--primary-color);
}

details .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
    border-top: 1px solid transparent;
}

details[open] .faq-answer {
    border-top-color: var(--border-color);
    padding-top: 1.5rem;
}

/* Premium Contact Form Base Styles */
#mainContactForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-col-1 {
    grid-column: span 1;
}

.form-col-2 {
    grid-column: span 2;
}

/* Responsive Form Styles */
@media (max-width: 768px) {

    /* Main Service Contact Form */
    #mainContactForm {
        display: flex !important;
        /* Force Flex column to guarantee stacking */
        flex-direction: column !important;
        gap: 1.2rem !important;
    }

    .form-col-1,
    .form-col-2 {
        width: 100% !important;
        grid-column: auto !important;
    }

    #offer-form-area {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
        border-radius: 16px !important;
    }

    #offer-form-area h2 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 0.8rem !important;
    }

    #offer-form-area p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    #mainContactForm input,
    #mainContactForm textarea {
        font-size: 16px !important;
        /* Prevent iOS zoom */
    }

    /* Success Message Responsive */
    #mainFormSuccess {
        padding: 2rem 1rem !important;
    }

    #mainFormSuccess h3 {
        font-size: 1.5rem !important;
    }

    #mainFormSuccess i.ph-check-circle {
        font-size: 3rem !important;
    }

    #mainFormSuccess div:first-child {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 1rem !important;
    }
}

/* =========================================
   Footer & Floating Elements Refactor
   ========================================= */

/* Footer Social & Layout */
.footer-logo img {
    max-height: 40px;
    margin-bottom: 1rem;
}

.footer-social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social-icon:hover {
    color: var(--accent-color);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-menu {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-link:hover {
    color: white;
}

/* Cookie Consent Banner */
#cookieConsentBanner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    justify-content: center;
}

#cookieConsentBanner.active {
    bottom: 0 !important;
}

.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.cookie-text {
    margin: 0;
    color: var(--body-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text strong {
    font-weight: 700;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    transition: transform 0.2s;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--text-light);
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-cookie-reject:hover {
    background: #f1f5f9;
    color: var(--text-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.floating-whatsapp .tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-whatsapp:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Adjustments for Footer Elements */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }

    .cookie-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}