:root {
    --aim-blue: #0A2463;
    --aim-orange: #FF6B35;
    --aim-dark: #05163D;
    --aim-soft: #F8FAFC;
}

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aim-blue);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--aim-orange);
    line-height: 1.2;
}

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

.nav-link {
    position: relative;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aim-orange);
    transition: width 0.3s;
}

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

.nav-cta {
    background: var(--aim-orange);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--aim-blue);
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a, .mobile-menu button {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
    font-size: 1rem;
}

.mobile-menu a:hover, .mobile-menu button:hover {
    background: var(--aim-soft);
    color: var(--aim-blue);
}

.mobile-menu .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.95) 0%, rgba(5, 22, 61, 0.9) 50%, rgba(10, 36, 99, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem 1rem;
    animation: fadeInUp 1s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--aim-orange);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.hero-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #d1d5db;
    line-height: 1.8;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.btn-primary {
    background: var(--aim-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: 'Cairo', sans-serif;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: 'Cairo', sans-serif;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--aim-blue);
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #6b7280;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

/* About Section */
.about {
    background: var(--aim-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text .highlight {
    font-weight: 700;
    color: var(--aim-orange);
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.about-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.card-icon {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-left: 1rem;
}

.card-icon.blue {
    background: var(--aim-blue);
}

.card-icon.orange {
    background: var(--aim-orange);
}

.card-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--aim-blue);
}

.card-text {
    color: #4a5568;
    line-height: 1.8;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}

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

.service-icon {
    background: var(--aim-blue);
    padding: 1rem;
    border-radius: 0.75rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--aim-blue);
    margin-bottom: 0.5rem;
}

.service-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    color: var(--aim-orange);
    margin-bottom: 1rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    color: #6b7280;
    font-size: clamp(0.85rem, 2vw, 0.875rem);
    margin-bottom: 0.5rem;
}

.service-list li i {
    color: var(--aim-orange);
    margin-left: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Structure Section */
.structure {
    background: var(--aim-soft);
}

.org-tree {
    max-width: 1000px;
    margin: 0 auto;
}

.org-root {
    background: var(--aim-blue);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 3rem;
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.3);
}

.org-root-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.org-root-subtitle {
    color: var(--aim-orange);
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.org-connector {
    height: 80px;
    position: relative;
    margin-bottom: 2rem;
}

.vertical-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--aim-blue), transparent);
    margin: 0 auto;
}

.horizontal-line {
    height: 2px;
    max-width: 800px;
    background: linear-gradient(to right, transparent, var(--aim-orange), transparent);
    margin: 0 auto;
}

.branch-lines {
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    top: -2px;
}

.branch-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--aim-orange), transparent);
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.department-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.department-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dept-icon {
    background: var(--aim-blue);
    padding: 1rem;
    border-radius: 0.75rem;
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.department-card:hover .dept-icon {
    transform: scale(1.1);
}

.dept-title {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 700;
    color: var(--aim-blue);
    margin-bottom: 0.25rem;
}

.dept-subtitle {
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    color: var(--aim-orange);
    margin-bottom: 0.75rem;
}

.dept-description {
    font-size: clamp(0.85rem, 2vw, 0.875rem);
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dept-divider {
    height: 2px;
    background: var(--aim-orange);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.teams-title {
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.teams-tree {
    padding-right: 1rem;
    border-right: 2px solid var(--aim-blue);
}

.team-item {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    color: #4a5568;
    transition: background 0.3s;
}

.team-item:hover {
    background: #f3f4f6;
}

.team-item::before {
    content: '';
    position: absolute;
    right: -1rem;
    width: 1rem;
    height: 1px;
    background: var(--aim-blue);
}

.team-dot {
    width: 8px;
    height: 8px;
    background: var(--aim-orange);
    border-radius: 50%;
    margin-left: 0.5rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.team-item:hover .team-dot {
    transform: scale(1.25);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.why-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-height: 400px;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background: var(--aim-soft);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s;
}

.feature-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: var(--aim-blue);
    margin-left: 1rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #4a5568;
}

.why-cta {
    background: var(--aim-blue);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2.5rem;
}

.why-cta h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-cta p {
    line-height: 1.8;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

/* Contact Section */
.contact {
    background: var(--aim-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-left: 1rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.contact-icon.blue {
    background: var(--aim-blue);
}

.contact-icon.orange {
    background: var(--aim-orange);
}

.contact-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info h4 {
    font-weight: 600;
    color: var(--aim-blue);
    margin-bottom: 0.25rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.contact-info p {
    color: #6b7280;
    font-size: clamp(0.9rem, 2vw, 1rem);
    word-break: break-word;
}

/* Footer */
footer {
    background: var(--aim-dark);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--aim-orange);
    margin-bottom: 0.25rem;
}

.footer-logo-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.875rem);
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-title {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-links button {
    color: #9ca3af;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: color 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-links a:hover, .footer-links button:hover {
    color: var(--aim-orange);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-contact a:hover {
    color: var(--aim-orange);
}

.footer-contact i {
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInScale 1s ease 1s both;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

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

/* Responsive - Tablet (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    section {
        padding: 6rem 0;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-container {
        padding: 0 2rem;
    }
}

/* Responsive - Desktop (1024px and up) */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive - Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .nav-menu {
        gap: 2.5rem;
    }
}

/* Mobile specific (max-width: 767px) */
@media (max-width: 767px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .scroll-indicator {
        display: none;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .org-connector {
        display: none;
    }

    .about-image {
        max-height: 300px;
    }

    .why-image {
        max-height: 300px;
    }
}

/* Very small screens (max-width: 480px) */
@media (max-width: 480px) {
    .nav-container {
        height: 70px;
        padding: 0 0.75rem;
    }

    .logo-img {
        height: 35px;
    }

    .logo-title {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

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

    .btn-primary,
    .btn-secondary {
        max-width: 100%;
    }
}
