/* --- CSS Variables & Reset --- */
:root {
    --primary: #2563eb; /* Royal Blue */
    --secondary: #1e293b; /* Slate Dark */
    --accent: #0ea5e9; /* Sky Blue */
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --transition: all 0.3s ease;
    
    /* Theme Variables */
    --bg-body: var(--white);
    --bg-card: var(--white);
    --bg-alt: var(--bg-light);
    --text-main: var(--text-dark);
    --text-muted: var(--text-light);
    --heading-color: var(--secondary);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    --nav-link-scrolled: var(--secondary);
    --border-color: #e2e8f0;
}

[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-alt: #111827;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --heading-color: #f8fafc;
    --header-bg-scrolled: rgba(15, 23, 42, 0.95);
    --nav-link-scrolled: #f8fafc;
    --border-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Header --- */
header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    padding: 0;
    height: 100px;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--header-bg-scrolled);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 90px;
}

header .container {
    height: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

/* Make logo white on dark background if needed */
header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] header.scrolled .logo img {
    filter: brightness(0) invert(1);
}

/* Header Dark Mode (for pages like About) */
header.header-dark:not(.scrolled) .logo img {
    filter: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

header.scrolled .nav-links a {
    color: var(--nav-link-scrolled);
}

header.header-dark .nav-links a {
    color: var(--secondary);
}

[data-theme="dark"] header.header-dark .nav-links a {
    color: var(--white);
}

header.header-dark .nav-links a:hover {
    color: var(--primary);
}

header.header-dark .menu-toggle {
    color: var(--secondary);
}

[data-theme="dark"] header.header-dark .menu-toggle {
    color: var(--white);
}

header.scrolled .nav-links .btn {
    color: var(--white);
}

.nav-links a:hover {
    color: var(--primary);
}

header.header-dark .nav-links .btn,
header.header-dark .nav-links .btn:hover {
    color: var(--white);
}

.nav-links .btn {
    color: var(--white);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

header.scrolled .menu-toggle {
    color: var(--nav-link-scrolled);
}

.theme-toggle {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    background-color: #0f172a;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15), transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    animation: gridFloat 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex: 1;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2015&q=80') no-repeat center center;
    background-size: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-image img {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes gridFloat {
    0% { background-position: 0 0, 0 0, 0 0; }
    50% { background-position: 0 0, 0 20px, 0 20px; }
    100% { background-position: 0 0, 0 0, 0 0; }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero h1 span {
    background: linear-gradient(to right, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(56, 189, 248, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-btns .btn {
    font-size: 1rem;
    padding: 14px 32px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-btns .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.hero-btns .btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Portfolio Section --- */
.portfolio {
    padding: 100px 0;
    background-color: var(--bg-light);
    background-color: var(--bg-alt);
}

.portfolio-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Fade edges for modern look */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 20px 0;
}

.portfolio-gallery-track {
    display: flex;
    width: max-content;
    gap: 40px;
    animation: scroll 30s linear infinite;
    padding: 30px 0;
}

.portfolio-gallery-track:hover {
    animation-play-state: paused;
}

.portfolio-gallery-item {
    width: 340px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-gallery-item:hover {
    transform: translateY(-15px) rotateX(10deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    z-index: 10;
}

.portfolio-gallery-item:hover img {
    transform: scale(1.15);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Stats Section --- */
.stats {
    padding: 30px 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    transition: transform 0.3s ease;
}

.reveal-up.stat-item:nth-child(1) { transition-delay: 0.1s; }
.reveal-up.stat-item:nth-child(2) { transition-delay: 0.2s; }
.reveal-up.stat-item:nth-child(3) { transition-delay: 0.3s; }
.reveal-up.stat-item:nth-child(4) { transition-delay: 0.4s; }

.reveal-up.service-card:nth-child(2), .reveal-up.plan-card:nth-child(2) { transition-delay: 0.2s; }
.reveal-up.service-card:nth-child(3), .reveal-up.plan-card:nth-child(3) { transition-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.stat-item:hover h3 { transform: scale(1.1); }

.stat-item p {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background-color: var(--bg-body);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    padding: 25px 15px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1 1 220px;
    max-width: 350px;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

.service-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Partners Section --- */
.partners {
    padding: 80px 0;
    background-color: var(--bg-alt);
    overflow: hidden;
}

.partners-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    gap: 50px;
    animation: scroll 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.2);
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

[data-theme="dark"] .partner-logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .partner-logo:hover {
    filter: brightness(0) invert(1);
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Plans Section --- */
.plans {
    padding: 100px 0;
    background-color: var(--bg-body);
}

.plans-grid {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    align-items: center;
    padding: 60px 50px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.plans-grid::-webkit-scrollbar { display: none; }

.plan-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    width: 350px;
    min-width: 350px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.plan-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-10px);
}

.plan-card.recommended {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    transform: scale(1.05);
    z-index: 1;
}

.plan-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-card.active-center {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

@keyframes pulse-badge {
    0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: translateX(-50%) scale(1.1); box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.plan-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-badge 2s infinite;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.plan-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.plan-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--primary);
}

.plan-features li.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}

.plan-features li.disabled i {
    color: #cbd5e1;
}

/* --- About/Why Us Section --- */
.about {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary);
}

.about-image {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
}

.about-quote {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 15px;
}

.about-story-title {
    font-size: 1.5rem;
    color: var(--heading-color);
}

/* --- Footer --- */
footer {
    background-color: var(--secondary);
    color: #cbd5e1;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col img {
    filter: brightness(0) invert(1);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* --- Scroll Reveal Animation --- */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* JS Tooltip */
.custom-tooltip {
    position: fixed;
    background-color: var(--secondary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 9999;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.custom-tooltip.show {
    opacity: 1;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--heading-color); }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; background: var(--bg-body); color: var(--text-main); }
.form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }

/* Plans Slider Controls */
.plans-wrapper { position: relative; }
.plan-nav-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: center;
}
.plan-nav-btn.prev { left: -15px; }
.plan-nav-btn.next { right: -15px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    /* Header & Nav */
    header { height: 80px; padding: 0; }
    nav { height: 100%; padding: 0 20px; }
    .logo img { height: 50px !important; }
    
    .menu-toggle { display: block; }
    .nav-links { 
        display: flex; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background: var(--bg-card); 
        flex-direction: column; 
        align-items: center; 
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
        gap: 25px;
        transition: all 0.4s ease-in-out;
    }
    .nav-links.active { 
        padding: 30px 0;
        max-height: 600px;
        opacity: 1;
    }

    .nav-links a {
        color: var(--heading-color);
    }
    
    /* Hero */
    .hero { min-height: auto; padding-top: 120px; }
    .hero .container { flex-direction: column; text-align: center; }
    .hero-container { flex-direction: column; text-align: center; padding-bottom: 40px; }
    .hero p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; width: 100%; }
    .hero h1 { font-size: 2.5rem; margin-top: 20px; }
    
    .hero-image {
        width: 100%;
        opacity: 0.2;
        clip-path: none;
    }
    
    /* Stats */
    .stats-grid { gap: 20px; flex-wrap: wrap; }
    .stat-item { flex: 0 0 45%; }
    .stat-item h3 { font-size: 1.8rem; margin-bottom: 5px; }
    .stat-item p { font-size: 0.9rem; line-height: 1.2; }
    
    .about-content { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .about-image { height: 300px; order: -1; }
    .about-text h2 { font-size: 2rem; }
    .about-story-title { font-size: 1.3rem; }
    .feature-list li { align-items: flex-start; }
    .feature-list i { margin-top: 4px; }

    /* Mobile Sliders */
    .portfolio-gallery-item { width: 260px; height: 180px; }
    .partner-logo { width: 70px; height: 70px; }
    .partner-logo img { max-height: 50px; }

    /* Section Heights */
    .portfolio, .services, .plans, .about { padding: 50px 0; }
    .section-title { margin-bottom: 30px; }
    
    /* Expertise Small */
    .services-grid {
        display: flex;
        gap: 15px;
    }
    .service-card { padding: 20px; flex: 0 0 calc(50% - 8px); max-width: none; }
    .icon-box { width: 45px; height: 45px; font-size: 1.1rem; margin-bottom: 15px; }
    .service-card h3 { font-size: 0.85rem; }
    .service-card p { font-size: 0.9rem; margin-bottom: 15px; }

    /* Plans Slider */
    .plans-grid {
        gap: 20px;
        padding: 40px 20px;
    }
    .plan-card {
        min-width: 85%;
        width: 85%;
        padding: 30px 20px;
    }
    .plan-card.active-center {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    .plan-card h3 { font-size: 1.25rem; margin-bottom: 5px; }
    .plan-card .price { font-size: 2rem; margin-bottom: 10px; }
    .plan-features { margin-bottom: 15px; }
    .plan-features li { margin-bottom: 8px; font-size: 0.9rem; }
    .plan-card.recommended, .plan-card.recommended:hover {
        transform: none;
    }

    /* Page Header */
    .page-header { padding: 120px 0 40px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; text-align: center; }
    
    .stat-item h3 { font-size: 1.1rem; }
    
    .service-card { padding: 30px 20px; }
    .section-title h2 { font-size: 2rem; }

    .plan-card {
        min-width: 92%;
        width: 92%;
    }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Page Header for sub-pages */
.page-header {
    padding: 150px 0 60px;
    background-color: var(--bg-alt);
    text-align: center;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1900;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

.whatsapp-text {
    position: absolute;
    left: 75px;
    background-color: var(--bg-card);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateX(-10px);
    pointer-events: none;
}

.whatsapp-text::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--bg-card);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}