/* Modern CSS Reset & Variables */
:root {
    --primary-color: #1a237e;
    --primary-light: #283593;
    --secondary-color: #0d47a1;
    --accent-color: #00bcd4;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 76px;
}

/* Navbar Styles */
.navbar-custom {
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-custom.scrolled {
    background: rgba(26, 35, 126, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white) !important;
}

.brand-text {
    color: var(--white);
}

.brand-subtitle {
    font-size: 0.7rem;
    font-weight: 300;
    opacity: 0.8;
    display: block;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,0.1);
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.15);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: var(--gradient);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(25deg);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #00bcd4, #4dd0e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #00acc1;
    border-color: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Cards */
.hero-image {
    position: relative;
    min-height: 400px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.float-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    width: 200px;
    animation: float 6s ease-in-out infinite;
}

.float-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.float-card h6 {
    color: var(--white);
    font-weight: 600;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services-section {
    background: var(--light-bg);
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Features Section */
.features-section {
    background: var(--white);
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--light-bg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

/* About Page Styles */
.about-hero {
    background: var(--gradient);
    color: var(--white);
    padding: 100px 0 60px;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
}

.about-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    width: 12em;
    height: auto;
    border-radius: 50%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.mission-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card {
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-hero {
    background: var(--gradient);
    color: var(--white);
    padding: 100px 0 60px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
}

.contact-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.contact-section {
    background: var(--light-bg);
}

.contact-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-item h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    color: #555;
}

.contact-item a {
    color: #555;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.2);
}

.form-floating > label {
    color: #888;
}

/* Footer Styles */
.footer-custom {
    background: #0a0e27;
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 0;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-image {
        min-height: 300px;
        margin-top: 2rem;
    }
    
    .float-card {
        width: 150px;
        padding: 1rem;
    }
    
    .float-card i {
        font-size: 2rem;
    }
    
    .card-1 {
        top: 0%;
        left: 5%;
    }
    
    .card-2 {
        top: 40%;
        right: 5%;
    }
    
    .card-3 {
        bottom: 0%;
        left: 25%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title,
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .float-card {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-custom {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}