/* 
 * Pest Control Bros - Main Stylesheet
 * Responsive, Modern Design
 * Colors loaded from database
 */

/* === CSS VARIABLES === */
:root {
    --primary-color: #1357f6;
    --secondary-color: #0611ac;
    --accent-color: #00cc22;
    --dark-color: #1A1A1A;
    --light-color: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;

    --font-primary: 'Arial', 'Helvetica', sans-serif;
    --font-heading: 'Arial', 'Helvetica', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.col-2 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.col-3 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 15px 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.col-4 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

/* === HEADER === */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.main-nav {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    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-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 200px;
    display: block;
}

.logo-text {
    font-weight: 700;
    font-size: 1.4rem;
    color: #2d3748;
}

.logo-text span:first-child {
    color: #2d3748;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.howitworks{
    margin: 0 auto !important;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4620 100%);
    color: var(--white);
    padding: 100px 0;
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === SECTIONS === */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* === CARDS === */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* === FOOTER === */
footer {
    background: var(--dark-color);
    color: var(--light-gray);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-gray);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.py-1 { padding: 1rem 0; }
.py-2 { padding: 2rem 0; }
.py-3 { padding: 3rem 0; }

.bg-light { background: var(--light-color); }
.bg-primary { background: var(--primary-color); color: var(--white); }
.bg-secondary { background: var(--secondary-color); }
.bg-lightgray { background: var(--light-gray); }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .col-3 { flex: 0 0 50%; max-width: 50%; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .logo-image {
        height: 80px;
        max-width: 160px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .col-2, .col-3, .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .hero-buttons {
        flex-direction: column;
    }

    section { padding: 50px 0; }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left, .top-bar-right {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }

    .container { padding: 0 15px; }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .btn-lg { padding: 12px 30px; font-size: 1rem; }

    .logo-image {
        height: 70px;
        max-width: 140px;
    }

    .logo-text {
        display: none;
    }
}

/* ========================================== */
/* HERO VIDEO BACKGROUND STYLES */
/* ========================================== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(135deg, var(--primary-color) 0%, #1e4620 100%);
    }
    
    .hero-video {
        min-width: auto;
        min-height: auto;
        width: 100%;
        height: auto;
    }
}

.hero-video {
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

/* ========================================== */
/* BLOG CAROUSEL STYLES */
/* ========================================== */

.blog-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.blog-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.blog-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    display: flex;
    align-items: flex-end;
}

.blog-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.blog-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.blog-slide.active .blog-slide-image {
    transform: scale(1.05);
}

.blog-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.blog-slide-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 600px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease-out 0.3s, opacity 0.6s ease-out 0.3s;
}

.blog-slide.active .blog-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.blog-slide-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.blog-slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.blog-slide-excerpt {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.blog-slide-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-slide-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--white);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-slide-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.blog-slide-btn i {
    transition: transform 0.3s ease;
}

.blog-slide-btn:hover i {
    transform: translateX(5px);
}

.blog-carousel-prev,
.blog-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-carousel-prev {
    left: 20px;
}

.blog-carousel-next {
    right: 20px;
}

.blog-carousel-prev:hover,
.blog-carousel-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.blog-carousel-prev:active,
.blog-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

.blog-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.blog-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.blog-carousel-indicator.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
}

.blog-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .blog-carousel {
        height: 450px;
    }

    .blog-slide-title {
        font-size: 2rem;
    }

    .blog-slide-excerpt {
        font-size: 1rem;
    }

    .blog-slide-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .blog-carousel {
        height: 550px;
    }

    .blog-slide-content {
        padding: 30px;
        max-width: 100%;
    }

    .blog-slide-title {
        font-size: 1.75rem;
    }

    .blog-slide-excerpt {
        font-size: 0.95rem;
    }

    .blog-carousel-prev,
    .blog-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .blog-carousel-prev {
        left: 10px;
    }

    .blog-carousel-next {
        right: 10px;
    }

    .blog-slide-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .blog-carousel {
        height: 500px;
        border-radius: 12px;
    }

    .blog-slide-content {
        padding: 20px;
    }

    .blog-slide-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .blog-slide-excerpt {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .blog-slide-category {
        padding: 6px 16px;
        font-size: 0.75rem;
        margin-bottom: 15px;
    }

    .blog-slide-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .blog-carousel-indicators {
        bottom: 20px;
    }

    .blog-carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .blog-carousel-indicator.active {
        width: 24px;
    }
}

@media (hover: none) {
    .blog-carousel-prev,
    .blog-carousel-next {
        opacity: 0.9;
    }
}

.blog-carousel-prev:focus,
.blog-carousel-next:focus,
.blog-carousel-indicator:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .blog-slide,
    .blog-slide-content,
    .blog-slide-image,
    .blog-carousel-prev,
    .blog-carousel-next,
    .blog-carousel-indicator {
        transition: none;
    }
}

/* ============================================
   PEST CONTAINMENT SECTION
   All images are 1200x457 - designed to overlay perfectly
   ============================================ */

.pest-containment-section {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 457;
    min-height: 457px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1128 0%, #1c2541 50%, #0a1128 100%);
}

.pest-containment-section .container {
    padding: 0;
    max-width: 100%;
}

.containment-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/containment.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.containment-content {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.containment-text {
    position: relative;
    max-width: 50%;
    padding: 60px 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 4;
}

.containment-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.containment-text > p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e0e0e0;
    line-height: 1.6;
}

.containment-text .tagline {
    font-size: 1.1rem;
    color: #64b5f6;
    font-style: italic;
    margin-bottom: 30px;
}

.containment-text .btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #2C5F2D 0%, #1e4620 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.containment-text .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(44, 95, 45, 0.6);
    background: linear-gradient(135deg, #3a7a3c 0%, #2C5F2D 100%);
}

.containment-chamber {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.pest-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.pest-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: drop-shadow(0 0 20px rgba(100, 181, 246, 0.6));
    animation: pestFloat 3s ease-in-out infinite;
}

.pest-image.active {
    opacity: 1;
    z-index: 10;
}

@keyframes pestFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(100, 181, 246, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(100, 181, 246, 0.9));
    }
}

.pest-image.active {
    animation: pestFloat 3s ease-in-out infinite, glowPulse 2s ease-in-out infinite;
}

/* Mobile Responsive - SINGLE BLOCK ONLY */
@media (max-width: 768px) {
    .pest-containment-section {
        aspect-ratio: 1 / 1;
        min-height: 100vw;
        max-height: 600px;
    }
    
    .containment-background {
        background-position: 85% center;
        background-size: cover;
    }
    
    .containment-content {
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
    }
    
    .containment-text {
        max-width: 100%;
        width: 100%;
        padding: 30px 20px 20px 20px;
        text-align: center;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
        position: relative;
        z-index: 5;
    }
    
    .containment-text h2 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }
    
    .containment-text > p { display: none; }
    .containment-text .tagline { display: none; }
    
    .containment-text .btn-primary {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .pest-image {
        object-fit: cover;
        object-position: 85% center;
    }
}

@media (max-width: 480px) {
    .pest-containment-section {
        min-height: 100vw;
        max-height: 500px;
    }
    
    .containment-text h2 { font-size: 1.5rem; }
    .containment-text > p { display: none; }
    .containment-text .tagline { display: none; }
    
    .containment-text .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

