/* Global Vars */
:root {
    --primary-color: #0F172A;
    /* Navy Blue */
    --secondary-color: #38BDF8;
    /* Sky Blue */
    --accent-color: #0EA5E9;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --gradient-main: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    --gradient-cta: linear-gradient(135deg, #0EA5E9 0%, #0F172A 100%);
    /* New Gradient for Button */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    direction: rtl;
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px;
    /* Prevent content overlap with fixed header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-color);
}

.highlight {
    color: var(--secondary-color);
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* --- High-End Header Styles --- */
.header {
    background-color: rgba(10, 25, 47, 0.8);
    /* Semi-transparent Navy */
    backdrop-filter: blur(12px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    /* Cyan Border */
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* Sticky Shrink Effect */
.header.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 25, 47, 0.95);
    /* Darker on scroll */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.header-logo-img {
    height: 40px;
    /* Reduced from 50px */
    width: auto;
    max-width: 180px;
    /* Safety constraint */
    object-fit: contain;
    transition: var(--transition);
}

.header-logo-img:hover {
    transform: scale(1.05);
}

/* Footer Logo */
.footer-logo-img {
    height: 60px;
    /* Reduced from 80px */
    width: auto;
    max-width: 220px;
    /* Safety constraint */
    object-fit: contain;
    margin-bottom: 20px;
}

/* Centered Nav */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Center the list */
}

.nav-list {
    display: flex;
    gap: 40px;
    /* Spacing */
    align-items: center;
}

.nav-list a {
    color: #e2e8f0;
    font-weight: 600;
    /* Cairo 600 */
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

/* Animated Underline */
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Header Actions & CTA */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-header-cta {
    background: var(--gradient-cta);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Glow Effect */
.glow-on-hover:hover {
    box-shadow: 0 0 15px var(--secondary-color);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --------------------------- */

/* Hero Section */
.hero {
    background: var(--gradient-main);
    padding: 80px 0 100px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-bg {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary-color), transparent);
    opacity: 0.1;
    position: absolute;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
    font-size: 4rem;
}

.icon-3 {
    top: 40%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.text-white .section-title {
    color: var(--white);
}

.line {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.value-item:hover {
    background: var(--primary-color);
    /* Darker on hover for values */
    color: var(--white);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    /* Sky blue icon */
    transition: 0.3s;
}

.value-item:hover .value-icon {
    color: var(--white);
    transform: scale(1.1);
}

.value-item h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 700;
}

.value-item h4 {
    color: var(--primary-color);
    transition: 0.3s;
}

.value-item:hover h4 {
    color: var(--white);
}

/* Value Description Styling & Animation */
.value-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 10px;
    opacity: 0.9;
    transition: 0.3s;
    /* Animation initial state */
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.5s ease-out;
}

.value-item.active .value-desc {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
    /* Slight delay after card appears */
}

.value-item:hover .value-desc {
    color: #cbd5e1;
    /* Light grey on dark hover background */
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Land Fencing Section */
.land-fencing {
    position: relative;
    background-image: url('../land_fencing_bg.png');
    background-attachment: fixed;
    /* Parallax Effect */
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.land-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

.land-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Split: Text wider > Visual */
    gap: 50px;
    align-items: center;
    width: 100%;
}

.land-content {
    /* Animations will apply via classes */
}

/* Glassmorphism Card */
.land-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* Float Effect */
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.land-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
}

.land-desc {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.land-steps {
    margin-bottom: 40px;
}

.land-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.05rem;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    font-size: 1rem;
    flex-shrink: 0;
}

.land-cta {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border: none;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Partners Carousel */
.slider-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    background: var(--white);
}

.slider-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scroll 30s linear infinite;
    align-items: center;
}

.partner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }

    /* RTL - check direction */
}

/* CTA Section (Custom Dark Blue) */
.cta-section {
    background: linear-gradient(135deg, #0a192f 0%, #173d63 100%);
    color: var(--white);
    padding: 100px 0 0;
    /* Padding bottom for bar */
    position: relative;
}

.cta-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.cta-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

.cta-cards-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.cta-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle glass */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Highlight Card (WhatsApp) */
.cta-card.highlight-card {
    background: rgba(56, 189, 248, 0.1);
    /* Sky Blue Tint */
    border-color: rgba(56, 189, 248, 0.3);
}

.cta-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
}

.cta-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.cta-card:hover .cta-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cta-info {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* Bottom Bar */
.cta-bottom-bar {
    background: #020617;
    /* Very Dark */
    padding: 15px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.cta-bottom-bar i {
    margin-left: 8px;
    color: var(--secondary-color);
}

/* Contact */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info .info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Footer */
.footer {
    background: #020617;
    /* Darker Navy */
    color: var(--text-light);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    /* Land Fencing Mobile */
    .land-container {
        grid-template-columns: 1fr;
    }

    .land-fencing {
        min-height: auto;
        padding: 80px 0;
    }

    .cta-cards-grid {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {

    /* Mobile Header Refinements */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        /* Full Width */
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        /* Solid dark */
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: start;
        padding: 40px 20px;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .nav-list a {
        color: var(--white);
        font-size: 1.3rem;
    }

    .mobile-menu-btn {
        display: block;
        margin-right: 15px;
        /* Spacing from CTA */
    }

    /* Hide Desktop CTA in nav if duplicated, or style appropriately */
    .btn-header-cta {
        display: none;
        /* Hide on very small screens if crowded, or keep */
    }

    .header-actions {
        /* Show only hamburger on mobile if preferred, or hamburger + small CTA */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-side {
    opacity: 0;
    transform: translateX(50px);
    /* Coming from right */
    transition: all 1s ease-out;
}

.reveal-side.active {
    opacity: 1;
    transform: translateX(0);
}

/* --- Hero Floating Cards --- */

/* Hero Floating Cards Container */
.hero-floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through if needed */
    z-index: 10;
}

/* Base Card Style */
.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    /* Ultra transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 250px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    animation: floatCard 6s ease-in-out infinite;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
}

.card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), #fff);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card-text h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.card-text p {
    color: #cbd5e1;
    font-size: 0.75rem;
    line-height: 1.3;
    margin: 0;
}

/* Positioning & Specific Animations */

/* Card 1: Top Right of Visual (Innovation) */
.card-1 {
    top: 5%;
    right: 0%;
    animation-delay: 0s;
}

/* Card 2: Bottom Right of Visual (Commitment) */
.card-2 {
    bottom: 10%;
    right: -10%;
    animation-delay: 2s;
    background: rgba(15, 23, 42, 0.4);
    /* Slightly darker for contrast if needed */
}

/* Card 3: Top Left of Visual (Inclusivity) */
.card-3 {
    top: 15%;
    left: -10%;
    animation-delay: 1.5s;
}

/* Card 4: Bottom Left of Visual (Quality) */
.card-4 {
    bottom: 5%;
    left: 5%;
    animation-delay: 3.5s;
}

/* Centered Logo Card */
.logo-card {
    top: 50%;
    left: 50%;
    /* Start centered */
    transform: translate(-50%, -50%);
    /* Adjust center */
    width: 200px;
    /* Increased width for standalone logo */
    height: auto;
    /* Auto height */
    z-index: 20;
    /* Highest priority */
    justify-content: center;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    animation: floatCardCenter 6s ease-in-out infinite;
    max-width: none;
    /* Override max-width of other cards */
}

.logo-card:hover {
    background: transparent;
    border: none;
    transform: translate(-50%, -50%) scale(1.05);
}

.hero-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.6));
    /* Enhanced glow on logo itself */
}

/* Floating Animation for Centered Card */
@keyframes floatCardCenter {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

/* Floating Animation */
@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Adjustments for existing floating-icon to coexist */
.floating-icon {
    opacity: 0.4 !important;
    /* Dim existing icons slightly */
    z-index: 5;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-visual {
        margin-top: 50px;
        width: 100%;
        height: 350px;
        /* Ensure space */
    }

    /* Stack or hide some cards on mobile to avoid crowding */
    .hero-card {
        padding: 10px;
        max-width: 200px;
    }

    .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .card-text p {
        display: none;
        /* Hide description on mobile for cleanliness */
    }

    .card-1 {
        right: 5%;
        top: 0%;
    }

    .card-2 {
        right: 5%;
        bottom: 0%;
    }

    .card-3 {
        left: 5%;
        top: 10%;
    }

    .card-4 {
        left: 5%;
        bottom: 10%;
    }

    /* Mobile Logo Card */
    .logo-card {
        width: 140px;
        /* Slightly larger on mobile too since no frame */
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        display: none;
        /* Often best to hide complex visuals on very small screens, or simplify */
    }
}

/* --- Master Footer Styles --- */
.master-footer {
    background-color: #0D1C3C;
    /* requested dark blue */
    color: #e2e8f0;
    padding: 80px 0 30px;
    font-size: 0.95rem;
    border-top: 4px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

/* Responsive Grid */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Glass Column Wrapper */
.footer-glass-col {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.footer-glass-col:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.2);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Links List */
.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-links a {
    color: #cbd5e1;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

/* Social Icons */
.social-grid {
    display: flex;
    flex-direction: column;
    /* Vertical Layout */
    gap: 15px;
    align-items: center;
    /* Center icons in the column */
}

/* --- Advanced Contact Section --- */
.contact-section-advanced {
    background-color: #0B162C;
    /* Slightly simpler dark bg to verify overlap */
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* 1. Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 5px;
}

/* 2. Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Form is wider */
    gap: 40px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile/tablet */
    }
}

/* 3. Glass Form */
.glass-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
}

.form-header p {
    color: #94a3b8;
    margin-bottom: 30px;
}

/* Progress Bar */
.form-progress-wrapper {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--secondary-color);
}

/* Form Fields */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 20px;
    }
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.required {
    color: #ef4444;
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
    font-family: inherit;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.glass-input {
    appearance: none;
    /* Remove default arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    /* RTL: Arrow on left */
    background-size: 1em;
}

select.glass-input option {
    background: #0f172a;
    /* Dark background for options */
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    border-radius: 12px;
}

/* 4. Sidebar */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.card-header h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
}

.info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.info-row i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.separator-title {
    font-size: 1rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.action-btn:hover {
    transform: translateX(-5px);
}

.action-btn.whatsapp:hover {
    background: #25D366;
    color: white;
}

.action-btn.phone:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.action-btn.email:hover {
    background: #ea4335;
    color: white;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: 0.3s;
}

.map-link:hover {
    color: white;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: 0.3s;
    font-size: 1rem;
}

/* Social Brand Colors */
.social-icon:hover {
    transform: scale(1.1);
    color: #fff;
}

.social-icon.fb:hover {
    background: #1877F2;
}

.social-icon.x:hover {
    background: #000;
    border: 1px solid #333;
}

.social-icon.insta:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.yt:hover {
    background: #FF0000;
}

.social-icon.tiktok:hover {
    background: #000;
    border: 1px solid #333;
}

/* TikTok brand is usually black/trichromatic */
.social-icon.snap:hover {
    background: #FFFC00;
    color: #000;
}

/* Contact Info */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-item i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-brand p {
    margin-top: 15px;
    line-height: 1.8;
    color: #94a3b8;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cr-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cr-badge {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}