/* ===== Services Page - Fully Responsive & Flexible Design ===== */
/* Optimized for Samsung Galaxy C9 Pro (6") & Tecno Spark 10C (6.6") */
/* MATCHES CONTACT.CSS EXACTLY */

/* ===== END BOOTSTRAP OVERRIDE ===== */
/* ===== CSS Variables ===== */

:root {
    --primary-color: #1a365d;
    --secondary-color: #7c3aed;
    --accent-color: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #a855f7 100%);
    --gradient-success: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-medium: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-strong: 0 25px 50px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    zoom: 0.75;
    transform-origin: top left;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fafbfc;
    /* DO NOT add width: 133.33vw to body! */
}

html {
   
    overflow-x: hidden;

    height: 100%;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* Fix all containers to prevent overflow */
/* Force everything to fill the zoomed space */

/* Ensure service cards don't cause overflow */
.service-card {
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix the grid to prevent overflow */
.services-grid {
   
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(30px, 5vw, 50px);
    margin-top: clamp(40px, 6vw, 60px);
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 5vw, 50px);
    padding-right: clamp(20px, 5vw, 50px);
    box-sizing: border-box;
}


/* ===== Base Styles ===== */



body.menu-open {
    overflow: hidden;
}

/* ===== Hero Section - EXACT MATCH TO CONTACT.CSS ===== */
.services-hero {
    min-height: 133.33vh;
    height: auto;
    padding: 100px clamp(20px, 5vw, 50px) 60px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(124, 58, 237, 0.8) 100%), 
                url('clin.png') no-repeat center/cover;
    background-attachment: scroll;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 70%);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: clamp(60px, 10vw, 100px);
    height: clamp(60px, 10vw, 100px);
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: clamp(100px, 15vw, 150px);
    height: clamp(100px, 15vw, 150px);
    right: 15%;
    top: 60%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: clamp(50px, 8vw, 80px);
    height: clamp(50px, 8vw, 80px);
    left: 70%;
    bottom: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
        opacity: 0.2;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    animation: heroFadeIn 1.2s ease-out;
}

/* CRITICAL: These match contact.css EXACTLY with !important to override global.css */
.services-hero .hero-content h1,
.hero-content h1 {
    font-size: clamp(2rem, 6vw, 5.5rem) !important;
    font-weight: 900 !important;
    margin-bottom: 24px !important;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e2e8f0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    line-height: 1.1 !important;
    word-break: break-word !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.services-hero .hero-content p,
.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem) !important;
    opacity: 0.95 !important;
    margin-bottom: 0 !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

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

/* ===== Main Container ===== */
.services-content {
    max-width: 1400px;  /* ← Keep this */
    margin: 0 auto;     /* ← Keep this */
    padding: clamp(60px, 10vw, 80px) clamp(20px, 5vw, 50px);
    /* NO width: 133.33vw here! */
}
/* ===== Section Titles - Responsive ===== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: clamp(40px, 6vw, 60px);
    font-weight: 800;
    position: relative;
    word-break: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

/* ===== Services Grid - Fully Responsive ===== */

.service-card {
    background: var(--accent-color);
    border-radius: clamp(16px, 3vw, 24px);
    padding: clamp(30px, 5vw, 50px) clamp(25px, 4vw, 40px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-secondary);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.service-card:hover::after {
    left: 100%;
}

/* ===== Price Tags - Responsive ===== */
.price-tag {
    position: absolute;
    top: clamp(20px, 4vw, 30px);
    left: clamp(20px, 4vw, 30px);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--accent-color);
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 20px);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
    z-index: 3;
    word-break: keep-all;
    white-space: nowrap;
}

.price-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

.service-icon {
    width: clamp(70px, 15vw, 100px);
    height: clamp(70px, 15vw, 100px);
    border-radius: clamp(16px, 3vw, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: var(--accent-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 32px;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 700;
    word-break: break-word;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    position: relative;
    padding-left: clamp(28px, 5vw, 32px);
    margin: 12px 0;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    word-break: break-word;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-features li:hover {
    transform: translateX(8px);
    color: var(--secondary-color);
}

/* ===== CTA Section - Responsive ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--accent-color);
    text-align: center;
    padding: clamp(60px, 10vw, 100px) clamp(30px, 5vw, 50px);
    margin: clamp(60px, 10vw, 120px) auto;
    border-radius: clamp(20px, 4vw, 32px);
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 20px;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
}


.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;  /* ← Keep this, it constrains the text inside */
    margin: 0 auto;
}


.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: clamp(20px, 3vw, 24px);
    font-weight: 800;
    word-break: break-word;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: clamp(30px, 5vw, 40px);
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 3vw, 24px);
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 48px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--gradient-success);
    color: var(--accent-color);
    box-shadow: var(--shadow-medium);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

/* ===== Scroll Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Tablets & Below (max-width: 1024px) */


/* Force hero text sizes to match contact.css exactly */
.services-hero .hero-content h1 {
    font-size: clamp(2rem, 6vw, 5.5rem) !important;
    font-weight: 900 !important;
    margin-bottom: 24px !important;
    line-height: 1.1 !important;
}

.services-hero .hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem) !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
}

/* Tablet overrides */


.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.site-footer p {
    margin: 0;
    opacity: 0.9;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 400;
}

/* Make sure body and html allow full-width footer */



/* Remove any container padding that might restrict footer */
.services-content:last-of-type {
    margin-bottom: 0;
}


.cta-final {
    margin-bottom: 0 !important;
    background: var(--gradient-primary);
    color: var(--accent-color);
    text-align: center;
    padding: clamp(60px, 10vw, 100px) clamp(30px, 5vw, 50px);
margin: 0 auto 60px;
    border-radius: clamp(20px, 4vw, 32px);
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}
.site-footer {
    background: #1a365d !important;
    color: white;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
    clear: both;
}
.site-footer p {
    margin: 0;
    opacity: 0.9;
    font-size: clamp(0.875rem, 2vw, 1rem);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}






/* Remove any gap between cta-final and footer */

/* Add this to your header styles in services.css */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
    background: #1a365d !important;
}

.header-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
}
