/* ================================================
   EXPERATIVE.IN – FULL STYLE.CSS (2025 READY - MOBILE OPTIMIZED)
   Enhanced mobile-friendliness | Top-right hamburger | Cross-device perfect
   Modern design: Better gradients, shadows, touch targets, fluid layouts
   Hamburger fixed: Always top-right corner (space-between layout)
   ================================================ */

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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #2ECC71;
    --accent-color: #FF6B6B;
    --dark-color: #2C3E50;
    --light-color: #F8FBFF;
    --text-color: #333333;
    --gray-color: #6B7280;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem scaling */
    -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
}

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; font-size: 1rem; }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover { 
    color: var(--secondary-color); 
    transform: translateY(-1px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 30px);
}

/* Enhanced Section Intro */
.section-intro {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--gray-color);
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.8;
}

/* ================================================
   NAVIGATION - Mobile-First with Top-Right Hamburger (Fixed: Always Right-Aligned)
   ================================================ */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 30px);
    display: flex;
    justify-content: space-between; /* Ensures hamburger always top-right */
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-right: auto; /* Pushes everything else to right */
}

.logo {
    width: clamp(50px, 8vw, 65px);
    height: clamp(50px, 8vw, 65px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.banner {
    height: clamp(40px, 6vw, 55px);
    max-width: 280px;
    object-fit: contain;
    opacity: 0.9;
    aspect-ratio: 3 / 1; /* Enforce 3:1 aspect ratio for banner */
}

.nav-desktop { 
    display: none; 
    margin-left: auto; /* Ensures desktop nav stays centered-right if needed */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), #357ABD);
    color: var(--white);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-content a {
    padding: 0.8rem 1.5rem;
    display: block;
    color: var(--dark-color);
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, var(--light-color), var(--white));
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Hamburger - Fixed: Always Top-Right Corner (Visible on Mobile Only) - UPGRADED: Larger, Cleaner, More Appealing */
.hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between; /* Better spacing for lines */
    width: 48px; /* Increased from 30px for better visibility/touch */
    height: 48px; /* Increased from 25px to square for modern look */
    background: rgba(255, 255, 255, 0.8); /* Subtle backdrop for cleanliness */
    border: 2px solid rgba(74, 144, 226, 0.2); /* Subtle border for definition */
    border-radius: var(--radius-md); /* Rounded for modern appeal */
    cursor: pointer;
    padding: 12px; /* Adjusted padding for new size */
    z-index: 1002;
    position: relative;
    margin-left: auto; /* Ensures it's pushed to the extreme right */
    box-shadow: var(--shadow-sm); /* Subtle shadow for depth */
    transition: var(--transition); /* Smooth hover/animation */
    align-items: center; /* Center lines horizontally */
}

.hamburger:hover {
    background: rgba(74, 144, 226, 0.1); /* Hover state for interactivity */
    border-color: var(--primary-color);
    transform: scale(1.05); /* Slight scale on hover */
    box-shadow: var(--shadow-md);
}

.hamburger-line {
    width: 100%; /* Full width of hamburger container */
    height: 4px; /* Thicker lines (from 3px) for better visibility */
    background: var(--dark-color);
    border-radius: 4px; /* Rounded ends for cleaner look */
    transition: var(--transition);
    transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px); /* Adjusted for new size */
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px); /* Adjusted for new size */
}

/* Mobile Menu - Slides from Top-Right (Full Screen Overlay) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-color) 100%);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
}

.mobile-menu.active { 
    transform: translateX(0); 
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--dark-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background: var(--light-color);
    transform: rotate(90deg);
}

.mobile-nav-list { 
    list-style: none; 
    margin-top: 2rem;
}

.mobile-nav-link {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    padding-left: 1rem;
}

.mobile-category { 
    margin: 2.5rem 0; 
}

.mobile-category h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.mobile-submenu {
    list-style: none;
    animation: slideIn 0.3s ease;
}

.mobile-submenu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.mobile-submenu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ================================================
   HERO - Mobile Optimized
   ================================================ */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--white);
    padding: clamp(4rem, 10vw, 8rem) 2rem clamp(3rem, 8vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.2rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    margin: 0 auto 2.5rem;
    max-width: 700px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.9rem, 2.5vw, 1.2rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    min-height: 50px; /* Touch target */
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: var(--white);
}

.cta-button.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ================================================
   SERVICE CARDS - Enhanced Clickable + Mobile Touch
   ================================================ */
.services {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--light-color);
}

.service-category {
    margin: 4rem 0;
    padding: 2rem 0;
    animation: fadeInUp 0.6s ease;
}

.service-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.service-image {
    width: 100%;
    height: clamp(200px, 30vw, 400px);
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.service-image:hover {
    transform: scale(1.02);
}

.service-header-content h3 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 1rem;
}

.service-header-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--gray-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 100%, 1fr), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    min-height: 120px; /* Consistent touch area */
    box-shadow: var(--shadow-sm);
}

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

.service-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3), var(--shadow-md);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(74,144,226,0.05), rgba(46,204,113,0.05));
}

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

.service-card h4 {
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    z-index: 2;
    position: relative;
}

.service-card h4 a {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.7;
    z-index: 2;
    position: relative;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

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

/* ================================================
   WHY CHOOSE US - Grid Improvements
   ================================================ */
.why-choose-us {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: clamp(1.8rem, 5vw, 2.5rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1.2rem;
    display: block;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.7;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* ================================================
   HOW IT WORKS - Step Cards
   ================================================ */
.how-it-works {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.how-it-works h2,
.how-it-works .section-intro {
    color: var(--white);
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: clamp(1.8rem, 5vw, 2.5rem);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: var(--white);
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
}

.step-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* ================================================
   COVERAGE AREA
   ================================================ */
.coverage-area {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--light-color);
}

.areas-content {
    max-width: 1000px;
    margin: 2rem auto;
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    line-height: 1.8;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--light-color);
    padding: clamp(1.8rem, 5vw, 2.5rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.rating {
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    font-size: 1rem;
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--light-color);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 4vw, 2rem);
    transition: var(--transition);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.8;
    margin-top: 1rem;
    display: none; /* Assume JS handles toggle */
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #357ABD 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, 10px) rotate(360deg); }
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.2rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-section > p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-subtext {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
    margin-top: 1rem;
}

/* ================================================
   BLOG PREVIEW
   ================================================ */
.blog-preview {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: clamp(180px, 25vw, 220px);
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: clamp(1.5rem, 4vw, 2rem);
}

.blog-content h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 1rem;
}

.blog-content h3 a {
    color: var(--dark-color);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ================================================
   FOOTER - Mobile Optimized
   ================================================ */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a252f 100%);
    color: #bdc3c7;
    padding: clamp(3rem, 8vw, 5rem) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.footer-column p {
    line-height: 1.8;
    color: #95a5a6;
    margin-bottom: 1.2rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-contact a {
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #95a5a6;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 1rem;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-keywords {
    opacity: 0.7;
    margin-top: 1rem;
    font-size: 0.8rem;
}

/* ================================================
   WHATSAPP FLOAT - Mobile Touch Optimized
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: clamp(20px, 5vw, 30px);
    right: clamp(20px, 5vw, 30px);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    width: clamp(55px, 8vw, 65px);
    height: clamp(55px, 8vw, 65px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
    touch-action: manipulation; /* Better mobile touch */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% { 
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ================================================
   RESPONSIVE BREAKPOINTS - Enhanced for All Devices
   ================================================ */
/* Mobile First - Up to 767px (phones, small tabs) */
@media (max-width: 767px) {
    .nav-desktop { display: none !important; }
    .hamburger { display: flex !important; } /* Force show on mobile */
    
    .hero-cta { flex-direction: column; align-items: center; }
    .cta-button { width: 100%; max-width: 300px; }
    
    .service-header { grid-template-columns: 1fr; }
    
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-button { width: 100%; max-width: 280px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    /* Extra mobile hamburger fix: Ensure right alignment and no wrapping */
    .nav-container { 
        flex-wrap: nowrap !important; 
        justify-content: space-between !important; 
    }
    .hamburger { 
        order: 3; 
        margin-left: auto; 
        flex-shrink: 0;
    }
    .banner {
        max-width: 180px; /* Reduce banner width on small screens to prevent wrapping */
        flex-shrink: 1; /* Allow banner to shrink if needed */
    }
    .nav-left {
        flex-wrap: nowrap;
        gap: 0.5rem; /* Reduce gap on mobile */
    }
}

/* Tablet - 768px to 1023px (iPad, Android tabs) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hamburger { display: none !important; }
    .nav-desktop { display: flex; }
    
    .nav-menu { gap: 1rem; }
    .nav-link { padding: 0.5rem 1rem; font-size: 0.95rem; }
    
    .hero h1 { font-size: 2.8rem; }
    .service-header { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    
    .features-grid,
    .service-grid,
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop - 1024px+ (laptops, desktops, Apple PCs) */
@media (min-width: 1024px) {
    .hamburger { display: none !important; }
    .nav-desktop { display: flex; }
    
    .container { padding: 0 40px; }
    
    .hero h1 { font-size: 3.8rem; }
    .hero-subtitle { font-size: 1.5rem; }
    
    .service-header { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
    
    .features-grid,
    .service-grid,
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
    
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
    
    .nav-container { padding: 0 50px; }
}

/* Large Desktop - 1440px+ (Big screens) */
@media (min-width: 1440px) {
    .features-grid,
    .service-grid,
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    
    .hero-content { max-width: 1000px; }
}

/* High DPI/Retina (Apple devices) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .banner,
    .service-image { image-rendering: -webkit-optimize-contrast; }
    
    * { border-width: 0.5px; } /* Sharper borders */
}

/* Landscape Mobile Fix */
@media (max-width: 767px) and (orientation: landscape) {
    .hero { padding: 3rem 1rem; }
    .mobile-menu { max-width: 80%; }
}

/* Dark Mode Support (Optional - if needed) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1f2937;
        --white: #111827;
        --text-color: #f9fafb;
        --gray-color: #d1d5db;
    }
    
    .navbar { background: rgba(17, 24, 39, 0.98); }
}