:root {
    /* Color Palette */
    --primary: #0F3D6F;
    /* Deep Trust Blue */
    --primary-light: #1A5B9C;
    --accent: #E5A93C;
    /* Elegant Gold */
    --accent-hover: #F2C166;
    --wa-green: #25D366;
    --wa-green-hover: #1EBE5D;

    --bg-light: #F8F9FA;
    --bg-dark: #121A23;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #FFFFFF;

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);

    --glass-bg-dark: rgba(26, 38, 52, 0.75);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #FFFFFF;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: #0b1118;
    color: var(--text-light);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #D4962A);
    color: #111;
    box-shadow: 0 4px 15px rgba(229, 169, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/hero_bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--text-light);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 61, 111, 0.85) 0%, rgba(18, 26, 35, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.brand-logo {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.15);
    background-color: var(--primary);
    padding: 5px;
    object-fit: contain;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    display: block;
    font-size: 2.2rem;
    font-weight: 500;
    margin-top: 10px;
    color: var(--accent);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--accent);
}

/* --- Services Section --- */
.section-heading {
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.bg-dark .section-heading h2 {
    color: var(--text-light);
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-heading p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(15, 61, 111, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(15, 61, 111, 0.1), rgba(15, 61, 111, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.glass-panel:hover .service-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.glass-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.glass-panel p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: right;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay span {
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- Why Us Section --- */
.why-us {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../assets/images/hero_bg.png') no-repeat left center/cover;
    background-attachment: fixed;
}

.why-us-content {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--glass-border);
}

.why-us-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.features-list li {
    display: flex;
    gap: 20px;
}

.features-list .feature-icon {
    font-size: 2.2rem;
    color: var(--accent);
    background: rgba(229, 169, 60, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.features-list h4 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.features-list p {
    color: var(--text-muted);
}

/* --- Quote Form --- */
.quote-section {
    position: relative;
    background-color: var(--bg-dark);
    color: white;
}

.form-container {
    max-width: 700px;
}

.glass-panel-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.glass-panel-dark h2 {
    margin-bottom: 10px;
    color: var(--accent);
}

.glass-panel-dark p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.5);
}

/* --- Footer --- */
.footer {
    background: #060a0f;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer h2 {
    margin-bottom: 10px;
}

.footer p {
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-contact {
    margin-bottom: 30px;
}

.phone-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    direction: ltr;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* --- Sticky Actions --- */
.sticky-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-btn {
    background: var(--wa-green);
}

.wa-btn:hover {
    background: var(--wa-green-hover);
    transform: scale(1.1);
}

.call-btn {
    background: var(--primary);
    animation: none;
}

.call-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 span {
        font-size: 1.6rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .trust-bar {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 span {
        font-size: 1.3rem;
    }

    .glass-panel-dark {
        padding: 30px 20px;
    }

    .phone-number {
        font-size: 1.8rem;
    }

    .sticky-actions {
        left: 20px;
        bottom: 20px;
    }

    .action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .brand-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
        border-radius: 12px;
    }
}