:root {
    --cct-green: #1b4d3e;
    --cct-gold: #f9d423;
    white: #f4f7f6;
    --text-dark: #333;
    --white: #ffffff;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

body {
    background-image: url('backg.png');
    background-size: cover;  
    background-position: center;
    display: flex;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    flex-direction: column;
    justify-content: flex-start;
}


/*TOP HEADER */
.top-header {
    background-color: var(--cct-green);
    display: flex;
    padding: 8px 0px;
    width: 100%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.top-header-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.top-header-left, 
.top-header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-header-item {
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 13px;
    text-decoration: none;
}

.top-header-item i {
    color: white; 
}

/* NAVBAR MAIN HEADER*/
.main-header {
    background-color: white; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    padding: 10px 30px;
    justify-content: center; 
    align-items: center;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box; 
    position: sticky;
    top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.header-cct-logo {
    height: 50px; 
}

.header-school-name {
    color: var(--cct-green);
    font-family: 'Georgia', serif;
    font-size: 22px;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cct-green);
    cursor: pointer;
}

.main-nav { 
    margin-left: auto; 
    margin-right: 0; 
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px
}

.main-nav ul li a {
    color: var(--cct-green);
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Transcity', sans-serif;
}

.main-nav ul li a:hover {
    color: var(--cct-gold); 
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid var(--cct-green);
    top: 100%;
}
.dropdown-content a {
    padding: 12px 16px;
    display: block;
    color: var(--cct-green);
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown:hover .dropdown-content { 
    display: block; 
}

.nav-separator {
    width: 1px;
    height: 25px;
    background-color: #ccc;
    align-self: center;
}

.signin-btn-nav {
    background-color: var(--cct-green);
    padding: 8px 25px;
    border-radius: 8px;
    font-weight: bold;
    color: white !important;
    letter-spacing: 1px;
}

.signin-btn-nav:hover {
    background-color: var(--cct-gold) !important;
    color: var(--cct-green) !important;
    transform: translateY(-2px);
}

/* MAIN BUTTON*/
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.requirements-btn {
    background-color: var(--cct-gold);
    color: var(--cct-green);
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--cct-gold);
    align-content: center;
}

.requirements-btn:hover {
    background: var(--cct-gold);
    color: white;
    border: 2px solid white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.admission-btn {
    background-color: transparent;
    color: var(--cct-gold);
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--cct-gold);
    align-content: center;
}

.admission-btn:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(27, 77, 62, 1) 38%, rgba(56, 163, 97, 1) 100%);
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding-left: 8%;
    justify-content: flex-start;
    overflow: hidden;
    position:relative;
}

.hero-watermark {
    position: absolute;
    right: -10%;
    top: 45%;
    height: 750px;
    opacity: 0.15;
    transform: translateY(-50%);
}


.hero-content { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
}

.hero-title { 
    color: white;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0px;
    margin-top: 0px;
}

.hero-subtitle { 
    color: white;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 30px;
}

/* HEADINGS */
.section-heading h1 {
    text-align: left;
    color: var(--cct-green);
    font-weight: 700;
    font-size: 28px;
}

.section-heading h2 {
    color: var(--cct-green); 
    font-size: 40px;
    font-weight: 800;
    text-align: center;
}

.section-heading h3 {
    font-size: 18px;
    color: #333;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

/*IMPORTANT DATES SECTION*/
.important-date-section {
    position: relative;
    align-items: center;
    background-color: white;
}

.important-date-section-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 2% 8% 4%;
    margin: 0px 20px;
}

.date-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding: 0px 50px;
}

.date-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 10px 25px;
    text-align: center;
    flex:1 1 220px;
    max-width:280px;
    box-shadow: 0px 1px 4px rgba(29, 59, 22, 0.664);
    position: relative;
    transition: all 0.3s ease;
}

.date-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--cct-gold); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
}

.date-icon {
    font-size: 28px;
    color: white;
}

.label {
    font-size: 22px;
    font-weight: 600;
    color: var(--cct-green);
    line-height: 1.6;
    margin: 0;
}

.date {
    font-size: 18px;
    color: #666;
    font-weight: 500;    
}

/* REQUIREMENTS SECTION */
.requirements-section {
    padding: 60px 20px;
    background-color: #f0f7ff;
}

.requirements-heading {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.req-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--cct-gold);
    transition: transform 0.3s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.req-card h3 {
    margin-bottom: 15px;
    color: #444;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.step-number {
    background-color: var(--cct-green); 
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.4;
    padding-top: 10px; 
}

.academic-sublist li {
    display: block; 
    padding-left: 25px; 
    margin-bottom: 15px;
}

.academic-sublist li strong {
    display: block;
    color: #2d5a27;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.academic-sublist li span {
    display: block;
    color: #444;
}

/*apply button*/
.apply-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.apply-card {
    background-color: #fff;
    border: 2px dashed var(--cct-gold); 
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.apply-info h3 {
    color: var(--cct-green);
    margin: 0 0 5px 0;
    font-size: 1.4rem;
}

.apply-info p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.apply-btn {
    background-color: var(--cct-gold); 
    color: var(--cct-green);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-btn:hover {
    background-color: var(--cct-green); 
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

/*REQUIREMENTS DROPDOWN*/
.req-dropdown {
    transition: all 0.3s ease;
}

.req-dropdown summary {
    margin: auto;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.4;
    padding-top: 10px; 
    cursor: pointer;
    list-style: none; 
}


.req-dropdown summary:hover {
    background-color: #fcfcfc;
    color: var(--cct-gold);
}


.req-dropdown[open] summary {
    margin-left: 15px;
    color: #444;
}

.req-dropdown[open] summary i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
    color: var(--cct-gold);
}

.req-dropdown .academic-sublist {
    padding: 10px 25px 20px 25px;
    margin: 0;
}

.req-dropdown .academic-sublist li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.req-dropdown .academic-sublist li:last-child {
    border-bottom: none;
}

/* APPLICATION STEPS SECTION */
.application-steps-section {
    position: relative;
    align-items: center;
    background-color: white;
    padding: 80px 80px;
}

.application-steps-section-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 2% 2% 4%;
    margin: 0px 20px;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 5px;
}

.step-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 25px;
    text-align: center;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--cct-gold); 
    position: relative;
    transition: all 0.3s ease;
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cct-green); 
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background-color: #fffde7; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border: 2px solid var(--cct-gold);
}

.step-icon {
    font-size: 24px;
    color: var(--cct-green);
}

.step-card h4 {
    color: var(--cct-green);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.step-card p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/*Enrollment Section*/
.journey-section {
    padding: 80px 20px;
    background: #f0f7ff;
    font-family: 'Inter', system-ui, sans-serif;
}

.journey-wrapper {
    max-width: 800px;
    margin: auto;
    position: relative;
}

/* The vertical guide line - now more subtle */
.journey-wrapper::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--cct-green);
    z-index: 1;
}

.journey-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* The Milestone Dot */
.journey-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: var(--cct-green)
}

/* Active/Hover States */
.journey-step.active .journey-dot,
.journey-step:hover .journey-dot {
    background: var(--cct-gold);
    border-color: var(--cct-gold);
    color: white;
    transform: scale(1.1);
}

/* Content Card */
.journey-content {
    background: white;
    padding: 18px;
    border-radius: 8px;
    border: 2px solid var(--cct-green);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journey-step:hover .journey-content {
    transform: translateX(5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--cct-gold);
}

.journey-content h3 {
    margin: 0 0 12px 0;
    color: var(--cct-green);
    font-size: 1.25rem;
}

.journey-content ul {
    margin: 0;
    padding-left: 20px;
    color: #333;
}

.journey-content li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Specific styling for the current task */
.current-task {
    color: var(--cct-gold);
    font-weight: 600;
}

.journey-note {
    margin-top: 15px;
    padding: 10px 15px;
    background: #fffbeb;
    border-left: 4px solid var(--cct-gold);
    font-size: 0.875rem;
    color: #92400e;
}

/* Responsive adjust */
@media (max-width: 600px) {
    .journey-wrapper::before { left: 15px; }
    .journey-dot { width: 32px; height: 32px; font-size: 0.9rem; }
    .journey-step { padding-left: 50px; }
}

/* FOOTER */
.content-wrapper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid var(--cct-gold);
}

.footer-info-left {
    flex: 1;
}

.contact-name {
    color: var(--cct-green);
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
}

.qr-section-right {
    width: 180px;
    text-align: center;
}

.qr-box {
    width: 100%;
    border: 4px solid var(--cct-gold);
    background: #fff;
    padding: 5px;
    box-sizing: border-box;
}

.scan-tag {
    background: var(--cct-gold);
    color: #000;
    font-weight: bold;
    font-size: 12px;
    padding: 5px;
}

.social-links a {
    color: #1877F2;
    text-decoration: none;
    font-weight: bold;
}

.system-footer { 
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(27, 77, 62, 1) 38%, rgba(56, 163, 97, 1) 100%);
    color: white; 
    padding: 50px 5% 20px; 
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-branding { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 15px; 
}

.footer-branding img {
     height: 40px; 
}

.footer-info p { 
    font-size: 13px; 
    opacity: 0.9; 
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 16px; 
    border-bottom: 1px solid rgba(255,255,255,0.2); 
    padding-bottom: 5px; 
}

.footer-links a, .footer-links p { 
    display: block; color: white; 
    text-decoration: none; 
    font-size: 13px; 
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-links a:hover { 
    opacity: 1; 
    text-decoration: underline; 
}

.footer-copyright {
    border-top: 1px dashed rgba(255,255,255,0.3);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.8;
}

.footer-powered-by {
    text-align: center;
    font-size: 0.8em;
}

.wincel-brand-small {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.wincel-brand-small:hover {
    opacity: 1;
}

.wincel-mini-logo-small {
    height: 20px;
}

@media screen and (max-width: 1024px) {
    .main-nav.active,
    .menu-toggle { 
        display: block; 
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: white; 
        border-top: 2px solid var(--cct-green);
    }

    .main-nav ul { 
        flex-direction: column; 
        padding: 20px; 
        gap: 15px; 
    }

    .nav-separator {
        display: none;
    }

    .signin-btn-nav {
        padding: 4px 20px;
    }
}

@media screen and (max-width: 768px) {
    .section-heading h1 {
        font-size: 24px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading h3 {
        font-size: 16px;
    }

    .academic-sublist li span {
        font-size: 12px;
    }

    .top-header-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .top-header-left, 
    .top-header-right {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .top-header-item {
        white-space: normal;
        word-break: break-word;
        text-align: center;
    } 

    .main-header {
        padding: 10px 20px;
    }

    .hero-section {
        height: auto;
        padding: 50px 20px;
    }
    .header-school-name {
        font-size: 16px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-buttons{
    flex-direction:column;
    align-items:flex-start;
    }

    .requirements-btn,
    .admission-btn{
    width:100%;
    text-align:center;
    }

    .hero-watermark {
        left: 60%;
        top: 50%;
        height: 180%;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .important-date-section,
    .application-steps-section {
        padding: 0px;
    }
    
    .important-date-section-content {
        height: auto;
        padding: 0px;
        margin: 30px 20px;
    }

    .date-grid {
        display: grid;
        justify-content: center;
        justify-items: center;
        gap: 25px; 
        padding: 20px;      
    }

    .req-card {
        max-width: 100%;
    }

    .steps-grid {
        display: grid;
        justify-content: center;
        gap: 25px;
        padding: 20px;
        justify-items: center;
    }

    .step-number {
        font-size: 18px;
        min-width: 35px;
        height: 35px;
        margin-right: 10px;
    }

    .step-content p {
        font-size: 14px;
    }

    .req-dropdown summary {
        font-size: 14px;
    }
    .req-dropdown .academic-sublist {
        padding: 0px;
    }

    .academic-sublist li strong {
        font-size: 12px;
    }

    .date-card, .step-card {
        width: 100%;
        max-width: 100%;
    }

    .apply-container {
        padding: 0px;
    }

    .apply-btn {
        white-space: normal;
    }
    .apply-card {
        flex-direction: column;
        text-align: center;
    }

    .content-wrapper-footer {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-branding {
        justify-content: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
