/*
Theme Name: Istiqrar
Theme URI: https://istiqrar.sa
Author: Istiqrar Team
Author URI: https://istiqrar.sa
Description: قالب ووردبريس مخصص لمؤسسة استقرار للمقاولات العامة - صفحة هبوط احترافية
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: istiqrar
Tags: rtl, right-to-left, arabic, one-page, custom-menu, custom-logo
*/

/* =============================================
   CSS Variables & Root
============================================= */
:root {
    --primary-color: #173a50;
    --primary-light: #1e4a65;
    --primary-dark: #0f2a3a;
    --accent-color: #bc521f;
    --accent-light: #d4632a;
    --accent-dark: #9a4318;
    --dark-color: #414342;
    --dark-light: #555656;
    --light-color: #ffffff;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;

    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --font-heading: 'Cairo', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    --border-radius: 0;
    --border-radius-lg: 0;
}

/* =============================================
   Reset & Base Styles
============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.site-footer {

    padding: 0px 0 0 !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   Header Styles
============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 50px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    padding: 10px 5px;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 100%;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.header-phone i {
    color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* =============================================
   Hero Section
============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 58, 80, 0.9) 0%, rgba(65, 67, 66, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-20px);
    }

    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* =============================================
   Section Separators (Building Shape)
============================================= */
.section-separator {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.separator-buildings {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.separator-buildings svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.separator-up svg {
    transform: scaleY(-1);
}

.separator-accent svg {
    fill: var(--accent-color);
}

.separator-light svg {
    fill: var(--light-color);
}

/* =============================================
   Section Base Styles
============================================= */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light-color);
}

.section-dark {
    background: var(--primary-color);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* =============================================
   Why Us Section
============================================= */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-us-item:hover .why-us-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    transform: scale(1.1);
}

.why-us-icon i {
    font-size: 2rem;
    color: var(--white);
}

.why-us-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.why-us-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =============================================
   Services Section
============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(23, 58, 80, 0.8) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-content {
    padding: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-content h3 {
    font-size: 1.25rem;
    margin: 15px 0 10px;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* =============================================
   Stats Section - Professional Design
============================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Animated Background Elements */
.stats-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.stats-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.05;
    animation: floatCircle 20s ease-in-out infinite;
}

.stats-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.stats-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.stats-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 10px) scale(0.95);
    }
    75% {
        transform: translate(-20px, -10px) scale(1.02);
    }
}

.stats-section .section-header h2,
.stats-section .section-header p {
    color: var(--white);
}

.stats-section .section-header p {
    opacity: 0.85;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Stat Card */
.stat-card {
    perspective: 1000px;
}

.stat-card-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.stat-card-inner:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Icon Wrapper */
.stat-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f5c518 100%);
    border-radius: 50%;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.stat-card-inner:hover .stat-icon-bg {
    opacity: 0.35;
    transform: scale(1.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.stat-card-inner:hover .stat-icon {
    transform: scale(1.15);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Stat Content */
.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-family: 'Tajawal', sans-serif;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 1.5s;
}

.stat-card.counted .stat-plus {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Decoration Line */
.stat-decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.4s ease;
}

.stat-card-inner:hover .stat-decoration {
    opacity: 1;
    width: 80px;
}

/* Glow Effect on Hover */
.stat-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card-inner:hover::before {
    opacity: 1;
}

/* Responsive Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 70px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .stat-card-inner {
        padding: 30px 20px;
    }
    
    .stat-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-plus {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* =============================================
   Contact/CTA Section
============================================= */
.cta-section {
    background: var(--light-color);
    position: relative;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 58, 80, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* =============================================
   Footer
============================================= */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
    padding-left: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   WhatsApp Float Button
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =============================================
   Animations (AOS-like)
============================================= */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* =============================================
   Responsive Styles
============================================= */
@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .main-navigation.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .header-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .why-us-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-widget h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 25px;
    }
}

/* =============================================
   Parallax Effect
============================================= */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* =============================================
   Loading Animation
============================================= */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header Social */
.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.header-social a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* =============================================
   Footer Wave Separator
============================================= */
.footer-wave-separator {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.footer-wave-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =============================================
   Footer Redesign
============================================= */
.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f0f1a 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Footer Floating Particles */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(188, 82, 31, 0.4);
    border-radius: 50%;
    animation: footerFloat 15s infinite ease-in-out;
}

.footer-particles .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.footer-particles .particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.footer-particles .particle:nth-child(3) {
    left: 35%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.footer-particles .particle:nth-child(4) {
    left: 50%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.footer-particles .particle:nth-child(5) {
    left: 65%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.footer-particles .particle:nth-child(6) {
    left: 75%;
    animation-delay: 5s;
    animation-duration: 11s;
}

.footer-particles .particle:nth-child(7) {
    left: 85%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.footer-particles .particle:nth-child(8) {
    left: 95%;
    animation-delay: 0.5s;
    animation-duration: 14s;
}

@keyframes footerFloat {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-20px) scale(0.5);
        opacity: 0;
    }
}

/* Footer Top enhanced styling */
.footer-top {
    position: relative;
    z-index: 2;
}

.footer-widget h4 {
    color: var(--accent-color) !important;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3) !important;
    position: relative;
    z-index: 2;
}

/* =============================================
   Footer Separator & Redesigned Colors
============================================= */
.footer-separator {
    margin-bottom: -2px;
}

.footer-separator img {
    width: 100%;
    height: auto;
    display: block;
}

/* Override previous footer colors - Using Primary Theme Color */
.site-footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Footer Particles - Adjusted colors for primary theme */
.footer-particles .particle {
    background: rgba(255, 255, 255, 0.15) !important;
}

.footer-particles .particle:nth-child(odd) {
    background: rgba(188, 82, 31, 0.3) !important;
}

/* Enhanced Footer Widget styling */
.footer-widget h4 {
    color: #ffffff !important;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px !important;
}

.footer-widget h4::after {
    display: none;
}

.footer-links li a:hover {
    color: var(--accent-color) !important;
    padding-right: 10px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2) !important;
}
.service-content h3 {
    color: #173a50;
}
.triangle-separator.separator-bottom.footer-separator {
    background: white !important;
    height: auto !important;
}
.footer-top {
    padding: 60px 0 60px;
}
section#stats h2 {
    color: white;
}
section#stats {
    background: #173a50;
}
span.stat-plus {
    display: none;
}
.lp-hero h1 {
    color: white;
}

/* =============================================
   Page Header Styles
============================================= */
.page-header {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(23, 58, 80, 0.95) 0%, rgba(15, 42, 58, 0.95) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 25px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    opacity: 0.5;
    font-size: 0.8rem;
}

.breadcrumb .current {
    opacity: 0.8;
}

/* =============================================
   Gallery Page Styles
============================================= */
.gallery-page-section {
    background: var(--light-color);
    padding: 80px 0;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.filter-btn .count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-item {
    transition: var(--transition);
}

.gallery-item-inner {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.gallery-item-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-inner:hover .gallery-item-image img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 58, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item-inner:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-actions {
    display: flex;
    gap: 15px;
}

.gallery-action-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.gallery-item-inner:hover .gallery-action-btn {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-inner:hover .gallery-action-btn:nth-child(2) {
    transition-delay: 0.1s;
}

.gallery-action-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.gallery-image-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-item-content {
    padding: 20px;
}

.gallery-item-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.gallery-item-category,
.gallery-item-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.gallery-item-category i,
.gallery-item-location i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* No Gallery Items */
.no-gallery-items,
.no-services {
    text-align: center;
    padding: 80px 20px;
}

.no-items-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.no-items-icon i {
    font-size: 3rem;
    color: var(--white);
}

.no-gallery-items h3,
.no-services h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.no-gallery-items p,
.no-services p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Gallery CTA */
.gallery-cta-section,
.services-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.gallery-cta-content,
.services-cta-content {
    text-align: center;
    color: var(--white);
}

.gallery-cta-content h2,
.services-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.gallery-cta-content p,
.services-cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.gallery-cta-buttons,
.services-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =============================================
   Services Page Styles
============================================= */
.services-page-section {
    background: var(--light-color);
    padding: 80px 0;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-page-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-page-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-page-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-page-card:hover .service-page-image img {
    transform: scale(1.1);
}

.service-page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 58, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-page-card:hover .service-page-overlay {
    opacity: 1;
}

.service-page-btn {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    transform: scale(0);
    transition: var(--transition);
}

.service-page-card:hover .service-page-btn {
    transform: scale(1);
}

.service-page-content {
    padding: 25px;
    position: relative;
}

.service-page-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
    right: 25px;
    box-shadow: 0 5px 15px rgba(23, 58, 80, 0.3);
}

.service-page-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.service-page-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.service-page-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.service-page-content h3 a:hover {
    color: var(--primary-color);
}

.service-page-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-page-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-page-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* =============================================
   Contact Page Styles
============================================= */
.contact-page-section {
    background: var(--light-color);
    padding: 80px 0;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-intro p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-card.whatsapp-card {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-info-card.whatsapp-card .contact-card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-info-card.whatsapp-card .contact-card-icon i,
.contact-info-card.whatsapp-card h3,
.contact-info-card.whatsapp-card a {
    color: var(--white);
}

.contact-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    color: var(--white);
    font-size: 1.3rem;
}

.contact-card-content h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-card-content a,
.contact-card-content span {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-card-content a:hover {
    color: var(--primary-color);
}

.contact-social {
    margin-top: 30px;
}

.contact-social h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-social .social-links {
    display: flex;
    gap: 12px;
}

.contact-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-social .social-link:hover {
    transform: translateY(-3px);
}

.contact-social .social-link.twitter:hover {
    background: #1da1f2;
    color: var(--white);
}

.contact-social .social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.contact-social .social-link.snapchat:hover {
    background: #fffc00;
    color: #000;
}

.contact-social .social-link.tiktok:hover {
    background: #000;
    color: var(--white);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-form-header p {
    color: var(--text-light);
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-page-form .form-group {
    margin-bottom: 20px;
}

.contact-page-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-page-form label i {
    color: var(--primary-color);
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(23, 58, 80, 0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Map Section */
.contact-map-section {
    height: 400px;
}

.contact-map-section .map-wrapper {
    height: 100%;
}

.contact-map-section .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Quick Contact Section */
.quick-contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.quick-contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.quick-contact-text h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
}

.quick-contact-text p {
    color: rgba(255, 255, 255, 0.8);
}

.quick-contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =============================================
   Responsive Styles for Pages
============================================= */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-side {
        order: 2;
    }
    
    .contact-form-side {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
    }
    
    .gallery-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .gallery-item-image {
        height: 200px;
    }
    
    .services-page-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .contact-page-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-cta-buttons,
    .services-cta-buttons,
    .quick-contact-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .gallery-cta-buttons .btn,
    .services-cta-buttons .btn,
    .quick-contact-buttons .btn {
        width: 100%;
    }
}