/* assets/css/style.css - Modern Attractive Styles */

/* ===== Base Styles ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding-top: 80px;
    color: #2d3748;
    line-height: 1.6;
}

/* ===== Header/Navigation ===== */
.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    
}

/* Hero Section - Text Over Image */
.hero-section {
    height: 50vh; /* Half the viewport height */
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background-color: #003366; /* Fallback color */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7; /* Make image slightly transparent */
}

.hero-section .container {
    height: 100%;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: calc(1.5rem + 2vw);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
}

/* Gradient overlay for better text readability */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 51, 102, 0.4) 100%);
    z-index: 0;
}

/* Ensure text stays above overlay */
.position-relative.z-index-1 {
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 300px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-background img {
        object-position: 60% center;
    }
}
.hero-section .btn-primary {
    background-color: #f59e0b;
    border-color: #f59e0b;
}

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background-color: #fbbf24;
}

/* ===== Section Common Styles ===== */
section {
    padding: 5rem 0;
    position: relative;
}

section h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: currentColor;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== Solutions Section ===== */
#solutions {
    background-color: #f0fdfa;
    background-image: radial-gradient(at top right, #ccfbf1 0%, transparent 50%);
}

#solutions h2 {
    color: #0d9488;
}

/* ===== About Section ===== */
#about {
    background-color: #f8fafc;
    background-image: linear-gradient(to bottom right, #ffffff 0%, #f8fafc 100%);
}

#about h2 {
    color: #334155;
}

/* ===== Team Section ===== */
#team {
    background-color: #fef2f2;
    background-image: radial-gradient(at bottom left, #fee2e2 0%, transparent 50%);
}

#team h2 {
    color: #dc2626;
}

/* ===== Collaborations Section ===== */
#collaborations {
    background-color: #eff6ff;
    background-image: linear-gradient(to bottom left, #dbeafe 0%, transparent 50%);
}

#collaborations h2 {
    color: #2563eb;
}

/* ===== Contact Section ===== */
#contact {
    background-color: #f5f3ff;
    background-image: radial-gradient(at top left, #ede9fe 0%, transparent 50%);
}

#contact h2 {
    color: #7c3aed;
}

/* ===== Card Styles ===== */
.card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 3rem 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}