/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
    --primary-color: #ce1126;
    --secondary-color: #1a1a1a;
    --accent-color: #f09819;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f0f;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f4f6f9;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand img {
    height: 50px;
    object-fit: contain;
}

.nav-link {
    font-weight: 700;
    color: var(--secondary-color) !important;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    overflow: hidden;
    color: white;
}

.hero-bg-accent {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.hero-bg-accent-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: #004dff;
    filter: blur(150px);
    opacity: 0.05;
    border-radius: 50%;
    bottom: 0;
    right: 0;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.btn-premium {
    background: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(206, 17, 38, 0.3);
    transition: var(--transition);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(206, 17, 38, 0.4);
    background: #b00e1f;
    color: white;
}

/* Services / Sectors Section */
.section-title {
    font-weight: 800;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.country-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.country-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.country-flag-icon {
    font-size: 2.5rem;
    margin-left: 1rem;
}

.country-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
}

.sectors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sector-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-color);
}

.sector-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(-5px);
}

.sector-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(206, 17, 38, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.1rem;
}

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

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        height: auto;
        padding: 6rem 0;
    }
}

/* Clickable Sector Item */
.sector-item[onclick]:hover {
    background: #ffe3e3;
    border-right: 3px solid var(--primary-color);
}

/* Premium Redesign Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    box-shadow: var(--card-shadow);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-hero {
    background: radial-gradient(circle at top right, #2c3e50, #000000);
    padding: 160px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.floating-phones {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-wrapper {
    position: absolute;
    transition: var(--transition);
}

.phone-wrapper.main {
    z-index: 5;
    transform: scale(1);
}

.phone-wrapper.side-1 {
    transform: translateX(-180px) translateY(40px) scale(0.8) rotate(-10deg);
    opacity: 0.6;
    z-index: 1;
}

.phone-wrapper.side-2 {
    transform: translateX(180px) translateY(40px) scale(0.8) rotate(10deg);
    opacity: 0.6;
    z-index: 1;
}

.phone-wrapper:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-10px);
    z-index: 10;
}

.feature-tag {
    display: inline-block;
    background: rgba(240, 152, 25, 0.1);
    color: var(--accent-color);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(240, 152, 25, 0.2);
}

.stats-box {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.stats-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.stats-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}