/* ==========================================================================
   Design Tokens & Resets (NewGen Blue & White)
   ========================================================================== */
:root {
    /* Colors */
    --clr-primary: #0a2540; /* Dark Navy for Headers/Text */
    --clr-accent: #002A8C; /* Navy Blue from Logo */
    --clr-accent-hover: #001C5E;
    --clr-text: #475569; /* Slate 600 */
    --clr-text-light: #64748b; /* Slate 500 */
    --clr-bg: #f8fafc; /* Very light slate for general background */
    --clr-white: #ffffff;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 42, 140, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 42, 140, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 42, 140, 0.12);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.8);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-white { color: var(--clr-white) !important; }
.text-accent { color: var(--clr-accent); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }

.section-padding {
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-subtitle {
    color: var(--clr-accent);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(0, 42, 140, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

.section-title {
    color: var(--clr-primary);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

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

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(0, 42, 140, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--clr-accent-hover);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 42, 140, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    background-color: var(--clr-bg);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 1.2rem 0;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0;
}

.logo span {
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--clr-text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--clr-accent);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: var(--clr-bg);
    color: var(--clr-primary);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-fast);
}

.dropbtn:hover {
    background-color: #f1f5f9;
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background-color: var(--clr-white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    z-index: 1;
    transform-origin: top;
    animation: dropdownAnim 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible bridge to prevent hover loss between button and menu */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

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

.dropdown-content a {
    color: var(--clr-text);
    padding: 14px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-content a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-content a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--clr-accent);
}

.dropdown-content a i {
    color: var(--clr-accent);
    font-size: 1.1rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--clr-white);
    overflow: hidden;
}

/* Modern Abstract Blob for Hero Background */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 42, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 42, 140, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTAgMGgyMHYyMEgwem0xMCAxMGgxMHYxMEgxMHoiIGZpbGw9InJnYmEoMCwgMCwgMCwgMC4wMikiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==');
    z-index: 1;
}

.hero-content {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(0, 42, 140, 0.1);
    color: var(--clr-accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 42, 140, 0.2);
}

.hero h1 {
    color: var(--clr-primary);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--clr-text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: var(--clr-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 5rem);
    align-items: center;
}

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

.about-img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-img:hover {
    transform: scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 42, 140, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--clr-white);
    color: var(--clr-primary);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--clr-accent);
    transition: var(--transition-smooth);
}

.experience-badge:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 42, 140, 0.2);
}

.experience-badge h2 {
    color: var(--clr-accent);
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.experience-badge p {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text);
}

.about-desc {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--clr-text);
    margin-bottom: 2.5rem;
}

.about-features {
    margin-bottom: 3rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-primary);
}

.about-features i {
    color: var(--clr-accent);
    font-size: 1.3rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--clr-bg);
}

.services-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.services-slider-track {
    display: flex;
    width: 200%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-section {
    width: 50%;
    /* We can add padding if needed, but the container handles layout */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--clr-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 1px solid #e2e8f0;
    text-align: left;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--clr-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 42, 140, 0.08);
    color: var(--clr-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.8rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--clr-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--clr-text);
    font-size: 1rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    background-color: var(--clr-accent);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.testimonial-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0; /* Add padding so hover shadow is not clipped */
}

.testimonial-carousel-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-carousel-track .testimonial-card {
    flex: 0 0 calc(50% - 1.25rem);
    width: calc(50% - 1.25rem);
}

@media (max-width: 768px) {
    .testimonial-carousel-track .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
    }
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background-color: var(--clr-white);
    color: var(--clr-primary);
    border: 1px solid #e2e8f0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    border-color: var(--clr-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.carousel-btn:active {
    transform: translateY(0);
}

.testimonial-card {
    background: var(--clr-white);
    padding: 3rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.quote-icon {
    color: rgba(0, 42, 140, 0.1);
    font-size: 4rem;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.testimonial-text {
    color: var(--clr-primary);
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.client-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 42, 140, 0.1);
}

.client-info h4 {
    color: var(--clr-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.client-info h4 .country-label {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline;
    margin-left: 0.2rem;
}

.client-info span {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--clr-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(3rem, 8vw, 5rem);
}

.contact-form-container {
    background-color: var(--clr-white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 42, 140, 0.1);
}

.contact-form-container h3 {
    color: var(--clr-primary);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group.required-field::after {
    content: '*';
    color: #ef4444;
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    pointer-events: none;
}

.form-group.required-field input,
.form-group.required-field select {
    padding-right: 2.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--clr-bg);
}

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

.location-card {
    background-color: var(--clr-primary);
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.location-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 42, 140, 0.3) 0%, transparent 70%);
    transition: var(--transition-smooth);
}

.location-card:hover::after {
    transform: scale(1.3);
}

.loc-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.2rem;
}

.flag-icon {
    width: 36px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loc-header h3 {
    font-size: 1.35rem;
    color: var(--clr-white);
    font-weight: 600;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #cbd5e1;
}

.contact-details i {
    color: var(--clr-accent);
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.85rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #051324;
    padding: 5rem 0 3rem;
    color: var(--clr-text-light);
}

.footer-logo {
    justify-content: center;
    color: var(--clr-white);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--clr-white);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    transform: translateY(-4px);
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.active.reveal,
.active.reveal-left,
.active.reveal-right,
.active.reveal-up {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .experience-badge { bottom: -15px; right: 15px; padding: 2rem; }
    .contact-locations { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .location-card.mt-4 { margin-top: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.nav-active {
        left: 0;
    }

    .mobile-toggle { display: block; }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f8fafc;
        display: none;
        width: 100%;
        text-align: center;
        border: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    
    .experience-badge { 
        position: relative; 
        bottom: 0; 
        right: 0; 
        margin-top: -30px; 
        z-index: 2;
    }

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

    .services-section {
        overflow: hidden;
    }

    /* Services Carousel on Mobile */
    .services-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow: visible;
        gap: 1.5rem;
        touch-action: pan-y; /* Prevent horizontal swiping just in case */
        transition: transform 0.4s ease-in-out;
    }

    .services-grid .service-card {
        flex: 0 0 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Prevent the card from jumping when touched on mobile devices */
    .services-grid .service-card:hover,
    .services-grid .service-card:active {
        transform: none !important;
        box-shadow: none !important;
    }

    .services-grid .service-card:hover .service-icon,
    .services-grid .service-card:active .service-icon {
        transform: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

/* ==========================================================================
   Popup Notification
   ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.popup-content {
    background-color: var(--clr-white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: popupAnim 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-content .popup-icon {
    font-size: 4rem;
    color: #25d366;
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    color: var(--clr-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.popup-content p {
    color: var(--clr-text);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

@keyframes popupAnim {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
