/* =============================================
   Enhanced Page Loader with Logo
============================================= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

header#site-header {
    margin-right: 3%;
    margin-left: 3%;
    margin-top: 1.5%;
    border-radius: 0px;
}

/* Skyline Separator (Hero Section Only) */
.skyline-separator {
    position: relative;
    z-index: 2;
    margin-top: -120px;
    opacity: 0.6;
    line-height: 0;
}

.skyline-separator img {
    width: 100%;
    height: auto;
}

/* Triangle Separator (Simple) */
.triangle-separator {
    position: relative;
    z-index: 10;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
    display: block;
}

.triangle-separator img {
    width: 100%;
    height: 35px;
    display: block;
}

/* Top separator - pulls into the section above */
.triangle-separator.separator-top {
    margin-top: -35px;
    margin-bottom: 0;
}

.skyline-separator {
    position: relative;
    top: -119px;
    z-index: 10;
}

.triangle-separator.separator-bottom {
    background: #173a50;
}

.scroll-indicator {
    z-index: 11 !important;
}

/* Bottom separator - pulls into the section below */
.triangle-separator.separator-bottom {
    margin-bottom: -35px;
    margin-top: 0;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 4px;
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

.loader-text {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.loader-dots {
    display: inline-flex;
    gap: 4px;
    margin-right: 8px;
}

.loader-dots span {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =============================================
   NEW Section Separators (Wave Style)
============================================= */
.section-separator {
    position: relative;
    height: 100px;
    overflow: hidden;
    background: transparent;
}

.section-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =============================================
   Skyline Separator (Architectural)
============================================= */
.skyline-separator {
    height: 120px;
    overflow: hidden;
    line-height: 0;
    background: transparent;
    margin-top: -1px;
    position: relative;
    z-index: 10;
}

.skyline-separator img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.skyline-separator-flipped {
    transform: scaleY(-1);
    margin-top: 0;
    margin-bottom: -1px;
}

@media (max-width: 768px) {
    .skyline-separator {
        height: 80px;
    }
}

/* Wave Separator to Light */
.separator-wave-light {
    margin-top: -1px;
}

.separator-wave-light svg path {
    fill: var(--light-color);
}

/* Wave Separator to Primary */
.separator-wave-primary svg path {
    fill: var(--primary-color);
}

/* Wave Separator to White */
.separator-wave-white svg path {
    fill: var(--white);
}

/* Diagonal Separator */
.separator-diagonal {
    height: 80px;
    background: linear-gradient(to right bottom, var(--light-color) 49%, var(--primary-color) 50%);
}

.separator-diagonal-reverse {
    background: linear-gradient(to left bottom, var(--primary-color) 49%, var(--light-color) 50%);
}

/* Curved Separator */
.separator-curve {
    height: 120px;
}

.separator-curve svg {
    height: 120px;
}

/* =============================================
   Enhanced Parallax Effects
============================================= */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    height: 140%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-mouse {
    transition: transform 0.3s ease-out;
}

/* =============================================
   Testimonials Section
============================================= */
.testimonials-section {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 400px;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.03;
    line-height: 1;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.testimonial-card::after {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    opacity: 1;
    background: var(--accent-color);
    transform: scale(1.2);
}

/* =============================================
   Featured Services Section (Detailed)
============================================= */
.featured-services {
    background: var(--white);
}

.featured-service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.featured-service-row:last-child {
    margin-bottom: 0;
}

.featured-service-row:nth-child(even) {
    direction: ltr;
}

.featured-service-row:nth-child(even) .featured-service-content {
    direction: rtl;
    text-align: right;
}

.featured-service-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.featured-service-image:hover img {
    transform: scale(1.05);
}

.featured-service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-service-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-service-content h3 i {
    color: var(--accent-color);
}

.featured-service-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

.featured-service-list {
    margin-bottom: 30px;
}

.featured-service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.featured-service-list li i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* =============================================
   Enhanced Footer
============================================= */
.site-footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, #2a2b2b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-separator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
}

.footer-separator svg {
    width: 100%;
    height: 100%;
}

.footer-separator svg path {
    fill: var(--light-color);
}

.footer-top {
    padding: 120px 0 60px;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 50%;
    width: 80%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-50%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding: 0;
    border: none;
}

.footer-about {
    padding-left: 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-color);
    transform: scale(0);
    border-radius: 50%;
    transition: var(--transition);
    z-index: -1;
}

.footer-social a:hover::before {
    transform: scale(1);
}

.footer-social a:hover {
    transform: translateY(-5px);
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 3px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-contact-widget li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-widget li i {
    width: 40px;
    height: 40px;
    background: rgba(188, 82, 31, 0.2);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-widget li span {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* =============================================
   Advanced Scroll Animations
============================================= */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.85);
}

[data-aos="zoom-in-up"] {
    transform: scale(0.85) translateY(30px);
}

[data-aos="flip-up"] {
    transform: perspective(2500px) rotateX(-100deg);
    transform-origin: bottom;
}

[data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(100deg);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1) rotateX(0) rotateY(0);
}

/* Stagger delays */
[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

[data-aos-delay="400"] {
    transition-delay: 0.4s;
}

[data-aos-delay="500"] {
    transition-delay: 0.5s;
}

[data-aos-delay="600"] {
    transition-delay: 0.6s;
}

/* =============================================
   Mouse Parallax Elements
============================================= */
.mouse-parallax {
    position: relative;
}

.floating-element {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.floating-shape {
    opacity: 0.1;
}

.floating-shape-1 {
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.floating-shape-2 {
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
}

.floating-shape-3 {
    top: 50%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    transform: rotate(45deg);
}

/* =============================================
   Single Service Page Hero
============================================= */
.service-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 58, 80, 0.95) 0%, rgba(65, 67, 66, 0.9) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.service-hero-content .breadcrumb {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.service-hero-content .breadcrumb a {
    color: var(--accent-color);
}

.service-hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-hero-content .service-short-desc {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-hero-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Service Page Content */
.service-page-content {
    padding: 80px 0;
}

.service-main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
}

.service-description h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.service-description h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.service-description ul {
    margin: 20px 0;
    padding-right: 20px;
}

.service-description ul li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 25px;
}

.service-description ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--accent-color);
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
}

.quick-contact-form .form-group {
    margin-bottom: 15px;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.quick-contact-form textarea {
    min-height: 100px;
}

.whatsapp-cta {
    background: linear-gradient(135deg, #25D366, #128C7E);
    text-align: center;
}

.whatsapp-cta a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    padding: 20px;
}

.whatsapp-cta i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.whatsapp-cta span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Service Gallery */
.service-gallery {
    margin: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* =============================================
   Call to Action Banner (Service Page)
============================================= */
.service-cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--white);
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.service-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
}

.service-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
}

.service-cta-banner h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-cta-banner p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-cta-banner .btn {
    position: relative;
    z-index: 2;
}

/* =============================================
   Responsive Updates
============================================= */
@media (max-width: 1024px) {
    .featured-service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-service-row:nth-child(even) {
        direction: rtl;
    }

    .service-main-content {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: relative;
        top: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 40px 25px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .featured-service-content h3 {
        font-size: 1.5rem;
    }

    .service-hero-content h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-widget h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-widget li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}