/* Global Styles */
:root {
    --primary-color: #006fff;
    --secondary-color: #00a2ff;
    --dark-blue: #1b2d45;
    --light-blue: #f4f9ff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #2e3a59;
    --box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    --transition: all 0.2s ease;
    --primary-purple: #2D1674;
    --primary-purple-dark: #1D0F4C;
    --primary-purple-light: #3B1C99;
    --header-height-mobile: 60px;
    --header-height-desktop: 76px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-100);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.display-4 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
}

/* Navigation */
.navbar {
    background-color: var(--primary-purple) !important;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height-desktop);
    margin-bottom: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: #ffffff !important;
    padding: 0;
}

.navbar-logo {
    height: 32px;
    width: auto;
    margin-right: 0.75rem;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #ffffff !important;
}

/* Hero Section Styling */
.hero-section {
    margin-top: var(--header-height-desktop);
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

/* Basic overlay for text readability */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

/* Basic text styling */
.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-section {
        margin-top: var(--header-height-mobile);
    }

    .carousel-item img {
        height: 60vh;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Mobile Responsive Text Adjustments */
@media (max-width: 768px) {
    .carousel-caption {
        width: 90%;
        padding: 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        margin-top: 0;
    }

    .hero-text p {
        font-size: 0.9rem;
        padding: 0;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .hero-text .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.25rem;
    }

    .carousel-item img {
        height: 60vh;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 0.85rem;
        max-width: 280px;
        margin: 0 auto 1rem;
    }
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content i {
    font-size: 2rem;
    color: #006fff;
    margin-bottom: 1rem;
    background: rgba(0, 111, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-content i {
    background: #006fff;
    color: #ffffff;
    transform: scale(1.1);
}

.service-card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-content ul {
    margin: 0;
    padding: 0;
}

.service-card-content ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #4a4a4a;
}

.service-card-content ul li i {
    font-size: 1rem;
    margin-right: 0.75rem;
    margin-bottom: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 111, 255, 0.1);
    color: #006fff;
}

.service-card-content ul li:last-child {
    margin-bottom: 0;
}

/* Buttons */
.btn {
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 111, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--light-blue);
}

/* Contact Form */
.contact-form-container {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(45, 22, 116, 0.15);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: var(--primary-purple-dark);
    border-color: var(--primary-purple-dark);
    transform: translateY(-2px);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

.contact-form .invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-form .form-control.is-valid,
.contact-form .form-select.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem !important;
    }
    
    .contact-form .btn-primary {
        width: 100%;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-purple);
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p, 
.footer ul {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

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

/* Mobile Footer Styling */
@media (max-width: 767px) {
    .footer .col-md-4 {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links li {
        text-align: center;
    }
    
    .footer-links li i {
        margin-right: 8px;
    }
    
    .footer h4 {
        text-align: center;
    }
    
    .footer p {
        text-align: center;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Animated Section Headers */
.section-header {
    position: relative;
    padding-bottom: 15px;
}

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

/* Social Media Icons Animation */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #f8f9fa;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-3px);
}

/* Animations */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Card Hover Effects */
.feature-card {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Geometric Background Pattern */
.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.2) 2%, transparent 0%),
        radial-gradient(circle at 75px 75px, rgba(255,255,255,0.2) 2%, transparent 0%);
    background-size: 100px 100px;
    pointer-events: none;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 15s infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 25%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 75%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 40px;
    height: 40px;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(1000%) rotate(360deg);
        opacity: 0;
    }
}

/* Glowing Effect */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Animated Border */
.border-animation {
    position: relative;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3px;
    border-radius: 10px;
}

.border-animation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--dark-blue), 
        var(--primary-color));
    border-radius: 12px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

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

/* Tech Pattern Background */
.tech-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
        linear-gradient(150deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
        linear-gradient(30deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1)),
        linear-gradient(150deg, rgba(255,255,255,0.1) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.1) 87.5%, rgba(255,255,255,0.1));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    pointer-events: none;
}

/* Sophisticated Section Headers */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Luxury Buttons */
.btn-premium {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-premium:hover::before {
    opacity: 1;
}

/* Premium Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 111, 255, 0.06);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: var(--light-blue);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Luxury Accents */
.accent-line {
    width: 2px;
    height: 80px;
    background: var(--primary-color);
    margin: 2rem auto;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Improved Section Spacing */
.section-padding {
    padding: 6rem 0;
}

.section-margin {
    margin: 6rem 0;
}

/* Enhanced Grid Layout */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

@media (min-width: 992px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Social Icons Styling */
.social-icons a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--secondary-color) !important;
}

/* Navigation Icons */
.nav-link i {
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

/* Service Card Icons */
.service-card i {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

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

/* Welcome Section */
.welcome-section {
    background-color: #ffffff;
    position: relative;
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.section-title {
    color: var(--primary-purple);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.welcome-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.value-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-purple-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 0;
}

.commitment-block {
    background: var(--primary-purple);
    color: #ffffff;
    border-radius: 10px;
    margin: 2rem 0;
}

.commitment-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .welcome-content .lead {
        font-size: 1.1rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-card h3 {
        font-size: 1.25rem;
    }

    .commitment-block p {
        font-size: 1rem;
    }
}

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(rgba(0, 17, 51, 0.8), rgba(0, 111, 255, 0.6)), url('../images/projects-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    text-align: center;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.project-card {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 250px; /* Fixed height for all images */
    overflow: hidden;
}

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

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details {
    flex: 1;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-card h4 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #0056b3;
}

.project-card h5 {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #444;
}

.project-features, 
.project-locations, 
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.project-features li, 
.project-locations li, 
.benefits-list li {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

.project-features i, 
.project-locations i, 
.benefits-list i {
    width: 20px;
    margin-right: 8px;
    color: #0056b3;
}

.project-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.project-location i {
    margin-right: 8px;
    color: #0056b3;
}

/* Project filters styling */
.project-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-filters button {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-filters button.active {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 2rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* General Responsive Optimizations */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Navbar Mobile Improvements */
@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        min-height: var(--header-height-mobile);
    }

    .navbar > .container {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-logo {
        height: 28px;
    }

    .navbar-collapse {
        background-color: var(--primary-purple);
        padding: 1rem;
        margin: 0 -1rem;
    }

    .nav-link {
        padding: 0.5rem 0;
    }
}

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

.carousel-item.active .hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.carousel-item.active .hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 15px;
    }
}
