/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.logo a {
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.08);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 68, 153, 0.9) 100%), url('./images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

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

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    opacity: 0.95;
    font-weight: 400;
}

.cta-button {
    background-color: white;
    color: #0066cc;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

/* About intro section */
.about-intro {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: #0066cc;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Trends section */
.trends {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
}

.trends h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.trends-subtitle {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 4rem;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.trend-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.trend-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.trend-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.trend-icon i {
    font-size: 1.5rem;
    color: white;
}

.trend-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
}

.chart-container {
    margin: 2rem 0;
}

.chart-label {
    margin-top: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Bar chart */
.bar-chart {
    height: 60px;
    display: flex;
    align-items: end;
    justify-content: center;
    margin-bottom: 1rem;
}

.bar {
    width: 80px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.4s ease;
    height: 0;
    opacity: 0;
}

.bar.animated {
    animation: growUp 2s ease-out forwards;
    opacity: 1;
}

.bar[data-value="85"] {
    --target-height: 85%;
}

.bar[data-value="85"].animated {
    height: 85%;
}

.bar span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: white;
}

@keyframes growUp {
    from {
        height: 0;
    }
    to {
        height: var(--target-height, 85%);
    }
}

/* Progress ring */
.progress-ring {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: rotate(-90deg);
    transition: all 0.3s ease;
}

.ring.animated {
    background: conic-gradient(rgba(255, 255, 255, 0.8) 92%, rgba(255, 255, 255, 0.2) 0);
    animation: spin 2s ease-out;
}

.ring::before {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.8);
    position: absolute;
}

.ring span {
    font-weight: 600;
    font-size: 1rem;
    z-index: 1;
    color: white;
}

@keyframes spin {
    from {
        transform: rotate(-90deg);
    }
    to {
        transform: rotate(240deg);
    }
}

/* Line chart */
.line-chart {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-chart svg {
    width: 200px;
    height: 80px;
}

.line-chart polyline {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.line-chart polyline.animated {
    animation: drawLine 3s ease-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Gauge chart */
.gauge-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gauge {
    width: 80px;
    height: 40px;
    border-radius: 80px 80px 0 0;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.gauge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 88%;
    height: 100%;
    border-radius: 80px 80px 0 0;
    border: 8px solid rgba(255, 255, 255, 0.8);
    border-bottom: none;
    transform: rotate(-90deg);
    transform-origin: bottom center;
    transition: transform 2s ease-out;
}

.gauge.animated::after {
    animation: fillGauge88 2s ease-out;
}

.gauge[data-score="88"]::after {
    animation: fillGauge88 2s ease-out;
}

.gauge span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: white;
}

@keyframes fillGauge88 {
    from {
        transform: rotate(-90deg);
    }
    to {
        transform: rotate(68deg);
    }
}

.trend-item p {
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Benefits section */
.benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.benefits h2 {
    text-align: center;
    color: #0066cc;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

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

.benefit-item {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #004499);
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #004499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

.benefit-item h3 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
    font-weight: 400;
}

/* Services section */
.services {
    padding: 5rem 0;
    background-color: #ffffff;
}

.services h2 {
    text-align: center;
    color: #0066cc;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scale(1);
}

.service-item:hover {
    border-color: #0066cc;
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #004499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-item h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.service-item p {
    color: #666;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Page content styles */
.page-content {
    padding: 5rem 0;
    min-height: 60vh;
}

.page-content h1 {
    color: #0066cc;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.policy-date {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.policy-date p {
    margin: 0;
    color: #0066cc;
    font-size: 1.1rem;
    font-weight: 500;
}

.page-content h2 {
    color: #0066cc;
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 1.2rem 0;
}

.page-content h3 {
    color: #0066cc;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.8rem 0;
}

.page-content section {
    margin-bottom: 3rem;
}

.page-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.page-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.page-content a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-content a:hover {
    text-decoration: underline;
    color: #004499;
}

/* Contact form styles */
.contact-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    border: none;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.contact-info {
    margin-top: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

footer nav {
    display: flex;
    gap: 2.5rem;
}

footer nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

footer nav a:hover {
    color: white;
    background-color: rgba(0, 102, 204, 0.2);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logo {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .logo img {
        height: 32px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    footer nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .benefits h2,
    .services h2,
    .page-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .benefits h2,
    .services h2 {
        font-size: 1.9rem;
    }
    
    .page-content h1 {
        font-size: 1.9rem;
    }
    
    .about-content h2,
    .trends h2 {
        font-size: 2rem;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trend-item {
        padding: 2rem 1.5rem;
    }
}