/* CSS Variables for Colors */
:root {
    --primary-blue: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --primary-blue-lighter: #60a5fa;
    --primary-orange: #f97316;
    --primary-orange-dark: #ea580c;
    --primary-red: #dc2626;
    --primary-green: #16a34a;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --white-alpha-15: rgba(255, 255, 255, 0.15);
    --white-alpha-20: rgba(255, 255, 255, 0.2);
    --white-alpha-95: rgba(255, 255, 255, 0.95);
    --black-alpha-10: rgba(0, 0, 0, 0.1);
    --black-alpha-15: rgba(0, 0, 0, 0.15);
    --accent-gold: #fbbf24;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--primary-blue-lighter) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--white-alpha-20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-menu {
    background: var(--white-alpha-15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    max-width: 300px;
    margin: auto;
}

.nav-item:hover {
    color: var(--accent-gold) !important;
}

.gov-text {
    font-size: 14px;
}

.oman-emblem {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    /*min-height: 80vh;*/
    display: flex;
    align-items: center;
}

.min-vh-75 {
    /*min-height: 75vh;*/
}

.main-title {
    line-height: 1.2;
}

.subtitle {
    line-height: 1.6;
}

/* Person Image */
.person-image {
    width: 400px;
    height: 350px;
    background: url('../../assets/images/home.png') center/cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--black-alpha-15);
}

/* Oman Flag */
.oman-flag {
    width: 60px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-red) 33%, white 33% 66%, var(--primary-green) 66%);
    position: relative;
}

.oman-flag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: var(--primary-red);
}

.oman-flag::after {
    content: '🗡';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: white;
}

/* Service Cards */
.services-section {
    background: var(--white-alpha-15);
    backdrop-filter: blur(10px);
}

.service-card {
    background: var(--white-alpha-95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--black-alpha-10);
    transition: all 0.3s ease;
    border: none;
    max-width: 520px;
    margin: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--black-alpha-15);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.contract-card .card-icon {
    background: var(--primary-blue-light);
    color: white;
}

.consultation-card .card-icon {
    background: var(--primary-orange);
    color: white;
}

.card-title {
    color: var(--text-dark);
}

.card-description {
    color: var(--text-muted);
}

.contract-card .card-button {
    background: var(--primary-blue-light);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.contract-card .card-button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.consultation-card .card-button {
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.consultation-card .card-button:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
}

.white-image{
    filter: brightness(0) invert(1);
}
.cursor-pointer{
    cursor: pointer;
}

/* Mobile Sidebar */
.offcanvas {
    background: rgb(24 24 24) !important;
}

.offcanvas-body a:hover {
    background: var(--white-alpha-15);
    color: var(--accent-gold) !important;
}

/* Mobile Responsiveness - ONLY for menu visibility */
@media (max-width: 767px) {
    .person-image {
        width: 300px;
        height: 250px;
    }

    .main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .person-image {
        width: 250px;
        height: 200px;
    }

    .main-title {
        font-size: 2rem;
    }
}
