/* ============================================
   Modern UI Enhancements for We Developers
   ============================================ */

/* Modern Color Palette */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #0f1b3b 0%, #1a2f5c 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* ============================================
   GLOBAL IMPROVEMENTS
   ============================================ */

body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.01em;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title-two .title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #00194C;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-title-two.white-title .title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   BUTTON ENHANCEMENTS
   ============================================ */

.btn, .btn-three, .btn-two {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    font-weight: 600;
    padding: 14px 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 25, 76, 0.2);
    border: none;
    z-index: 1;
}

.btn::before, .btn-three::before, .btn-two::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;
    z-index: -1;
}

.btn:hover::before, .btn-three:hover::before, .btn-two:hover::before {
    left: 100%;
}

.btn:hover, .btn-three:hover, .btn-two:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 25, 76, 0.3);
}

.btn-three {
    background: linear-gradient(135deg, #0055FF 0%, #00194C 100%);
    color: #fff;
}

.btn-three:hover {
    background: linear-gradient(135deg, #00194C 0%, #0055FF 100%);
}

.border-btn {
    background: transparent;
    border: 2px solid #0055FF;
    color: #0055FF;
}

.border-btn:hover {
    background: #0055FF;
    color: #fff;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-area-ten {
    background: linear-gradient(135deg, #0f1b3b 0%, #1a2f5c 100%);
    position: relative;
    overflow: hidden;
}

.services-area-ten .section-title-two {
    margin-bottom: 50px;
}

.services-area-ten .section-title-two .title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 700;
    line-height: 1.3;
}

.services-area-ten .section-title-two p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   SERVICE CARDS - MODERN DESIGN
   ============================================ */

.services-item-seven {
    background: linear-gradient(145deg, #1a2f5c 0%, #0f1b3b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    height: 100%;
}

.services-item-seven::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff, #0055FF, #667eea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.services-item-seven:hover::before {
    transform: scaleX(1);
}

.services-item-seven:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 198, 255, 0.3);
    border-color: rgba(0, 198, 255, 0.5);
}

.services-item-seven .services-icon-seven {
    margin-bottom: 20px;
}

.services-item-seven .services-icon-seven i {
    font-size: 48px;
    background: linear-gradient(135deg, #00c6ff 0%, #0055FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.4s;
}

.services-item-seven:hover .services-icon-seven i {
    transform: scale(1.1) rotate(5deg);
}

.services-item-seven .title a {
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
    color: #ffffff !important;
}

.services-item-seven:hover .title a {
    color: #00c6ff !important;
}

/* ============================================
   BLOG COMPACT LAYOUT
   ============================================ */

.blog-compact .blog-post-item {
    border-radius: 12px;
    margin-bottom: 24px;
}

.blog-compact .blog-post-thumb img {
    height: 210px;
    object-fit: cover;
}

.blog-compact .blog-post-thumb .date {
    left: 20px;
    padding: 10px 14px;
    font-size: 14px;
}

.blog-compact .blog-post-thumb .date strong {
    font-size: 20px;
}

.blog-compact .blog-post-content {
    padding: 18px 20px 22px;
}

.blog-compact .blog-post-content .title {
    font-size: 20px;
    line-height: 1.35;
}

.blog-compact .blog-post-content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .blog-compact .blog-post-thumb img {
        height: 190px;
    }
}

@media (max-width: 575px) {
    .blog-compact .blog-post-thumb img {
        height: 170px;
    }
}

.services-item-seven p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 1 !important;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */

.testimonial-item-six {
    background: linear-gradient(145deg, #1a2f5c 0%, #0f1b3b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.testimonial-item-six p,
.testimonial-item-six > p {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.testimonial-item-six .title {
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.testimonial-item-six::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    font-weight: 700;
    color: rgba(0, 198, 255, 0.1);
    line-height: 1;
}

.testimonial-item-six:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 198, 255, 0.25);
    border-color: rgba(0, 198, 255, 0.4);
}

.testimonial-rating i {
    color: #ffc43d;
    font-size: 18px;
    margin-right: 3px;
    filter: drop-shadow(0 2px 4px rgba(255, 196, 61, 0.3));
}

/* ============================================
   PROJECT CARDS - IMPROVED COMPACT DESIGN
   ============================================ */

.project-item-seven {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-item-seven:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 25, 76, 0.15);
}

.project-thumb-seven {
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    flex-shrink: 0;
}

.project-thumb-seven img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 280px !important;
    width: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    border-radius: 0;
}

.project-item-seven:hover .project-thumb-seven img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.swiper-slide-active .project-thumb-seven img {
    filter: grayscale(0) !important;
}

.project-content-seven {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-grow: 1;
}

.project-content-seven .content span {
    display: block;
    font-size: 14px !important;
    font-weight: 600;
    color: #0055FF;
    line-height: 1;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content-seven .content .title {
    margin-bottom: 0 !important;
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.3;
}

.project-content-seven .content .title a {
    color: #00194C;
    transition: color 0.3s;
}

.project-content-seven .content .title a:hover {
    color: #0055FF;
}

.project-content-seven .icon a {
    width: 48px !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #e1e5ee;
    flex: 0 0 auto;
    color: #0055FF;
    transition: all 0.3s;
    background: #fff;
}

.project-content-seven .icon a:hover {
    background: #0055FF;
    border-color: #0055FF;
    color: #fff;
    transform: translateX(3px);
}

/* Swiper adjustments for better project display */
.swiper-container.project-active-two {
    padding: 20px 0 40px;
    margin: 0 -15px !important;
}

.swiper-slide {
    height: auto;
    padding: 0 15px;
}

.project-item-wrap-three {
    padding: 0;
    overflow: visible;
}

/* Responsive project sizing */
@media (min-width: 1200px) {
    .project-thumb-seven img {
        height: 300px !important;
    }
}

@media (max-width: 991px) {
    .project-thumb-seven img {
        height: 250px !important;
    }
    
    .project-content-seven {
        padding: 18px 20px !important;
    }
    
    .project-content-seven .content .title {
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    .project-thumb-seven img {
        height: 220px !important;
    }
    
    .project-content-seven .content .title {
        font-size: 18px !important;
    }
    
    .project-content-seven .icon a {
        width: 42px !important;
        height: 42px !important;
    }
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */

/* Override default banner styles for full width */
.banner-area-seven,
.banner-area-seven.fix,
.banner-bg-seven {
    position: relative !important;
    overflow: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 100px 0 80px !important;
    margin: 0 !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

/* Override conflicting banner-video styles from style.css */
.banner-video,
.banner-area-seven .banner-video,
.banner-bg-seven .banner-video {
    transform: none !important;
    opacity: 1 !important;
    z-index: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: none !important;
}

/* Banner shape positioning */
.banner-shape-wrap-seven {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none;
}

.banner-shape-wrap-seven img {
    position: absolute !important;
    z-index: 1 !important;
}

.banner-shape-wrap-seven img:nth-child(1) {
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
}

.banner-shape-wrap-seven img:nth-child(2) {
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    top: auto !important;
}

/* Override conflicting banner-bg-seven styles */
.banner-bg-seven::before {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.banner-bg-seven::after {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    opacity: 1 !important;
}

/* Video full width - override ALL conflicting styles from style.css */
.banner-video,
.banner-area-seven .banner-video,
.banner-bg-seven .banner-video,
section .banner-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Override style.css conflicting styles */
    top: 0 !important;
    left: 0 !important;
}

/* Overlay full width - much lighter so video shows through */
.banner-area-seven::after,
.banner-bg-seven::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0, 25, 76, 0.4) 0%, rgba(0, 85, 255, 0.3) 100%) !important;
    z-index: 1 !important;
}

/* Override conflicting banner-video transform from style.css */
.banner-video {
    transform: none !important;
    opacity: 1 !important;
    z-index: 0 !important;
    top: 0 !important;
    left: 0 !important;
}

/* Container inside banner */
.banner-area-seven .container,
.banner-bg-seven .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure body doesn't constrain */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix for any wrapper constraints */
main.fix,
.fix {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Ensure banner section breaks out of any container */
section.banner-area-seven,
section.banner-bg-seven {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
}

.banner-content-seven {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.banner-content-seven h1 {
    margin-bottom: 20px !important;
}

.banner-content-seven .badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.banner-content-seven .badge:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
}

.banner-content-seven h1 {
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.banner-content-seven p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 25px !important;
}

.hero-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #00194C;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-call-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 25, 76, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-call-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-call-btn:hover {
    background: #fff;
    color: #00194C;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-call-btn i {
    font-size: 18px;
    color: #0055FF;
}

.hero-call-btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-area-six {
    position: relative;
    overflow: hidden;
}

.cta-area-six::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 25, 76, 0.95) 0%, rgba(0, 85, 255, 0.9) 100%);
    z-index: 1;
}

.cta-area-six > * {
    position: relative;
    z-index: 2;
}

.cta-call-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #0055FF 0%, #00194C 100%);
    border: none;
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 85, 255, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.cta-call-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-call-btn:hover::before {
    width: 400px;
    height: 400px;
}

.cta-call-btn:hover {
    box-shadow: 0 15px 40px rgba(0, 85, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #00194C 0%, #0055FF 100%);
}

.cta-call-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.cta-call-btn .d-inline-flex {
    position: relative;
    z-index: 1;
    font-size: 18px;
    align-items: center;
    gap: 10px;
}

.cta-call-btn i {
    font-size: 20px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.accordion-item {
    border: 1px solid rgba(0, 25, 76, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.1);
}

.accordion-button {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    font-weight: 600;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #e6eeff 0%, #f0f5ff 100%);
    color: #00194C;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 198, 255, 0.25);
}

.accordion-body {
    padding: 25px;
    background: #fff;
    color: #334770;
    line-height: 1.8;
}

/* ============================================
   COUNTER SECTION - IMPROVED DESIGN
   ============================================ */

.counter-area-three {
    background: #ffffff;
    padding: 80px 0 60px;
}

/* ============================================
   COUNTER SECTION - COMPLETE REDESIGN
   ============================================ */

.counter-area-three {
    background: #ffffff !important;
    padding: 60px 0 50px !important;
}

.counter-area-three .container .row {
    gap: 0;
    margin: 0;
}

.counter-area-three .col-xl-3,
.counter-area-three .col-lg-3,
.counter-area-three .col-md-6,
.counter-area-three .col-sm-6 {
    margin-bottom: 0;
    padding: 0 15px;
}

/* Single line display for desktop */
@media (min-width: 992px) {
    .counter-area-three .row {
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    
    .counter-area-three .col-xl-3,
    .counter-area-three .col-lg-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* Force vertical layout for counter items - Compact for single line */
.counter-item-three,
.counter-area-three .counter-item-three,
.counter-area-three .counter-item-three.h-70 {
    text-align: center !important;
    padding: 30px 20px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%) !important;
    border: 2px solid rgba(0, 25, 76, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    height: auto !important;
    min-height: 160px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

.counter-item-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff, #0055FF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
    z-index: 1;
}

.counter-item-three:hover::before {
    transform: scaleX(1);
}

.counter-item-three:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(0, 85, 255, 0.2) !important;
    border-color: rgba(0, 198, 255, 0.5) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f5ff 100%) !important;
}

/* Counter Icon - Vertical Layout */
.counter-icon,
.counter-item-three .counter-icon {
    margin-bottom: 25px !important;
    margin-right: 0 !important;
    position: relative !important;
    z-index: 2;
    font-size: 0 !important;
    line-height: 0 !important;
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto !important;
}

.counter-icon::before,
.counter-icon::after,
.counter-item-three .counter-icon::before,
.counter-item-three .counter-icon::after {
    display: none !important;
    content: none !important;
}

.counter-icon i,
.counter-item-three .counter-icon i {
    font-size: 48px !important;
    background: linear-gradient(135deg, #00c6ff 0%, #0055FF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transition: transform 0.3s !important;
    display: inline-block !important;
    line-height: 1 !important;
    color: transparent !important;
    width: auto !important;
    height: auto !important;
}

.counter-item-three:hover .counter-icon i {
    transform: scale(1.15) rotate(5deg);
}

/* Counter Content - Vertical Layout */
.counter-content,
.counter-item-three .counter-content {
    position: relative !important;
    z-index: 2;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
}

.counter-content p,
.counter-item-three .counter-content p {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #00194C !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    letter-spacing: 0.2px;
}

.counter-content .count,
.counter-item-three .counter-content .count {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #00194C !important;
    margin-bottom: 12px !important;
    line-height: 1 !important;
}

/* Responsive counter */
@media (max-width: 1199px) {
    .counter-item-three {
        min-height: 180px !important;
        padding: 35px 25px !important;
    }
    
    .counter-icon i {
        font-size: 50px !important;
    }
    
    .counter-content p {
        font-size: 16px !important;
    }
}

@media (max-width: 991px) {
    .counter-item-three {
        padding: 32px 22px !important;
        min-height: 170px !important;
    }
    
    .counter-icon i {
        font-size: 46px !important;
    }
    
    .counter-content p {
        font-size: 15px !important;
    }
}

@media (max-width: 767px) {
    .counter-item-three {
        padding: 28px 20px !important;
        min-height: 160px !important;
    }
    
    .counter-icon i {
        font-size: 42px !important;
    }
    
    .counter-content p {
        font-size: 14px !important;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-area-fourteen {
    background: #ffffff;
}

.about-area-fourteen .section-title-two {
    margin-bottom: 25px;
}

.about-area-fourteen .section-title-two .title {
    color: #00194C;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content-nine p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #334770;
    font-size: 1.05rem;
}

.about-inner-content-two {
    margin: 25px 0;
}

.about-list-two ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list-two li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.about-list-two li i {
    color: #0055FF;
    margin-top: 5px;
    flex-shrink: 0;
}

.about-list-two li p {
    margin: 0;
    line-height: 1.6;
}

.point-list {
    margin: 25px 0;
    gap: 30px;
}

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

.point-list li {
    padding: 8px 0;
    color: #334770;
    position: relative;
    padding-left: 20px;
}

.point-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0055FF;
    font-weight: bold;
}

.about-img-fourteen {
    position: relative;
}

.about-img-fourteen img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s;
}

.about-img-fourteen:hover img {
    transform: scale(1.02);
}

/* ============================================
   SERVICES BETTER SECTION
   ============================================ */

.services-better {
    background: linear-gradient(135deg, #f8faff 0%, #e6eeff 100%);
    padding: 80px 0;
}

.feature-pill {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: 2px solid rgba(0, 198, 255, 0.2);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-pill:hover {
    transform: translateX(10px);
    border-color: rgba(0, 198, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.2);
}

.feature-pill .icon i {
    font-size: 32px;
    background: linear-gradient(135deg, #00c6ff 0%, #0055FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */

.footer-cta {
    background: linear-gradient(135deg, #00194C 0%, #0055FF 100%);
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 15px 50px rgba(0, 25, 76, 0.3);
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.footer-contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 198, 255, 0.3);
    transform: translateY(-3px);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.in-view {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   BANNER BUTTONS LAYOUT
   ============================================ */

.banner-btn-seven {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-top: 2rem;
}

.banner-btn-seven .hero-call-btn {
    margin-right: 0;
}

/* ============================================
   SPACING FIXES
   ============================================ */

.section-title-two {
    margin-bottom: 30px;
}

.section-title-two.mb-25 {
    margin-bottom: 25px !important;
}

.section-title-two.mb-35 {
    margin-bottom: 35px !important;
}

.section-title-two.mb-50 {
    margin-bottom: 50px !important;
}

.section-title-two .title {
    margin-bottom: 15px;
}

.section-title-two p {
    margin-top: 15px;
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE IMPROVEMENTS
   ============================================ */

@media (max-width: 991px) {
    .services-item-seven {
        margin-bottom: 30px;
    }
    
    .banner-content-seven h1 {
        font-size: 2.5rem;
    }
    
    .section-title-two .title {
        font-size: 2rem;
    }
    
    .banner-btn-seven {
        flex-direction: column;
        align-items: stretch;
    }
    
    .banner-btn-seven .hero-call-btn,
    .banner-btn-seven .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .cta-call-btn {
        min-width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .about-area-fourteen {
        padding: 60px 0;
    }
    
    .services-area-ten {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .btn, .btn-three, .btn-two {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .services-item-seven {
        padding: 25px 20px;
    }
    
    .testimonial-item-six {
        padding: 30px 25px;
    }
    
    .hero-call-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cta-call-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .cta-call-btn .d-inline-flex {
        font-size: 16px;
    }
}

/* ============================================
   LOADING STATES
   ============================================ */

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    border-color: currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0055FF 0%, #00194C 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00194C 0%, #0055FF 100%);
}
