/* Ant Control Page Template Styles */

html, body {
    overflow-x: hidden;
    width: 100% !important;
}

.ant-control-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ant-control-page {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #222;
}

/* Hero Section */
.ant-control-page .hero {
    background: center / cover no-repeat;
    background-position-y: 30%;
    color: #ffffff;
    padding: 80px 5% 60px;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Hero overlay to darken image for better text contrast */
.ant-control-page .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 0;
}

.ant-control-page .hero > .container {
    position: relative;
    z-index: 1;
}

.ant-control-page .hero h1 {
    color: #ffffff;
    font-size: 44.8px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.ant-control-page .section p{
    font-size:16.6px;
}

.ant-control-page .hero .sub-headline {
    font-size: 20.8px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.ant-control-page .hero .cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.ant-control-page .hero .cta-primary {
    background: #ffffff;
    color: #000000;
    padding: 10px 20px;
    font-size: 19.2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s;
}

.ant-control-page .hero .cta-primary:hover {
    background: #C70000;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #C70000;
}

/* Feature Bar */
.ant-control-page .feature-bar {
    background: #f8f9fa;
    padding: 40px 0;
}

.ant-control-page .feature-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ant-control-page .feature-bar-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ant-control-page .feature-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background: #e0e0e0;
}

.ant-control-page .feature-bar-icon {
    width: 60px;
    height: 60px;
    background-color: #C70000;
    box-shadow: 0 4px 15px #C700004D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
        font-size: 28.8px;
    flex-shrink: 0;
}

.ant-control-page .feature-bar-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ant-control-page .feature-bar-text {
    color: #333;
    line-height: 1.3;
    font-weight: 700;
    font-size: 15px;
    margin: 0;
}

.ant-control-page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.ant-control-page .section {
    padding: 60px 0;
}

.ant-control-page .section-alt {
    background: #f8f9fa;
}

.ant-control-page .section-title {
    font-size: 30px;
    line-height: 40px;
    font-family: Arial, sans-serif;
    margin-bottom: 15px;
    text-align: center;
    color: #222;
}

.ant-control-page .section-subtitle {
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    font-size: 17.6px;
}

/* Trusted Section */
.ant-control-page .trusted-section {
    padding: 60px 5%;
    background: #f8f9fa;
}

.ant-control-page .trusted-box {
    background-color: #fdf7f7;
    border: 2px solid #C70000;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.ant-control-page .trusted-box h2 {
    color: #222;
    font-size: 35.2px;
    margin-bottom: 25px;
    font-weight: bold;
}

.ant-control-page .trusted-box p {
    color: #222;
    font-size: 17.6px;
    line-height: 1.8;
    margin-bottom: 0;
}

.ant-control-page .trusted-box a {
    color: #C70000;
    text-decoration: underline;
    font-weight: bold;
}

.ant-control-section .ant-control-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ant-control-section .ant-control-content p {
    font-size: 17.6px;
}

/* Problem / Two column */

.ant-control-page .problem-awareness .problem-content p {
    font-size: 17.6px;
    line-height: 31.68px;
    margin-bottom: 20px;
}

.ant-control-page .problem-awareness {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.ant-control-page .problem-content ul {
    list-style: none;
    padding: 0;
}

.ant-control-page .problem-content li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16.8px;
    line-height:26.88px;
}

.ant-control-page .problem-content li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.ant-control-page .problem-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.ant-control-page .problem-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Grid */
.ant-control-page .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ant-control-page .service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ant-control-page .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.ant-control-page .service-card i {
    font-size: 40px;
    color: #C70000;
    margin-bottom: 15px;
}

.ant-control-page .service-card .service-card-icon-img {
    width: 2.5em;
    height: 2.5em;
    object-fit: contain;
    margin-bottom: 15px;
}

.ant-control-page .service-card h3 {
    color: #222;
    margin-bottom: 15px;
    font-size: 22.4px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    line-height: 35.84px;
    letter-spacing: 0.02px;
}

.ant-control-page .service-card p {
    font-size: 16px;
}


/* Methods Grid */
.ant-control-page .methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.ant-control-page .method-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.ant-control-page .method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.ant-control-page .method-card h3 {
    color: #222;
    margin-bottom: 20px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    letter-spacing: 0.02px;
    min-height: 86.4px;
    line-height: 1.3;
    display: flex;
    align-items: flex-start;
}

.ant-control-page .method-card .read-more-content.collapsed {
    max-height: 72px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.ant-control-page .method-card .read-more-content p {
    font-size: 16px;
    color: #222;
}
.ant-control-page .method-card .read-more-content.expanded {
    max-height: 500px;
    display: block;
}

.ant-control-page .method-card .read-more-toggle {
    color: #A63D40;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 8px;
    display: inline-block;
    text-decoration: underline;
}

.ant-control-page .method-card .read-more-toggle:hover {
    color: #C70000;
}

.ant-control-page .method-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.ant-control-page .method-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #222;
    font-size: 16px;
    line-height: 25.6px;
}

.ant-control-page .method-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #C70000;
    font-weight: bold;
    font-size: 1.2em;
}

.ant-control-page .method-card .other-content p {
    font-size: 16.6px !important;
    margin-top: 15px;
}

/* Process Steps */
.ant-control-page .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.ant-control-page .step {
    text-align: center;
    position: relative;
    padding: 30px 0;
}

.ant-control-page .step-number {
    width: 60px;
    height: 60px;
    background: #C70000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.how-it-works-section .process-steps .step h3 {
    font-size: 18.72px !important;
    line-height: 29.952px !important;
    font-weight: 700 !important;
    font-family: Arial, sans-serif;
    color: #222;
    margin-bottom: 10px;
}

.how-it-works-section .process-steps .step p {
    font-size: 16.6px;
    font-family: 'Arial', sans-serif;
    font-weight: 300 !important;
}

/* Contact Section */
.ant-control-page .contact-section {
    background: #f8f9fa;
    padding: 60px 0 0 0;
}

.ant-control-page .contact-wrapper {
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 0;
    width: 1200px;
    max-width:100%;
    margin: 0 auto;
    padding: 0 5%;
}

.ant-control-page .form-container {
    background: #C70000;
    padding: 40px;
    color: #ffffff;
}

.ant-control-page .form-container h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 2em;
}

.ant-control-page .form-container p {
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0.95;
}

.ant-control-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0;
}

.ant-control-page .form-group {
    margin-bottom: 20px;
}

.ant-control-page .form-group.full-width {
    grid-column: 1 / -1;
}

.ant-control-page .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9em;
}

.ant-control-page .form-group input,
.ant-control-page .form-group select,
.ant-control-page .form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    background: #ffffff;
    color: #222;
}

.ant-control-page .form-group textarea {
    resize: vertical;
    min-height: 210px;
}

.ant-control-page .submit-btn {
    background: #ffffff;
    color: #C70000;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: all 0.3s;
}

.ant-control-page .contact-info {
    padding: 0 0 40px 60px;
}

.ant-control-page .contact-info h2 {
    color: #222;
    margin-bottom: 30px;
    font-size: 32px;
}

.ant-control-page .contact-details p {
    margin-bottom: 15px;
    color: #222;
    font-size: 17.6px;
}

.ant-control-page .contact-details a {
    color: #C70000;
    text-decoration: none;
    font-weight: bold;
}

.ant-control-page .form-container .ginput_container.ginput_container_select {
    margin-top: 12px !important;
}

.ant-control-page .form-container textarea {
    padding: 15px 15px !important;
    border-radius: 3px;
    font-size: 15px !important;
    margin-top: 10px !important;
    color: #7f7f7f;
    font-family: "Noto Sans", sans-serif !important;
    height:210px !important;
}

.ant-control-page .map-container {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    overflow: hidden;
}

.ant-control-page .map-container iframe {
    width: 300px;
    height: 150px;
    border: none;
}

/* FAQ */
.ant-control-page .faq-container {
    max-width: 800px;
    margin: 40px auto;
}

.ant-control-page .faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.ant-control-page .faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.3s;
}

.ant-control-page .faq-question span {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}


.ant-control-page .faq-question i {
    transition: transform 0.3s;
}

.ant-control-page .faq-question.active i {
    transform: rotate(180deg);
}

.ant-control-page .faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.ant-control-page .faq-answer p {
    font-size: 16px;
}

.ant-control-page .faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* Table */
.ant-control-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.ant-control-page th,
.ant-control-page td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f8f9fa;
    font-size:16px;
}

.ant-control-page th {
    background: #222;
    color: #ffffff;
    font-weight: bold;
}

.ant-control-page tr:hover {
    background: #f8f9fa;
}

/* CTA buttons */
.ant-control-page .cta-primary {
    background: #222222;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 19.2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #222222;
}
.cta-primary:hover {
    background: #C70000;
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 61, 64, 0.35);
    border: 2px solid #ffffff;
}

.ant-control-page .cta-secondary {
    background: transparent;
    color: #ffffff;
    padding: 8px 20px;
    font-size: 19.2px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s;
    font-weight: bold;
}

.ant-control-page .cta-secondary:hover {
    background: #ffffff;
    color: #222;
}

.services-intro p{
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 17.6px !important;
    line-height:31.68px;
    width:100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid .service-card p {
    font-size: 15.6px;
    line-height: 25.6px;
    font-family: Arial, sans-serif;
}

.species-table-intro p {
    text-align: center;
    color: #222;
    margin-bottom: 30px;
    font-size: 17.6px !important;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 31.68px;
    font-family: Arial, sans-serif;
}

.our-services h3.species-title {
    text-align: center;
    color: #222;
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 28.8px;
    font-family: Arial, sans-serif;
    line-height: 46.08px;
}

.safe-section h3 {
    font-size: 32px;
    line-height: 51.2px;
    font-family: Arial, sans-serif;
    color: #222;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.safe-section .commitment-content p {
    text-align: center;
    color: #222;
    font-size: 17.6px;
    line-height: 31.68px;
    max-width: 1000px;
    margin: 0 auto;
}

.ant-infestations-section p.section-subtitle {
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    font-size: 17.6px !important;
}

.how-it-works-section p.section-subtitle {
    font-size: 17.6px;
    line-height: 28.16px;
    font-family: Arial, sans-serif;
    text-align: center !important;
    color: #222;
    margin-bottom: 40px;
}

.testimonials-section p.section-subtitle {
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    font-size: 17.6px;
    line-height: 28.16px;
    font-family: Arial, sans-serif;
}

.ant-prevention-methods h4 {
    font-family: Arial, sans-serif;
    font-size: 35.2px;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.ant-prevention-methods p.section-subtitle {
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    font-size: 17.6px !important;
    line-height: 28.16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.factors-influencing-section h4 {
    font-size: 35.2px;
    line-height: 56.32px;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    word-spacing: 4px;
}

.factors-influencing-section p.section-subtitle {
    text-align: center !important;
    color: #222 !important;
    margin-bottom: 40px !important;
    font-size: 17.6px !important;
    line-height: 28.16px;
    font-family: Arial, sans-serif;
}

.factors-influencing-section .process-steps .step h3 {
    font-size: 18.72px !important;
    line-height: 29.952px !important;
    font-weight: 700 !important;
    font-family: Arial, sans-serif;
    color: #222;
    margin-bottom: 10px;
    letter-spacing: 0.01px;
}

.factors-influencing-section p.step-description {
    font-size: 16px !important;
    line-height: 25.6px !important;
    font-family: Arial, sans-serif;
}

.ant-extermination-services h4 {
    font-size: 32px;
    line-height: 51.2px !important;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
}

.faq-section p.section-subtitle {
    font-size: 17.6px;
    line-height: 28.16px;
    text-align: center;
    color: #222;
    margin-bottom: 40px;
    font-family: Arial, sans-serif;
}

.faq-section .faq-answer p {
    font-size: 16px;
    line-height: 25.6px;
    font-family: Arial, sans-serif;
    color: #222;
}

.final-cta-section {
    background: #c70000;
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

.final-cta-section h2 {
    color: #ffffff;
    font-size: 40px;
    margin-bottom: 20px;
}

.final-cta-section p{
    font-size: 19.2px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.final-cta-section a.cta-primary, .final-cta-section a.cta-secondary {
    margin:10px;
}

@media (max-width: 768px) {
    .ant-control-page .hero {
        min-height: 400px;
        padding: 60px 5% 40px;
    }
    .ant-control-page .hero h1 {
        font-size: 2em;
    }
    .ant-control-page .problem-awareness {
        grid-template-columns: 1fr;
    }
    .ant-control-page .methods-grid {
        grid-template-columns: 1fr;
    }
    .ant-control-page .process-steps {
        grid-template-columns: 1fr;
    }
    .ant-control-page .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .ant-control-page .form-row {
        grid-template-columns: 1fr;
    }
    .ant-control-page .feature-bar-container {
        flex-direction: column;
        gap: 0;
    }
    .ant-control-page .feature-bar-item {
        width: 100%;
        min-width: auto;
        padding: 25px 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    .ant-control-page .feature-bar-item:not(:last-child)::after {
        display: none;
    }
    .ant-control-page .contact-info {
        padding: 0 0 40px 0;
    }
}
