/* =========================================================
   LOGIC COMPUTER EDUCATION
   Computer Institute in Aliganj Lucknow
   Responsive Page Styles
   ========================================================= */


/* ================= ROOT ================= */

:root {
    --primary: #155eef;
    --primary-dark: #0b4acb;
    --secondary: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #087443;

    --container: 1180px;
    --radius: 14px;

    --shadow:
        0 10px 30px rgba(15, 23, 42, 0.08);
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* ================= HEADER ================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}


.logo-main {
    font-size: 27px;
    font-weight: 800;
    color: var(--primary);
}


.logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
}


.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}


.main-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    transition: 0.25s ease;
}


.main-nav a:hover {
    color: var(--primary);
}


.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    font-size: 27px;
    cursor: pointer;
}


/* ================= BREADCRUMB ================= */

.breadcrumb-area {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}


.breadcrumb {
    min-height: 48px;

    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 13px;
    color: var(--muted);

    overflow: hidden;
}


.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}


.breadcrumb span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ================= HERO ================= */

.hero-section {
    padding: 90px 0;
    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #ffffff 60%
        );
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 70px;
}


.hero-badge {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 14px;

    border-radius: 50px;

    background: #dbeafe;
    color: #1d4ed8;

    font-size: 13px;
    font-weight: 700;
}


.hero-content h1 {
    max-width: 760px;

    color: var(--secondary);

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.12;

    letter-spacing: -1.8px;

    margin-bottom: 22px;
}


.hero-text {
    max-width: 720px;

    font-size: 18px;
    color: var(--muted);

    margin-bottom: 30px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary {
    background: var(--primary);
    color: var(--white);
}


.btn-primary:hover {
    background: var(--primary-dark);
}


.btn-secondary {
    background: var(--white);
    color: var(--secondary);
    border: 1px solid var(--border);
}


.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}


.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;

    margin-top: 42px;
}


.hero-highlights div {
    display: flex;
    flex-direction: column;
}


.hero-highlights strong {
    color: var(--secondary);
    font-size: 15px;
}


.hero-highlights span {
    color: var(--muted);
    font-size: 13px;
}


.hero-card {
    padding: 38px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 20px;

    box-shadow: var(--shadow);
}


.hero-card-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    background: #eff6ff;

    border-radius: 14px;

    font-size: 30px;

    margin-bottom: 22px;
}


.hero-card h2 {
    color: var(--secondary);
    font-size: 25px;
    margin-bottom: 10px;
}


.hero-card p {
    color: var(--muted);
    margin-bottom: 25px;
}


.hero-card-list {
    display: grid;
    gap: 13px;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 600;
}


/* ================= COMMON SECTION ================= */

.content-section,
.courses-section,
.faq-section {
    padding: 90px 0;
}


.section-heading {
    max-width: 760px;
    margin-bottom: 45px;
}


.section-heading span,
.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 9px;
}


.section-heading h2 {
    color: var(--secondary);

    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.2;

    letter-spacing: -0.8px;
}


.section-heading p {
    color: var(--muted);
    margin-top: 12px;
}


.section-heading.center {
    margin-inline: auto;
    text-align: center;
}


/* ================= TWO COLUMN ================= */

.two-column {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 65px;
    align-items: start;
}


.two-column p {
    margin-bottom: 18px;
}


.info-box {
    padding: 32px;

    background: var(--light);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}


.info-box h3 {
    color: var(--secondary);
    margin-bottom: 18px;
}


.info-box ul {
    list-style: none;

    display: grid;
    gap: 12px;
}


.info-box li {
    position: relative;
    padding-left: 25px;
}


.info-box li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--success);
    font-weight: 800;
}


/* ================= COURSES ================= */

.courses-section {
    background: var(--light);
}


.course-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.course-card {
    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}


.course-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    background: #eff6ff;
    border-radius: 12px;

    font-size: 25px;

    margin-bottom: 20px;
}


.course-card h3 {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 10px;
}


.course-card p {
    color: var(--muted);
    font-size: 14px;

    margin-bottom: 18px;
}


.course-card a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}


/* ================= AUDIENCE ================= */

.audience-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 20px;
}


.audience-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--white);

    text-align: center;
}


.audience-card > div {
    font-size: 30px;
    margin-bottom: 14px;
}


.audience-card h3 {
    color: var(--secondary);
    margin-bottom: 8px;
}


.audience-card p {
    color: var(--muted);
    font-size: 14px;
}


/* ================= LOCAL SECTION ================= */

.local-section {
    padding: 85px 0;

    background: #f8fafc;
}


.local-grid {
    display: grid;

    grid-template-columns:
        1fr 380px;

    gap: 70px;

    align-items: center;
}


.local-grid h2 {
    color: var(--secondary);

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;

    margin-bottom: 20px;
}


.local-grid p {
    margin-bottom: 17px;
}


.location-card {
    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: var(--shadow);
}


.location-card h3 {
    color: var(--secondary);
    font-size: 22px;
    margin-bottom: 22px;
}


.location-row {
    display: flex;
    gap: 15px;

    margin-bottom: 25px;
}


.location-row span {
    font-size: 24px;
}


.location-row p {
    margin: 0;
    color: var(--muted);
}


.full-width {
    width: 100%;
}


/* ================= BENEFITS ================= */

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.benefit {
    display: flex;
    gap: 20px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);
}


.benefit > span {
    flex: 0 0 auto;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}


.benefit h3 {
    color: var(--secondary);
    margin-bottom: 6px;
}


.benefit p {
    color: var(--muted);
    font-size: 14px;
}


/* ================= FAQ ================= */

.faq-section {
    background: var(--light);
}


.faq-list {
    max-width: 900px;
    margin: auto;

    display: grid;
    gap: 12px;
}


.faq-list details {
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 10px;

    padding: 0 22px;
}


.faq-list summary {
    padding: 20px 0;

    cursor: pointer;

    color: var(--secondary);

    font-weight: 700;

    list-style: none;
}


.faq-list summary::-webkit-details-marker {
    display: none;
}


.faq-list summary::after {
    content: "+";

    float: right;

    color: var(--primary);

    font-size: 22px;
}


.faq-list details[open] summary::after {
    content: "−";
}


.faq-list details p {
    color: var(--muted);

    font-size: 14px;

    padding: 0 0 20px;
}


/* ================= CTA ================= */

.cta-section {
    padding: 75px 0;

    background: var(--secondary);
}


.cta-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.cta-content > div:first-child {
    max-width: 720px;
}


.cta-content span {
    color: #93c5fd;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}


.cta-content h2 {
    color: var(--white);

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;

    margin: 10px 0;
}


.cta-content p {
    color: #cbd5e1;
}


.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.btn-light {
    background: var(--white);
    color: var(--secondary);
}


.btn-outline-light {
    color: var(--white);

    border: 1px solid #64748b;
}


.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary);
}


/* ================= FOOTER ================= */

.site-footer {
    background: #020617;
    color: #cbd5e1;
}


.footer-grid {
    padding: 65px 0;

    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 1fr 0.8fr;

    gap: 45px;
}


.footer-logo {
    display: inline-block;

    color: var(--white);

    font-size: 21px;
    font-weight: 800;

    margin-bottom: 15px;
}


.footer-about p {
    max-width: 340px;

    color: #94a3b8;

    font-size: 14px;
}


.site-footer h3 {
    color: var(--white);

    font-size: 16px;

    margin-bottom: 18px;
}


.site-footer ul {
    list-style: none;

    display: grid;
    gap: 9px;
}


.site-footer li,
.site-footer p {
    font-size: 14px;
}


.site-footer a:hover {
    color: var(--white);
}


.footer-contact {
    display: inline-block;

    margin-top: 12px;

    color: #93c5fd;
    font-weight: 700;
}


.footer-bottom {
    border-top: 1px solid #1e293b;
}


.footer-bottom p {
    padding: 20px 0;

    color: #64748b;

    font-size: 13px;

    text-align: center;
}


/* ================= TABLET ================= */

@media (max-width: 900px) {

    .hero-grid,
    .two-column,
    .local-grid {
        grid-template-columns: 1fr;
    }


    .hero-card {
        max-width: 600px;
    }


    .course-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .audience-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 680px) {

    .header-container {
        min-height: 68px;
    }


    .menu-toggle {
        display: block;
    }


    .main-nav {
        display: none;

        position: absolute;

        top: 68px;
        left: 0;
        right: 0;

        padding: 20px;

        background: var(--white);

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow);

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }


    .main-nav.active {
        display: flex;
    }


    .main-nav a {
        padding: 13px 0;

        border-bottom: 1px solid var(--border);
    }


    .main-nav a:last-child {
        border-bottom: 0;
    }


    .hero-section {
        padding: 60px 0;
    }


    .hero-content h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }


    .hero-text {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }


    .hero-highlights {
        gap: 20px;
    }


    .hero-card {
        padding: 27px;
    }


    .content-section,
    .courses-section,
    .faq-section {
        padding: 65px 0;
    }


    .course-grid,
    .audience-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }


    .local-section {
        padding: 65px 0;
    }


    .location-card {
        padding: 27px;
    }


    .cta-section {
        padding: 60px 0;
    }


    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }


    .cta-buttons .btn {
        width: 100%;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        padding: 50px 0;
    }


    .breadcrumb {
        font-size: 12px;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 420px) {

    .logo-main {
        font-size: 23px;
    }


    .logo-sub {
        font-size: 10px;
    }


    .hero-content h1 {
        font-size: 33px;
    }


    .section-heading h2,
    .local-grid h2 {
        font-size: 29px;
    }


    .course-card,
    .audience-card,
    .benefit {
        padding: 23px;
    }

}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 210px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        width: 170px;
    }
}

/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ================= LOGO ================= */

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 210px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}

/* ================= NAVIGATION ================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 3px;
    height: 2px;
    background: #1e40af;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #1e40af;
    background: #f8fafc;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    transform: scaleX(1);
}

/* ================= MOBILE MENU BUTTON ================= */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #1f2937;
    transition: all 0.3s ease;
}

/* ================= TABLET ================= */

@media (max-width: 900px) {

    .header-container {
        min-height: 72px;
    }

    .logo img {
        width: 190px;
    }

    .main-nav {
        gap: 2px;
    }

    .main-nav a {
        padding: 9px 11px;
        font-size: 14px;
    }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .header-container {
        min-height: 68px;
    }

    .logo img {
        width: 170px;
        max-height: 55px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px 20px 15px;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.25s ease;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 13px 10px;
        border-bottom: 1px solid #f1f5f9;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a:focus {
        background: #f8fafc;
    }
}