/* Global Styles */
:root {
    --primary-color: #00844a;
    /* More balanced green from logo */
    --secondary-color: #006e3e;
    /* Slightly darker green */
    --accent-color: #404040;
    /* Softer dark grey */
    --light-accent: #737373;
    /* Medium grey */
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f8f8f8;
    /* Less green tint, more neutral */
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

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

section {
    padding: 80px 0;
}

h1,
h2,
h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

section h2 {
    display: block;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

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

.logo img {
    width: 300px;
    height: 45px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.hero-buttons .btn.secondary {
    border-color: white;
    color: white;
}

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

/* About Section */
.about {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: stretch;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.about-text:before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 100px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.highlight-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-10px);
}

.highlight-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.highlight-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* Apps Section */
.apps {
    padding: 100px 0;
}

.app-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.app-card .app-logo {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    padding: 20px;
}

.app-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.app-logo i {
    font-size: 70px;
    color: var(--primary-color);
}

.app-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.app-info p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.app-info .btn {
    align-self: flex-start;
}

.app-card.coming-soon {
    background: var(--light-bg);
    position: relative;
}

.app-card.coming-soon .app-logo {
    height: 200px;
    background: var(--light-bg);
    padding: 30px;
}

.coming-soon-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.basra-logo {
    background: linear-gradient(135deg, #404040 0%, #686868 100%);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.basra-logo i {
    font-size: 70px;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.progress-container {
    margin-top: auto;
    padding: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.progress-text {
    margin-top: 10px;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Team Section */
.team {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
}

.team:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--bg-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member .content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-member h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--light-text);
    margin-bottom: 20px;
    text-align: justify;
    hyphens: auto;
}

.team-member .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.team-member .social-links a {
    color: var(--light-text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.team-member .social-links a:hover {
    color: var(--primary-color);
}

.team-member .profile-link {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.team-member .profile-link:hover {
    transform: translateX(5px);
}

.team-member .profile-link i {
    font-size: 0.9em;
}

/* Contact Section */
.contact {
    background: var(--bg-color);
    position: relative;
    padding: 100px 0;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--light-bg);
    clip-path: polygon(0 0, 100% 100%, 100% 0, 0 0);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    min-width: 280px;
    text-align: left;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-details h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-method a {
    font-weight: 500;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: white;
    padding: 60px 0;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 60px;
    margin-right: 15px;
}

.footer-logo h3 {
    margin-bottom: 0;
    color: white;
    font-size: 1.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-highlights {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 80%;
        margin-bottom: 10px;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .app-cards {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }

    .contact-method {
        width: 100%;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method i {
        margin: 0 0 15px 0;
    }
}