/* =================================
   GLOBAL STYLES & VARIABLES
   ================================= */
:root {
    --primary-color: #6f42c1;    /* Purple */
    --secondary-color: #ff6b6b;  /* Coral */
    --dark-color: #2c3e50;       /* Dark blue-gray */
    --light-color: #f8f9fa;      /* Light gray */
    --text-color: #333;          /* Dark gray for text */
    --text-light: #6c757d;       /* Light gray for secondary text */
    --border-radius: 6px;        /* Consistent border radius */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* =================================
   BASE STYLES
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(255, 248, 237);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    line-height: 1.5;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #5a32b0;
    border-color: #5a32b0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--light-color);
}

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

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: var(--border-radius);
}

/* =================================
   NAVBAR STYLES
   ================================= */
.navbar {
    padding: 1.2rem 0;
    transition: var(--transition);
    background-color: rgb(255, 248, 237);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* .navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-text {
    color: var(--dark-color);
}

.logo-text span {
    color: var(--primary-color);
} */

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    position: relative;
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 60%;
}

.cta-button {
    margin-left: 1rem;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--dark-color);
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}
.navbar-toggler .menu-icon,
.navbar-toggler .close-icon {
    position: absolute;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .menu-icon {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .close-icon {
    opacity: 1;
}

.navbar-toggler[aria-expanded="false"] .menu-icon {
    opacity: 1;
}

.navbar-toggler[aria-expanded="false"] .close-icon {
    opacity: 0;
}
/* =================================
   HERO SECTION STYLES
   ================================= */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1594149929911-78975a43d4f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.7) 0%, rgba(33, 150, 243, 0.7) 100%);
    opacity: 0.7;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: #ffd700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.booking-form {
    background: rgb(255, 248, 237);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    max-width: 450px;
    margin: 0 auto;
    padding: 2rem;
}

.booking-form h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.form-control, .form-select {
    height: 50px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
    outline: none;
}
/* Add to your existing CSS */
#message {
    min-height: 100px;
    resize: vertical; /* Allows vertical resizing */
}

/* =================================
   SERVICES SECTION STYLES
   ================================= */
/* Services Section */
.service-card {
    background: rgb(255, 248, 237);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

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

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.pricing {
    margin: 1.5rem 0;
    text-align: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    display: block;
}

.service-notes .alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-notes h5 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.service-notes ul {
    padding-left: 1.5rem;
}

.service-notes li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* =================================
   ABOUT SECTION STYLES
   ================================= */
.about-section {
    padding: 5rem 0;
    background-color: rgb(99, 72, 28);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-text p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.feature-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}


/* =================================
   GALLERY SECTION STYLES
   ================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.gallery-content p {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =================================
   TESTIMONIALS SECTION STYLES
   ================================= */
.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
}

.testimonial-card p {
    flex-grow: 1; /* Makes the paragraph take up available space */
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    font-style: italic;
    position: relative;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes the client info to the bottom */
    padding-top: 1.5rem;
    border-top: 1px solid #eee; /* Optional: adds a subtle separator */
}

/* Keep your existing styles for other elements */
.rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.rating .far {
    color: #ddd;
}

.testimonial-card p:before,
.testimonial-card p:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p:before {
    top: -15px;
    left: -5px;
}

.testimonial-card p:after {
    bottom: -30px;
    right: -5px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
    padding: 2px;
}

.client-info h5 {
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.client-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}
/* =================================
   CONTACT SECTION STYLES
   ================================= */
.contact-info {
    background: rgb(255, 248, 237);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.contact-item p, .contact-item a {
    margin-bottom: 0;
    color: var(--text-light);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.map-container {
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.map-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(111, 66, 193, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

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

/* =================================
   FOOTER STYLES
   ================================= */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo .logo-text {
    color: white;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-form .form-control {
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    width: 100%;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.newsletter-form .btn:hover {
    background: #5a32b0;
    border-color: #5a32b0;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #5a32b0;
    color: white;
    transform: translateY(-3px);
}

/* =================================
   MODAL STYLES
   ================================= */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem 1.5rem;
}

.modal-header .btn-close {
    filter: invert(1) brightness(100%);
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #28a745;
}

/* =================================
   ANIMATIONS
   ================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* =================================
   RESPONSIVE STYLES
   ================================= */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991.98px) {
    /* Mobile navbar layout */
    .navbar > .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        margin-right: 0;
        flex: 0 0 auto;
    }
    
    .navbar-brand img {
        height: 40px;
        width: auto;
    }
    
    .navbar-toggler {
        order: 3;
        margin-left: auto;
    }
    
    .cta-button.nav-cta {
        order: 2;
        margin: 0 auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .navbar-collapse {
        order: 4;
        width: 100%;
        margin-top: 0rem;
        background: rgb(255, 248, 237);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: -100vh;
        left: 0;
        right: 0;
        transition: top 0.5s easevisibility 0.5s ease;
        visibility: hidden;
        opacity: 0;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
     .navbar-collapse.collapsing {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: auto;
        transition: all 0.4s ease;
    }

    .navbar-nav {
        margin: 0;
        padding: 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }

    body {
        padding-top: 70px;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero {
        padding: 8rem 0 5rem;
        min-height: auto;
    }
    
    .hero-content {
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-image {
        margin-bottom: 3rem;
    }
    .about-content {
        flex-direction: column;
        gap: 2rem;
     }
        
     .about-image {
        margin-bottom: 2rem;
     }
        
     .about-text h2 {
        font-size: 2rem;
     }
     .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .booking-form {
        padding: 1.8rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .service-card, .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 4rem 0 1.5rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    .about-section {
          padding: 3rem 0;
     }
        
     .about-text h2 {
          font-size: 1.75rem;
     }
        
     .feature {
          flex-direction: column;
     }
        
     .feature i {
          margin-bottom: 0.5rem;
     }
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    
    .modal-dialog {
        margin: 0.5rem;
    }
}
