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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #4ECDC4;
    --accent-color: #FFD93D;
    --danger-color: #FF6B6B;
    --dark-color: #2C3E50;
    --light-bg: #F8FAFB;
    --white: #FFFFFF;
    --purple: #5C6BC0;
    --orange: #FF9800;
    --peach: #FFB88C;
    --light-blue: #E8F4F8;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.login-btn:hover {
    background: #3A7BC8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.cta-primary, .cta-secondary {
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-primary:hover {
    background: #3A7BC8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-image {
    animation: fadeIn 1s ease 0.3s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

/* Quality Sections */
.quality-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.quality-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.quality-section.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.quality-section.reverse .quality-content {
    order: 2;
}

.quality-section.reverse .quality-image {
    order: 1;
}

.quality-number {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 15px;
}

.quality-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.quality-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.quality-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.quality-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.quality-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

/* Partner Section - UPDATED */
.partner-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--purple) 100%);
    padding: 80px 20px;
    margin-top: 80px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.partner-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 100%;
    padding: 0 20px;
}

.partner-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.partner-header p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 0 15px;
}

.partner-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 320px;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.partner-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
}

.partner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.partner-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Responsive Partner Section */
@media (max-width: 968px) {
    .partner-section {
        padding: 60px 15px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 0 10px;
    }

    .partner-card {
        min-height: 300px;
        padding: 35px 20px;
    }

    .partner-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .partner-card h3 {
        font-size: 18px;
    }

    .partner-card p {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .partner-section {
        padding: 50px 15px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 20px;
        margin-top: 60px;
    }

    .partner-header {
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .partner-header h2 {
        font-size: 32px;
    }

    .partner-header p {
        font-size: 16px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0;
    }

    .partner-card {
        min-height: 280px;
        padding: 30px 20px;
    }

    .partner-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 18px;
    }

    .partner-card h3 {
        font-size: 17px;
    }

    .partner-card p {
        font-size: 12px;
    }
}

/* Additional improvements for better spacing */
.main-content .container {
    padding-left: 20px;
    padding-right: 20px;
}

.quality-section {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .main-content .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .quality-section {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .main-content .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .quality-section {
        margin-bottom: 50px;
        gap: 30px;
    }

    .quality-number {
        font-size: 40px;
    }

    .quality-title {
        font-size: 20px;
    }

    .quality-description {
        font-size: 14px;
    }
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s both;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .quality-section,
    .quality-section.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }

    .quality-section.reverse .quality-content,
    .quality-section.reverse .quality-image {
        order: 0;
    }

    .quality-number {
        font-size: 56px;
    }

    .quality-title {
        font-size: 28px;
    }

    .quality-description {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .logo h1 {
        font-size: 22px;
    }

    .login-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
    }

    .quality-number {
        font-size: 48px;
    }

    .quality-title {
        font-size: 24px;
    }

    .quality-description {
        font-size: 15px;
    }

    .partner-header h2 {
        font-size: 32px;
    }

    .partner-header p {
        font-size: 16px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-section {
        padding: 50px 0;
        border-radius: 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Lazy Load Animation */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
