/* ===== Global Reset ===== */
* {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Container ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
}

/* ===== Navbar ===== */
.navbar {
    box-shadow: 0 2px 10px rgba(226, 223, 223, 0.822);
    background-color: rgba(0, 0, 0, 0.706);
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: rgb(230, 247, 239);
    margin-right: 1rem;
    font-weight: 800;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: rgb(93, 177, 198);
}

/* Navbar spacing for fixed-top */
.navbar-spacing {
    margin-top: 75px;
}

.hero,
.hero-home .hero-doc .hero-inter {
    height: 55vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.hero::after,
.hero-home::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Individual Hero Images */
.hero-home {
    background-image: url('image/doc-banner.jpg');
}

.client-section img.rounded-circle {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.client-section .client-img {
    width: 80px;
    /* Image size */
    height: 80px;
    border-radius: 50%;
    /* Circle shape */
    object-fit: cover;
    /* Crop perfectly */
    object-position: center;
    /* Focus center */
    border: 3px solid #2e4f81;
    /* Green agriculture border */
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
}

/* about page  */


/* Page Title */
/* Title */
.page-title {
    background: linear-gradient(135deg, #788a81, #2e4f81);
    color: white;
    padding: 90px 0;
}

.page-title h1 {
    font-size: 42px;
    font-weight: bold;
}

/* Section */
.page-section {
    padding: 70px 0;
}

.page-bg {
    background-color: #f8f9fa;
}

.page-heading {
    margin-bottom: 40px;
    font-weight: 600;
}

/* Biography */
.biography {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.profile-img {
    max-width: 250px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgb(30, 43, 124);
}

/* Clients */
.clients {
    padding: 60px 0;
}

.client-logo {
    margin: 10px 0;
    max-width: 150px;
    opacity: 0.8;
    transition: 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

/* Skills */
.skills {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.skill-box {
    background: white;
    margin: 10px 0;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-6px);
}

/* portfolio page  */
/* Title */
.portfolio-title {
    background: linear-gradient(135deg, #788a81, #2e4f81);
    color: white;
    padding: 90px 0;
}

.portfolio-title h1 {
    font-size: 42px;
    font-weight: bold;
}

/* Section */
.portfolio-section {
    padding: 70px 0;
}

.portfolio-bg {
    background-color: #f8f9fa;
}

.portfolio-heading {
    margin-bottom: 40px;
    font-weight: 600;
}

/* Card System */
.portfolio-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    transition: 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
}

/* Text */
.portfolio-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-card span {
    color: #6c757d;
    font-size: 14px;
}

/* service page  */

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Page Title */
.service-title {
    background: linear-gradient(135deg, #788a81, #2e4f81);
    color: white;
    padding: 80px 0;
}

.service-title h1 {
    font-size: 42px;
    font-weight: bold;
}

/* Section */
.service-section {
    padding: 70px 0;
}

.service-heading {
    font-weight: 600;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card h5 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    color: #6c757d;
}

/* Service Icon */
.service-icon {
    font-size: 40px;
    color: #0d6efd;
}

/* Client Section */
.service-clients {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.client-logo {
    max-width: 100%;
    opacity: 0.8;
    transition: 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

/* contact page  */

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Page Title */
.contact-title {
    background: linear-gradient(135deg, #2b528d, #478f6d);
    color: white;
    padding: 90px 0;
}

.contact-title h1 {
    font-size: 42px;
    font-weight: bold;
}

/* Section Headings */
.contact-heading {
    font-weight: 600;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
}

.contact-card h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    font-size: 15px;
    color: #6c757d;
}

/* Contact Form */
.contact-form-section {
    padding: 70px 0;
}

.contact-form .form-control {
    border-radius: 8px;
    box-shadow: none;
}

.contact-form .btn-primary {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
}

/* Google Map */
.contact-map-section iframe {
    border: 0;
}

/* Footer */
.footer .footer-links h4{
    font-weight: 900;
    color: rgb(93, 177, 198) !important;
}
.footer .footer-links h4:hover{
    
    transition: .3s;
}
.footer .footer-links a:hover{
    color: rgb(93, 177, 198) !important;
    transition: .3s;
}





/* ===== Responsive ===== */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 55vh;
    }

    .carousel-caption h2 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 15px;
    }

    .detail-section .row,
    .pest-section .row {
        flex-direction: column !important;
        text-align: center;
    }

    .detail-section img,
    .pest-section img {
        margin-bottom: 20px;
    }
}
@media (max-width: 667px) {
   
    .container {
        padding: 0 15px !important;
    }
    .footer .footer-links{
        padding: 10px 12px !important;
    }
    .footer .footer-links h4{
        font-size: medium;
        margin-bottom: 5px !important;
    }
    .footer .footer-links a{
        font-size: smaller !important;
    }
    .copyright p{
        font-size: x-small !important;
        padding: 10px 5px !important;
    }
}
@media (max-width: 415px){
    .container {
        padding: 0 15px !important;
    }
}


