/* Overview Text Styling (Global) */
.overview-text {
    text-align: center;
    margin-bottom: var(--padding-large);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    padding: var(--padding-medium);
    border-radius: 10px;
    color: var(--text-color);
}

.about-us .overview-text {
    max-width: 600px;
}

.overview-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.overview-text h2 {
    font-size: 2.5em;
    margin-bottom: var(--padding-medium);
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.overview-text p {
    font-size: 1.2em;
    line-height: 1.6;
    padding: 0 var(--padding-small);
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .overview-text {
        padding: 20px var(--padding-medium);
        max-width: 100%;
    }

    .overview-text h2 {
        font-size: 1.8em;
    }

    .overview-text p {
        font-size: 0.9em;
    }
}


/* Mobile Portrait */
@media (max-width: 480px) and (orientation: portrait) {
    .overview-text {
        padding: 0 var(--padding-medium);
    }

    .overview-text h2 {
        font-size: 2em;
    }

    .overview-text p {
        font-size: 1em;
    }
}




/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    width: 100%;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 2s ease;
}

.hero-image.active {
    opacity: 1;
    transform: scale(1.1);
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
    color: var(--text-color);
}

.hero-text h1,
.hero-text h2 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-text .cta {
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.hero-text .cta:hover {
    background-color: var(--hover-color);
    color: #fff;
}

/* Tablet Portrait and Landscape */
@media (max-width: 1024px) {
    .hero {
        height: 80vh;
    }

    .hero-text {
        max-width: 80%;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.5em;
    }

    .hero-text .cta {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 70vh;
        text-align: center;
    }

    .hero-text {
        padding: 0 20px;
        max-width: 80%;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-text .cta {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) and (orientation: portrait) {
    .hero {
        height: 80vh;
        text-align: center;
    }

    .hero-text {
        padding: 0 10px;
        max-width: 90%;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-text .cta {
        padding: 8px 20px;
        font-size: 0.8em;
    }
}



/* General Styles */
.about-us {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: var(--padding-large) var(--padding-medium);
    scroll-margin-top: 70px;
}

.about-us .cta {
    padding: 15px 20px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1em;
    text-align: center;
    border-radius: 5px;
}

.about-us .cta:hover {
    background-color: var(--hover-color);
    color: #fff;
}

.about-us .cta a {
    text-decoration: none;
    color: inherit;
    font-family: 'Raleway', sans-serif;
}

/* Layout Container */
.section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 90%;
    margin: 0 auto;
}

.overview-text,
.carousel-wrapper {
    flex: 1 1 45%;
    min-width: 300px;
}

.carousel-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    width: 500px;
    margin: 0 auto;
}

.carousel-slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-arrow {
    font-size: 2em;
    cursor: pointer;
    background-color: var(--tertiary-color);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: var(--hover-color);
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    opacity: 0.5;
    border-radius: 50%;
    cursor: pointer;
}

.indicator.active {
    opacity: 1;
}

/* Responsive Design */
/* Tablets and Large Mobile */
@media (max-width: 1024px) {
    .section-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .overview-text,
    .carousel-wrapper {
        flex: 1 1 100%;
    }
}

/* Small Mobile and Portrait */
/* Larger carousel for single-column layout on smaller screens */
@media (max-width: 768px) {
    .carousel-container {
        width: 90%;
        max-width: 600px;
        /* Increased max width for larger display */
        aspect-ratio: 4 / 3;
        /* Slightly wider aspect ratio for better visibility */
    }

    .about-us {
        padding: var(--padding-small);
    }

    .carousel-arrow {
        padding: 8px;
        font-size: 1.5em;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .carousel-container {
        aspect-ratio: 1 / 1;
    }

    .cta {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}



/* General Services Section Improvements */
#services {
    background: linear-gradient(135deg, var(--background-color), #34495E);
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
    color: #ccc;
}

/* Swiper Adjustments for Carousel Responsiveness */
#services .swiper-container {
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

/* Service Block Adjustments */
.service-block {
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.service-block img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.service-block .description {
    background: transparent;
    padding: 15px;
    text-align: center;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Swiper Pagination & Navigation */
.swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--hover-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
    background-color: transparent;
    padding: 10px;
    z-index: 10;
    display: none;
}

/* Fade-in Effect for Elements */
.fade-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Responsive Design */

/* Tablet and Smaller Screens */
@media (max-width: 768px) {
    #services .container {
        padding: 0 15px;
    }

    .service-block {
        max-width: 90%;
    }

    .swiper-container {
        padding: 15px 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #services {
        padding: 30px 10px;
    }

    .service-block img {
        height: 280px;
        /* Smaller height for better proportions */
    }

    .swiper-container {
        padding: 10px 0;
    }

    .service-block {
        max-width: 100%;
    }

    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none;
    }
}




/* Why Choose Us Section */
#why-choose-us {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 80px 20px;
    /* Slightly reduced padding for better mobile responsiveness */
    text-align: center;
}

/* Container */
#why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Pillars Container */
.pillars-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns, each taking 50% width */
    gap: 40px;
}


/* Individual Pillar */
.pillar {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Pillar Icon */
.pillar-icon {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

/* Pillar Heading */
.pillar h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Pillar Description */
.pillar p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Media Queries for Responsiveness */

/* Tablet Portrait & Landscape */
@media (max-width: 1024px) {
    .pillars-container {
        gap: 30px;
        /* Adjust gap for better spacing on tablets */
    }
}

/* Mobile Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    #why-choose-us {
        padding: 60px 15px;
    }

    .pillar {
        padding: 30px;
    }

    .pillar-icon {
        font-size: 2.5em;
    }

    .pillar h3 {
        font-size: 1.6em;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    #why-choose-us {
        padding: 40px 15px;
    }

    .pillar {
        padding: 20px;
    }

    .pillar-icon {
        font-size: 2.2em;
    }

    .pillar h3 {
        font-size: 1.4em;
    }

    .pillars-container {
        grid-template-columns: 1fr;
        /* Forces a single-column layout */
    }

    .modal-content {
        margin: 50% auto;
    }
}


/* Testimonials Section */
#testimonials {
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--background-color), #34495E);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#testimonials .overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

#testimonials .overview-text p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Testimonial List */
.testimonials-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Testimonial Card */
.testimonial-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 25px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Client Name and Event */
.testimonial-card .client-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-card .client-event {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Testimonial Message */
.testimonial-card .testimonial-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.5;
    font-style: italic;
}

/* Rating */
.testimonial-card .rating {
    font-size: 1.2rem;
    color: #FFD700;
}

/* Add Review Button */
#add-review-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1rem;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 30px;
}

#add-review-btn:hover {
    background-color: var(--hover-color);
}

/* Modal for Adding Review */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    color: black;
}

.modal-content {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    max-width: 100%;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.modal-content button[type="submit"] {
    background-color: var(--secondary-color);
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
}

.modal-content button[type="submit"]:hover {
    background-color: var(--hover-color);
}

#close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .testimonial-card {
        width: 100%;
        max-width: 300px;
    }

    #add-review-btn {
        width: 100%;
    }

    .modal-content {
        width: 90%;
        max-width: 400px;
    }
}


/* Portfolio Section */
.portfolio {
    background: linear-gradient(135deg, var(--background-color), #34495E);
    color: var(--text-color);
    padding: 80px 0;
}

.portfolio .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio .section-header h2 {
    font-size: 3em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio .section-header p {
    font-size: 1.2em;
    line-height: 1.6;
}


/* Gallery Container */
.gallery-container {
    /* Changed to "gallery-container" */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    /* Set a minimum height for the grid items */
    gap: 20px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    /* Hide overflow for image scaling */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smoother transition for hover effect */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* Add transition for zoom effect on hover */
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
    /* Zoom in on hover */
}

/* Overlay */
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    /* Transparent to black gradient */
    color: #fff;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Smooth transition for overlay */
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Overlay Content */
.gallery-item .overlay-content {
    text-align: center;
}

.gallery-item .overlay h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.gallery-item .overlay p {
    font-size: 1em;
    line-height: 1.5;
}


/* Tablet Portrait & Landscape */
@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile Landscape & Portrait */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        /* Adjust row height for mobile */
    }
}

/* Contact Us Section */
#contact-us {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#contact-us .section-header h2 {
    font-size: 3em;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#contact-us .section-header p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* Contact Content */
.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align items to the top */
    gap: 40px;
}

/* Map Container */
.map-container {
    width: 50%;
    /* Adjust width as needed */
    height: 400px;
    border-radius: 10px;
    /* Rounded corners */
    overflow: hidden;
}

/* Form Container */
.form-container {
    width: 45%;
    max-width: 600px;
    margin: auto;
    background-color: var(--tertiary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Floating Labels */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: transparent;
  color: var(--text-color);
  font-size: 1em;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--hover-color);
}

.form-group label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Floating effect */
.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 0.75em;
  color: var(--hover-color);
}

/* Toast Messages */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.toast.toast-success {
    background-color: #4caf50;
    /* Success green */
}

.toast.toast-error {
    background-color: #f44336;
    /* Error red */
}

/* Accessibility */
input:focus,
textarea:focus {
    outline: 2px solid var(--hover-color);
    outline-offset: 2px;
}


/* Contact Information */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    /* Align to top of icon */
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2em;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--hover-color);
    /* Darker blue on hover */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
    }

    .map-container,
    .form-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
        /* Adjust map height for mobile */
    }
}




.scroll-up-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    visibility: hidden;
}

.scroll-up-btn.show {
    opacity: 1;
    visibility: visible;
}