/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
:root {
    --primary-color: #2b7ab6;
    --secondary-color: #91caef;
    --accent-color: #60a5fa;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f0f9ff;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 120px;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2c5aa0;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.65) 0%, rgba(224, 242, 254, 0.65) 100%), url('../images/Mountains.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(44, 90, 160, 0.1);
    border: 1px solid rgba(44, 90, 160, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    color: #2c5aa0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: #e74c3c;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a5a8a;
}

.hero-line-1, .hero-line-2, .hero-line-3 {
    display: block;
    animation: slideInLeft 0.8s ease-out;
}

.hero-line-2 {
    animation-delay: 0.2s;
}

.hero-line-3 {
    animation-delay: 0.4s;
}

.gradient-text {
    background: linear-gradient(135deg, #1a5a8a 0%, #2b7ab6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #1a5a8a 0%, #2b7ab6 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(26, 90, 138, 0.5);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(43, 122, 182, 0.6);
    background: linear-gradient(135deg, #2b7ab6 0%, #91caef 100%);
}

.btn-secondary {
    border: 2px solid #1a5a8a;
    color: #1a5a8a;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.btn-secondary:hover {
    background: #2b7ab6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43, 122, 182, 0.3);
}

/* Hero Visual Elements */
.hero-content {
    z-index: 2;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44, 90, 160, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.2);
    animation: float 8s ease-in-out infinite;
    color: #2c5aa0;
    font-weight: 600;
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.floating-card span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.health-card i {
    color: #e74c3c;
}

.ai-card {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.ai-card i {
    color: #9b59b6;
}

.data-card {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.data-card i {
    color: #27ae60;
}

.care-card {
    bottom: 10%;
    right: 10%;
    animation-delay: 6s;
}

.care-card i {
    color: #3498db;
}

/* Footer */
.footer {
    background: #2c5aa0;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4a90e2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom p {
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .floating-card {
        width: 60px;
        height: 60px;
    }

    .floating-card i {
        font-size: 1.5rem;
    }
}

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

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

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
