:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --snappy-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --primary: #1a1d3f;
    --secondary: #2d3155;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --dark: #0f1117;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

body {
    background: linear-gradient(135deg, #1a1d3f 0%, #0f1117 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    /* content-visibility: auto; removed due to conflict with fixed positioning */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
}

/* ===== PARTICLES BACKGROUND ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 50%;
    animation: float-particle 25s infinite ease-in-out;
    will-change: transform;
    pointer-events: none;
}

.particle:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 60px; height: 60px; top: 70%; left: 80%; animation-delay: 5s; }
.particle:nth-child(3) { width: 100px; height: 100px; top: 40%; left: 60%; animation-delay: 10s; }
.particle:nth-child(4) { width: 70px; height: 70px; top: 80%; left: 20%; animation-delay: 15s; }

@keyframes float-particle {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.08; }
    50% { transform: translate3d(30px, -30px, 0); opacity: 0.12; }
}

/* ===== NAVBAR ===== */
.custom-navbar {
    backdrop-filter: blur(0px);
    background: rgba(15, 17, 23, 0);
    transition: all 0.4s var(--ease-out-expo);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    z-index: 1000;
}

.custom-navbar.scrolled {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(15, 17, 23, 0.9);
    padding: 0.8rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.main-logo {
    height: 120px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

.scrolled .main-logo {
    height: 75px;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-left: 2rem;
    position: relative;
    transition: all 0.3s var(--ease-out-expo);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    height: 2px;
    background: var(--gradient-1);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-light) !important;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-dropdown {
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.language-dropdown .dropdown-item {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
    transition: all 0.3s var(--ease-out-expo);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.language-dropdown .dropdown-item:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-light);
    transform: translateX(10px);
}

.language-dropdown .dropdown-item img {
    width: 20px;
    height: auto;
    border-radius: 3px;
}

.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggler-icon-custom span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero-container {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 250px;
}

.circle-graphic {
    position: absolute;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
}

.cg-top-left {
    top: -10%;
    left: -10%;
    width: 600px;
}

.cg-bottom-right {
    bottom: -10%;
    right: -10%;
    width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    animation: pulse-badge 2s infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-1);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradient-shift 4s ease infinite;
    will-change: background-position;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-sub {
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.3));
    will-change: transform;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0px, 0) rotate(0deg); }
    50% { transform: translate3d(0, -30px, 0) rotate(3deg); }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float-card 4s ease-in-out infinite;
    will-change: transform;
}

/* Hide floating cards on mobile */
@media (max-width: 768px) {
    .floating-card {
        display: none !important;
    }
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-light);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float-card {
    0%, 100% { transform: translate3d(0, 0px, 0); }
    50% { transform: translate3d(0, -20px, 0); }
}

/* Stats Counter */
.stats-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 120px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 10;
}

@media (max-width: 991px) {
    .scroll-indicator {
        display: none;
    }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 2s infinite;
}

@keyframes wheel-scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator p {
    font-size: 0.75rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== BUTTONS ===== */
.btn-accent {
    background: var(--gradient-1) !important;
    color: white !important;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    transition: transform 0.3s var(--ease-out-expo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Removed overflow: hidden so pseudo element shadows can bleed out */
    z-index: 1;
    will-change: transform;
}

.btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #818cf8 0%, #8b5cf6 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
    border-radius: inherit;
}

.btn-accent::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
    border-radius: inherit;
    z-index: -2;
}

.btn-accent:hover {
    transform: translateY(-3px);
}

.btn-accent:hover::before,
.btn-accent:hover::after {
    opacity: 1;
}

.btn-animated i {
    transition: transform 0.3s;
}

.btn-animated:hover i {
    transform: translateX(5px);
}

.btn-outline-animated {
    background: transparent !important;
    color: white !important;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: transform 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo), background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    will-change: transform;
    z-index: 1;
}

.btn-outline-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
    border-radius: inherit;
    z-index: -1;
}

.btn-outline-animated:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.btn-outline-animated:hover::after {
    opacity: 1;
}

.contact-link{
text-decoration:none;
color:inherit;
}

.contact-info-link{
text-decoration:none;
color:inherit;
display:block;
}

.contact-info-link:hover .contact-info-card{
transform:translateY(-3px);
cursor:pointer;
}
.contact-link:hover{
opacity:0.8;
}

/* ===== SECTION STYLES ===== */
section {
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
}

/* ===== SERVICES SECTION ===== */
.section-services {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 100%);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 25px;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
    height: 100%;
    position: relative;
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Hardware acceleration / layer promotion */
    backface-visibility: hidden;
}

.service-hover-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.service-card:hover .service-hover-effect {
    opacity: 1;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.s-icon {
    font-size: 2rem;
    color: white;
}

.service-desc {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.service-list li {
    margin-bottom: 12px;
    margin-top: 0;
    padding-left: 0;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
}

.service-list li:first-child {
    margin-top: 0;
}

.service-list li::before {
    content: "→";
    color: var(--accent);
    font-weight: bold;
    transition: all 0.3s;
    flex-shrink: 0;
    line-height: 1;
    width: 12px;
    display: inline-block;
    margin-top: 4px;
}

.service-list li:hover::before {
    transform: translateX(5px);
    will-change: transform;
}

.service-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
}

.service-list li:hover a {
    color: var(--accent-light);
}

/* ===== PORTFOLIO SECTION ===== */
.section-portfolio {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
}

.portfolio-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, border-color;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 0.2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

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

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 17, 23, 0.95) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.project-category {
    display: inline-block;
    background: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.overlay h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.overlay p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.project-arrow {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.portfolio-item:hover .project-arrow {
    background: var(--accent);
    transform: translate(5px, -5px);
}

.project-arrow i {
    font-size: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.section-contact {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 100%);
}

.contact-glass {
    background: rgba(15, 17, 23, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px 0;
    border-radius: 0;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-bottom-color: var(--accent);
    color: white;
    box-shadow: none;
    outline: none;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-line {
    height: 2px;
    width: 0;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.contact-form .form-control:focus + .input-line {
    width: 100%;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.contact-info-card p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(15, 17, 23, 0.8);
    backdrop-filter: blur(20px);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.footer-logo {
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 12px;
    display: block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
    bottom: -2px;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 10px;
}

.footer-links a:hover::before {
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient-1);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    transition: all 0.3s;
}

.newsletter-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: white;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
}

/* ===== RESPONSIVE ===== */
/* Tablet Landscape and Below */
@media (max-width: 991px) {
    /* Hero Section */
    .hero-container {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-text {
        font-size: 3.5rem;
        text-align: center;
    }
    
    .hero-sub {
        text-align: center;
    }
    
    .hero-container .d-flex {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
        text-align: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    /* Navigation */
    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
    
    /* Hide floating decorative elements */
    .floating-card {
        display: none;
    }

    /* Circle Graphics */
    .cg-top-left,
    .cg-bottom-right {
        width: 400px;
        opacity: 0.05;
    }

    /* Services Section */
    .service-card {
        margin-bottom: 1.5rem;
        will-change: transform, box-shadow;
}

    /* Portfolio */
    .portfolio-item {
        height: 300px;
        margin-bottom: 1.5rem;
        will-change: transform, border-color;
}

    /* Contact Section */
    .contact-info-card {
        margin-bottom: 1rem;
    }
}

/* Tablet Portrait and Below - PREMIUM SALES PAGE HERO */
@media (max-width: 768px) {
    /* Hide circle graphics on mobile */
    .circle-graphic {
        display: none !important;
    }

    /* HIDE HERO IMAGE ON MOBILE */
    .hero-image-wrapper,
    .hero-container .col-lg-5 {
        display: none !important;
    }

    /* Neutralize AOS animations */
    [data-aos="fade-right"],
    [data-aos="fade-left"],
    [data-aos="fade-up"],
    .hero-container [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* ===== PREMIUM HERO SECTION - SALES OPTIMIZED ===== */
    .hero-container {
        padding: 110px 0 70px;
        text-align: center !important;
        overflow: hidden !important;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        background: linear-gradient(180deg, 
            rgba(99, 102, 241, 0.08) 0%, 
            rgba(15, 17, 23, 0) 40%,
            rgba(99, 102, 241, 0.05) 100%
        );
    }

    .hero-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120%;
        height: 100%;
        background: radial-gradient(
            ellipse at center top,
            rgba(99, 102, 241, 0.15) 0%,
            transparent 50%
        );
        pointer-events: none;
    }

    /* Professional Tech Icons - Scattered Layout */
    .hero-container::after {
        content: '</>';
        position: absolute;
        top: 15%;
        right: 10%;
        font-size: 2.8rem;
        opacity: 0.12;
        font-weight: 700;
        color: rgba(129, 140, 248, 0.6);
        animation: float-icon 5s ease-in-out infinite;
        font-family: 'Courier New', monospace;
    }

    /* Additional tech icons using data attributes */
    .hero-badge::before {
        content: '{ }';
        position: absolute;
        top: -50px;
        left: -40px;
        font-size: 2.2rem;
        opacity: 0.1;
        color: rgba(167, 139, 250, 0.6);
        font-weight: 700;
        font-family: 'Courier New', monospace;
        animation: float-icon 4.5s ease-in-out infinite 0.5s;
        pointer-events: none;
    }

    .hero-text::before {
        content: '⚙️';
        position: absolute;
        top: -60px;
        right: -30px;
        font-size: 2rem;
        opacity: 0.11;
        animation: float-icon 5.5s ease-in-out infinite 1s;
        pointer-events: none;
    }

    .hero-text::after {
        content: '🤖';
        position: absolute;
        bottom: -70px;
        left: -50px;
        font-size: 2.3rem;
        opacity: 0.13;
        animation: float-icon 4.8s ease-in-out infinite 1.5s;
        pointer-events: none;
    }

    .hero-sub::before {
        content: '☁️';
        position: absolute;
        top: -40px;
        right: -35px;
        font-size: 2rem;
        opacity: 0.1;
        animation: float-icon 5.2s ease-in-out infinite 2s;
        pointer-events: none;
    }

    .stats-row::before {
        content: '🌐';
        position: absolute;
        bottom: -80px;
        right: -60px;
        font-size: 2.5rem;
        opacity: 0.12;
        animation: float-icon 4.7s ease-in-out infinite 2.5s;
        pointer-events: none;
    }

    .stats-row::after {
        content: '📱';
        position: absolute;
        top: -70px;
        left: -55px;
        font-size: 2.1rem;
        opacity: 0.11;
        animation: float-icon 5.3s ease-in-out infinite 3s;
        pointer-events: none;
    }

    @keyframes float-icon {
        0%, 100% { 
            transform: translateY(0px) rotate(0deg);
            opacity: 0.12;
        }
        50% { 
            transform: translateY(-25px) rotate(8deg);
            opacity: 0.16;
        }
    }

    .hero-container .container {
        max-width: 100% !important;
        padding: 0 24px !important;
        position: relative;
        z-index: 1;
    }

    .hero-container .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .hero-container .col-lg-7 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Premium Trust Badge */
    .hero-badge {
        margin-bottom: 28px !important;
        padding: 14px 32px;
        font-size: 0.8rem;
        font-weight: 700;
        background: linear-gradient(135deg, 
            rgba(99, 102, 241, 0.2) 0%, 
            rgba(139, 92, 246, 0.2) 100%
        );
        border: 2px solid rgba(99, 102, 241, 0.5);
        box-shadow: 
            0 0 30px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        text-transform: uppercase;
        letter-spacing: 1.2px;
        animation: badge-glow 3s ease-in-out infinite;
    }

    @keyframes badge-glow {
        0%, 100% { 
            box-shadow: 
                0 0 30px rgba(99, 102, 241, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }
        50% { 
            box-shadow: 
                0 0 40px rgba(99, 102, 241, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
    }

    .badge-dot {
        width: 10px;
        height: 10px;
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
    }

    /* Premium Typography - Sales Focused */
    .hero-text {
        font-size: 2.85rem !important;
        line-height: 1.12;
        margin-bottom: 28px !important;
        font-weight: 900;
        letter-spacing: -1.8px;
        text-align: center !important;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        position: relative;
    }

    .gradient-text {
        display: block;
        background: linear-gradient(135deg, 
            #818cf8 0%, 
            #a78bfa 50%, 
            #c084fc 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.4));
        animation: gradient-pulse 4s ease-in-out infinite;
        margin-top: 8px;
    }

    @keyframes gradient-pulse {
        0%, 100% { 
            filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.4));
        }
        50% { 
            filter: drop-shadow(0 0 35px rgba(129, 140, 248, 0.6));
        }
    }
    
    .hero-sub {
        font-size: 1.2rem !important;
        line-height: 1.75;
        margin-bottom: 36px !important;
        padding: 0 16px;
        opacity: 0.92;
        font-weight: 400;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    }

    /* Premium CTA Buttons - Conversion Optimized */
    .hero-container .d-flex.flex-wrap,
    .hero-container .mt-4.d-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        width: 100% !important;
        margin-top: 32px !important;
        padding: 0 8px;
    }

    .hero-container .btn {
        width: 100% !important;
        max-width: 340px !important;
        min-width: unset;
        padding: 18px 36px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-radius: 50px;
        box-shadow: 0 10px 35px rgba(99, 102, 241, 0.4);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        letter-spacing: 0.3px;
    }

    .hero-container .btn-accent {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border: 2px solid transparent;
        box-shadow: 
            0 12px 40px rgba(102, 126, 234, 0.45),
            inset 0 -2px 10px rgba(0, 0, 0, 0.2);
        will-change: transform, box-shadow;
}

    .hero-container .btn-accent::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.3), 
            transparent
        );
        transition: left 0.5s;
    }

    .hero-container .btn-accent:active::before {
        left: 100%;
    }

    .hero-container .btn-outline-animated {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 2px solid rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(10px);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .hero-container .btn:active {
        transform: scale(0.97);
    }

    .hero-container .btn i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .hero-container .btn:hover i {
        transform: translateX(4px);
    }

    /* Premium Trust Indicators / Stats - SEPARATE ANIMATED BLOCKS */
    .stats-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        margin-top: 48px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        position: relative;
        overflow: visible;
    }

    .stat-item {
        flex: 0 0 auto;
        text-align: center !important;
        padding: 18px 24px !important;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 100%
        );
        backdrop-filter: blur(20px);
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: stat-float 4s ease-in-out infinite;
        min-width: 110px;
    }

    /* Individual floating animation with different delays */
    .stat-item:nth-child(1) {
        animation: stat-float 4s ease-in-out infinite 0s;
    }

    .stat-item:nth-child(2) {
        animation: stat-float 4s ease-in-out infinite 0.8s;
    }

    .stat-item:nth-child(3) {
        animation: stat-float 4s ease-in-out infinite 1.6s;
    }

    @keyframes stat-float {
        0%, 100% {
            transform: translateY(0px);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 0 rgba(99, 102, 241, 0);
        }
        50% {
            transform: translateY(-12px);
            box-shadow: 
                0 16px 48px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 40px 8px rgba(99, 102, 241, 0.25);
        }
    }

    /* Animated gradient border for each block */
    .stat-item::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: 18px;
        padding: 1px;
        background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.5),
            rgba(167, 139, 250, 0.5),
            rgba(192, 132, 252, 0.5)
        );
        -webkit-mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
        mask: 
            linear-gradient(#fff 0 0) content-box, 
            linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.4s;
        animation: border-pulse 3s ease-in-out infinite;
    }

    @keyframes border-pulse {
        0%, 100% { opacity: 0; }
        50% { opacity: 1; }
    }

    /* Staggered border animation */
    .stat-item:nth-child(1)::before {
        animation-delay: 0s;
    }

    .stat-item:nth-child(2)::before {
        animation-delay: 1s;
    }

    .stat-item:nth-child(3)::before {
        animation-delay: 2s;
    }

    /* Remove divider line */
    .stat-item::after {
        display: none !important;
    }

    .stat-item h3 {
        font-size: 2rem !important;
        margin-bottom: 6px !important;
        font-weight: 900 !important;
        background: linear-gradient(135deg, 
            #818cf8 0%, 
            #a78bfa 50%, 
            #c084fc 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 2px 12px rgba(129, 140, 248, 0.4));
        line-height: 1;
        animation: number-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
        position: relative;
    }

    /* Staggered number pop animation */
    .stat-item:nth-child(1) h3 {
        animation-delay: 0.2s;
    }

    .stat-item:nth-child(2) h3 {
        animation-delay: 0.4s;
    }

    .stat-item:nth-child(3) h3 {
        animation-delay: 0.6s;
    }

    @keyframes number-pop {
        0% {
            opacity: 0;
            transform: scale(0.5) rotate(-10deg);
        }
        100% {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }
    }

    /* Continuous subtle glow */
    .stat-item h3::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120%;
        height: 120%;
        border-radius: 50%;
        background: radial-gradient(circle, 
            rgba(129, 140, 248, 0.2) 0%, 
            transparent 70%
        );
        animation: glow-pulse 2.5s ease-in-out infinite;
        z-index: -1;
    }

    @keyframes glow-pulse {
        0%, 100% {
            opacity: 0.4;
            transform: translate(-50%, -50%) scale(0.9);
        }
        50% {
            opacity: 0.7;
            transform: translate(-50%, -50%) scale(1.1);
        }
    }

    .stat-item p {
        font-size: 0.7rem !important;
        opacity: 0.9 !important;
        line-height: 1.3;
        font-weight: 600 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.95);
        margin: 0;
        white-space: nowrap;
        animation: text-slide 0.5s ease-out backwards;
    }

    /* Staggered text animation */
    .stat-item:nth-child(1) p {
        animation-delay: 0.4s;
    }

    .stat-item:nth-child(2) p {
        animation-delay: 0.6s;
    }

    .stat-item:nth-child(3) p {
        animation-delay: 0.8s;
    }

    @keyframes text-slide {
        0% {
            opacity: 0;
            transform: translateY(15px);
        }
        100% {
            opacity: 0.9;
            transform: translateY(0);
        }
    }
    
    /* ===== PROFESSIONAL SERVICES SECTION ===== */
    .section-services {
        padding: 60px 0 !important;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 8px 20px;
        margin-bottom: 16px;
    }

    .display-4 {
        font-size: 2rem !important;
        line-height: 1.25;
        margin-bottom: 48px !important;
        text-align: center;
    }

    .service-card {
        padding: 32px 24px;
        margin-bottom: 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(15px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        will-change: transform, box-shadow;
}

    .service-icon-wrapper {
        width: 64px;
        height: 64px;
        margin: 0 auto 20px !important;
    }

    .s-icon {
        font-size: 1.8rem;
    }

    .service-card h5 {
        font-size: 1.35rem;
        margin-bottom: 12px;
        font-weight: 700;
    }

    .service-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .service-list li {
        font-size: 0.9rem;
        margin-bottom: 10px;
        padding: 8px 0;
    }
    
    /* ===== PROFESSIONAL PORTFOLIO SECTION ===== */
    .section-portfolio {
        padding: 60px 0 !important;
    }

    .portfolio-item {
        height: 280px;
        margin-bottom: 20px;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        will-change: transform, border-color;
}

    .overlay {
        padding: 24px;
    }

    .overlay h5 {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .overlay p {
        font-size: 0.85rem;
    }

    .project-category {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .project-arrow {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .project-arrow i {
        font-size: 1.15rem;
    }
    
    /* ===== PROFESSIONAL CONTACT SECTION ===== */
    .section-contact {
        padding: 60px 0 !important;
    }

    .contact-glass {
        padding: 32px 24px !important;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(15px);
    }

    .contact-form .form-control {
        padding: 14px 0;
        font-size: 0.95rem;
    }

    .contact-form button {
        padding: 14px 28px !important;
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .contact-info-card {
        padding: 24px 20px;
        margin-bottom: 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.04);
        backdrop-filter: blur(10px);
    }

    .contact-info-card i {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .contact-info-card p {
        font-size: 0.9rem;
    }

    .btn-whatsapp {
        padding: 14px 28px !important;
        font-size: 0.95rem;
        box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3);
    }

    /* ===== PROFESSIONAL FOOTER ===== */
    .footer {
        padding: 60px 0 32px;
        text-align: center;
    }

    .footer-logo {
        height: 50px;
        margin: 0 auto 24px;
    }

    .footer h6 {
        font-size: 1.05rem;
        margin-bottom: 16px !important;
        font-weight: 700;
    }

    .footer-links a {
        font-size: 0.9rem;
        margin-bottom: 12px;
        padding: 8px 0;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 24px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: row;
        border-radius: 50px;
        padding: 6px;
    }

    .newsletter-form input {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    /* Back to Top */
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 24px;
        right: 24px;
        font-size: 1.3rem;
    }

    /* Section Spacing */
    section.py-5 {
        padding: 48px 0 !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }
}

/* Mobile Phones - PREMIUM SALES OPTIMIZED */
@media (max-width: 576px) {
    /* Hero Section Premium Enhancement */
    .hero-container {
        padding: 100px 16px 70px;
        min-height: 100vh;
        background: linear-gradient(180deg, 
            rgba(99, 102, 241, 0.1) 0%, 
            rgba(15, 17, 23, 0) 35%,
            rgba(99, 102, 241, 0.06) 100%
        );
    }

    .hero-container .container {
        padding: 0 20px !important;
    }

    /* Premium Badge - Smaller Screens */
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 12px 26px !important;
        margin-bottom: 24px !important;
        border-width: 1.5px;
    }

    .badge-dot {
        width: 9px;
        height: 9px;
    }

    /* Premium Typography - Mobile Optimized */
    .hero-text {
        font-size: 2.4rem !important;
        letter-spacing: -1.2px;
        margin-bottom: 24px !important;
        line-height: 1.15;
    }

    .gradient-text {
        margin-top: 6px;
    }

    .hero-sub {
        font-size: 1.1rem !important;
        margin-bottom: 32px !important;
        padding: 0 12px;
        line-height: 1.7;
    }

    /* Premium CTA - Full Width Stack */
    .hero-container .d-flex.flex-wrap,
    .hero-container .mt-4.d-flex {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 28px !important;
    }

    .hero-container .btn {
        width: 100% !important;
        max-width: 320px !important;
        min-width: unset !important;
        padding: 17px 32px !important;
        font-size: 0.98rem !important;
        flex: unset;
    }

    .hero-container .btn-accent {
        box-shadow: 
            0 10px 38px rgba(102, 126, 234, 0.5),
            inset 0 -2px 10px rgba(0, 0, 0, 0.2);
        will-change: transform, box-shadow;
}

    /* Premium Stats - SEPARATE ANIMATED BLOCKS */
    .stats-row {
        gap: 12px !important;
        margin-top: 40px !important;
        padding: 0 !important;
    }

    .stat-item {
        padding: 16px 20px !important;
        min-width: 100px;
        border-radius: 16px;
    }

    .stat-item::before {
        border-radius: 16px;
    }

    .stat-item h3 {
        font-size: 1.75rem !important;
        margin-bottom: 5px !important;
    }

    .stat-item p {
        font-size: 0.65rem !important;
        letter-spacing: 0.8px;
    }

    /* Navbar Enhanced */
    .main-logo {
        height: 90px;
    }

    .scrolled .main-logo {
        height: 65px;
    }

    .navbar-collapse {
        background: rgba(15, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 16px;
        margin-top: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Services Enhanced */
    .display-4 {
        font-size: 1.75rem !important;
        margin-bottom: 40px !important;
    }

    .service-card {
        padding: 28px 20px;
        margin-bottom: 16px;
        will-change: transform, box-shadow;
}

    .service-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-bottom: 16px !important;
    }

    .s-icon {
        font-size: 1.6rem;
    }

    .service-card h5 {
        font-size: 1.2rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .service-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    /* Portfolio Enhanced */
    .portfolio-item {
        height: 240px;
        margin-bottom: 16px;
        will-change: transform, border-color;
}

    .overlay {
        padding: 20px;
    }

    .overlay h5 {
        font-size: 1.1rem;
    }

    .overlay p {
        font-size: 0.8rem;
    }

    .project-category {
        font-size: 0.65rem;
        padding: 5px 12px;
    }

    /* Contact Enhanced */
    .contact-glass {
        padding: 28px 20px !important;
    }

    .contact-form .form-control {
        padding: 12px 0;
        font-size: 0.9rem;
    }

    .contact-form button {
        padding: 12px 24px !important;
        font-size: 0.9rem;
    }

    .contact-info-card {
        padding: 20px 16px;
    }

    .contact-info-card i {
        font-size: 1.5rem;
    }

    .contact-info-card p {
        font-size: 0.85rem;
    }

    /* Footer Enhanced */
    .footer {
        padding: 50px 0 28px;
    }

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

    .footer h6 {
        font-size: 1rem;
        margin-bottom: 14px !important;
    }

    .footer-links a {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .newsletter-form {
        padding: 5px;
    }

    .newsletter-form input {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .newsletter-form button {
        width: 38px;
        height: 38px;
    }

    /* Back to Top */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    /* Section Spacing */
    section.py-5 {
        padding: 40px 0 !important;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Extra Small Devices - Premium Compact */
@media (max-width: 375px) {
    .hero-container {
        padding: 90px 12px 60px;
    }

    .hero-badge {
        font-size: 0.7rem !important;
        padding: 10px 22px !important;
    }

    .badge-dot {
        width: 8px;
        height: 8px;
    }

    .hero-text {
        font-size: 2.1rem !important;
        letter-spacing: -1px;
        margin-bottom: 20px !important;
    }

    .hero-sub {
        font-size: 1.05rem !important;
        margin-bottom: 28px !important;
        padding: 0 8px;
    }

    .hero-container .btn {
        max-width: 290px !important;
        padding: 16px 28px !important;
        font-size: 0.95rem !important;
    }

    .stats-row {
        gap: 10px !important;
        margin-top: 36px !important;
    }

    .stat-item {
        padding: 14px 18px !important;
        min-width: 90px;
        border-radius: 14px;
    }

    .stat-item::before {
        border-radius: 14px;
    }

    .stat-item h3 {
        font-size: 1.6rem !important;
    }

    .stat-item p {
        font-size: 0.6rem !important;
        letter-spacing: 0.7px;
    }

    .display-4 {
        font-size: 1.6rem !important;
    }

    .service-card {
        padding: 24px 16px;
        will-change: transform, box-shadow;
}

    .portfolio-item {
        height: 220px;
        will-change: transform, border-color;
}
}

/* Language Specific Adjustments */
html[lang="az"] .hero-text,
html[lang="ru"] .hero-text {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

@media (max-width: 768px) {
    html[lang="az"] .hero-text,
    html[lang="ru"] .hero-text {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

/* News Section Styles */
.section-news {
    background: linear-gradient(180deg, rgba(14, 16, 21, 0) 0%, rgba(10, 12, 16, 0.5) 100%);
    position: relative;
    z-index: 1;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

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

.news-date {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--accent);
}

.news-excerpt {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    margin-top: auto;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--accent);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}

/* ===== SERVICE PAGES ===== */
.service-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

.breadcrumb-custom {
    font-size: 0.9rem;
    opacity: 0.7;
}

.breadcrumb-custom a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-custom a:hover {
    color: var(--accent);
}

.breadcrumb-custom span {
    color: var(--accent);
}

.service-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.service-hero-icon {
    font-size: 20rem;
    color: var(--accent);
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.05); }
}

.service-detail-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 25px;
    transition: all 0.4s;
    height: 100%;
}

.service-detail-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 25px;
    transition: 0.4s;
}

.service-detail-card:hover .service-detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-detail-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-detail-card p {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Process Cards */
.process-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.process-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 25px;
    transition: 0.4s;
}

.process-card:hover .process-number {
    transform: scale(1.15) rotate(360deg);
}

.process-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-card p {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Technology Cards */
.tech-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
    transition: 0.3s;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
    color: var(--accent-light);
}

.tech-card p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Background Gradient Section */
.bg-gradient-section {
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

.pricing-badge {
    display: inline-block;
    background: var(--accent);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.pricing-period {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    transition: 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    opacity: 0.8;
    line-height: 1.8;
}

/* ===== SERVICE PAGES MOBILE RESPONSIVENESS ===== */
@media (max-width: 991px) {
    .service-hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .service-hero .row {
        justify-content: center;
        text-align: center;
    }

    .service-hero-image {
        margin-top: 40px;
        transform: scale(0.8);
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    .breadcrumb-custom {
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
    }
}
/* ============================================================
   PERFORMANCE PATCH — styles.css-in sonuna əlavə et
   ============================================================ */

/* 1. will-change — yalnız hover zamanı aktivləşir, daima yazılmır */
.service-card:hover,
.portfolio-item:hover,
.floating-card:hover {
    will-change: transform;
}

/* 2. Mobil: backdrop-filter söndürülür (GPU yükünü azaldır) */
@media (max-width: 768px) {
    .custom-navbar,
    .custom-navbar.scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 17, 23, 0.97) !important;
    }

    .contact-glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 17, 23, 0.92) !important;
    }

    .service-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .language-dropdown {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 17, 23, 0.99) !important;
    }

    /* Particle-ları mobil cihazda gizlət */
    .particles-container {
        display: none !important;
    }
}

/* 3. Particles — ayrı compositor layer, repaint izolasiyası */
.particles-container {
    contain: strict;
    transform: translateZ(0);
}

/* 4. Hero image wrapper — yalnız desktop-da contain */
@media (min-width: 992px) {
    .hero-image-wrapper {
        contain: layout style;
    }
}

/* 5. Service və portfolio card-larda will-change sıfırla (daimi yük olmasın) */
.service-card,
.portfolio-item {
    will-change: auto;
}

/* 6. Mobil: tilt/3d efektlər yoxdur, transform sadə olsun */
@media (max-width: 768px) {
    .service-card:hover {
        transform: translateY(-6px) !important;
        will-change: auto;
    }
    .portfolio-item:hover {
        transform: translateY(-6px) !important;
        will-change: auto;
    }
}
/* ============================================================
   HERO PERFORMANCE FIX — styles.css-də aşağıdakı selektorları
   tap və bu versiyalarla əvəz et
   ============================================================ */

/* 1. PARTICLES — hero görünəndə çox animation var, sadələşdir */
.particle {
    position: absolute;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 50%;
    animation: float-particle 30s infinite ease-in-out;
    will-change: transform;
    pointer-events: none;
    contain: strict; /* ← izolasiya, qalan layout-u etkiləməsin */
}

/* Yalnız 2 particle saxla, digər 2-ni gizlət (index.html-dəki 3,4-cü div) */
.particle:nth-child(3),
.particle:nth-child(4) {
    display: none;
}

/* 2. HERO IMAGE — float animasiyası GPU layer-də qalsın */
.hero-image {
    animation: float 8s ease-in-out infinite; /* 6s → 8s, daha az frame */
    will-change: transform;
    transform: translateZ(0);
    contain: layout style;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0px, 0); }
    50%       { transform: translate3d(0, -20px, 0); } /* -30px → -20px */
}

/* 3. GRADIENT TEXT — animation söndür, static gradient saxla */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 100% auto; /* 200% → 100%, shift animation lazım deyil */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* animation: gradient-shift → SÖNDÜRÜLDÜ */
    animation: none;
    will-change: auto;
}

/* 4. STAT ITEMS — 3 ayrı animation əvəzinə 1 sadə animation */
.stat-item {
    animation: stat-float-simple 5s ease-in-out infinite;
    contain: layout style;
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.9s; }
.stat-item:nth-child(3) { animation-delay: 1.8s; }

@keyframes stat-float-simple {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* border-pulse — bu çox ağır idi (mask + animation), söndür */
.stat-item::before {
    animation: none;
    opacity: 0;
}
.stat-item:hover::before {
    opacity: 1; /* yalnız hover-da göstər */
}

/* stat h3 glow — sadələşdir */
.stat-item h3::after {
    display: none; /* bu radial-gradient + animation çox ağır idi */
}

/* 5. HERO CONTAINER pseudo-elementlər (mobil) — bunlar paint-i artırır */
@media (max-width: 768px) {
    .hero-container::before,
    .hero-container::after {
        display: none !important;
    }
    .hero-badge::before,
    .hero-text::before,
    .hero-text::after,
    .hero-sub::before,
    .stats-row::before,
    .stats-row::after {
        display: none !important;
    }
    /* Mobil stat item-də animation yox, statik göstər */
    .stat-item {
        animation: none;
    }
}

/* 6. FLOATING CARDS — will-change düzəlt */
.floating-card {
    will-change: transform;
    contain: layout style;
}

/* 7. HERO CONTAINER — contain əlavə et */
.hero-container {
    contain: layout;
}
/* ===== MOBILE TOP WHITESPACE FIX ===== */
/* Telefonda navbar yüksəkliyi böyük logo səbəbindən artır,
   service-hero və hero-container padding-top həmin yüksəkliyə uyğunlaşdırılır */

/* iPhone safe-area (notch / Dynamic Island) fix */
.custom-navbar {
    padding-top: max(0.5rem, env(safe-area-inset-top)) !important;
}

@supports (padding-top: env(safe-area-inset-top)) {
    .custom-navbar {
        padding-top: env(safe-area-inset-top) !important;
    }
    .hero-container,
    .service-hero {
        padding-top: calc(100px + env(safe-area-inset-top)) !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0 !important;
    }

    .custom-navbar {
        padding: 0.5rem 0 !important;
        padding-top: max(0.5rem, env(safe-area-inset-top)) !important;
    }

    .custom-navbar.scrolled {
        padding: 0.5rem 0 !important;
        padding-top: max(0.5rem, env(safe-area-inset-top)) !important;
    }

    .main-logo {
        height: 60px !important;
    }

    .scrolled .main-logo {
        height: 55px !important;
    }

    /* hero-container (index.html) */
    .hero-container {
        padding-top: 90px !important;
        padding-bottom: 80px !important;
    }

    /* service-hero (bütün xidmət səhifələri) */
    .service-hero {
        padding-top: 90px !important;
        padding-bottom: 60px !important;
        min-height: unset !important;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding-top: 85px !important;
        padding-bottom: 60px !important;
    }

    .service-hero {
        padding-top: 85px !important;
    }
}




/* ===== BLOG ARTICLE STYLES ===== */
.blog-hero {
    min-height: unset !important;
    padding-top: 130px !important;
    padding-bottom: 50px !important;
}

.blog-meta {
    opacity: 0.7;
    font-size: 0.9rem;
    color: var(--accent);
}

.blog-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 1.25;
}

.blog-article-body {
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ===== BLOG PAGES REFINED ===== */
.blog-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 100px;
    margin-bottom: 0;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 17, 23, 0.9) 0%, rgba(15, 17, 23, 0.7) 50%, rgba(15, 17, 23, 1) 100%);
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--accent-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.blog-article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.blog-featured-image {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.blog-article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.blog-article-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

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

.blog-article-body ul, .blog-article-body ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.blog-article-body li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 28px;
}

.blog-article-body ul li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-size: 1.1rem;
}

.blog-note-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--accent);
    padding: 24px;
    border-radius: 0 16px 16px 0;
    margin: 2.5rem 0;
}

.blog-note-box h4 {
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-note-box p {
    margin-bottom: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.blog-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
}

.blog-article-body .table {
    margin-bottom: 0;
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}

.blog-article-body .table th {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(255,255,255,0.1);
    padding: 15px;
}

.blog-article-body .table td {
    padding: 15px;
    border-color: rgba(255,255,255,0.05);
}

.blog-article-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 1;
    border-left: none;
    padding-left: 0;
}

.share-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-title {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-links {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.breadcrumb-custom span {
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* Language switcher buttons on blog pages */
.lang-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

@media (max-width: 991px) {
    .blog-hero {
        padding: 140px 0 80px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }
    .blog-featured-image {
        margin-bottom: 2rem;
    }
    .blog-article-body h2 {
        font-size: 1.6rem;
        margin-top: 2.5rem;
    }
    .blog-article-body h3 {
        font-size: 1.25rem;
    }
    .blog-article-body {
        font-size: 1rem;
    }
    .breadcrumb-custom span {
        max-width: 140px;
    }
}


/* ===== FAQ ACCORDION ===== */
.faq-accordion-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion-btn {
    background: transparent !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 24px;
    border: none !important;
    box-shadow: none !important;
}

.faq-accordion-btn:not(.collapsed) {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.faq-accordion-btn::after {
    filter: invert(1);
}

.faq-accordion-btn:focus {
    box-shadow: none !important;
}

.faq-accordion-body {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.75);
    padding: 0 24px 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== SEO CARD BLOCK ===== */
.seo-text-block {
    background: transparent;
}

.seo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.seo-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2);
}

.seo-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.seo-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.seo-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    line-height: 1.8;
    margin: 0;
}

.seo-card strong {
    color: rgba(255, 255, 255, 0.92);
}

/* ===== EQUAL HEIGHT CARD FIX ===== */
.row.align-items-stretch .service-detail-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== BLOG PAGES PREMIUM DESIGN ===== */

.blog-hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    z-index: 1;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 17, 23, 0.7) 0%, rgba(15, 17, 23, 0.98) 100%);
    z-index: -1;
}

.blog-meta {
    font-size: 0.95rem;
    color: var(--accent-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25;
    text-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.blog-article-body {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 60px;
}

.blog-article-body p.lead {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
}

.blog-article-body p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 25px;
}

.blog-article-body h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.blog-article-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 4px;
}

.blog-article-body h3 {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-article-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 35px;
}

.blog-article-body ul li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
    padding-left: 35px;
    position: relative;
    line-height: 1.7;
}

.blog-article-body ul li::before {
    content: '\F63B';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.blog-featured-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s var(--ease-out-expo);
}

.blog-featured-image:hover {
    transform: scale(1.02);
}

.blog-note-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-left: 5px solid var(--accent);
    padding: 35px;
    border-radius: 0 20px 20px 0;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-note-box h4 {
    color: var(--accent-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.blog-note-box p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.blog-table-wrap {
    overflow-x: auto;
    border-radius: 15px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.blog-table-wrap table {
    width: 100%;
    margin-bottom: 0;
}

.blog-table-wrap th {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #fff;
    padding: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-table-wrap td {
    padding: 18px 20px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent !important;
}

.blog-table-wrap tr:last-child td {
    border-bottom: none;
}

.blog-table-wrap tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #fff;
}

@media (max-width: 991px) {
    .blog-hero {
        padding-top: 150px;
        padding-bottom: 80px;
    }
    
    .blog-article-body {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .blog-hero-title {
        font-size: 2.2rem;
    }
    
    .blog-article-body {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .blog-article-body p.lead {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }
    
    .blog-article-body p {
        font-size: 1rem;
    }
    
    .blog-article-body h2 {
        font-size: 1.6rem;
        margin-top: 40px;
    }
    
    .blog-article-body h3 {
        font-size: 1.3rem;
    }
    
    .blog-article-body ul li {
        font-size: 1rem;
    }
    
    .blog-note-box {
        padding: 25px;
        margin: 35px 0;
    }
    
    .blog-table-wrap {
        margin: 30px 0;
    }
    
    .blog-table-wrap td, .blog-table-wrap th {
        padding: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .blog-article-body {
        padding: 25px 15px;
    }
    
    .blog-hero-title {
        font-size: 1.8rem;
    }
}


/* ============================================================
   COMPREHENSIVE MOBILE & BLOG REDESIGN — FINAL PATCH
   ============================================================ */

/* ===== 1. NAVBAR MOBILE FIX ===== */
/* Remove transparent start — match bg color on mobile */
@media (max-width: 991px) {
    .custom-navbar {
        background: rgba(15, 17, 23, 0.97) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0.6rem 0 !important;
    }
    .custom-navbar .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .main-logo {
        height: 64px !important;
    }
    .scrolled .main-logo {
        height: 56px !important;
    }
    .navbar-collapse {
        background: rgba(15, 17, 23, 0.99);
        border-top: 1px solid rgba(99, 102, 241, 0.2);
        padding: 1rem 1.5rem 1.5rem;
        margin-top: 0.5rem;
        border-radius: 0 0 16px 16px;
    }
    .nav-link {
        margin-left: 0 !important;
        padding: 0.6rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 1rem;
    }
    .language-switcher {
        padding-top: 0.75rem;
        justify-content: flex-start;
    }
    .lang-btn {
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
    }
}

/* ===== 2. BLOG HERO — MOBILE FULL OVERHAUL ===== */
/* Remove background-attachment:fixed (broken on iOS) */
.blog-hero {
    background-attachment: scroll !important;
}

@media (max-width: 991px) {
    .blog-hero {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }
    .blog-hero-title {
        font-size: clamp(1.6rem, 5vw, 2.6rem) !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding-top: 100px !important;
        padding-bottom: 50px !important;
        min-height: unset !important;
    }
    .blog-hero::before {
        background: linear-gradient(to bottom,
            rgba(15, 17, 23, 0.88) 0%,
            rgba(15, 17, 23, 0.72) 50%,
            rgba(15, 17, 23, 1) 100%) !important;
    }
    .blog-hero-title {
        font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
        line-height: 1.3 !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #fff !important;
        background-clip: unset !important;
        text-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
    }
    .blog-meta {
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
    }
    .breadcrumb-custom {
        font-size: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }
    .breadcrumb-custom span {
        max-width: 160px !important;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }
    .blog-hero-title {
        font-size: 1.35rem !important;
    }
}

/* ===== 3. BLOG ARTICLE BODY — MOBILE PADDING ===== */
@media (max-width: 991px) {
    .blog-article-body {
        padding: 36px 28px !important;
        border-radius: 20px !important;
    }
    .blog-article-body h2 {
        font-size: 1.7rem !important;
        margin-top: 40px !important;
    }
    .blog-article-body h3 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 768px) {
    article.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .blog-article-body {
        padding: 24px 18px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25) !important;
        margin-bottom: 2rem !important;
    }
    .blog-article-body p.lead {
        font-size: 1.05rem !important;
        line-height: 1.75 !important;
        margin-bottom: 24px !important;
    }
    .blog-article-body p {
        font-size: 0.97rem !important;
        line-height: 1.8 !important;
        margin-bottom: 18px !important;
    }
    .blog-article-body h2 {
        font-size: 1.45rem !important;
        margin-top: 32px !important;
        margin-bottom: 16px !important;
    }
    .blog-article-body h3 {
        font-size: 1.2rem !important;
        margin-top: 28px !important;
        margin-bottom: 12px !important;
    }
    .blog-article-body ul li {
        font-size: 0.95rem !important;
        padding-left: 28px !important;
        margin-bottom: 12px !important;
    }
    .blog-article-body ul li::before {
        font-size: 1rem !important;
    }
    .blog-note-box {
        padding: 20px 18px !important;
        margin: 28px 0 !important;
        border-radius: 0 14px 14px 0 !important;
    }
    .blog-note-box h4 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    .blog-note-box p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .blog-article-body {
        padding: 20px 14px !important;
        border-radius: 12px !important;
    }
    .blog-article-body h2 {
        font-size: 1.3rem !important;
    }
    .blog-article-body h3 {
        font-size: 1.1rem !important;
    }
}

/* ===== 4. BLOG FEATURED IMAGE — RESPONSIVE ===== */
.blog-featured-image {
    width: 100% !important;
    height: auto !important;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px !important;
    margin-bottom: 40px !important;
    display: block;
}

@media (max-width: 768px) {
    .blog-featured-image {
        border-radius: 14px !important;
        margin-bottom: 28px !important;
        max-height: 240px !important;
    }
}

@media (max-width: 480px) {
    .blog-featured-image {
        border-radius: 10px !important;
        margin-bottom: 20px !important;
        max-height: 200px !important;
    }
}

/* ===== 5. BLOG TABLE — HORIZONTAL SCROLL ===== */
@media (max-width: 768px) {
    .blog-table-wrap {
        margin: 24px -4px !important;
        border-radius: 12px !important;
    }
    .blog-table-wrap th,
    .blog-table-wrap td {
        padding: 12px 14px !important;
        font-size: 0.88rem !important;
    }
}

/* ===== 6. GENERAL CONTAINER MOBILE PADDING ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ===== 7. FOOTER MOBILE ===== */
@media (max-width: 768px) {
    .footer {
        padding: 48px 0 24px !important;
    }
    .footer .col-lg-4.col-md-12 {
        text-align: center;
    }
    .footer .social-links {
        justify-content: center;
    }
    .footer-logo {
        margin: 0 auto 1rem !important;
        display: block !important;
    }
}

/* ===== 8. SERVICE PAGES MOBILE ===== */
@media (max-width: 768px) {
    .service-hero {
        min-height: unset !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
    .service-hero .display-4,
    .service-hero .display-5 {
        font-size: 1.7rem !important;
        line-height: 1.3 !important;
    }
    .service-detail-card {
        padding: 24px 18px !important;
        margin-bottom: 1rem;
    }
}

/* ===== 9. BACK TO TOP BTN ===== */
@media (max-width: 768px) {
    .back-to-top {
        width: 44px !important;
        height: 44px !important;
        right: 16px !important;
        bottom: 16px !important;
        font-size: 1rem !important;
    }
}

/* ===== 10. NEWS/BLOG LIST PAGE MOBILE ===== */
@media (max-width: 768px) {
    .news-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
}

/* ===== BLOG/SERVICE PAGES: NAVBAR ALWAYS SOLID AT TOP ===== */
/* JS adds .scrolled immediately, but add CSS fallback for pages with bg hero */
.blog-hero ~ * .custom-navbar,
body:has(.blog-hero) .custom-navbar,
body:has(.service-hero) .custom-navbar {
    background: rgba(15, 17, 23, 0.97) !important;
}

/* ===== SAFE AREA INSET FOR MODERN iPhones ===== */
@supports (padding-top: env(safe-area-inset-top)) {
    .custom-navbar {
        padding-top: max(0.6rem, env(safe-area-inset-top)) !important;
    }
}

/* ===== BLOG CONTENT SECTION SPACING ===== */
.blog-content-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .blog-content-section {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ===== IMAGES GLOBAL RESPONSIVE ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   NEWS PAGE + GENERAL PAGES — MOBILE FINAL POLISH
   ============================================================ */

/* News cards on mobile */
@media (max-width: 768px) {
    .news-card {
        border-radius: 16px !important;
    }
    .news-image-wrapper {
        aspect-ratio: 16/8;
    }
    .news-title {
        font-size: 1.05rem !important;
        line-height: 1.45 !important;
    }
    .news-content {
        padding: 1.1rem !important;
    }
    .news-excerpt {
        font-size: 0.88rem !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    /* News page hero */
    .service-hero .display-3 {
        font-size: 2rem !important;
    }
    .service-hero .lead {
        font-size: 1rem !important;
    }
    /* Fix double container padding in news section */
    section.py-5 .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 0.97rem !important;
    }
    .news-image-wrapper {
        aspect-ratio: 16/7;
    }
}

/* ===== SERVICE/DETAIL PAGES FULL MOBILE TREATMENT ===== */
@media (max-width: 768px) {
    /* Section titles */
    .display-4 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    .display-5 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    h2.fw-bold {
        font-size: 1.5rem !important;
    }
    
    /* Section spacing */
    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* CTA buttons */
    .btn-accent,
    .btn-outline-animated {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .d-flex.gap-3.flex-wrap {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    /* Stats row */
    .stats-row {
        gap: 20px !important;
    }
    .stat-item h3 {
        font-size: 2rem !important;
    }
    
    /* Service detail cards */
    .service-detail-card {
        padding: 24px 18px !important;
        border-radius: 16px !important;
        margin-bottom: 1rem;
    }
    
    /* Tech stack / icon boxes */
    .tech-icon-box,
    .feature-icon-box {
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }
}

/* ===== PORTFOLIO PAGE MOBILE ===== */
@media (max-width: 768px) {
    .portfolio-item {
        height: 260px !important;
    }
    .portfolio-overlay h3 {
        font-size: 1.1rem !important;
    }
    .portfolio-filter {
        flex-wrap: wrap;
        gap: 8px !important;
    }
    .filter-btn {
        font-size: 0.82rem !important;
        padding: 7px 14px !important;
    }
}

/* ===== CONTACT FORM MOBILE ===== */
@media (max-width: 768px) {
    .contact-glass {
        padding: 24px 18px !important;
        border-radius: 16px !important;
    }
    .form-control,
    .form-select {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        padding: 12px 14px !important;
    }
}

/* ===== FOOTER MOBILE FULL TREATMENT ===== */
@media (max-width: 768px) {
    .footer {
        padding-top: 40px !important;
    }
    .footer .col-6 h6,
    .footer .col-lg-2 h6 {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    .footer-links a {
        font-size: 0.88rem !important;
    }
    .footer-bottom p {
        font-size: 0.82rem !important;
    }
    .social-link {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
}

/* ===== BREADCRUMB MOBILE ===== */
@media (max-width: 576px) {
    .breadcrumb-custom {
        font-size: 0.78rem !important;
        word-break: break-word;
    }
}

/* ===== PREVENT HORIZONTAL OVERFLOW ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
*, *::before, *::after {
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ===== BLOG CTA BOX ===== */
.blog-cta-box {
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.blog-cta-inner {
    background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(118,75,162,0.12) 100%);
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 20px;
    padding: 40px 44px;
    text-align: center;
}
.blog-cta-inner h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.blog-cta-inner p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .blog-cta-inner {
        padding: 28px 20px;
        border-radius: 14px;
    }
    .blog-cta-inner h3 {
        font-size: 1.25rem;
    }
    .btn-accent {
        display: inline-flex !important;
        width: auto !important;
    }
}

/* ============================================================
   MOBILE TOP WHITE SPACE — ROOT FIX
   Navbar başlanğıcda transparent olur, body gradient-in ilk
   rəngi (#1a1d3f) ilə uyuşmur → görünür boşluq yaranır.
   Həll: Mobil ekranlarda navbar HƏMİŞƏ solid bg olsun.
   ============================================================ */

/* Reset bütün əvvəlki safe-area padding-top cəhdlərini */
.custom-navbar {
    padding-top: 0 !important;
}

@media (max-width: 991px) {
    /* Navbar tam opak, body bg rəngiylə eyni */
    .custom-navbar,
    .custom-navbar.scrolled {
        background: #0f1117 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        top: 0 !important;
    }

    /* HTML + body heç bir yuxarı boşluq verməsin */
    html, body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Navbar-ın özünün padding-ı: logo üçün kifayət qədər */
    .custom-navbar .container {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}


/* ==========================================================================
   BLOG PAGES RESPONSIVE STYLES
   ========================================================================== */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    color: #fff;
    z-index: 1;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 17, 23, 0.95) 0%, rgba(15, 17, 23, 0.7) 100%);
    z-index: -1;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-meta {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
}

/* Breadcrumbs in Hero */
.breadcrumb-custom {
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-custom a {
    color: var(--accent, #3b82f6);
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb-custom a:hover {
    color: #fff;
}

/* Blog Content Section */
.blog-content-section {
    background-color: var(--dark, #0f1117);
    color: var(--light, #f8f9fa);
    padding: 60px 0;
}

.blog-article-body {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.blog-article-body h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.blog-article-body h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-article-body p {
    margin-bottom: 1.5rem;
}

.blog-article-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-article-body ul li {
    margin-bottom: 0.75rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.blog-article-body ul li strong {
    color: #fff;
}

/* Featured Image */
.blog-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Note Box */
.blog-note-box {
    background-color: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--accent, #3b82f6);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
}

.blog-note-box h4 {
    color: var(--accent, #3b82f6);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.blog-note-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* CTA Box */
.blog-cta-box {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-cta-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.blog-cta-inner h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.blog-cta-inner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* ==========================================================================
   BLOG PAGES RESPONSIVE STYLES (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 991px) {
    .blog-hero {
        padding: 130px 0 80px;
    }
    .blog-hero-title {
        font-size: 2.8rem;
    }
    .blog-content-section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 110px 0 60px;
    }
    .blog-hero-title {
        font-size: 2.2rem;
    }
    .blog-meta {
        font-size: 0.9rem;
    }
    .blog-article-body {
        font-size: 1.05rem;
    }
    .blog-article-body h2 {
        font-size: 1.75rem;
        margin-top: 2.5rem;
    }
    .blog-article-body h3 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
    .blog-note-box {
        padding: 1.5rem;
    }
    .blog-cta-inner {
        padding: 2rem 1.5rem;
    }
    .blog-cta-inner h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 50px;
    }
    .blog-hero-title {
        font-size: 1.8rem;
    }
    .breadcrumb-custom {
        font-size: 0.85rem;
    }
    .blog-article-body h2 {
        font-size: 1.5rem;
    }
    .blog-article-body h3 {
        font-size: 1.25rem;
    }
    .blog-featured-image {
        margin: 1.5rem 0;
        border-radius: 8px;
    }
    .blog-cta-box {
        margin-top: 3rem;
        padding-top: 2rem;
    }
}
