:root {
    --primary-blue: #0a192f;
    --secondary-blue: #112240;
    --steel-gray: #334155;
    --steel-light: #94a3b8;
    --gold: #d4af37;
    --gold-hover: #facc15;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
    transition: var(--transition);
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background-color: var(--primary-blue);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    max-height: 50px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background-color: var(--gold);
    color: var(--primary-blue);
    padding: 8px 25px;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease; /* For slow zoom effect */
}

.swiper-slide-active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.5) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 2rem;
}

.slide-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-subtitle {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
    max-width: 700px;
}

.slide-buttons {
    display: flex;
    gap: 20px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--gold) !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

/* Section Shared */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: right;
    margin-bottom: 30px;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-list {
    margin-top: 30px;
}

.about-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.about-list i {
    color: var(--gold);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 5px solid var(--gold);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    border: 4px solid var(--white);
    z-index: 2;
}

.service-content {
    padding: 40px 30px 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 700;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--gold);
    gap: 12px;
}

/* Products Section */
.product-category {
    margin-bottom: 60px;
}

.category-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.category-header h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    color: var(--gold);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
    background-color: var(--primary-blue);
    color: var(--white);
    transition: var(--transition);
}

.product-card:hover .product-info {
    background-color: var(--gold);
    color: var(--primary-blue);
}

/* Why Choose Us */
.why-us-section {
    background-color: var(--primary-blue);
    color: var(--white);
    background-image: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://source.unsplash.com/1600x900/?industry,abstract');
    background-attachment: fixed;
    background-size: cover;
}

.text-light .section-title {
    color: var(--white);
}

.text-light .section-desc {
    color: #cbd5e1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #cbd5e1;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .icon {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--gold);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form-container {
    background-color: var(--bg-light);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #94a3b8;
    max-width: 400px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 10px;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact i {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .slide-title { font-size: 3rem; }
    .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-text .section-title { text-align: right; }
    .experience-badge { right: 20px; bottom: 20px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-blue);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .slide-title { font-size: 2.5rem; }
    .slide-subtitle { font-size: 1.2rem; }
    .slide-buttons { flex-direction: column; }
    .contact-form-container { padding: 30px 20px; }
}

/* --- Multi-page specific styles --- */
.page-header {
    padding: 150px 0 80px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

.solid-nav {
    background-color: var(--primary-blue);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom: none;
}

.page-spacing {
    padding: 80px 0;
}

.full-height {
    min-height: 70vh;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
}

/* Luminous / Glowing Animations */
@keyframes glowPulse {
    0% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.1), inset 0 0 5px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), inset 0 0 10px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.1), inset 0 0 5px rgba(212, 175, 55, 0.1); }
}

.feature-card:hover, .service-card:hover, .product-card:hover {
    animation: glowPulse 2s infinite alternate;
    border-color: var(--gold);
}

.glowing-text {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
    color: var(--gold) !important;
}

.category-header-img {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 60px 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.category-header-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.6));
    z-index: 1;
}
.category-header-img h3 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.category-header-img:hover {
    transform: scale(1.02);
    animation: glowPulse 2s infinite alternate;
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Fallback animation to ensure site works if JS fails */
    animation: fadeOutOverlay 0.8s forwards;
    animation-delay: 1.5s;
}
@keyframes fadeOutOverlay {
    to { opacity: 0; visibility: hidden; z-index: -1; }
}
.page-transition-overlay::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}
@keyframes spin { 
    to { transform: rotate(360deg); } 
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--gold);
}
.nav-links a.active::after {
    width: 100%;
}
