/* Overview Section Card Hover Effect */
.overview-section .bg-white\/80 {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}
.overview-section .bg-white\/80:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 24px 48px rgba(0,123,255,0.18);
    background: #f8fafc;
}
/* ============================================
   ROFLOTECH SOFTWORKS - WEBSITE STYLES
   ============================================ */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ============================================
   FAQ EXPANSION TILE UI
   ============================================ */
.faq-tile {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(15,23,42,0.10);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-tile:not(:last-child) {
    margin-bottom: 1.2rem;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    outline: none;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f3f8ff;
}
.faq-arrow {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.faq-tile.open .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    color: #334155;
    font-size: 1rem;
    padding: 0 1.5rem;
    transition: max-height 0.45s cubic-bezier(.4,0,.2,1), padding 0.3s;
}
.faq-tile.open .faq-answer {
    max-height: 400px;
    padding: 1rem 1.5rem 1.5rem;
}
@media (max-width: 640px) {
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1rem;
    }
    .faq-answer {
        font-size: 0.97rem;
        padding: 0 1rem;
    }
    .faq-tile.open .faq-answer {
        padding: 0.7rem 1rem 1.1rem;
    }
}



:root {
    --color-primary: #002C68;
    --color-secondary: #007BFF;
    --color-light-bg: #f8fafc;
    --color-secondary-hover: #0056B3;
    --color-secondary-light: #e6f2ff;
    --color-primary-dark-overlay: rgba(0, 44, 104, 0.75);
    --color-white: #FFFFFF;
    --color-text-dark: #1E293B;
    --color-text-light: #64748B;
}

.bg-primary { background-color: var(--color-primary); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.border-secondary { border-color: var(--color-secondary); }

/* Hover and specific backgrounds using new colors */
.hover\:bg-secondary-hover:hover { background-color: var(--color-secondary-hover); }
.bg-secondary-light { background-color: var(--color-secondary-light); }
.text-secondary-dark { color: var(--color-secondary-hover); }
.bg-blue-100 { background-color: var(--color-secondary-light); }
.text-blue-800 { color: var(--color-secondary-hover); }

/* Footer Section Styles */
.footer {
    background-color: var(--color-primary);
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.footer .footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 0.75rem;
}
.footer .footer-bottom {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}
.footer .footer-bottom a {
    color: #cbd5e1;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer .footer-bottom a:hover {
    color: #fff;
}
.footer form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.footer input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    background: #fff;
    color: #222;
}
.footer button[type="submit"] {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.footer button[type="submit"]:hover {
    background: var(--color-secondary-hover);
}
.footer #subscribe-message {
    min-height: 1.5em;
    font-size: 0.95em;
    margin-top: 0.5em;
}
@media (max-width: 1024px) {
    .footer .grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .footer .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer {
        padding-top: 2.5rem;
        padding-bottom: 1.2rem;
    }
}

/* Apply custom font - Open Sans */
body {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.8;
}

/* Consistent line spacing for all text elements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================
   TYPEWRITER ANIMATION
   ============================================ */
.typewriter {
    display: inline-block;
    min-width: 20px;
}

.cursor {
    display: inline-block;
    color: var(--color-secondary);
    animation: blink 0.7s infinite;
    margin-left: 2px;
    font-weight: 300;
}

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

[data-parallax-speed] {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Hero section background styling */
#hero {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
    background-size: cover;
    background-position: center calc(50% + var(--hero-parallax, 0px));
    position: relative;
    --hero-overlay-opacity: 0.75;
}

/* Overlay for the hero section to make text readable */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 44, 104, var(--hero-overlay-opacity, 0.75));
}

/* Ensure content is above the overlay */
    .portfolio-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: rgba(0, 44, 104, 0.08);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .portfolio-card:hover {
        transform: translateY(-12px) scale(1.01);
        box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    }

    .portfolio-card:hover::after {
        opacity: 1;
    }
#hero > * {
    position: relative;
    z-index: 10;
}

/* Style for the "Talk with Us" bubble */
.chat-bubble {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    z-index: 50;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.chat-bubble:hover {
    transform: scale(1.05);
}

/* Portfolio filter button active state */

    .portfolio-card-fitcheck:hover::after {
        background: rgba(106, 182, 255, 0.18);
    }

    .portfolio-card-aone:hover::after {
        background: rgba(255, 61, 170, 0.2);
    }

    .portfolio-card-tailor:hover::after {
        background: rgba(160, 75, 152, 0.2);
    }
.active-filter {
    background-color: var(--color-secondary) !important;
    color: white !important;
}

/* ============================================
   GRADIENT BUTTON STYLES
   ============================================ */
.bg-gradient-button {
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 50%, #003D82 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bg-gradient-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.bg-gradient-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.7);
    background-position: 100% 50%;
}

.bg-gradient-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.5);
    transition: all 0.1s ease;
}

.bg-gradient-button:active::before {
    width: 300px;
    height: 300px;
}

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

/* View Portfolio Button hover effects */
.border.border-white {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.border.border-white::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;
}

.border.border-white:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    color: #000000;
}

.border.border-white:active {
    transform: translateY(1px) scale(0.98);
    transition: all 0.1s ease;
}

.border.border-white:active::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   RESPONSIVE DESIGN ENHANCEMENTS
   ============================================ */

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

/* Hide elements initially */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for child elements */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   IMAGE SLIDER / CAROUSEL STYLES
   ============================================ */

.slider-container {
    position: relative;
    width: 100%;
    user-select: none;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--color-secondary);
    border-color: white;
    transform: scale(1.3);
}

/* Achievement items animation */
.achievement-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 44, 104, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 2px 8px rgba(0, 44, 104, 0.1);
}

.achievement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
    border-left-width: 6px;
}

.achievement-item p:first-child {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Mobile optimization */
@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Slider responsive */
    .slider-wrapper {
        height: 300px !important;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }

    .chat-bubble {
        display: none;
    }
}

/* Tablet optimization */
@media (min-width: 641px) and (max-width: 1024px) {
    body {
        font-size: 15px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive containers */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

/* ============================================
   PREMIUM SERVICES SECTION BACKGROUND
   ============================================ */

/* Premium gradient background for Services section */
.services-premium-bg {
    background: linear-gradient(180deg,
        #e0f2ff 0%,
        #e8f7ff 35%,
        #f4f9ff 65%,
        #ffffff 100%
    );
    position: relative;
}

/* Decorative background shapes container */
.services-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Large blurred circles - Modern SaaS style */
.services-bg-shapes::before,
.services-bg-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
}

/* Top-right large blurred circle */
.services-bg-shapes::before {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.4) 0%, rgba(0, 191, 255, 0.2) 50%, transparent 100%);
    top: -250px;
    right: -250px;
    animation: float 15s ease-in-out infinite;
}

/* Bottom-left large blurred circle */
.services-bg-shapes::after {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.35) 0%, rgba(41, 182, 246, 0.2) 50%, transparent 100%);
    bottom: -200px;
    left: -200px;
    animation: float 18s ease-in-out infinite reverse;
}

/* Subtle floating animation */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 10px) scale(0.95);
    }
    75% {
        transform: translate(15px, 15px) scale(1.02);
    }
}

/* Service card enhanced styling */
.service-card {
    position: relative;
    z-index: 2;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #e2e8f0;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover::before {
    opacity: 0.85;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
}

.service-card .service-icon-wrapper {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
}

.service-card h3 {
    color: #ffffff;
}

.service-card p {
    color: rgba(226, 232, 240, 0.92);
}

.service-card-web {
    background-image: url('https://images.unsplash.com/photo-1526378722484-bd91ca387e72?auto=format&fit=crop&w=1200&q=80');
}

.service-card-mobile {
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80');
}

.service-card-digital {
    background-image: url('https://images.unsplash.com/photo-1523475472560-d2df97ec485c?auto=format&fit=crop&w=1200&q=80');
}

/* Responsive adjustments for Services section */
@media (max-width: 768px) {
    .services-bg-shapes::before {
        width: 450px;
        height: 450px;
        top: -180px;
        right: -180px;
        filter: blur(80px);
    }
    
    .services-bg-shapes::after {
        width: 400px;
        height: 400px;
        bottom: -150px;
        left: -150px;
        filter: blur(80px);
    }
    
    .service-card:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .services-premium-bg {
        background: linear-gradient(180deg,
            #e0f2ff 0%,
            #eef7ff 55%,
            #ffffff 100%
        );
    }
    
    .services-bg-shapes::before,
    .services-bg-shapes::after {
        filter: blur(70px);
        opacity: 0.2;
    }
    
    .services-bg-shapes::before {
        width: 350px;
        height: 350px;
    }
    
    .services-bg-shapes::after {
        width: 300px;
        height: 300px;
    }
}

    /* ============================================
       PORTFOLIO SHOWCASE
       ============================================ */

    .portfolio-section {
        background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 40%, #ffffff 100%);
    }

    .portfolio-glow {
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.35;
        z-index: 0;
    }

    .portfolio-glow-left {
        top: -120px;
        left: -160px;
        background: radial-gradient(circle, rgba(0, 123, 255, 0.6) 0%, rgba(0, 123, 255, 0) 70%);
    }

    /* ============================================
       TESTIMONIALS SHOWCASE
       ============================================ */

    .testimonials-section {
        position: relative;
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(237, 242, 255, 0.6) 100%);
    }

    .testimonials-section::before {
        content: '';
        position: absolute;
        inset: 12% -40% -25% -40%;
        background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0) 70%);
        z-index: 0;
        pointer-events: none;
    }

    .testimonials-content {
        position: relative;
        z-index: 1;
    }

    .testimonials-subtitle {
        font-size: 1.1rem;
        color: var(--color-text-light);
        max-width: 640px;
        margin: 0 auto;
    }

    .testimonials-scroll-wrapper {
        display: flex;
        gap: 1.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.5rem 0 2.25rem;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 1.5rem;
    }

    .testimonials-scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .testimonials-scroll-wrapper::-webkit-scrollbar-thumb {
        background: rgba(15, 23, 42, 0.18);
        border-radius: 999px;
    }

    .testimonials-scroll-wrapper::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.06);
    }

    .testimonial-card {
        flex: 0 0 clamp(280px, 45vw, 360px);
        background: var(--color-white);
        border-radius: 24px;
        padding: 2.4rem;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
        border: 1px solid rgba(226, 232, 240, 0.65);
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        transition: transform 0.45s ease, box-shadow 0.45s ease;
        position: relative;
        overflow: hidden;
    }

    .testimonial-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.06), rgba(0, 44, 104, 0.08));
        opacity: 0;
        transition: opacity 0.45s ease;
        pointer-events: none;
    }

    .testimonial-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 32px 64px rgba(15, 23, 42, 0.16);
    }

    .testimonial-card:hover::before {
        opacity: 1;
    }

    .testimonial-quote {
        font-size: 1.12rem;
        line-height: 1.75;
        color: var(--color-text-dark);
        position: relative;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        position: absolute;
        font-size: 3.25rem;
        color: rgba(0, 123, 255, 0.22);
        pointer-events: none;
    }

    .testimonial-quote::before {
        content: '“';
        top: -1.9rem;
        left: -0.25rem;
    }

    .testimonial-quote::after {
        content: '”';
        bottom: -2.4rem;
        right: 0.1rem;
    }

    .testimonial-author {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .testimonial-author-name {
        font-weight: 700;
        color: var(--color-primary);
        font-size: 1rem;
        letter-spacing: 0.015em;
    }

    .testimonial-author-role {
        font-size: 0.92rem;
        color: var(--color-text-light);
    }

    @media (max-width: 1024px) {
        .testimonials-scroll-wrapper {
            gap: 1.5rem;
            scroll-padding: 1rem;
        }

        .testimonial-card {
            flex: 0 0 clamp(280px, 55vw, 340px);
        }
    }

    @media (max-width: 768px) {
        .testimonials-scroll-wrapper {
            margin: 0 -1rem;
            padding-left: 1rem;
        }

        .testimonial-card {
            flex: 0 0 70vw;
            padding: 2.1rem;
        }
    }

    @media (max-width: 640px) {
        .testimonials-scroll-wrapper {
            gap: 1.2rem;
            padding-bottom: 1.75rem;
        }

        .testimonial-card {
            flex: 0 0 82vw;
            padding: 2rem;
        }

        .testimonial-quote::after {
            bottom: -2.1rem;
        }
    }

    .portfolio-glow-right {
        bottom: -140px;
        right: -120px;
        background: radial-gradient(circle, rgba(41, 182, 246, 0.5) 0%, rgba(41, 182, 246, 0) 70%);
    }

    .portfolio-eyebrow {
        text-transform: uppercase;
        letter-spacing: 0.15em;
        font-weight: 700;
        color: var(--color-secondary);
        margin-bottom: 1rem;
    }

    .portfolio-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .filter-pill {
        padding: 0.5rem 1.5rem;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.95rem;
        background: rgba(0, 44, 104, 0.08);
        color: var(--color-primary);
        border: 1px solid rgba(0, 44, 104, 0.08);
        box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.4);
        cursor: default;
        user-select: none;
    }

    .portfolio-scroll-wrapper {
        display: flex;
        gap: 2rem;
        overflow-x: auto;
        padding-bottom: 1.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 auto;
        padding-left: 0;
        justify-content: center;
        scrollbar-width: thin;
    }

    .portfolio-scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .portfolio-scroll-wrapper::-webkit-scrollbar-thumb {
        background: rgba(0, 44, 104, 0.25);
        border-radius: 999px;
    }

    .portfolio-scroll-wrapper::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.05);
    }

    @media (min-width: 1024px) {
        .portfolio-scroll-wrapper {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .portfolio-scroll-wrapper::-webkit-scrollbar {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .portfolio-scroll-wrapper {
            margin: 0 -1rem;
            padding-left: 1rem;
            justify-content: flex-start;
        }
    }

    .portfolio-card {
        flex: 0 0 360px;
        max-width: 380px;
        background-color: var(--color-white);
        border-radius: 1.35rem;
        padding: 1.4rem;
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.6);
        scroll-snap-align: start;
        position: relative;
        overflow: hidden;
        transition: transform 0.45s ease, box-shadow 0.45s ease;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        min-height: 300px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .portfolio-card-media {
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        height: 130px;
        box-shadow: 0 14px 26px rgba(15, 23, 42, 0.15);
    }


    .portfolio-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .portfolio-card:hover .portfolio-card-media img {
        transform: scale(1.05);
    }


    .portfolio-card::before {
        content: '';
        position: absolute;
        inset: 1.1rem;
        border-radius: 0.9rem;
        border: 1px solid rgba(0, 123, 255, 0.05);
        pointer-events: none;
    }

    .portfolio-card-fitcheck {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.58) 100%),
            url('assets/images/fitcheck-card-bg.svg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        color: var(--color-text-dark);
        padding-top: 2.8rem;
    }

    .portfolio-card-fitcheck .portfolio-card-title {
        color: var(--color-primary);
    }

    .portfolio-card-fitcheck .portfolio-card-meta span {
        background: rgba(0, 44, 104, 0.08);
        color: var(--color-primary);
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .portfolio-card-fitcheck .portfolio-card-description {
        color: var(--color-text-dark);
    }

    .portfolio-card-aone {
        background-color: #ffffff;
        background-image: linear-gradient(180deg, rgba(255, 247, 252, 0.95) 0%, rgba(255, 230, 247, 0.95) 100%),
            url('assets/images/aone-card-bg.svg');
        background-size: cover, 90%;
        background-repeat: no-repeat, no-repeat;
        background-position: center, center;
        padding-top: 5.5rem;
        color: var(--color-text-dark);
    }

    .portfolio-card-tailor {
        background-color: #ffffff;
        background-image: linear-gradient(180deg, rgba(255, 246, 251, 0.95) 0%, rgba(247, 232, 248, 0.92) 100%),
            url('assets/images/tailor-card-bg.svg');
        background-size: cover, 80%;
        background-repeat: no-repeat, no-repeat;
        background-position: center, center;
        padding-top: 5.5rem;
        color: var(--color-text-dark);
    }


    .portfolio-card-title {
        font-size: 1.5rem;
        color: var(--color-primary);
        font-weight: 800;
    }

    .portfolio-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        margin-top: -0.2rem;
    }

    .portfolio-card-meta span {
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0.3rem 0.75rem;
        border-radius: 999px;
        background: rgba(0, 44, 104, 0.07);
        color: var(--color-primary);
    }

    .portfolio-card-description {
        font-size: 0.92rem;
        color: var(--color-text-dark);
        line-height: 1.55;
    }
    .portfolio-scroll-hint {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--color-text-light);
        font-size: 0.95rem;
        margin-top: 1rem;
        justify-content: flex-end;
    }

    @media (max-width: 1024px) {
        .portfolio-card {
            flex: 0 0 320px;
            max-width: 320px;
        }
    }

    @media (max-width: 768px) {
        .portfolio-scroll-wrapper {
            margin: 0 -1rem;
            padding: 0 1rem 1.5rem;
            gap: 1.5rem;
            justify-content: flex-start;
        }

        .portfolio-card {
            flex: 0 0 72vw;
            max-width: 72vw;
            min-height: 280px;
        }

        .portfolio-card-aone {
            background-size: cover, 90%;
            background-position: center, center;
            padding-top: 5rem;
        }

        .portfolio-card-tailor {
            background-size: cover, 85%;
            background-position: center, center;
            padding-top: 4.8rem;
        }

        .portfolio-scroll-hint {
            justify-content: center;
            font-size: 0.85rem;
            color: rgba(15, 23, 42, 0.6);
        }
    }

    @media (max-width: 480px) {
        .portfolio-card {
            flex: 0 0 88vw;
            max-width: 88vw;
            padding: 1.1rem;
            min-height: 260px;
        }

        .portfolio-card-media {
            height: 115px;
        }

        .portfolio-card-title {
            font-size: 1.3rem;
        }

        .portfolio-card-meta {
            gap: 0.35rem;
        }

        .portfolio-card-meta span {
            font-size: 0.7rem;
            padding: 0.25rem 0.6rem;
        }

        .portfolio-card-aone {
            background-size: cover, 95%;
            background-position: center, center;
            padding-top: 4.2rem;
        }

        .portfolio-card-tailor {
            background-size: cover, 92%;
            background-position: center, center;
            padding-top: 4rem;
        }

        .portfolio-card-description {
            font-size: 0.88rem;
        }
    }

    @media (hover: none) {
        .portfolio-card:hover {
            transform: none;
            box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
        }
    }

    /* ============================================
       TEAM SECTION REDESIGN
       ============================================ */

    .team-section {
           position: relative;
           background: linear-gradient(135deg, #eaf3fb 80%, #f3f8ff 100%);
    }

    .team-section::before {
        content: '';
        position: absolute;
        inset: 8% -30% 0 -30%;
        background: radial-gradient(circle, rgba(0, 123, 255, 0.12) 0%, rgba(0, 123, 255, 0) 70%);
        pointer-events: none;
        z-index: 0;
    }

    .team-header {
        position: relative;
        z-index: 1;
    }

    .team-intro {
        max-width: 640px;
    }

    .team-grid {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .team-card {
        background: rgba(255, 255, 255, 0.88);
        border-radius: 28px;
        padding: 2.5rem 1.75rem 2.25rem;
        box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.65);
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
        overflow: hidden;
        transform: translateY(26px);
        opacity: 0;
        animation: teamFadeIn 0.8s ease forwards;
        animation-delay: var(--team-delay, 0s);
        transition: transform 0.45s ease, box-shadow 0.45s ease;
    }

    .team-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 44, 104, 0.08));
        opacity: 0;
        transition: opacity 0.45s ease;
        pointer-events: none;
    }

    .team-card:nth-child(1) { --team-delay: 0.05s; }
    .team-card:nth-child(2) { --team-delay: 0.15s; }
    .team-card:nth-child(3) { --team-delay: 0.25s; }
    .team-card:nth-child(4) { --team-delay: 0.35s; }

    .team-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 34px 68px rgba(15, 23, 42, 0.18);
    }

    .team-card:hover::after {
        opacity: 1;
    }

    .team-avatar {
        position: relative;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
        isolation: isolate;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .team-avatar::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.35), rgba(0, 44, 104, 0.2));
        z-index: -1;
        opacity: 0.9;
    }

    .team-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
    }

    .team-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(0, 44, 104, 0.75);
        color: #f8fafc;
        text-align: center;
        padding: 1.5rem;
        gap: 0.5rem;
        border-radius: 50%;
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .team-overlay-name {
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .team-overlay-role {
        font-size: 0.9rem;
        font-weight: 500;
        opacity: 0.85;
    }

    .team-card:hover .team-avatar {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
    }

    .team-card:hover .team-avatar img {
        transform: scale(1.06);
        filter: blur(1px);
        opacity: 0.25;
    }

    .team-card:hover .team-overlay {
        opacity: 1;
        transform: scale(1);
    }

    .team-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
    }

    .team-name {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--color-primary);
        letter-spacing: 0.01em;
    }

    .team-role {
        font-size: 0.96rem;
        color: var(--color-text-light);
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .team-career-card {
        position: relative;
        margin-top: 4.5rem;
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(0, 44, 104, 0.08));
        border-radius: 26px;
        padding: clamp(2rem, 5vw, 3rem);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
        border: 1px solid rgba(0, 44, 104, 0.12);
        flex-wrap: wrap;
    }

    .team-career-card::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 1px solid rgba(255, 255, 255, 0.4);
        pointer-events: none;
    }

    .team-career-copy h3 {
        font-size: clamp(1.8rem, 3vw, 2.3rem);
        font-weight: 800;
        color: var(--color-primary);
        margin-bottom: 0.75rem;
    }

    .team-career-copy p {
        font-size: 1.05rem;
        color: rgba(15, 23, 42, 0.75);
        max-width: 640px;
        line-height: 1.7;
    }

    .team-career-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.85rem 2.8rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
        color: #ffffff;
        font-weight: 700;
        letter-spacing: 0.05em;
        box-shadow: 0 12px 28px rgba(0, 123, 255, 0.35);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .team-career-cta:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 18px 36px rgba(0, 123, 255, 0.45);
    }

    @keyframes teamFadeIn {
        0% {
            opacity: 0;
            transform: translateY(26px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 1280px) {
        .team-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 1024px) {
        .team-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .team-card {
            padding: 2.3rem 1.6rem 2.1rem;
        }
    }

    @media (max-width: 768px) {
        .team-section::before {
            inset: 12% -40% 0 -40%;
        }

        .team-grid {
            gap: 2rem;
        }

        .team-avatar {
            width: 140px;
            height: 140px;
        }

        .team-career-card {
            flex-direction: column;
            align-items: stretch;
            text-align: center;
        }

        .team-career-cta {
            align-self: center;
        }
    }

    @media (max-width: 600px) {
        .team-grid {
            grid-template-columns: 1fr;
        }

        .team-card {
            padding: 2.1rem 1.5rem 2rem;
        }

        .team-avatar {
            width: 132px;
            height: 132px;
        }

        .team-career-copy p {
            font-size: 1rem;
        }
    }

    /* ============================================
       CONTACT SECTION (GET IN TOUCH)
       ============================================ */

    .contact-section {
        background: radial-gradient(circle at top left, rgba(0, 123, 255, 0.12), rgba(0, 44, 104, 0.3)),
            linear-gradient(180deg, #001a3b 0%, #000f24 100%);
        color: #f8fafc;
        padding: 6.5rem 0;
        position: relative;
        overflow: hidden;
    }

    .contact-section::before {
        content: '';
        position: absolute;
        top: -240px;
        right: -220px;
        width: 520px;
        height: 520px;
        background: radial-gradient(circle, rgba(0, 123, 255, 0.28) 0%, rgba(0, 123, 255, 0) 70%);
        filter: blur(5px);
        z-index: 0;
    }

    .contact-shell {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: 3.5rem;
    }

    .contact-heading {
        max-width: 720px;
        margin: 0 auto;
    }

    .contact-title {
        font-size: clamp(2.5rem, 4vw, 3.2rem);
        font-weight: 800;
        color: #ffffff;
        letter-spacing: 0.01em;
    }

    .contact-title span {
        color: var(--color-secondary);
    }

    .contact-subtitle {
        margin-top: 1rem;
        font-size: 1.12rem;
        line-height: 1.8;
        color: rgba(224, 233, 255, 0.82);
    }

    .contact-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.75rem;
        align-items: stretch;
    }

    .contact-info-card,
    .contact-form-card {
        background: rgba(0, 26, 59, 0.72);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 28px;
        padding: clamp(2rem, 4vw, 2.75rem);
        box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(6px);
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    .contact-info-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 34px 72px rgba(0, 11, 28, 0.35);
    }

    .contact-info-card h3 {
        font-size: 1.6rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
    }

    .contact-tagline {
        font-size: 1.05rem;
        line-height: 1.7;
        color: rgba(232, 238, 255, 0.76);
        margin-bottom: 2rem;
    }

    .contact-info-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-info-item {
        display: flex;
        gap: 1.25rem;
        align-items: flex-start;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.28), rgba(0, 44, 104, 0.38));
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(0, 123, 255, 0.22);
        flex-shrink: 0;
    }

    .contact-info-label {
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        display: block;
        margin-bottom: 0.4rem;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.85rem;
    }

    .contact-info-item p,
    .contact-info-item a {
        color: rgba(236, 242, 255, 0.92);
        font-size: 1rem;
        line-height: 1.7;
    }

    .contact-info-item a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-info-item a:hover {
        color: var(--color-secondary);
    }

    .contact-social {
        margin-top: 2.5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1.25rem;
        align-items: center;
    }

    .contact-social span {
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 0.82rem;
        color: rgba(220, 228, 255, 0.7);
    }

    .contact-social-links {
        display: flex;
        gap: 0.85rem;
    }

    .contact-social-links a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
    }

    .contact-social-links a:hover {
        transform: translateY(-4px);
        background: rgba(0, 123, 255, 0.24);
        border-color: rgba(0, 123, 255, 0.45);
    }

    .contact-form-card {
        background: linear-gradient(160deg, rgba(9, 21, 44, 0.92), rgba(12, 40, 78, 0.92));
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    }

    .contact-form-card:hover {
        transform: translateY(-10px) scale(1.01);
        box-shadow: 0 38px 88px rgba(0, 0, 0, 0.34);
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }

    .contact-form h3 {
        font-size: 1.75rem;
        font-weight: 800;
        color: #ffffff;
    }

    .contact-fieldset {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .contact-field {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .contact-map {
        margin: 1.4rem 0 1.8rem;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 22px 45px rgba(0, 123, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .contact-map iframe {
        width: 100%;
        height: 220px;
        border: 0;
        display: block;
    }

    .contact-quick-links {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.95rem;
        color: rgba(229, 238, 255, 0.88);
        margin-bottom: 1.5rem;
    }

    .contact-quick-links a {
        color: #7fd3ff;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: color 0.2s ease;
    }

    .contact-quick-links a:hover {
        color: #b4e5ff;
    }

    .contact-field label {
        font-size: 0.95rem;
        font-weight: 600;
        color: rgba(225, 233, 255, 0.82);
        letter-spacing: 0.03em;
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font-size: 1rem;
        transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    }

    .contact-field input::placeholder,
    .contact-field textarea::placeholder {
        color: rgba(235, 242, 255, 0.55);
    }

    .contact-field select {
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.65) 50%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.65) 50%, transparent 50%);
        background-position: calc(100% - 20px) calc(50% + 3px), calc(100% - 15px) calc(50% + 3px);
        background-size: 5px 5px, 5px 5px;
        background-repeat: no-repeat;
    }

    .contact-service-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .contact-service-tags span {
        padding: 0.45rem 0.9rem;
        border-radius: 999px;
        background: rgba(0, 166, 255, 0.14);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        border: 1px solid rgba(0, 166, 255, 0.35);
        box-shadow: 0 10px 24px rgba(0, 166, 255, 0.08);
        text-transform: uppercase;
    }

    .contact-field input:focus,
    .contact-field select:focus,
    .contact-field textarea:focus {
        outline: none;
        border-color: rgba(0, 123, 255, 0.65);
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
        background: rgba(255, 255, 255, 0.12);
    }

    .contact-field textarea {
        min-height: 160px;
        resize: vertical;
    }

    .contact-submit {
        align-self: flex-start;
        padding: 0.95rem 2.8rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #00a6ff 0%, #0064ff 100%);
        color: #ffffff;
        font-weight: 700;
        letter-spacing: 0.05em;
        border: none;
        cursor: pointer;
        box-shadow: 0 18px 38px rgba(0, 123, 255, 0.36);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-submit:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 24px 48px rgba(0, 123, 255, 0.42);
    }

    .contact-submit:active {
        transform: translateY(1px);
    }

    @media (max-width: 992px) {
        .contact-grid {
            grid-template-columns: 1fr;
        }

        .contact-info-card,
        .contact-form-card {
            transform: none !important;
        }

        .contact-fieldset {
            grid-template-columns: 1fr;
        }

        .contact-submit {
            align-self: stretch;
            text-align: center;
        }
    }

    @media (max-width: 640px) {
        .contact-section {
            padding: 5.5rem 0;
        }

        .contact-info-card,
        .contact-form-card {
            padding: 1.9rem 1.5rem 2.1rem;
        }

        .contact-social {
            gap: 1rem;
        }

        .contact-social-links {
            gap: 0.75rem;
        }

        .contact-subtitle {
            font-size: 1.05rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .contact-info-card,
        .contact-form-card,
        .contact-social-links a,
        .contact-submit,
        .team-card,
        .team-avatar,
        .team-overlay {
            transition: none !important;
            animation: none !important;
        }
    }
