/* Global Styles & Variables */
:root {
    --primary-color: #0c3b6d;
    /* Deep Trustworthy Blue */
    --secondary-color: #c9a227;
    /* Gold/Wealth */
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
}

.center {
    text-align: center;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust based on navbar height */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: #0a2e55;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background-color: #b08d1f;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-bg {
    width: 400px;
    height: 400px;
    background-color: rgba(12, 59, 109, 0.05);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

.card-float {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-float i {
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
}

.card-float span {
    font-weight: 700;
    color: var(--primary-color);
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Language Switcher */
.lang-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Sections Common */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header.center .line {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--light-text);
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

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

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

.service-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(12, 59, 109, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Why Us Section */
.values-section {
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.values-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.values-text h2.white {
    color: var(--white);
}

.white-opacity {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.values-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.values-list i {
    color: var(--secondary-color);
    min-width: 24px;
    margin-top: 5px;
}

.values-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.values-list p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.large-icon {
    width: 64px;
    height: 64px;
    color: var(--secondary-color);
}

.trust-badge span {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #082d53;
    color: var(--white);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.footer-col.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col.links a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.2s;
}

.footer-col.links a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.copyrights {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.small {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media screen and (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }

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

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-menu.active {
        clip-path: circle(150% at 100% 0);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2rem;
        height: 300px;
    }

    .circle-bg {
        width: 300px;
        height: 300px;
    }

    .values-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}