/* Le Matrix Company Limited - Professional Business Consulting CSS */

/* ===== CSS Variables ===== */
:root {
    --primary-dark: #0B1F3A;
    --primary-light: #1E90FF;
    --accent-gold: #D4AF37;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #6C757D;
    --gray-dark: #343A40;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --info: #17A2B8;
    
    --gradient-primary: linear-gradient(135deg, #0B1F3A 0%, #1E3A5F 100%);
    --gradient-accent: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 800;
    text-align: center;
}

/* About Page Specific Styles */
.page-header-content h1 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
}

.page-header-content .lead {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.text-primary { color: var(--primary-dark); }
.text-accent { color: var(--primary-light); }
.text-gold { color: var(--accent-gold); }
.text-white { color: var(--white); }

/* ===== Navigation ===== */
.navbar {
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.98) 0%, rgba(30, 144, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-brand:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
}

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

.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFFFFF 0%, #1E90FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.25rem;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-light) !important;
    background: rgba(30, 144, 255, 0.2);
}

.navbar-nav .nav-link i {
    font-size: 0.85rem;
    opacity: 0.8;
}

.navbar-nav .nav-link:hover i {
    opacity: 1;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: rgba(11, 31, 58, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s ease;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(30, 144, 255, 0.2);
    color: var(--white) !important;
    transform: translateX(4px);
}

.dropdown-item i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Admin Button */
.btn-admin {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%) !important;
    color: #0B1F3A !important;
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%) !important;
    color: #0B1F3A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-admin i {
    font-size: 0.85rem !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1.25rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .navbar-logo {
        height: 45px;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
    }
    
    .btn-admin {
        margin-top: 0.5rem;
        text-align: center;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--primary-light) !important;
}

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

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

/* ===== Buttons ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

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

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

.btn-gold {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* ===== Hero Section - Completely Redesigned ===== */
.hero {
    background: linear-gradient(135deg, #0B1F3A 0%, #1E3A5F 50%, #0B1F3A 100%);
    color: var(--white);
    padding: 160px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    z-index: 2;
}

/* Badges */
.hero-badges {
    margin-bottom: 2rem;
}

.badge-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.badge-primary {
    background: rgba(30, 144, 255, 0.2);
    color: var(--white);
}

.badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: var(--white);
}

.badge-info {
    background: rgba(23, 162, 184, 0.2);
    color: var(--white);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Title */
.hero-title-wrapper {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out;
}

.title-line {
    display: block;
    margin-bottom: 0.25rem;
}

.title-line.highlight {
    color: var(--white);
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
    margin-top: 1rem;
    animation: slideInLeft 1s ease-out 0.5s both;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 500px;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(30, 144, 255, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item .feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.feature-content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.feature-content p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
    height: 600px;
}

.image-wrapper {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.7) 0%, rgba(30, 144, 255, 0.3) 100%);
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.floating-card h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 0;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 3s;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-badges {
        margin-bottom: 1.5rem;
    }
    
    .badge-wrapper {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Hide hero features on mobile to reduce content density */
    .hero-features {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Simplify stats for mobile */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Hide floating cards on mobile */
    .floating-card {
        display: none;
    }
    
    /* Adjust hero image for mobile */
    .hero-image-container {
        height: 300px;
        margin-top: 2rem;
    }
    
    /* Adjust hero section padding for mobile */
    .hero {
        padding: 140px 0 80px 0;
        min-height: auto;
    }
    
    /* Adjust hero content positioning */
    .hero-content {
        text-align: center;
    }
    
    /* Hide some background shapes on mobile for performance */
    .shape-2, .shape-4 {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .badge-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .badge {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .hero-image-container {
        height: 250px;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .image-wrapper {
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .floating-cards {
        display: none; /* Hide floating cards on mobile for cleaner look */
    }
    
    .hero {
        padding: 120px 0 60px 0;
    }
    
    /* Ensure text justification on smallest mobile devices */
    .text-justify {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    .section-light p {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    .section-light .lead {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    .feature-content p {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    /* About Section Mobile Optimization */
    .about-features {
        display: none; /* Hide about features on mobile to reduce content */
    }
    
    .cta-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .about-visual {
        margin-top: 2rem;
    }
    
    .about-image-container {
        height: 250px;
    }
    
    .stats-overlay {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    /* Ensure text justification on mobile */
    .text-justify {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    .section-light p {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    .section-light .lead {
        text-align: justify !important;
        text-justify: inter-word;
    }
    
    .feature-content p {
        text-align: justify !important;
        text-justify: inter-word;
    }
}

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.service-card {
    text-align: center;
    padding: 0;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 144, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

/* ===== About Section ===== */
.section-header {
    position: relative;
    margin-bottom: 1.5rem;
}

.header-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.about-features {
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(30, 144, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(30, 144, 255, 0.4);
}

.feature-content h5 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--gray-medium);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cta-section {
    background: rgba(30, 144, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

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

.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    height: 450px;
}

.about-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11,31,58,0.7) 0%, rgba(30,144,255,0.5) 100%);
}

.about-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11,31,58,0.95) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    backdrop-filter: blur(10px);
}

.overlay-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.overlay-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Enhanced Typography for About Section */
.section-light .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.section-light p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-dark);
    font-weight: 400;
}

.section-light h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-light h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-medium);
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: white;
}

.service-card {
    text-align: center;
    padding: 0;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 144, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 20px;
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.4);
}

.service-card .card-body {
    padding: 0 2rem 2rem;
}

.service-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.service-card .card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-align: justify;
    text-justify: inter-word;
}

.service-card .btn {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
    font-family: 'Inter', sans-serif;
}

.service-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.4);
    background: linear-gradient(135deg, #4169E1 0%, #1E90FF 100%);
}

/* ===== Why Choose Section ===== */
.why-choose-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #1E90FF 0%, #D4AF37 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.why-choose-card:hover::before {
    opacity: 1;
}

.why-icon-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.why-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 20px;
    z-index: -1;
}

.why-choose-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.4);
}

.why-choose-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.why-choose-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    text-align: justify;
    text-justify: inter-word;
}

/* View All Services Button Enhancement */
.btn-outline-primary {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    background: transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-outline-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    color: var(--primary-dark);
    font-size: 3rem;
    font-weight: 800;
}

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

.section-light {
    background: var(--gray-light);
}

.section-dark {
    background: var(--gradient-primary);
    color: var(--white);
}

.section-dark .section-title h2 {
    color: var(--white);
}

/* ===== Statistics ===== */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}

.testimonial-position {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ===== Forms ===== */
.form-control {
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

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

.footer-widget h4 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

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

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .navbar-nav {
        background: var(--primary-dark);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
}

/* ===== Loading Spinner ===== */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--primary-light);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Alert Messages ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: none;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
    border-left: 4px solid var(--info);
}

/* ===== Admin Dashboard Styles ===== */
.admin-sidebar {
    background: var(--gradient-primary);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    z-index: 999;
}

.admin-content {
    margin-left: 250px;
    min-height: 100vh;
    background: var(--gray-light);
}

.admin-nav {
    padding: 1rem;
}

.admin-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

.admin-header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-stat {
    text-align: center;
}

.admin-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.admin-stat-label {
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
}
