/* Import Navigation Styles */
@import url('nav.css');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #ffffff;
    overflow-x: hidden;
}

/* Main Container */
#main {
    margin-top: 40px;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563EB;
    border-radius: 2px;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #2563EB;
    border-radius: 50%;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: #132c6f;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 1;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: #2563EB;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.cta-secondary {
    background: transparent;
    color: #2563EB;
    border: 2px solid #2563EB;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-secondary:hover {
    background: #2563EB;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* Intro Section */
.intro-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Capabilities Section */
.capabilities-section {
    padding: 20px ;
    background: #ffffff;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.capability-card {
    background: #F4F8FF;
    border: 1px solid #E6EDFF;
    padding: 30px;
    border-radius: 20px;
    box-shadow: rgba(0,0,0,0.06) 0 10px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F4F8FF;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0 ,0.06);
}

.capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #2563EB;
    border-radius: 15px;
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1.25rem;
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #132C6F;
    margin-bottom: 20px;
}

.capability-features {
    list-style: none;
}

.capability-features li {
    padding: 8px 0;
    color: #6b7280;
    position: relative;
    padding-left: 25px;
}

.capability-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563EB;
    font-weight: bold;
}

/* Modules Section */
.modules-section {
    padding: 60px 0;
    background: #ffffff;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.module-card {
    background: #FFFFFF;
    border: 1px solid #E6EDFF;
    padding: 35px;
    border-radius: 15px;
    box-shadow: rgba(0,0,0,0.06) 0 5px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #2563EB;
    border-radius: 12px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.25rem;
}

.module-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #132C6F;
    margin-bottom: 15px;
}

.module-features {
    list-style: none;
}

.module-features li {
    padding: 6px 0;
    color: #6b7280;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.module-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2563EB;
    font-weight: bold;
}

/* Use Cases Section */
.usecases-section {
    padding: 60px 0;
    background: #ffffff;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.usecase-card {
    background: #F4F8FF;
    border: 1px solid #E6EDFF;
    padding: 35px;
    border-radius: 15px;
    box-shadow: rgba(0,0,0,0.06) 0 5px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.usecase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.usecase-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #2563EB;
    border-radius: 12px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.25rem;
}

.usecase-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #132C6F;
    margin-bottom: 15px;
}

.usecase-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 40px 0;
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #E6EDFF;
    transition: all 0.3s ease;
    box-shadow: rgba(0,0,0,0.06) 0 8px 25px;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #2563EB;
    border-radius: 50%;
    margin-bottom: 25px;
    color: white;
    font-size: 1.25rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #132C6F;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 60px 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: #F4F8FF;
    border: 1px solid #E6EDFF;
    padding: 35px;
    border-radius: 15px;
    box-shadow: rgba(0,0,0,0.06) 0 8px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #2563EB;
    border-radius: 12px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #132C6F;
    margin-bottom: 15px;
}

.why-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 60px 20px;
    background: linear-gradient(#2161a0 0%, #1c4398 100%);
    text-align: center;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    margin: 80px -20px;
    width:80%;
    margin-left:12%;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .cta-buttons {
    justify-content: center;
}

/* CTA Section specific button styling for dark background */
.cta-section .cta-primary {
    background: #2563EB;
    color: #ffffff;
}

.cta-section .cta-primary:hover {
    background: #1D4ED8;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.cta-section .cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-section .cta-secondary:hover {
    background: #ffffff;
    color: #2563EB;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .capabilities-grid,
    .modules-grid,
    .users-grid,
    .usecases-grid,
    .benefits-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap:15px;
    }
    
    .cta-primary, .cta-secondary {
        width: 200px;
    }
    
    #main {
        margin-top: 60px;
    }
    
    .services-dropdown .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(59, 130, 246, 0.05);
        margin-top: 10px;
        border-radius: 5px;
        padding: 10px;
        max-height: 400px; /* Increased height */
        overflow-y: auto; /* Enable scrolling */
        overflow-x: hidden; /* Prevent horizontal scroll */
        width: 100% !important;
        max-width: 300px !important;
        padding: 10px;
        box-sizing: border-box !important;
    }
    
    .services-dropdown.submenu-open .dropdown-menu {
        display: block;
    }
    
    .services-dropdown .dropdown-menu a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    #contact-btn {
        position: static;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    #contact-btn li {
        list-style: none;
    }
    
    #contact-btn a {
        display: block;
        padding: 10px 15px;
        border-radius: 5px;
        transition: background 0.3s ease;
        text-decoration: none;
        color: #1a1a1a;
        text-align: center !important;
        justify-content: center;
        align-items: center;
    }
    
    #contact-btn a:hover {
        background: rgba(59, 130, 246, 0.1);
    }
    
    
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 0 15px;
    }
    
    .capability-card,
    .module-card,
    .usecase-card,
    .benefit-card,
    .why-card {
        padding: 25px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    #footbox {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 !important;
    }
    
    #footabout {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
        min-width: auto !important;
    }
    
    #footlogo img {
        max-width: 120px !important;
        margin-bottom: 15px !important;
    }
    
    #footabout_title {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }
    
    #footnav {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
    }
    
    #footnav1, #footnav2 {
        align-items: center !important;
        gap: 10px !important;
    }
    
    #footnav a {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        border-radius: 5px !important;
        transition: all 0.3s ease !important;
    }
    
    #footnav a:hover {
        background: rgba(96, 165, 250, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

#footbox {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

#footabout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex: 1;
    min-width: 300px;
}

#footlogo {
    flex-shrink: 0;
}

#footlogo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

#footabout_title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

#footnav {
    display: flex;
    gap: 30px;
}

#footnav1, #footnav2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#footnav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

#footnav a:hover {
    color: #60a5fa;
}

/* RTL Support */
body.rtl footer {
    direction: rtl;
}

body.rtl #footabout {
    flex-direction: row-reverse;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




