:root {
    --primary: #2a6e3f;
    --secondary: #3498db;
    --tertiary: #f9b234;
    --dark: #1a3c23;
    --light: #f5f9f6;
    --accent: #8e44ad;
    --gray: #6c757d;
    --error: #dc3545;
    --success: #28a745;
    --transition: all 0.3s ease;
}

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

body {
    font-family: "Open Sans", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-content {
    max-width: 800px;
    width: 100%;
    background: rgba(26, 60, 35, 0.85);
    padding: 3rem;
    border-radius: 10px;
    animation: fadeInUp 1s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.slide p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

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

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    min-width: 200px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--tertiary);
    color: var(--dark);
    border: 2px solid var(--tertiary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--tertiary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--tertiary);
    transform: scale(1.3);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.arrow {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.5rem;
    pointer-events: auto;
}

.arrow:hover {
    background: var(--tertiary);
    color: var(--dark);
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    line-height: 1.3;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--tertiary);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--gray);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.service-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-top: 4px solid var(--primary);
    position: relative;
    width: 100%;
    max-width: 400px;
}

.service-card.flagship {
    border-top: 4px solid var(--tertiary);
    transform: scale(1.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card.flagship:hover {
    transform: translateY(-10px) scale(1.02);
}

.service-header {
    padding: 1.8rem;
    text-align: center;
    position: relative;
}

.service-icon {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.service-card.flagship .service-icon {
    color: var(--tertiary);
}

.service-content {
    padding: 0 1.8rem 1.8rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    line-height: 1.3;
}

.service-card.flagship h3 {
    color: var(--tertiary);
}

.service-content p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
    margin-bottom: 1rem;
}

.subservices {
    list-style-type: none;
    margin-top: 1.2rem;
}

.subservices li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    align-items: flex-start;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    line-height: 1.4;
}

.subservices li:last-child {
    border-bottom: none;
}

.subservices li i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
    min-width: 20px;
    flex-shrink: 0;
}

.service-card.flagship .subservices li i {
    color: var(--tertiary);
}

/* Trust Badges - Improved Responsive Layout */
.trust-badges {
    background: white;
    padding: 3rem 1rem;
    text-align: center;
}

.badge-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    align-items: start;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 180px;
}

.badge-icon {
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.badge:hover .badge-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.badge-text {
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 1rem);
    text-align: center;
    line-height: 1.3;
    color: var(--dark);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg,
            var(--dark) 0%,
            var(--primary) 100%);
    padding: 4rem 1rem;
    color: rgb(58, 3, 3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(249, 178, 52, 0.2) 0%,
            transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-banner h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.3;
}

.cta-banner p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
    line-height: 1.5;
}
/* Enhanced Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet Landscape - Keep 4 columns but reduce spacing */
@media (max-width: 1024px) {
    .hero-slider {
        height: 90vh;
        min-height: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .service-card.flagship {
        transform: none;
    }

    .service-card.flagship:hover {
        transform: translateY(-10px);
    }

    .slide-content {
        padding: 2.5rem;
        max-width: 90%;
    }

    .badge-container {
        gap: 1.5rem;
        max-width: 700px;
    }
}

/* Tablet Portrait - 2x2 grid */
@media (max-width: 768px) {
    .header-placeholder {
        height: 70px;
    }

    .hero-slider {
        margin-top: 70px;
        height: 80vh;
        min-height: 500px;
        max-height: 700px;
    }

    .slide-content {
        padding: 2rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }

    .slide h1 {
        margin-bottom: 1rem;
    }

    .slide p {
        margin-bottom: 1.5rem;
    }

    .slider-arrows {
        display: none;
    }
         
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        min-width: auto;
    }

    .slider-arrows {
        padding: 0 1rem;
    }

    .arrow {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .services {
        padding: 4rem 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .service-header {
        padding: 1.5rem;
    }

    .service-content {
        padding: 0 1.5rem 1.5rem;
    }

    .badge-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        max-width: 400px;
    }

    .badge {
        max-width: none;
    }

    .trust-badges {
        padding: 3rem 1rem;
    }

    .lead-capture {
        padding: 3rem 1rem;
    }

    .lead-box {
        padding: 2rem 1.5rem;
    }

    .service-options {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .service-option {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Large Mobile - Keep 2x2 but tighter spacing */
@media (max-width: 600px) {
    .badge-container {
        gap: 1.5rem 1rem;
        max-width: 350px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .header-placeholder {
        height: 60px;
    }

    .container {
        width: 95%;
        padding: 0 0.5rem;
    }

    .hero-slider {
        margin-top: 60px;
        height: 70vh;
        min-height: 450px;
        max-height: 600px;
    }

    .slide {
        padding: 1rem;
    }

    .slide-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 8px;
    }

    .slide h1 {
        margin-bottom: 0.8rem;
    }

    .slide p {
        margin-bottom: 1.2rem;
    }

    .cta-buttons {
        gap: 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        max-width: 250px;
        font-size: 0.95rem;
    }

    .slider-nav {
        bottom: 1rem;
        gap: 0.7rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-arrows {
        padding: 0 0.5rem;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .services {
        padding: 3rem 0.5rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title p {
        padding: 0 0.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        max-width: none;
    }

    .service-header {
        padding: 1.2rem;
    }

    .service-content {
        padding: 0 1.2rem 1.2rem;
    }

    .subservices li {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .subservices li i {
        margin-right: 8px;
        min-width: 18px;
    }

    .trust-badges {
        padding: 2.5rem 0.5rem;
    }

    .badge-container {
        gap: 1.2rem 0.8rem;
        max-width: 300px;
    }

    .badge-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .badge-text {
        font-size: 0.85rem;
    }

    .cta-banner {
        padding: 3rem 0.5rem;
    }

    .lead-capture {
        padding: 3rem 0.5rem;
    }

    .lead-box {
        padding: 1.5rem 1rem;
    }

    .service-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .service-option {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }

    .service-option i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .service-option div {
        line-height: 1.2;
    }
}

/* Extra Small Mobile - Very compact 2x2 */
@media (max-width: 360px) {
    .trust-badges {
        padding: 2rem 0.3rem;
    }

    .badge-container {
        gap: 1rem 0.5rem;
        max-width: 280px;
    }

    .badge-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .badge-text {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}



/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        height: 100vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .slide h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

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

    .cta-buttons {
        gap: 0.8rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Animation for better UX */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
    }

    .service-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .service-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .service-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .service-card:nth-child(5) {
        animation-delay: 0.5s;
    }
}

/* Hidden elements for better structure */
.honeypot {
    position: absolute;
    left: -9999px;
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.confirmation {
    background: var(--success);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

/* High DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .slider-dot {
        width: 14px;
        height: 14px;
    }

    .arrow {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Print Styles */
@media print {

    .hero-slider,
    .slider-nav,
    .slider-arrows,
    .cta-banner {
        display: none;
    }

    .services {
        padding: 2rem 0;
    }

    .service-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Improved touch targets for mobile */
@media (max-width: 768px) {
    .slider-dot {
        width: 14px;
        height: 14px;
        margin: 0 2px;
    }

    .arrow {
        min-height: 44px;
        min-width: 44px;
    }

    .btn {
        min-height: 44px;
    }
}