/* Modern CSS Reset and Variables */
:root {
    /* --primary-color: #00a896;
    --secondary-color: #02c39a;
    --accent-color: #05668d;
    --dark-color: #02353c; */
    --primary-color: #0077b6;  /* Vibrant Water Blue */
--secondary-color: #0096c7; /* Refreshing Aqua Blue */
--accent-color: #005f73;   
--dark-color: #023e8a;     
    --light-color: #f0f3f5;
    --text-color: #333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 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;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav{
    background: rgb(51,51,51);
    color: var(--light-color);
    z-index: 1000;
    width: 100%;
}
.nav .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

.nav .container a{
    text-decoration: none;
    color: var(--light-color);
}

.nav .container span{
    padding-left: 10px;
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    width: 100%;
    background-image: url('../images/drilling.PNG');
    background-repeat: no-repeat;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust opacity as needed */
    z-index: 1;
}

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

.hero-content {
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.7rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
}

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

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

.service-card {
    background: white;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.card-content {
    padding: 1rem 2rem 2rem;
}

.img-wrapper{
    top: 0;
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

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

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 53, 168, 0.2), rgba(2, 86, 195, 0.2));
}

/* Impact Section */
.impact {
    padding: 8rem 0;
    background: var(--dark-color);
    color: white;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.impact-card {
    text-align: center;
}

.progress-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.progress-circle svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.progress-background {
    stroke: rgba(255,255,255,0.1);
}

.progress-bar {
    stroke: var(--primary-color);
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 2s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Gallery Section Styles */
.gallery {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    height: 100%;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.2rem;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay h3 {
    opacity: 1;
}

/* Faqs Section Styles */
.faqs {
    padding: 8rem 0;
}

.faqs h1{
    color: var(--dark-color);
}

.faqs-why-container{
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    grid-template-columns: auto auto auto;
    gap: 1.3rem;
    padding: 2rem 0;
}

.faqs-why-container h1 {
    text-align: center;
    color: var(--dark-color);
}

.faq-container {
    max-width: 650px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    grid-column: 1 / span 2;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
}

.faq-answer {
    padding-top: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-answer a{
    color: var(--primary-color);
}

.faq-answer.show {
    max-height: 200px; 
    opacity: 1;
}

.arrow-right {
    transition: transform 0.2s ease;
}

.arrow-right.rotate {
    transform: rotate(45deg);
}
.arrow-right {
    width: 10px;
    height: 10px;
    border-right: 2px solid #4B4B4D;
    border-bottom: 2px solid #4B4B4D;
    transform: rotate(-135deg); 
    display: inline-block;
    margin: 5px;
}

.why-choose-us{
    background: var(--primary-color);
    padding: 2rem;
    color: var(--light-color);
}

.why-choose-us h2{
    color: var(--light-color);
}

.why-choose-us .features{
    list-style-type: none;
}

.why-choose-us i{
    color: var(--dark-color);
    padding: 0 5px 0 0;
}

/* Testimonial Section */
.testimonial{
    padding: 4rem 0;
    width: 100%;
    background-image: url('../images/hole\ drilled.PNG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    object-fit: cover;
    position: relative;
    color: white;
}

.testimonial::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust opacity as needed */
    z-index: 1;
}

.testimonial .section-title{
    z-index: 2;
}

.testimonial-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.testimonial-content{
    border: 2px solid var(--light-color);
    padding: 2rem;
    color: var(--light-color);
    z-index: 2;
}

.testimonial .rating{
    color: #ffd700;
    text-align: center;;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-content .title{
    font-size: 2rem;
}
.contact-content span{
    padding-left: 10px;
}

.contact-content .info{
    background: white;
    box-shadow: var(--light-color);
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
    font-size: 1.5rem;
    border-radius: 10px;
}

.contact-content .info i{
    color: var(--primary-color);
}

.form-container{
    background-color: var(--primary-color);
    padding: 2rem;
    box-sizing: border-box;
}

.form-group input, textarea{
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.form-group textarea{
    height: 100px;
}

.form-group input:focus, textarea:focus{
    outline: 1px solid var(--secondary-color);
}

.submit-button {
    background: var(--light-color);
    color: var(--primary-color);
    width: 100%;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section p{
    color: rgba(255,255,255,0.8);
}

.footer-section i{
    padding: 0 4px 0 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 900px) {
    .logo{
        width: 182px;
        height: 52px;
    }
    .logo-white{
        width: 165px;
        height: 48px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

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

    header .form-container{
        display: none;
    }

    .about-content,
    .contact-content,
    .testimonial-container,
    .container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .faq-container{
        max-width: 100% !important;
    }

    .why-choose-us{
        max-width: 100% !important;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .contact-content .title{
        font-size: 1.6rem;
    }

    .contact-content .info{
        font-size: 1.2rem;
    }

    .nav p{
        font-size: 0.625rem !important;
    }

    .nav a{
        font-size: 0.625rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-group {
        flex-direction: column;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}
