/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand .logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #183396;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;

    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #5a2d82 0%, #183396 50%, #0066cc 100%);
    color: white;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: #32add4;
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.globe-container {
    text-align: center;
}

.globe-image {
    max-width: 150%;
    height: auto;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, #32add4, #4ec5db);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #2a9bc1, #45b8c8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(50, 173, 212, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, #183396, #2845b8);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #152a7a, #1f3aa3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 51, 150, 0.4);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><defs><pattern id="dots" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23e0e7ff" opacity="0.5"/></pattern></defs><rect x="0" y="0" width="1200" height="200" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #32add4, #183396);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #183396;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Section Common Styles */
.section-subtitle {
    color: #183396;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-description {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual img {
    width: 100%;
    height: auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(45deg, #32add4, #183396);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

.features-visual {
    text-align: center;
    margin-top: 60px;
}

.features-visual img {
    max-width: 100%;
    height: auto;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: #32add4;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.blog-link {
    color: #183396;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #32add4;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #183396 0%, #5a2d82 100%);
    color: white;
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.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: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #32add4;
    transform: translateY(-2px);
}

.app-download img {
    height: 50px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #32add4;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.6;
}

.newsletter {
    display: flex;
    margin-top: 20px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-btn {
    padding: 12px 20px;
    background: #32add4;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #2a9bc1;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.copyright a {
    color: #32add4;
    text-decoration: none;
}

/* Mobile Navigation Styles */
.nav-menu.active {
    display: flex !important;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding: 50px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-menu.active li {
    margin: 0;
    text-align: center;
}

.nav-menu.active a {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.service-card.hovered,
.blog-card.hovered {
    transform: translateY(-15px) scale(1.02);
}

/* Loading Animation */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #183396 0%, #5a2d82 100%);
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
        color: #183396;
        cursor: pointer;
    }

    .nav-toggle:hover {
        color: #32add4;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card, .blog-card {
        margin: 0 10px;
    }
}
