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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3F7FE5, #5A8FEA);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.join-study-btn {
    background: #3F7FE5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.join-study-btn:hover {
    background: #2E6BD4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 127, 229, 0.3);
}

.join-study-btn:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    background: #F8FAFF;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-image: url('assets/background-dots.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url('assets/background-dots.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    opacity: 1;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #081F4D;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: #606060;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.get-app-text {
    font-size: 1.1rem;
    color: #606060;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.app-btn {
    background: #3F7FE5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.app-btn:hover {
    background: #2E6BD4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 127, 229, 0.3);
}

.app-btn:active {
    transform: translateY(0);
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* About Section */
.about {
    background: white;
    padding: 4rem 0;
}

.about-content-box {
    background: #F8FAFF;
    border-radius: 70px;
    padding: 4rem;
    box-shadow: 0px 0px 1px 0px #6060604F, 0px 1px 1px 0px #60606040;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-left {
    flex: 1;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #081F4D;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    width: 50px;
    height: 2px;
    background: #081F4D;
    margin-bottom: 1rem;
}

.about-description {
    font-size: 1rem;
    color: #606060;
    line-height: 1.6;
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Steps Section */
.steps {
    background: #F8FAFF;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-image: url('assets/background-dots-2.png');
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
}

.steps::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url('assets/background-dots-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    opacity: 0.8;
    z-index: 1;
    scale: 12;
}

.steps-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.steps-left {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.qr-placeholder {
    height: 270px;
    background: white;
    border: 16px solid #3F7FE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.steps-right {
    flex: 1;
    max-width: 500px;
}

.steps-title {
    font-size: 2rem;
    font-weight: 700;
    color: #081F4D;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.steps .title-line {
    width: 50px;
    height: 2px;
    background: #081F4D;
    margin-bottom: 1rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #3F7FE5;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #3F7FE5;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content p {
    font-size: 0.9rem; 
    color: #606060;
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    width: 1px;
    height: 25px;
    background: #3F7FE5;
    margin-left: 20px;
}

/* Main content placeholder */
.main-content {
    min-height: 60vh;
    background: #f8f9fa;
}

/* Mobile CTA Section (hidden by default, shown on mobile) */
.mobile-cta {
    display: none;
}

.cta-box {
    background: #3F7FE5;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-left {
    flex: 0 0 auto;
}

.cta-qr {
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

.cta-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-btn--outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

/* Visibility rules */
@media (max-width: 768px) {
    .steps { display: none; }
    .mobile-cta { display: block; }
}

/* Footer Styles */
.footer {
    background: #09255A;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.partners {
    background: white;
    padding: 5rem 0;
}


.partners-strip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    justify-content: space-between
}

.partners-title {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2592FB;
}

.partners-strip::-webkit-scrollbar {
    height: 6px;
}

.partners-strip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.partner-logo {
    height: 60px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: none;
}

.contact {
    background: #fff;
    padding: 4rem 0;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.contact-left {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.contact-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 20px;
}

.contact-right {
    flex: 1;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #081F4D;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: #606060;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-btn {
    width: 400px;
    max-width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .title-line {
        display: none;
    }
    .contact-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .contact-title { font-size: 1.75rem; }
    .contact-description { font-size: 1rem; }
}

.footer-content {
    display: flex;
    align-items: center;    
    justify-content: center;
    gap: 0.75rem;
}

.footer-text p {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-text p:first-child { font-weight: 700; }
.footer-text p:last-child { font-weight: 400; }

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 0;
    }
    
    .company-name {
        font-size: 1.25rem;
    }
    
    .join-study-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Hero responsive */
    .hero {
        padding: 4rem 0;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .app-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .app-btn {
        width: 100%;
        max-width: 200px;
    }
    
    /* About section responsive */
    .about {
        padding: 3rem 0;
    }
    
    .about-content-box {
        flex-direction: column;
        padding: 3rem 2rem;
        border-radius: 40px;
        gap: 2rem;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
    
    .about-right {
        display: none;
    }
    
    /* Steps section responsive */
    .steps {
        padding: 3rem 0;
    }
    
    .steps::before,
    .steps::after {
        display: none;
    }
    
    .steps-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .steps-left {
        justify-content: center;
    }
    
    .qr-placeholder {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .steps-title {
        font-size: 1.75rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 0.5rem;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .logo-icon {
        font-size: 1rem;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .join-study-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Hero mobile responsive */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .get-app-text {
        font-size: 1rem;
    }
    
    .app-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    /* About section mobile responsive */
    .about {
        padding: 2rem 0;
    }
    
    .about-content-box {
        padding: 2rem 1.5rem;
        border-radius: 30px;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-description {
        font-size: 0.85rem;
    }
    
    /* Steps section mobile responsive */
    .steps {
        padding: 2rem 0;
    }
    
    .steps-content {
        gap: 1.5rem;
    }
    
    .qr-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .steps-title {
        font-size: 1.5rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-connector {
        margin-left: 17.5px;
        height: 20px;
    }

    /* Contact section mobile layout */
    .contact-content {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 0.75rem;
        row-gap: 0.75rem;
        text-align: left;
    }
    /* Allow placing right-side children directly on the grid */
    .contact-right { display: contents; }
    .contact-left { grid-column: 1; grid-row: 1; }
    .contact-image { max-width: 80px; border-radius: 12px; }
    .contact-title { grid-column: 2; grid-row: 1; margin-bottom: 0; }
    /* Title line hidden at <=768 already */
    .contact-description { grid-column: 1 / -1; }
    .contact-btn { grid-column: 1 / -1; width: 100%; max-width: none; }
}
