/* Base Styles */
:root {
    --primary-color: #4e6bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white-color: #ffffff;
    --black-color: #000000;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #3a5ae8;
    border-color: #3a5ae8;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.btn-outline-primary:hover {
    color: var(--white-color);
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--dark-color);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.brand-text {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--white-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content .lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.countdown-container {
    margin: 30px 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown div {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--border-radius);
    min-width: 100px;
}

.countdown span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.countdown p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* About Section */
.about-image {
    position: relative;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(78, 107, 255, 0.1);
    z-index: -1;
}

.floating-element-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: -20px;
    animation: float 8s ease-in-out infinite reverse;
}

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

.features-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Features Section */
.feature-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(78, 107, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Progress Section */
.progress-item {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-info span:first-child {
    font-weight: 600;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background: #e9ecef;
    overflow: visible;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 5px;
    position: relative;
    overflow: visible;
    animation: progressAnimation 2s ease-in-out forwards;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@keyframes progressAnimation {
    from {
        width: 0;
    }
}

/* Team Section */
.team-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    transition: var(--transition);
    width: 100%;
    height: auto;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(78, 107, 255, 0.8);
    padding: 10px 0;
    transition: var(--transition);
}

.team-card:hover .social-links {
    bottom: 0;
}

.social-links a {
    color: var(--white-color);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--dark-color);
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.team-info p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-media {
    margin-top: 30px;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(78, 107, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-media a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-control {
    height: 50px;
    border-radius: var(--border-radius);
    border: 1px solid #e1e1e1;
    padding-left: 20px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-form textarea.form-control {
    height: auto;
    padding-top: 15px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-section h2 {
    margin-bottom: 15px;
}

.newsletter-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
    border: none;
    padding-left: 20px;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 0;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 15px 0;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .countdown div {
        min-width: 80px;
        padding: 15px;
    }

    .countdown span {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }

    .countdown div {
        min-width: calc(50% - 10px);
        padding: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .contact-item {
        flex-direction: column;
    }

    .contact-item i {
        margin-bottom: 10px;
    }
}