/* index.css - Complete Homepage Styles with AC Services Color Scheme (Black & White) */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* AC Services Color Scheme - Pure Black & White */
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --primary-white: #ffffff;
    --off-white: #f8f8f8;
    --gray-light: #e5e5e5;
    --gray-medium: #9ca3af;
    --gray-dark: #4b5563;
    --accent: #333333;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.25);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--secondary-black);
    background-color: var(--primary-white);
    
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: var(--primary-white); */
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-black);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-black);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-black);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== FLOATING ACTION BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2000;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.float-wa, .float-call {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.float-wa {
    background: #25D366;
}

.float-call {
    background: var(--primary-black);
}

.float-wa:hover, .float-call:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-2xl);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 5% 80px;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.hero-content {
    flex: 1;
    animation: fadeInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    display: inline;
    color: var(--primary-color, #0054a6);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-dark);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-black);
    color: var(--primary-white);
}

.btn-primary:hover {
    background: var(--secondary-black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-whatsapp { background: #25D366 !important; color: #ffffff !important; }
.btn-whatsapp:hover { background: #20b358 !important; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-call { background: transparent !important; color: #ffffff !important; border: 2px solid #ffffff !important; }
.btn-call:hover { background: #ffffff !important; color: #000000 !important; transform: translateY(-3px); }
.btn-call:focus, .btn-call:active { color: #ffffff !important; background: transparent !important; outline: none; box-shadow: none !important; }
.btn-call:hover:active { background: rgba(255, 255, 255, 0.9) !important; color: #000000 !important; }

.btn-outline:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ===== SERVICES OVERVIEW SECTION ===== */
.services-overview {
    padding: 60px 5%;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-black), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header h2 span {
    display: inline;
    color: var(--primary-color, #0054a6);
}

.section-header p {
    color: var(--gray-dark);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    /* background: var(--primary-white); */
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    text-align: left;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.card-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}

.service-card:hover .card-icon {
    border-color: var(--primary-black);
    transform: scale(1.05);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-black);
    position: relative;
    display: inline-block;
}

/* Service card hover lines removed */

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: left;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--primary-black);
    font-size: 0.9rem;
    width: 20px;
}

.btn-card {
    background: transparent;
    color: var(--primary-black);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-black);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-card:hover::before {
    left: 0;
}

.btn-card:hover {
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-card i {
    transition: transform 0.3s ease;
}

.btn-card:hover i {
    transform: translateX(5px);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
    padding: 60px 5%;
    /* background: var(--primary-white); */
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

.benefit-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    /* background: var(--primary-white); */
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    border-color: var(--primary-black);
    transform: rotateY(180deg);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--primary-black);
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon i {
    transform: rotateY(180deg);
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-black);
}

.benefit-item p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 60px 5%;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.benefits-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: fadeInLeft 1s ease-out;
}

.benefits-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.benefits-image:hover img {
    transform: scale(1.05);
}

.benefits-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 100%);
    pointer-events: none;
}

.benefits-content {
    animation: fadeInRight 1s ease-out;
}

.benefits-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.benefits-content h2 span {
    color: var(--primary-color, #0054a6);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.benefit-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-row i {
    color: var(--primary-black);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-row h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--secondary-black);
}

.benefit-row p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 60px 5%;
    /* background: var(--primary-white); */
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(0, 0, 0, 0.05);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary-white);
    box-shadow: var(--shadow-md);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--secondary-black);
}

.testimonial-author p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--primary-white);
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--gray-light);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.btn-outline-light:hover {
    /* background: var(--primary-white); */
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--secondary-black);
    color: var(--primary-white);
    padding: 60px 5% 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-medium), transparent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* Specific layout to prevent wrapping */
    gap: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Prevents logo from stretching */
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-links a:hover::before {
    width: 100px;
    height: 100px;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
.social-links a.facebook { background: #1877F2 !important; color: #ffffff !important; }
.social-links a.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%) !important; color: #ffffff !important; }

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.social-links a:hover img {
    filter: brightness(0);
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--primary-white);
    position: relative;
    display: inline-block;
}

/* footer-section line removed */

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-white);
    padding-left: 15px;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.contact-info li i {
    width: 20px;
    color: var(--primary-white);
}

.contact-info li a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info li a:hover {
    color: var(--primary-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Apply animations to sections */
.hero,
.services-overview,
.why-choose,
.benefits-section,
.testimonials,
.cta-section {
    animation: fadeInUp 1s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (max-width: 1400px) {
    .hero {
        padding: 100px 5% 60px;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        gap: 1.5rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .benefits-content {
        text-align: center;
    }
    
    .benefit-row {
        text-align: left;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        /* background: var(--primary-white); */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 3rem 2rem;
        transition: var(--transition-slow);
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .benefits-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .floating-buttons {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2000;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}
    
    .float-wa, .float-call {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* footer-section mobile line translation removed */
    
    .footer-section ul li a {
        padding-left: 0 !important;
    }
    
    .footer-section ul li a::before {
        display: none;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .benefit-item {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section ul li a,
    .contact-info li {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .float-wa, .float-call {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 2.5rem; }

/* ===== SELECTION COLOR ===== */
::selection {
    background: var(--primary-black);
    color: var(--primary-white);
}

::-moz-selection {
    background: var(--primary-black);
    color: var(--primary-white);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-dark);
    border-radius: 5px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-black);
}

/* ===== LOADING ANIMATION ===== */
.page-transition {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== IMAGE OPTIMIZATION ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== LINK STYLES ===== */
a {
    text-decoration: none;
    color: inherit;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
    outline: 2px solid var(--primary-black);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .floating-buttons,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
}

.social-links {
        display: flex;
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
    }
    
    /* Facebook */
    .social-icon.facebook {
        background: #1877f2;
    }
    
    .social-icon.facebook:hover {
        background: #0d5ab9;
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
    }
    
    /* Instagram */
    .social-icon.instagram {
        background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
    }
    
    .social-icon.instagram:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    }
    
    /* TikTok */
    .social-icon.tiktok {
        background: #000000;
        position: relative;
    }
    
    .social-icon.tiktok:hover {
        background: #1a1a1a;
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }
    
    /* LinkedIn */
    .social-icon.linkedin {
        background: #0a66c2;
    }
    
    .social-icon.linkedin:hover {
        background: #004182;
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4);
    }
    
    /* Mobile responsive */
    @media (max-width: 768px) {
        .social-links {
            justify-content: center;
        }
    }
    .hero-buttons .btn {
    box-shadow: none !important; /* Remove any inner shadows */
    outline: none;
    border-style: solid; /* Ensure border is solid, not inset */
}

/* Border fix agar ab bhi problem ho */
.hero-buttons .btn {
    border-style: solid;  /* inset nahi, solid hona chahiye */
    border-width: 2px;
}
/* ===== IMAGE GALLERY SECTION ===== */
.image-gallery {
    padding: 60px 5%;
    /* background: var(--primary-white); */
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}



/* Stats Section */
.stats-section {
    padding: 80px 5%;
    background: var(--off-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-black);
    line-height: 1.2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-dark);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 5%;
    /* background: var(--primary-white); */
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 25px;
    /* background: var(--primary-white); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary-black);
}

.faq-item.active {
    border-color: var(--primary-black);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question {
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* background: var(--primary-white); */
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* Google Reviews Section */
.reviews-section {
    padding: 80px 5%;
    background: var(--off-white);
    overflow: hidden;
}

.google-branding {
    text-align: center;
    margin-bottom: 40px;
}

.google-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.google-logo-text span:nth-child(1) { color: #4285F4; }
.google-logo-text span:nth-child(2) { color: #EA4335; }
.google-logo-text span:nth-child(3) { color: #FBBC05; }
.google-logo-text span:nth-child(4) { color: #4285F4; }
.google-logo-text span:nth-child(5) { color: #34A853; }
.google-logo-text span:nth-child(6) { color: #EA4335; }

.google-rating-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.google-rating-summary .stars {
    color: #FBBC05;
}

.reviews-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    min-width: 350px;
    /* background: var(--primary-white); */
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    position: relative;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-black);
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.review-stars {
    color: #FBBC05;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.6;
    font-style: italic;
}

.google-icon-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #4285F4;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .review-card {
        min-width: 300px;
    }
}

/* Animation for Google Reviews */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-375px * 5)); }
}

.reviews-track {
    display: flex;
    gap: 25px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

/* Adjust card min-width to match calculation */
.review-card {
    min-width: 350px;
    max-width: 350px;
}
.google-icon-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
}

/* Navbar Dropdown Styles */
.nav-menu li.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    /* background: var(--primary-white); */
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
    border: 1px solid var(--gray-light);
}

.nav-menu li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu li.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    padding: 12px 25px !important;
    display: block !important;
    color: var(--primary-black) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
}

.dropdown-menu li a:after {
    display: none !important; /* Remove any underline effect from main nav */
}

.dropdown-menu li a:hover {
    background: var(--off-white) !important;
    color: var(--primary-black) !important;
    padding-left: 30px !important;
}

/* Mobile Dropdown Fix */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 20px;
        display: none;
        width: 100%;
    }
    
    .nav-menu li.dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
@media (max-width: 768px) { .cta-buttons { flex-direction: column; align-items: center; } .cta-buttons .btn { width: 100%; max-width: 300px; } }

/* ===== GLOBAL FIXES FOR SOCIAL & CTA ===== */
.facebook { background: #1877F2 !important; color: #ffffff !important; display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: 0.3s; text-decoration: none; }
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%) !important; color: #ffffff !important; display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: 0.3s; text-decoration: none; }
.facebook:hover, .instagram:hover { transform: translateY(-3px); opacity: 0.8; color: #ffffff !important; }

.btn-whatsapp { background: #25D366 !important; color: #ffffff !important; border: none !important; padding: 0.9rem 2rem; border-radius: 50px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-whatsapp:hover { background: #20b358 !important; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); color: #ffffff !important; }

.btn-call { background: transparent !important; color: #ffffff !important; border: 2px solid #ffffff !important; padding: 0.9rem 2rem; border-radius: 50px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-call:hover { background: #ffffff !important; color: #000000 !important; transform: translateY(-3px); }
.btn-call:focus, .btn-call:active { color: #ffffff !important; background: transparent !important; outline: none !important; box-shadow: none !important; }
.btn-call:hover:active { background: rgba(255, 255, 255, 0.9) !important; color: #000000 !important; }

.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; width: 100%; }
@media (max-width: 768px) { 
    .cta-buttons { flex-direction: column !important; align-items: center !important; } 
    .cta-buttons .btn { width: 100% !important; max-width: 300px; justify-content: center; } 
}

/* ===== FINAL OVERRIDE FOR CTA BUTTONS (Fixing overlapping/circle issues) ===== */
.cta-section .btn-whatsapp, 
.cta-section .btn-call {
    width: auto !important;
    height: auto !important;
    min-width: 180px !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    margin: 5px !important;
}

.cta-section .btn-call i, 
.cta-section .btn-whatsapp i {
    margin-right: 10px !important;
    font-size: 1.2rem !important;
}

@media (max-width: 768px) {
    .cta-section .btn-whatsapp, 
    .cta-section .btn-call {
        width: 100% !important;
        max-width: 300px !important;
        margin: 10px 0 !important;
    }
}

/* ===== EMERGENCY FIX: DO NOT REMOVE ===== */
/* This fixes the conflict where Call Now button became a small circle */
.cta-section .cta-buttons .btn-call, 
.cta-section .cta-buttons .btn-whatsapp {
    width: auto !important;
    height: auto !important;
    min-width: 200px !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    border-radius: 50px !important;
    padding: 15px 35px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.cta-section .cta-buttons .btn-call i, 
.cta-section .cta-buttons .btn-whatsapp i {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
}

@media (max-width: 768px) {
    .cta-section .cta-buttons .btn-call, 
    .cta-section .cta-buttons .btn-whatsapp {
        width: 100% !important;
        max-width: 320px !important;
        min-width: unset !important;
    }
}

/* ===== SERVICES SUB-NAVBAR (Desktop Mega Menu) ===== */
.services-sub-navbar {
    position: fixed;
    top: 95px; /* Adjust based on navbar height */
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 1500;
    display: none;
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
    animation: navSlideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.services-sub-navbar.active {
    display: block;
}

.sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.sub-nav-container a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 8px;
}

.sub-nav-container a i {
    color: #0054a6; /* Gold accent */
    font-size: 1rem;
}

.sub-nav-container a:hover {
    background: #f8f8f8;
    color: #0054a6;
    transform: translateY(-2px);
}

@keyframes navSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Ensure main navbar stays on top */
.navbar {
    z-index: 2001 !important;
}

@media (max-width: 1024px) {
    .services-sub-navbar {
        display: none !important; /* Hide sub-nav on mobile, use mobile menu instead */
    }
}

/* Disable old dropdown on desktop to use new sub-navbar */
@media (min-width: 1025px) {
    .dropdown-menu {
        display: none !important;
    }
    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    .dropdown-toggle.active i {
        transform: rotate(180deg);
    }
}

/* ===== PREMIUM DARK SUB-NAVBAR ENHANCEMENT ===== */
.services-sub-navbar {
    background: #0a0a0a !important; /* Deep dark background */
    border-bottom: 2px solid #0054a6 !important; /* Gold bottom accent */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.sub-nav-container a {
    color: #ffffff !important; /* White text for contrast */
    font-size: 0.8rem !important;
    padding: 10px 20px !important;
}

.sub-nav-container a i {
    color: #0054a6 !important; /* Ensure icons stay gold */
}

.sub-nav-container a:hover {
    background: #1a1a1a !important;
    color: #0054a6 !important;
    border-radius: 4px !important;
}

/* Adjust top position if needed - ensuring it fits perfectly */
.services-sub-navbar { top: 95px !important; 
}

/* Navbar Background Fix */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.nav-menu a {
    color: #000000 !important;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #0054a6 !important;
}

/* Sub-navbar alignment fix */
.services-sub-navbar { top: 95px !important;
}

/* ===== INTERIOR DESIGN & FITOUTS GALLERY ===== */
.design-fitouts-gallery {
    padding: 60px 5%;
    background: var(--primary-white);
}

.featured-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--primary-white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.gallery-info span {
    font-size: 0.9rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== SERVICE CARDS FULL IMAGE FIX ===== */
.services-overview .service-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards in a row have same height */
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.services-overview .card-icon {
    width: 100% !important;
    height: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    flex-shrink: 0;
}

.services-overview .card-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 0.5s ease;
}

.service-card:hover .card-icon img {
    transform: scale(1.1);
}

.services-overview .service-card h3 {
    padding: 25px 25px 10px 25px;
    margin: 0;
    font-size: 1.5rem;
}

.services-overview .service-card p {
    padding: 0 25px 15px 25px;
    margin: 0;
    color: #666;
    flex-grow: 1; /* This pushes the button down */
}

.services-overview .service-features {
    padding: 0 25px 20px 25px;
    margin: 0;
    list-style: none;
}

.services-overview .btn-card {
    margin: auto 25px 25px 25px; /* Margin-top: auto pushes it to bottom */
    width: calc(100% - 50px);
    text-align: center;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    display: block;
    transition: 0.3s;
}

.services-overview .btn-card:hover {
    background: #000;
    color: #fff;
}

/* Featured Gallery Item Styles */
.featured-gallery-item {
    /* Dimensions inherit from .gallery-item (aspect-ratio: 1/1) */
    width: 100%;
}

.featured-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.featured-gallery-item .gallery-overlay {
    background: rgba(0,0,0,0.4) !important;
    opacity: 1 !important;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: var(--transition);
}

.featured-gallery-item:hover .gallery-overlay {
    background: rgba(0,0,0,0.6) !important;
}

.overlay-text {
    color: white;
    text-align: left;
}

.overlay-text h4 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.overlay-text span {
    font-size: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* ===== SERVICE HIGHLIGHT SECTIONS ===== */
.service-highlight-section {
    padding: 60px 5%;
    background: var(--primary-white);
}

.service-highlight-section:nth-of-type(even) {
    background: var(--off-white);
}

.highlight-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.service-highlight-section:nth-of-type(even) .highlight-container {
    direction: rtl;
}

.service-highlight-section:nth-of-type(even) .highlight-content {
    direction: ltr;
}

.highlight-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 4/3;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.highlight-image:hover img {
    transform: scale(1.05);
}

.highlight-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.highlight-content h2 span {
    color: var(--primary-color, #0054a6);
    display: inline;
}

.highlight-content p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
}

.highlight-features li i {
    color: var(--primary-black);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .highlight-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr !important;
    }
    
    .service-highlight-section:nth-of-type(even) .highlight-content {
        direction: ltr;
    }
    
    .highlight-image {
        order: -1;
    }
    
    .highlight-features {
        grid-template-columns: 1fr;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 0.5s ease;
}

.service-card:hover .card-icon img {
    transform: scale(1.1);
}

.services-overview .service-card h3 {
    padding: 25px 25px 10px 25px;
    margin: 0;
    font-size: 1.5rem;
}

.services-overview .service-card p {
    padding: 0 25px 15px 25px;
    margin: 0;
    color: #666;
    flex-grow: 1; /* This pushes the button down */
}

.services-overview .service-features {
    padding: 0 25px 20px 25px;
    margin: 0;
    list-style: none;
}

.services-overview .btn-card {
    margin: auto 25px 25px 25px; /* Margin-top: auto pushes it to bottom */
    width: calc(100% - 50px);
    text-align: center;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    display: block;
    transition: 0.3s;
}

.services-overview .btn-card:hover {
    background: #000;
    color: #fff;
}

/* Featured Gallery Item Styles */
.featured-gallery-item {
    /* Dimensions inherit from .gallery-item (aspect-ratio: 1/1) */
    width: 100%;
}

.featured-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.featured-gallery-item .gallery-overlay {
    background: rgba(0,0,0,0.4) !important;
    opacity: 1 !important;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: var(--transition);
}

.featured-gallery-item:hover .gallery-overlay {
    background: rgba(0,0,0,0.6) !important;
}

.overlay-text {
    color: white;
    text-align: left;
}

.overlay-text h4 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.overlay-text span {
    font-size: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* ===== SERVICE HIGHLIGHT SECTIONS ===== */
.service-highlight-section {
    padding: 60px 5%;
    background: var(--primary-white);
}

.service-highlight-section:nth-of-type(even) {
    background: var(--off-white);
}

.highlight-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.service-highlight-section:nth-of-type(even) .highlight-container {
    direction: rtl;
}

.service-highlight-section:nth-of-type(even) .highlight-content {
    direction: ltr;
}

.highlight-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: 4/3;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.highlight-image:hover img {
    transform: scale(1.05);
}

.highlight-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.highlight-content h2 span {
    color: var(--primary-color, #0054a6);
    display: inline;
}

.highlight-content p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.highlight-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
}

.highlight-features li i {
    color: var(--primary-black);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .highlight-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr !important;
    }
    
    .service-highlight-section:nth-of-type(even) .highlight-content {
        direction: ltr;
    }
    
    .highlight-image {
        order: -1;
    }
    
    .highlight-features {
        grid-template-columns: 1fr;
    }
}

.floating-buttons a { pointer-events: auto; }

/* ===== FORCE DESKTOP TITLES TO ONE LINE ===== */
@media (min-width: 1025px) {
    .section-header h2,
    .highlight-content h2,
    .benefits-content h2,
    .cta-section h2 {
        white-space: nowrap !important;
    }
}



/* Premium Hero Design (Global) */
.page-hero.glass-hero, .hero.glass-hero, .projects-hero.glass-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 5% 50px;
    max-width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
}
.glass-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.glass-hero .hero-content, .glass-hero .container {
    background: transparent;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}
.glass-hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color, #0054a6), #fff, var(--primary-color, #0054a6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1.2;
    font-weight: 800;
}
.glass-hero p {
    color: #f0f0f0 !important;
    font-size: 1.1rem;
    margin-bottom: 2.5rem !important;
}
.glass-hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.glass-hero-btns .btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.glass-hero-btns .btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #0054a6), #e2231a);
    color: #fff;
    border: none;
}
.glass-hero-btns .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-hero .hero-image { display: none !important; }





/* SUPER FIX FOR NAVBAR OVERLAP */
.navbar {
    height: 75px !important;
    padding: 10px 0 !important;
    display: flex;
    align-items: center;
}
.services-sub-navbar {
    top: 75px !important;
}

/* ===== NAVBAR BUBBLE BUTTONS ===== */
.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
}

.nav-menu > li > a,
.nav-menu > li > .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    background: rgba(0, 84, 166, 0.07) !important;
    border: 1.5px solid rgba(0, 84, 166, 0.15) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    position: relative !important;
}

.nav-menu > li > a:hover,
.nav-menu > li > .dropdown-toggle:hover,
.nav-menu > li > a.active {
    background: linear-gradient(135deg, #0054a6, #003f80) !important;
    color: #ffffff !important;
    border-color: #0054a6 !important;
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Remove the old underline animation */
.nav-menu a::after {
    display: none !important;
}

/* Mobile nav - keep full width */
@media (max-width: 768px) {
    .nav-menu > li > a,
    .nav-menu > li > .dropdown-toggle {
        padding: 10px 20px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
}
