:root {
    --primary-color: #e67e22;
    --secondary-color: #34495e;
    --accent-color: #f39c12;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
/*background:url('https://dacondrywall.com/wp-content/uploads/2025/10/IMG-20251001-WA0006.jpg') center/cover;*/
.hero-section {
    height: 100vh;
    background:url('../img/hero-bg.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    transform: none;
}
#hero-sec-div{
    background-color: #00000073;
    padding: 2rem;
    border-radius: 1rem;
}


.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    width: 50rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    width: 50rem;
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.4s both;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-image img {
    margin-left: -11rem;
    border-radius: 25px !important;
    transition: transform 0.3s ease;
}
.about-sec{
    background-color: #E4E4E4;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.service-card {
    background: white;
    /*border-radius: 15px;*/
    overflow: hidden;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.1);*/
    transition: all 0.3s ease;
    border: none;
}



.service-image {

    overflow: hidden;
    height: 300px;
    overflow: hidden;
    border-radius: 0.5rem;
}


.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;

}



.service-content h5 {
    color: var(--secondary-color);
}

/* Partners Section */
.partner-logo {
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.partner-logo:hover {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partner-logo span {
    font-size: 1.2rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Review Section */
.review-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.review-image {
    height: 200px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-card:hover .review-image img {
    transform: scale(1.05);
}

.stars i {
    font-size: 1rem;
}

/* Contact Section */
.contact-info i {
    font-size: 1.2rem;
    width: 25px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    border-radius: 15px;
}



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
#logo-sec{
    height:50vh;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .service-card,
    .review-card {
        margin-bottom: 2rem;
    }

    .about-image {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .partner-logo span {
        font-size: 1rem;
    }
    #logo-sec{
        height: auto !important;
    }
    /*#hero-sec-div{*/
    /*    max-width: 100%;*/
    /*}*/
    #hero-sec{
        max-width: 80%;
    }
    .hero-section h1 {
        font-size: 1.8rem;
        width: 100% !important;
    }

    .hero-section .lead {
        font-size: 0.95rem;
        width: 100% !important;
    }
    #hero-sec{
        margin: auto;
        margin-top: 5rem !important;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}
/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
}

.testimonials-label {
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Testimonials Container */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

/* Testimonial Cards */
.testimonial-card {
    flex: 0 0 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    position: relative;
}

/* Client Info */
.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -80px;
    left: 110px;
    background: white;

}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details {
    margin-left: 0;
    padding-top: 10px;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.client-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    color: var(--primary-orange);
    font-size: 16px;
}

.rating .far {
    color: #ddd;
}
/*contact*/
.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-nav i {
    font-size: 18px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.carousel-nav:hover i {
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonials-container {
        max-width: 100%;
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        flex: 0 0 300px;
    }

    .testimonials-container {
        padding: 0 40px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .testimonials-wrapper {
        gap: 20px;
    }

    .testimonial-card {
        flex: 0 0 280px;
    }

    .card-content {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonials-container {
        padding: 0 30px;
    }
}

/* Animation for smooth entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Custom scrollbar for horizontal scroll on mobile */
.testimonials-wrapper::-webkit-scrollbar {
    height: 8px;
}

.testimonials-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.testimonials-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

.testimonials-wrapper::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

footer {
    padding: 60px 20px;
    text-align: center;
}
.footer-logo img {
    max-height: 60px;
    margin-bottom: 15px;
}
.footer-title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #1b2a41;
}
.footer-subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #9a4d4d;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 20px;
}
.footer-desc {
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto 20px auto;
    color: #555;
}
.social-icons a {
    color: #333;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9rem;
}
.social-icons i {
    margin-right: 5px;
}
.footer-bottom {
    border-top: 1px solid #eee;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 0.8rem;
    color: #777;
}
.footer-bottom a {
    color: #555;
    margin-left: 20px;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
.testimonials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonials-label {
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    color: #2c2c2c;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.testimonials-slider {
    position: relative;
    margin-top: 60px;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    width: fit-content;
}

.testimonial-card {
    width: 380px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.4) 100%
    );
}

.card-content {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 21px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px 20px 20px 20px;
}

.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: -32px;
    left: 129px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
}

.review-text {
    margin-bottom: 20px;
}

.review-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 0;
    font-style: italic;
}

.rating {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.rating i {
    color: #ff6b35;
    font-size: 14px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #2c2c2c;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-card {
        width: 350px;
    }

    .slider-wrapper {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .testimonial-card {
        width: 320px;
        height: 450px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 300px;
        height: 420px;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-content {
        padding: 25px 20px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .prev-btn {
        left: -22px;
    }

    .next-btn {
        right: -22px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        width: 280px;
        height: 400px;
    }

    .profile-image {
        width: 50px;
        height: 50px;
        left:99px;
    }

    .profile-name {
        font-size: 16px;
    }

    .profile-title {
        font-size: 13px;
    }

    .review-text p {
        font-size: 14px;
    }
    #about-d-two{
        padding-left: 2rem !important;
    }
    #contact-d-two{
        padding-left: 2rem !important;
        padding-top: 2rem !important;
    }

    .navbar-nav{
        gap: 0rem!important;
    }

}


@media (max-width: 991px) {  /* Tablet */
    .service-card { flex: 0 0 50% !important; }
}
@media (max-width: 576px) {  /* Mobile */
    .service-card { flex: 0 0 100% !important; }
}
#yellow-box {
    background: #f6973f;
    width: 80%;           /* responsive width */
    height: 70%;          /* responsive height */
    position: absolute;
    top: 64px;
    right: 95px;
    z-index: 1;
    border-radius: 1.5rem;
}

@media (max-width:576px){
    #yellow-box{
        right:43px !important;
        top: 44px;
    }
    .about-image img{
        margin-left: -4rem;
    }
    #services{
        padding-bottom: 0rem !important;
    }
}


.about-image {
    position: relative;
    z-index: 2;
}

#slogans-section {
    position: relative;
    background-color: var(--light-gray);
    overflow: hidden;
}

#main-slogan {
    color: var(--secondary-color);
    font-weight: 700;
}

.slogan-cloud {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.slogan-cloud span {
    font-weight: 600;
    color: var(--light-gray);
    font-size: 1.1rem;
    transform: rotate(calc(-5deg + 10deg * var(--i)));
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: rgba(243, 156, 18, 0.8);
    border-radius: 5px;
    transition: transform 0.3s;
}

.slogan-cloud span:hover {
    transform: scale(1.2) rotate(0deg);
}