/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #129061;
    --secondary-color:1a4a26;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --yellow: goldenrod;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}
/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.slider-controls button:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Services Cards Slider */
.services-slider {
    position: relative;
    margin-top: -20vh;
    padding: 2rem 0;
    background: var(--white);
    z-index: 1;
    overflow: hidden;
}

.services-container {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: max-content;
    transition: transform 0.5s ease;
}

.services-container::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .services-slider {
        margin-top: -10vh;
    }

    .service-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .service-card {
        flex: 0 0 200px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Best Interior Designers Section */
.best-designers {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-content p {
    font-size: 1.1rem;
    color: #666;
}

.designers-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    height: 400px;
}

.gallery-item {
    position: absolute;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.gallery-item:nth-child(1) {
    left: 20%;
    z-index: 3;
    transform: translateY(0) rotate(-5deg);
}

.gallery-item:nth-child(2) {
    left: 40%;
    z-index: 2;
    transform: translateY(20px) rotate(0deg);
}

.gallery-item:nth-child(3) {
    left: 60%;
    z-index: 1;
    transform: translateY(40px) rotate(5deg);
}

.gallery-item:hover {
    transform: translateY(-20px) rotate(0deg);
    z-index: 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: var(--white);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* Counter CTA Section */
.counter-cta {
    padding: 6rem 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
                url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3') center/cover fixed;
    color: var(--white);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.counter-item {
    text-align: center;
}

.counter-item .counter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.counter-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #c0392b;
}

/* Our Services Section */
.our-services {
    padding: 6rem 0;
    background: var(--light-bg);
}

.our-services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-item:hover::before {
    opacity: 0.1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-item p {
    color: #666;
    position: relative;
    z-index: 2;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .designers-gallery {
        height: 300px;
        width: 70%;
    }

    .gallery-item {
        width: 250px;
        height: 300px;
    }

    .gallery-item:nth-child(1) {
        left: 10%;
    }

    .gallery-item:nth-child(2) {
        left: 35%;
    }

    .gallery-item:nth-child(3) {
        left: 60%;
    }

    .section-content h2,
    .why-choose-us h2,
    .our-services h2 {
        font-size: 2rem;
    }

    .counter-item .counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .designers-gallery {
        height: 250px;
    }

    .gallery-item {
        width: 200px;
        height: 250px;
    }

    .gallery-item:nth-child(1) {
        left: 5%;
    }

    .gallery-item:nth-child(2) {
        left: 30%;
    }

    .gallery-item:nth-child(3) {
        left: 55%;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* How We Do It Section */
.how-we-do-it {
    padding: 6rem 0;
    background: var(--white);
}

.how-we-do-it h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item.reverse {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.timeline-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-image {
    width: 45%;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.timeline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transform: translateZ(20px);
    transition: transform 0.5s ease;
}

.timeline-image:hover img {
    transform: translateZ(40px);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(231, 76, 60, 0.8));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-image:hover .image-overlay {
    opacity: 1;
}

/* Featured Projects Section */
.featured-projects {
    padding: 6rem 0;
    background: var(--light-bg);
    overflow: hidden;
}

.featured-projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.projects-slider {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: max-content;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.project-card {
    flex: 0 0 350px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3') center/cover;
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}


@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item.reverse {
        flex-direction: column;
        margin-left: 30px;
    }

    .timeline-content,
    .timeline-image {
        width: 100%;
    }

    .timeline-number {
        left: -50px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
   
    .newsletter-form {
        flex-direction: column;
    }
} 

.footer {
    background: #1a1a1a;
    color: #fff;
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-info {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #129061;
    transform: translateY(-3px);
}

.footer h3 {
    color: goldenrod;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 1rem;
}

.footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #129061;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #999;
}

.footer-contact ul li i {
    color: #129061;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
} 
