/* Base Styles */
:root {
    --primary-color: #3949ab; /* Dark blue */
    --primary-dark: #283593; /* Darker blue */
    --primary-light: #7986cb; /* Light blue */
    --secondary-color: #7c4dff; /* Violet */
    --secondary-dark: #651fff; /* Dark violet */
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f9f9f9;
    --white: #fff;
    --black: #000;
    --gray: #e0e0e0;
    --gray-dark: #757575;
    --danger: #d32f2f;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.btn-get
{
    width: 150px;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 500;
    text-align: center;
    height: 35px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: rgb(56, 10, 108);
    color: white;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: rgb(20, 1, 1);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader .loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.preloader .bug {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('images/bug-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bugMove 2s infinite alternate;
}

.preloader .spray {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('images/spray-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: sprayRotate 2s infinite;
    opacity: 0;
    animation-delay: 1s;
}

@keyframes bugMove {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(0.5);
    }
}

@keyframes sprayRotate {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(360deg) scale(1.2);
    }
}

.preloader.fade-out {
    opacity: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 10px 15px;
    border: 1px solid var(--gray);
    border-radius: 50px;
    width: 200px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 250px;
}

.search-box button {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 10px;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown > a i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-content a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.dropdown-content a:hover {
    color: var(--primary-color);
    background-color: rgba(57, 73, 171, 0.1);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 20px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray);
}

.mobile-menu-header span {
    font-weight: 600;
    color: var(--primary-dark);
}

.close-mobile-menu {
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-light);
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray);
    font-weight: 500;
    color: var(--text-color);
}

.mobile-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(57, 73, 171, 0.1);
}

.search-box-mobile {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray);
    display: flex;
    align-items: center;
}

.search-box-mobile input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--gray);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
}

.search-box-mobile button {
    margin-left: 10px;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray);
    font-weight: 500;
    cursor: pointer;
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-content.active {
    max-height: 500px;
}

.mobile-dropdown-content a {
    padding-left: 30px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding-top: 100px;
}

.hero-content h1 {
    margin-top: 90px;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-dots {
    display: flex;
    margin: 0 15px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.prev-slide, .next-slide {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover {
    color: var(--secondary-color);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}



.service-icon img {
    max-width: 250px;
    max-height: 200px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Emergency Banner */
.emergency-banner {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px 0;
    margin: 50px 0;
}

.emergency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.emergency-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.emergency-contact .btn-primary {
    background-color: var(--white);
    color: var(--secondary-color);
    font-weight: 600;
}

.emergency-contact .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.emergency-contact .btn-primary i {
    margin-right: 8px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    padding: 0 20px;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-dots {
    display: flex;
    margin: 0 15px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-prev, .testimonial-next {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    color: var(--primary-dark);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    flex: 1;
}

.faq-question i {
    margin-left: 15px;
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-light);
}

.faq-answer.active {
    max-height: 500px;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter-text p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    align-items: center;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    width: 300px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    border-radius: 0 50px 50px 0;
    padding: 15px 25px;
}

/* Footer */
.footer {
    background-color: #0a0a1a; /* Dark blue background */
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading-tt
{
    font-size: 1px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact ul li i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 3px;
}

.emergency-contact {
    margin-top: 30px;
}

.emergency-contact h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-badges img {
    height: 40px;
    filter: grayscale(100%) brightness(2);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-badges img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text {
        margin-bottom: 30px;
    }
    
    .newsletter-form {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-form input {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .nav-links {
        display: none;
    }
    
    .search-box {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        padding-top: 50px;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-text {
        margin-bottom: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .footer-col:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        width: 100%;
        border-radius: 50px;
    }
    
    .mobile-menu {
        width: 280px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}