/* 
    Brand Color Palette:
    Deep Navy: #002D5A (Headers & Backgrounds)
    Royal Blue: #005696 (Buttons, icons & Highlights)
    Sky Blue: #70B9E8 (Hover states & accents)
    Light Gray: #F5F7FA (Light backgrounds)
*/

:root {
    --deep-navy: #002D5A;
    --royal-blue: #005696;
    --sky-blue: #70B9E8;
    --bg-color: #F5F7FA;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-muted: #4B5563;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Almarai', sans-serif;
    color: var(--text-dark);
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden;
}

p {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

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

.en-font {
    font-family: 'Montserrat', sans-serif;
    direction: ltr;
    display: inline-block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

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

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.section-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--royal-blue);
    background: rgba(0, 86, 150, 0.1);
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 15px;
}

.section-tag.light-tag {
    color: var(--sky-blue);
    background: rgba(112, 185, 232, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 2px; /* Sharp edges for brand consistency */
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background-color: var(--royal-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 150, 0.2);
}

.btn-primary:hover {
    background-color: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 45, 90, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--deep-navy);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 40px;
}

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

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

.navbar.scrolled .nav-links a {
    color: var(--deep-navy);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sky-blue);
    transition: var(--transition);
}

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

.header-action .btn {
    padding: 10px 24px;
}

.lang-btn {
    color: var(--white);
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.1rem;
}

.navbar.scrolled .lang-btn {
    color: var(--deep-navy);
}

.lang-btn:hover {
    color: var(--sky-blue);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .hamburger {
    color: var(--deep-navy);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--deep-navy);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--sky-blue);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--deep-navy);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 45, 90, 0.95) 0%, rgba(0, 86, 150, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--sky-blue);
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--bg-color);
    max-width: 600px;
    margin-bottom: 40px;
}

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

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

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--royal-blue);
}

.stat-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-navy);
}

.about-image-wrapper {
    position: relative;
}

.about-img-box {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-img-box img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-img-box:hover img {
    transform: scale(1.05);
}

.img-overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 150, 0.2);
    mix-blend-mode: multiply;
}

.decor-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--sky-blue);
    z-index: 1;
    border-radius: 2px;
}

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

.service-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 2px;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    border-top-color: var(--royal-blue);
    box-shadow: 0 15px 35px rgba(0, 45, 90, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 86, 150, 0.1);
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    border-radius: 2px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--royal-blue);
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: var(--deep-navy);
    color: var(--white);
    position: relative;
    padding-bottom: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--royal-blue);
    border-radius: 2px 2px 0 0;
    overflow: hidden;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.2);
    transform: translateY(50px);
}

.contact-info {
    padding: 60px;
}

.contact-desc {
    color: var(--bg-color);
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--sky-blue);
    border-radius: 2px;
    flex-shrink: 0;
}

.item-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.item-text p {
    margin: 0;
    color: var(--bg-color);
    opacity: 0.8;
}

.phone-num {
    display: block;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 5px;
    transition: var(--transition);
}

.phone-num:hover {
    color: var(--sky-blue);
}

.contact-map {
    height: 100%;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: #001F3F;
    color: var(--white);
    padding: 100px 0 30px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%; /* standard for social */
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--sky-blue);
    color: var(--deep-navy);
    transform: translateY(-3px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title { font-size: 4rem; }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .decor-box { display: none; }
    
    .nav-links, .header-action { display: none; }
    
    .hamburger { display: block; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.5rem; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .hero-buttons { flex-direction: column; }
    
    .contact-wrapper { transform: translateY(0); border-radius: 2px; }
    .contact { padding-bottom: 70px; }
}
