/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --secondary: #ffffff;
    --accent: #333333;
    --gray-light: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #6c757d;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-outline: 0 0 0 3px rgba(0, 123, 255, 0.5);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--secondary);
    scroll-behavior: smooth;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, #000 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ========== 3D NAVBAR WITH BUBBLE BUTTONS ========== */
.navbar {
    position: fixed;
    top: 20px;
    left: 5%;
    right: 5%;
    width: 90%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: 1000;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.logo {
    position: relative;
    z-index: 2;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========== BUBBLE BUTTONS STYLE ========== */
.nav-links a, .dropbtn {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
}

.nav-links a::before, .dropbtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-light);
    border-radius: var(--radius-full);
    z-index: -1;
    transform: scale(0);
    transition: var(--transition-bounce);
}

.nav-links a:hover::before, .dropbtn:hover::before,
.nav-links a.active::before {
    transform: scale(1);
}

.nav-links a:hover, .dropbtn:hover,
.nav-links a.active {
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-links a i, .dropbtn i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover i, .dropbtn:hover i {
    transform: rotate(180deg);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 280px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 1001;
    padding: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-content a {
    display: block;
    padding: 1rem 2rem;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.dropdown-content a:hover::before {
    transform: scaleY(1);
}

.dropdown-content a:hover {
    background: var(--gray-light);
    padding-left: 2.5rem;
    box-shadow: none;
}

/* Contact Numbers Bubble */
.contact-numbers {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.contact-numbers span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--gray-light);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.contact-numbers span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary);
    color: var(--secondary);
}

.contact-numbers span i {
    font-size: 1rem;
}

.contact-numbers span:hover i {
    color: var(--secondary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--gray-light);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--primary);
    color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

/* WhatsApp Float Button - 3D Bubble */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 6px 10px rgba(0,0,0,0.1);
    z-index: 999;
    transition: var(--transition-bounce);
    text-decoration: none;
    border: 3px solid white;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5), 0 8px 15px rgba(0,0,0,0.2);
    color: white;
}

.whatsapp-float i {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* ========== 3D HERO SECTION ========== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%), url('/images/1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary);
    margin-top: 0;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--secondary), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
    background: none;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== 3D BUBBLE BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2), 0 8px 10px rgba(0,0,0,0.1);
    background: var(--primary);
    color: var(--secondary);
}

.btn-outline {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 3D SERVICE CARDS WITH ROUNDED CORNERS ========== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition-bounce);
    transform-origin: center;
}

.service-card:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
}

.card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
}

.card-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.service-card:hover .card-content h3::after {
    width: 80px;
}

.card-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card-content .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    background: var(--primary);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.card-content .btn:hover {
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* ========== PAGE HEADER ========== */
.page-header {
    min-height: 50vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
    margin-bottom: 3rem;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--secondary), transparent);
}

.header-content h1 {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
    margin-bottom: 1rem;
}

/* ========== SERVICE BANNER ========== */
.service-banner {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%), url('/images/GEN\ 1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
    margin-bottom: 3rem;
}

.banner-content h1 {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
    margin-bottom: 1rem;
}

/* ========== 3D CONTACT FORM ========== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255,255,255,0.5);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    background: white;
    box-shadow: var(--shadow-inner), 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group textarea {
    border-radius: var(--radius-lg);
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05), var(--shadow-md);
    transform: translateY(-2px);
}

.form-group label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
    transition: var(--transition);
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group textarea ~ label {
    top: 1.5rem;
    transform: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%) scale(0.9);
    color: var(--primary);
}

/* ========== INFO CARDS 3D ========== */
.info-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.info-card i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition-bounce);
    display: inline-block;
}

.info-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.info-card p {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ========== PROJECT ITEMS 3D ========== */
.project-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 1px solid rgba(255,255,255,0.5);
    margin-bottom: 2rem;
}

.project-item:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-item img {
    width: 100%;
    border-radius: var(--radius-lg);
    height: 180px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
}

.project-item:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.project-item h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.project-item p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ========== FEATURES SECTION 3D ========== */
.feature {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: var(--transition);
}

.feature:hover::after {
    transform: translateX(100%);
}

.feature:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
    display: inline-block;
}

.feature:hover i {
    transform: scale(1.2) rotateY(180deg);
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ========== STATS SECTION 3D ========== */
.stats-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1), transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.counter {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    font-size: 1.3rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ========== 3D FOOTER ========== */
footer {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--secondary);
    padding: 5rem 5% 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    line-height: 2.5;
    position: relative;
    padding-left: 0;
}

.footer-section a:hover {
    color: var(--secondary);
    padding-left: 10px;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-section a:hover::before {
    left: -10px;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--secondary);
    font-size: 2rem;
    transition: var(--transition-bounce);
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 2;
}

/* ========== SCROLL TOP BUTTON ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 998;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 1.2rem;
}

.scroll-top-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow-xl);
    background: var(--secondary);
    color: var(--primary);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }
    
    .contact-numbers span {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        border-radius: var(--radius-lg);
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        margin-top: 1rem;
        border: 1px solid rgba(255,255,255,0.2);
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a, .dropbtn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-md);
    }
    
    .dropdown-content.active {
        display: block;
    }
    
    .dropdown:hover .dropdown-content {
        transform: none;
    }
    
    .contact-numbers {
        flex-direction: column;
        gap: 0.5rem;
        margin-left: 0;
        width: 100%;
    }
    
    .contact-numbers span {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .project-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .project-item img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .technician-section .container > div {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .technician-section img {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top-btn {
        bottom: 100px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .counter {
        font-size: 3rem;
    }
    
    .stat p {
        font-size: 1.1rem;
    }
}
/* ========== UPDATED SERVICE CARDS WITH ROUNDED CORNERS ========== */
.service-card {
    background: var(--secondary);
    border-radius: 20px;  /* Rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    background: white;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.card-content p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ========== BUBBLE BUTTONS ========== */
.nav-links a, .dropbtn {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;  /* Bubble shape */
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover, .dropbtn:hover,
.nav-links a.active {
    background: rgba(0,0,0,0.05);
    transform: scale(1.05);
}

.contact-numbers span {
    padding: 0.5rem 1.2rem;
    border-radius: 30px;  /* Bubble shape */
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.contact-numbers span:hover {
    background: black;
    color: white;
    transform: scale(1.05);
}

/* ========== DROPDOWN ROUNDED ========== */
.dropdown-content {
    border-radius: 15px;
    overflow: hidden;
}

.dropdown-content a {
    padding: 0.8rem 1.5rem;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: #f5f5f5;
    padding-left: 2rem;
}

/* ========== WHATSAPP BUTTON ROUNDED ========== */
.whatsapp-float {
    border-radius: 50%;  /* Perfect circle */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ========== INFO CARDS ROUNDED ========== */
.info-card {
    border-radius: 20px;
    padding: 2rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== PROJECT ITEMS ROUNDED ========== */
.project-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== BUTTONS ROUNDED ========== */
.btn {
    border-radius: 30px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ========== VIP FOOTER STYLES ========== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 4rem 5% 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    border-top: 5px solid #333;
}

/* Animated Background Effect */
footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

/* Footer Section Headers */
.footer-section h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #fff, #888);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 80px;
}

/* Footer Section Text */
.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== VIP SOCIAL LINKS ========== */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

/* Social Icons Hover Effects */
.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
}

/* Individual Brand Colors on Hover */
.social-links a.tiktok:hover {
    background: #000000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.social-links a.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 10px 25px rgba(0,119,181,0.4);
}

.social-links a.facebook:hover {
    background: #1877f2;
    box-shadow: 0 10px 25px rgba(24,119,242,0.4);
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
    box-shadow: 0 10px 25px rgba(225,48,108,0.4);
}

.social-links a.youtube:hover {
    background: #ff0000;
    box-shadow: 0 10px 25px rgba(255,0,0,0.4);
}

/* Shine Effect on Hover */
.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

/* ========== CONTACT INFO STYLES ========== */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(5px);
}

.contact-info i {
    width: 25px;
    color: #fff;
    font-size: 1.1rem;
}

.contact-info a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
}

/* WhatsApp Quick Link */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.whatsapp-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
    background: #20ba5a;
}

.whatsapp-link i {
    font-size: 1.3rem;
}

/* ========== QUICK LINKS STYLES ========== */
.quick-links, .service-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quick-links a, .service-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.quick-links a i, .service-links a i {
    font-size: 0.8rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.quick-links a:hover, .service-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.quick-links a:hover i, .service-links a:hover i {
    transform: translateX(3px);
}

/* ========== BUSINESS HOURS ========== */
.business-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.business-hours p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.business-hours i {
    color: #4CAF50;
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-methods span {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.payment-methods i {
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-methods i:hover {
    transform: translateY(-3px) scale(1.1);
    color: #fff;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.trust-badges i {
    color: #4CAF50;
    font-size: 1.1rem;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.copyright a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #fff;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .footer-content {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .payment-methods, .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 5% 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .quick-links a, .service-links a {
        justify-content: center;
    }
    
    .whatsapp-link {
        width: 100%;
        justify-content: center;
    }
    
    .business-hours p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .payment-methods {
        gap: 1rem;
    }
    
    .payment-methods i {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        gap: 1rem;
        flex-direction: column;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
/* ========== FOOTER LINKS LEFT ALIGNMENT ========== */
.footer-section {
    text-align: left;
}

.footer-section h3 {
    text-align: left;
}

.footer-section p {
    text-align: left;
}

.footer-section a {
    text-align: left;
    display: block;  /* Makes links stack vertically */
    margin-left: 0;
    padding-left: 0;
}

.contact-info p {
    text-align: left;
    justify-content: flex-start;
}

.quick-links a, 
.service-links a {
    text-align: left;
    justify-content: flex-start;
}

.business-hours p {
    text-align: left;
    justify-content: flex-start;
}

.social-links {
    justify-content: flex-start;  /* Aligns social icons to left */
}

/* Footer bottom elements */
.footer-bottom {
    text-align: left;
}

.payment-methods {
    text-align: left;
    justify-content: flex-start;
}

.trust-badges {
    text-align: left;
    justify-content: flex-start;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .footer-section {
        text-align: left;
    }
    
    .footer-section h3::after {
        left: 0;
        transform: none;
    }
    
    .quick-links a, 
    .service-links a {
        justify-content: flex-start;
    }
    
    .business-hours p {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}
/* Small Button Styles */
.btn-small {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-small-outline {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-small-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.card-links {
    margin-top: 1rem;
}
/* ========== MOBILE FIXES - ALL TEXT LEFT ALIGNED ========== */
@media (max-width: 768px) {
    
    /* Reset all text to left alignment on mobile */
    body, 
    .container, 
    section, 
    .footer-section,
    .service-card,
    .card-content,
    .info-card,
    .feature,
    .project-item,
    .contact-form,
    .form-group {
        text-align: left !important;
    }
    
    /* Headers left aligned */
    h1, h2, h3, h4, h5, h6 {
        text-align: left !important;
    }
    
    h2::after {
        left: 0 !important;
        transform: none !important;
    }
    
    /* Navbar mobile menu fixes */
    .nav-links {
        text-align: left !important;
        padding-left: 1rem !important;
    }
    
    .nav-links a,
    .dropbtn {
        text-align: left !important;
        justify-content: flex-start !important;
        width: 100%;
        padding: 0.8rem 1rem !important;
    }
    
    .dropdown-content {
        text-align: left !important;
        padding-left: 1rem !important;
    }
    
    .dropdown-content a {
        text-align: left !important;
        padding-left: 1.5rem !important;
    }
    
    /* Mobile menu button text fixes */
    .mobile-menu-btn {
        text-align: center !important;
    }
    
    /* Contact numbers in mobile */
    .contact-numbers {
        text-align: left !important;
        width: 100%;
    }
    
    .contact-numbers span {
        text-align: left !important;
        justify-content: flex-start !important;
        width: 100%;
    }
    
    /* Service cards mobile fixes */
    .service-card {
        text-align: left !important;
    }
    
    .card-content {
        text-align: left !important;
        padding: 1.5rem !important;
    }
    
    .card-content h3 {
        text-align: left !important;
    }
    
    .card-content p {
        text-align: left !important;
    }
    
    .card-links {
        text-align: left !important;
    }
    
    .btn-small,
    .btn-small-outline {
        text-align: center !important;
        display: inline-block;
        margin-right: 0.5rem;
    }
    
    /* Footer mobile fixes */
    .footer-section {
        text-align: left !important;
    }
    
    .footer-section h3 {
        text-align: left !important;
    }
    
    .footer-section h3::after {
        left: 0 !important;
        transform: none !important;
    }
    
    .footer-section p {
        text-align: left !important;
    }
    
    .footer-section a {
        text-align: left !important;
        justify-content: flex-start !important;
        padding-left: 0 !important;
    }
    
    .social-links {
        justify-content: flex-start !important;
    }
    
    .contact-info p {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .quick-links a,
    .service-links a {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .business-hours p {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .footer-bottom {
        text-align: left !important;
    }
    
    .payment-methods {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .trust-badges {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .copyright {
        text-align: center !important; /* Keep copyright centered */
    }
    
    /* Hero section - keep centered on mobile too */
    .hero-content,
    .page-header .header-content,
    .service-banner .banner-content,
    .text-center {
        text-align: center !important;
    }
    
    .hero-content h1,
    .hero-content p {
        text-align: center !important;
    }
    
    /* Form elements */
    .contact-form {
        text-align: left !important;
    }
    
    .form-group {
        text-align: left !important;
    }
    
    input, textarea, select {
        text-align: left !important;
    }
    
    /* About page */
    .technician-section ul {
        text-align: left !important;
    }
    
    .technician-section li {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    /* Project items */
    .project-item {
        text-align: left !important;
    }
    
    .project-item h3 {
        text-align: left !important;
    }
    
    .project-item p {
        text-align: left !important;
    }
    
    /* Features */
    .feature {
        text-align: left !important;
    }
    
    .feature h3 {
        text-align: left !important;
    }
    
    .feature p {
        text-align: left !important;
    }
    
    /* Info cards */
    .info-card {
        text-align: left !important;
    }
    
    .info-card h3 {
        text-align: left !important;
    }
    
    .info-card p {
        text-align: left !important;
    }
    
    /* Related links section */
    .related-links {
        text-align: left !important;
    }
    
    .related-links a {
        text-align: center !important; /* Buttons can be centered */
        display: inline-block;
    }
    
    /* WhatsApp button */
    .whatsapp-float {
        text-align: center !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .card-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-small,
    .btn-small-outline {
        text-align: center !important;
        width: 100%;
        margin-right: 0;
    }
    
    .related-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .related-links a {
        text-align: left !important;
        width: 100%;
    }
}

/* ========== PREVENT HORIZONTAL SCROLLING ========== */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix container overflow */
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    overflow-x: hidden;
}

/* Fix sections */
section {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Fix hero section */
.hero {
    overflow-x: hidden;
    width: 100%;
    left: 0;
    right: 0;
}

/* Fix navbar */
.navbar {
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: calc(100% - 10%);
}

/* Fix footer */
footer {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.footer-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

/* Fix images and media */
img, iframe, video {
    max-width: 100%;
    height: auto;
}

/* Fix grid layouts */
.service-cards {
    max-width: 100%;
    margin: 0 auto;
}

/* Fix dropdowns */
.dropdown-content {
    max-width: 280px;
    width: 100%;
}

/* Fix mobile menu */
@media (max-width: 768px) {
    .nav-links {
        max-width: 100%;
        width: 100%;
        left: 0;
        right: 0;
        overflow-x: hidden;
    }
    
    .dropdown-content {
        max-width: 100%;
        width: 100%;
    }
    
    /* Fix any elements that might overflow */
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-numbers span {
        max-width: 100%;
        word-break: break-word;
    }
    
    /* Fix any animations that might cause overflow */
    .reveal {
        will-change: transform;
    }
    
    .reveal.active[data-animation="left"],
    .reveal.active[data-animation="right"] {
        transform: translateX(0);
    }
}

/* Fix for very small devices */
@media (max-width: 480px) {
    .navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1, h2, h3, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-card {
        width: 100%;
        margin: 0;
    }
}

/* Fix any absolute positioned elements */
.whatsapp-float {
    right: 30px;
    max-width: 60px;
}

.scroll-top-btn {
    right: 30px;
    max-width: 50px;
}

/* Fix map container */
.map-container iframe {
    max-width: 100%;
    width: 100%;
}

/* Fix tables if any */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* ========== FULL COLOR SOCIAL ICONS ========== */
.social-links-wrapper {
    margin-top: 1.5rem;
}

.social-links-wrapper h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Base style for all social icons */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Individual brand colors - FULL COLOR */
.social-link.tiktok {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-link.linkedin {
    background: #0077b5;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,119,181,0.3);
}

.social-link.facebook {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(24,119,242,0.3);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(225,48,108,0.3);
}

.social-link.youtube {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255,0,0,0.3);
}

/* Icon size and style */
.social-link i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
    color: #ffffff;
}

/* Hover effects */
.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.social-link:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Shine effect on hover */
.social-link::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 ease;
}

.social-link:hover::before {
    left: 100%;
}

/* Larger version for contact page */
.social-link.large {
    width: 60px;
    height: 60px;
}

.social-link.large i {
    font-size: 2rem;
}

/* Social links with labels */
.social-link.with-label {
    width: auto;
    height: auto;
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    gap: 0.8rem;
    display: inline-flex;
}

.social-link.with-label i {
    font-size: 1.2rem;
}

.social-link.with-label span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Dark theme footer adjustments */
.footer-section .social-link {
    border: 1px solid rgba(255,255,255,0.2);
}

/* Animation for social icons */
@keyframes socialPulse {
    0% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
}

.social-link {
    animation: socialPulse 3s ease-in-out infinite;
}

/* Staggered animation delays */
.social-link:nth-child(1) { animation-delay: 0s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.4s; }
.social-link:nth-child(4) { animation-delay: 0.6s; }
.social-link:nth-child(5) { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 768px) {
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.2rem;
    }
    
    .social-link.large {
        width: 50px;
        height: 50px;
    }
    
    .social-link.large i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
}

/* ========== COMPLETE FOOTER STYLES ========== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    margin-top: 4rem;
}

/* Animated background effect */
footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: footerRotate 30s linear infinite;
    pointer-events: none;
}

@keyframes footerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ========== FOOTER MAIN GRID ========== */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* Animated underline */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #fff, #666);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 60px;
}

/* ========== COMPANY INFO SECTION ========== */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 5px 10px rgba(255,255,255,0.2));
}

.company-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ========== FULL COLOR SOCIAL LINKS ========== */
.social-links-wrapper {
    margin-top: 1rem;
}

.social-links-wrapper h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Individual brand colors - FULL COLOR */
.social-link.tiktok {
    background: #000000;
    color: #ffffff;
}

.social-link.linkedin {
    background: #0077b5;
    color: #ffffff;
}

.social-link.facebook {
    background: #1877f2;
    color: #ffffff;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #d62976 40%, #962fbf 70%, #4f5bd5 100%);
    color: #ffffff;
}

.social-link.youtube {
    background: #ff0000;
    color: #ffffff;
}

/* Icon style */
.social-link i {
    font-size: 1.2rem;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Hover effects */
.social-link:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.social-link:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Shine effect */
.social-link::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 ease;
    z-index: 1;
}

.social-link:hover::before {
    left: 100%;
}

/* Pulse animation */
@keyframes socialPulse {
    0% { box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 10px 25px rgba(255,255,255,0.2); }
    100% { box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
}

.social-link {
    animation: socialPulse 3s ease-in-out infinite;
}

/* Staggered delays */
.social-link:nth-child(1) { animation-delay: 0s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.4s; }
.social-link:nth-child(4) { animation-delay: 0.6s; }
.social-link:nth-child(5) { animation-delay: 0.8s; }

/* ========== FOOTER LINKS ========== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: #fff;
}

/* ========== CONTACT INFO ========== */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-item:hover {
    transform: translateX(5px);
    color: #fff;
}

.contact-item i {
    font-size: 1rem;
    color: #fff;
    min-width: 20px;
    margin-top: 3px;
}

.contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.contact-item a:hover {
    color: #fff;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.2);
    width: fit-content;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
}

.whatsapp-btn i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37,211,102,0.4);
}

.whatsapp-btn:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.payment-methods span {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-methods i {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    cursor: default;
}

.payment-methods i:hover {
    transform: translateY(-3px) scale(1.1);
    color: #fff;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.trust-badges i {
    color: #4CAF50;
    font-size: 1rem;
}

/* Copyright */
.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-align: center;
    flex: 1;
}

.copyright i {
    color: #ff4444;
    animation: heartBeat 1.5s ease infinite;
    display: inline-block;
}

.copyright a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #fff;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .payment-methods,
    .trust-badges {
        justify-content: center;
    }
    
    .copyright {
        width: 100%;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 5% 1.5rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col h4::after {
        left: 0;
        transform: none;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
        width: 100%;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    
    .trust-badges span {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        gap: 1.8rem;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .payment-methods i {
        font-size: 1.5rem;
    }
    
    .whatsapp-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* Print styles */
@media print {
    footer {
        display: none;
    }
}

/* Service Banner Section */
.service-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Banner Content Overlay */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 0.875rem;
    }
}
/* Banner Text Color - Black */
.service-banner .banner-content h1,
.service-banner .banner-content p {
    color: black !important;
}
/* Bilingual support: keep original classes, add arabic adjustments */
        body {
            font-family: 'Inter', sans-serif;
        }
        /* ensure arabic text is displayed properly */
        .arabic {
            display: inline-block;
            direction: rtl;
            font-family: 'Inter', sans-serif;
        }
        /* for any element that should show both languages */
        .bilingual-block {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: space-between;
            align-items: baseline;
        }
        .bilingual-block .en {
            flex: 1 1 45%;
            text-align: left;
        }
        .bilingual-block .ar {
            flex: 1 1 45%;
            text-align: right;
            direction: rtl;
            color: #2c3e50; /* slightly different tone to distinguish? optional */
        }
        /* adjust headings for arabic */
        h2 .ar, h3 .ar, p .ar {
            display: block; /* or inline */
            font-weight: 500;
        }
        .service-card .card-content .ar {
            margin-top: 0.5rem;
            font-size: 0.95rem;
            color: #2c3e50;
        }
        .btn {
            margin: 0.2rem;
        }
        .btn-ar {
            background-color: #2c3e50;
            color: white;
        }
        .btn-ar:hover {
            background-color: #1a252f;
        }
        /* navbar adjustments for two-line maybe? but we keep exactly same structure - we will add arabic inline with spans */
        .nav-links a, .dropdown .dropbtn {
            white-space: nowrap;
        }
        /* for small screens we wrap */
        @media (max-width: 768px) {
            .bilingual-block {
                flex-direction: column;
            }
            .bilingual-block .en, .bilingual-block .ar {
                flex: 1 1 100%;
                text-align: left;
            }
            .bilingual-block .ar {
                text-align: left;
                direction: ltr; /* but arabic words will still be rtl internally */
            }
        }
        /* style the arabic contact numbers same */
        .contact-numbers span {
            margin: 0 0.3rem;
        }

        /* Contact Button Arabic Text Color Fix */
.service-card .btn.contact-now .ar {
    color: #ffffff !important;
}

/* Alternative selector if the above doesn't work */
.btn.contact-now .ar,
a.btn.contact-now .ar,
.contact-now .ar {
    color: white !important;
}

/* For any other buttons with Arabic text */
.btn .ar {
    color: inherit; /* This will make Arabic text inherit color from parent button */
}

/* Ensure all buttons have white Arabic text */
.btn .ar,
.btn-outline .ar,
.whatsapp-btn .ar {
    color: inherit;
}

/* Specific fix for contact buttons */
a.btn.contact-now,
.contact-now {
    color: white; /* This ensures button text is white */
}

/* Force white color for Arabic text in all buttons */
.btn span.ar,
.btn a span.ar,
button span.ar,
.contact-now span.ar,
.whatsapp-btn span.ar {
    color: #ffffff !important;
}

/* Updated Banner Style (from example) */
        .service-banner {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/ac-maintenance.jpg');
            background-size: cover; 
            background-position: center;
            min-height: 300px; /* Adjust as needed */
            display: flex;
            align-items: center;
            justify-content: center;
        }
        /* Dual Floating Buttons */
        .float-buttons {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .float-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 30px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            transition: transform 0.3s ease;
            text-decoration: none;
        }
        .float-btn:hover {
            transform: scale(1.1);
        }
        .float-wa {
            background-color: #25d366;
        }
        .float-call {
            background-color: #0077b5; /* Phone blue */
        }
        /* Additional RTL support */
        .ar {
            display: inline-block;
            direction: rtl;
            text-align: right;
        }
        .bilingual-block {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .bilingual-block .ar {
            text-align: center;
        }
        /* Ensure cards with bilingual text align properly */
        .service-card .card-content h3 .ar,
        .service-card .card-content p .ar {
            display: block;
            margin-top: 5px;
        }
        .service-card .btn .ar {
            margin-left: 5px;
        }
        /* Footer adjustments for arabic */
        .footer-col .ar, .footer-bottom .ar {
            display: inline-block;
        }
        .contact-item .ar {
            display: block;
        }
        .call-float {
    position: fixed;
    bottom: 90px; /* Adjust based on WhatsApp button position */
    right: 20px;
    background-color: #0077b5;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* ============================================ */
/* HEADING TEXT ALIGNMENT FIX                    */
/* ============================================ */

/* Fix for main heading - JUDEBUSINESS.com */
.hero-content h1,
.hero-content h1.reveal,
h1.reveal[data-animation="down"] {
    display: block !important;
    white-space: nowrap !important; /* Prevents text from wrapping */
    overflow: visible !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    word-break: keep-all !important; /* Prevents word breaking */
}

/* For smaller screens, allow wrapping if needed */
@media (max-width: 480px) {
    .hero-content h1,
    .hero-content h1.reveal,
    h1.reveal[data-animation="down"] {
        white-space: normal !important; /* Allow wrapping on very small screens */
        font-size: 2rem !important; /* Adjust font size for mobile */
    }
}

/* Fix for any heading with reveal animation */
.reveal[data-animation="down"] {
    transform: none !important; /* Reset any transform that might cause issues */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Additional fixes for hero section */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-content h1 {
    position: relative;
    z-index: 10;
}

/* Fix for any margin/padding issues */
.hero-content h1::before,
.hero-content h1::after {
    display: none !important; /* Remove any pseudo-elements that might cause issues */
}
/* ============================================ */
/* ARABIC TEXT ALIGNMENT IN MOBILE MENU ONLY    */
/* ============================================ */

@media (max-width: 768px) {
    /* Arabic text in mobile menu - right aligned */
    .nav-links a .ar,
    .nav-links .dropbtn .ar,
    .dropdown-content a .ar {
        direction: rtl !important;
        text-align: right !important;
        display: inline-block !important;
        float: right !important;
        margin-left: 5px !important;
    }
    
    /* Keep English text as is */
    .nav-links a .en,
    .nav-links .dropbtn .en,
    .dropdown-content a .en {
        text-align: left !important;
        display: inline-block !important;
    }
    
    /* Fix for dropdown button arrow */
    .nav-links .dropbtn i {
        display: inline-block !important;
    }
    
    /* Ensure menu items display properly */
    .nav-links a,
    .nav-links .dropbtn,
    .dropdown-content a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
}

/* ============================================ */
/* MOBILE MENU ARABIC TEXT CROP FIX             */
/* ============================================ */

@media (max-width: 768px) {
    /* Fix for mobile menu container */
    .navbar .nav-links.active,
    .mobile-menu,
    .dropdown-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for all mobile menu items */
    .navbar .nav-links.active a,
    .navbar .nav-links.active .dropbtn,
    .mobile-menu a,
    .mobile-menu .dropbtn,
    .dropdown-content a {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 10px !important;
        margin: 5px 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        word-break: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
    }
    
    /* English text - left side */
    .navbar .nav-links.active a .en,
    .navbar .nav-links.active .dropbtn .en,
    .mobile-menu a .en,
    .mobile-menu .dropbtn .en,
    .dropdown-content a .en {
        flex: 0 1 auto !important;
        max-width: 50% !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding-right: 5px !important;
    }
    
    /* Arabic text - right side */
    .navbar .nav-links.active a .ar,
    .navbar .nav-links.active .dropbtn .ar,
    .mobile-menu a .ar,
    .mobile-menu .dropbtn .ar,
    .dropdown-content a .ar {
        flex: 0 1 auto !important;
        max-width: 50% !important;
        direction: rtl !important;
        text-align: right !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding-left: 5px !important;
        unicode-bidi: isolate !important;
        overflow-wrap: break-word !important;
    }
    
    /* Fix for dropdown button with arrow */
    .navbar .nav-links.active .dropbtn {
        position: relative !important;
        padding-right: 30px !important;
    }
    
    .navbar .nav-links.active .dropbtn i {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    /* Adjust dropdown button text when arrow is present */
    .navbar .nav-links.active .dropbtn .en,
    .navbar .nav-links.active .dropbtn .ar {
        max-width: 45% !important;
    }
    
    /* Fix for dropdown content */
    .navbar .nav-links.active .dropdown-content {
        width: 100% !important;
        padding-left: 15px !important;
        margin-top: 5px !important;
    }
    
    .navbar .nav-links.active .dropdown-content a {
        padding-left: 20px !important;
    }
    
    /* Fix for contact numbers section */
    .navbar .nav-links.active .contact-numbers {
        width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .navbar .nav-links.active .contact-numbers span {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
    }
    
    .navbar .nav-links.active .contact-numbers .ar {
        max-width: 50% !important;
        text-align: right !important;
    }
}

/* ============================================ */
/* ADDITIONAL FIX FOR VERY SMALL SCREENS        */
/* ============================================ */

@media (max-width: 380px) {
    .navbar .nav-links.active a .en,
    .navbar .nav-links.active .dropbtn .en,
    .mobile-menu a .en,
    .mobile-menu .dropbtn .en,
    .dropdown-content a .en,
    .navbar .nav-links.active a .ar,
    .navbar .nav-links.active .dropbtn .ar,
    .mobile-menu a .ar,
    .mobile-menu .dropbtn .ar,
    .dropdown-content a .ar {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
    }
    
    .navbar .nav-links.active a .ar,
    .navbar .nav-links.active .dropbtn .ar,
    .mobile-menu a .ar,
    .mobile-menu .dropbtn .ar,
    .dropdown-content a .ar {
        margin-top: 3px !important;
    }
    
    .navbar .nav-links.active .dropbtn {
        padding-right: 10px !important;
    }
    
    .navbar .nav-links.active .dropbtn i {
        position: static !important;
        transform: none !important;
        margin-left: 5px !important;
    }
}

/* ============================================ */
/* HOME PAGE BUTTONS FIX - CONTACT NOW BUTTON   */
/* ============================================ */

/* Fix for Contact Now button (outline button) */
.service-card .card-links .btn-small-outline,
.service-cards .service-card .btn-small-outline,
.services-section .service-card .btn-small-outline,
#services .service-card .btn-small-outline {
    background-color: transparent !important;  /* Transparent background */
    color: #000000 !important;                  /* Black text */
    border: 2px solid #000000 !important;       /* Black border */
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* Fix for Learn More button (solid button) */
.service-card .card-links .btn-small,
.service-cards .service-card .btn-small,
.services-section .service-card .btn-small,
#services .service-card .btn-small {
    background-color: #000000 !important;       /* Black background */
    color: #ffffff !important;                   /* White text */
    border: 2px solid #000000 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* Hover effect for Contact Now button */
.service-card .card-links .btn-small-outline:hover,
.service-cards .service-card .btn-small-outline:hover {
    background-color: #000000 !important;       /* Black background on hover */
    color: #ffffff !important;                   /* White text on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

/* Hover effect for Learn More button */
.service-card .card-links .btn-small:hover,
.service-cards .service-card .btn-small:hover {
    background-color: #333333 !important;       /* Dark gray on hover */
    border-color: #333333 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

/* Ensure both buttons have proper spacing */
.service-card .card-links {
    display: flex !important;
    gap: 10px !important;
    margin-top: 15px !important;
    flex-wrap: wrap !important;
}

/* Fix for any white-on-white issues */
.service-card .card-links a span,
.service-card .card-links a .en,
.service-card .card-links a .ar {
    color: inherit !important;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
    .service-card .card-links .btn-small,
    .service-card .card-links .btn-small-outline {
        padding: 6px 15px !important;
        font-size: 0.9rem !important;
    }
}