/* =========================================================
   ALICADD WEBSITE
   CLEAN GLOBAL STYLE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #111;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.navbar {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 14px 60px;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #0b5ed7;
}

.nav-spacer {
    width: 80px;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown {
    position: relative;
}

.drop-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 40px;
    left: 0;
    width: 180px;
    padding: 10px 0;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1100;
}

.dropdown.show .dropdown-menu,
.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 15px !important;
    color: #222 !important;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f5f7fb;
    color: #0b5ed7 !important;
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 0;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;
    min-height: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(images/demo.img.jpg) center / cover no-repeat;
    padding: 100px 60px;
}

.hero h1 {
    font-size: 55px;
    color: #2e4c53;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    background: #28d7ff;
    padding: 0 4px 6px;
    border-radius: 10px;
    display: inline-block;
}

.sub-text {
    margin: 15px auto;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    max-width: 400px;
    line-height: 1.5;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.btn-primary {
    display: inline-block;
    width: auto;
    background: linear-gradient(135deg, #191a2b, #161875);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 5px 12px rgba(42, 46, 247, 0.25);
}

.hero .btn-primary {
    margin: 25px auto 0;
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(18, 18, 20, 0.35);
}


/* =========================================================
   DEMO BUTTON
========================================================= */

.demo-box {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.play-btn {
    width: 35px;
    height: 35px;
    background: #28d7ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}


/* =========================================================
   WHY ALICADD
========================================================= */

.why-info {
    width: 100%;
    padding: 50px 0;
    background: #eae9e9;
    text-align: center;
}

.why-info h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: lowercase;
}

.cards-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.why-card {
    width: 90%;
    background: #ffffff;
    padding: 28px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   EVENTS
========================================================= */

.events-section {
    width: 100%;
    padding: 80px 60px;
    background: #f2f4f8;
    text-align: center;
}

.events-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #111;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.event-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.event-date {
    display: inline-block;
    background: linear-gradient(to bottom, #8fd0ff, #2f83c6);
    padding: 10px 25px;
    color: #000000;
    font-weight: 700;
    border-radius: 25px;
    margin-top: -20px;
    position: relative;
    top: -20px;
    font-size: 16px;
}

.event-text {
    margin-top: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
}


/* =========================================================
   FOUNDER / TEAM
========================================================= */

.founder-section {
    width: 100%;
    padding: 70px 5%;
    display: flex;
    justify-content: center;
    background: rgba(200, 180, 255, 0.15);
}

.founder-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 85%;
    flex-wrap: wrap;
}

.founder-img-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.founder-img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: none;
    background: transparent;
}

.founder-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 40px;
}

.founder-name {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

.founder-role {
    font-size: 25px;
    color: #4b5cff;
    font-weight: 350;
    letter-spacing: 0.5px;
}

.founder-text {
    font-size: 20px;
    color: #666;
    line-height: 1.8;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}


/* =========================================================
   JOIN BUTTON
========================================================= */

.join-btn {
    width: fit-content;
    background: linear-gradient(135deg, #191a2b, #161875);
    color: #ffffff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 18px;
    box-shadow: 0 5px 12px rgba(42, 46, 247, 0.25);
    transition: 0.25s ease-in-out;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(18, 18, 20, 0.35);
}


/* =========================================================
   FOUNDER SOCIAL
========================================================= */

.founder-social {
    display: flex;
    gap: 12px;
}

.founder-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #d1d1d1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2f2f2f;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.founder-social a:hover {
    background: #6c4cd6;
    color: #ffffff;
    border-color: #6c4cd6;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(108, 76, 214, 0.45);
}


/* =========================================================
   FACULTY
========================================================= */

.faculty-section {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background: rgba(200, 180, 255, 0.15);
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-section .section-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    width: 90%;
    margin: auto;
    align-items: start;
}

.faculty-card {
    text-align: center;
    background: #f8faff;
    border-radius: 30px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.faculty-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.faculty-card:hover .faculty-img {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faculty-name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.faculty-role {
    font-size: 14px;
    color: #2a4bd7;
    margin-bottom: 10px;
}

.rating {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.rating span {
    color: #f0b400;
}


/* =========================================================
   ABOUT
========================================================= */

.about-info {
    width: 100%;
    padding: 70px 5%;
    display: flex;
    justify-content: center;
    background: rgba(200, 180, 255, 0.15);
    gap: 20px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 85%;
}

.about-img-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

.about-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 40px;
}

.about-content h1 {
    font-size: 40px;
    margin-bottom: 2rem;
    color: #111;
}


/* =========================================================
   INFO BOX
========================================================= */

.info-box {
    padding: 60px 0;
    text-align: center;
    background: #f2f4f5;
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    margin: 0 auto;
}

.info-cards {
    width: 900px;
    max-width: 90%;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-cards h2 {
    color: rgb(216, 84, 84);
    font-size: 22px;
    margin-bottom: 15px;
}

.info-cards p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.6;
}

.info-cards:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   COURSES
========================================================= */

.courses {
    width: 100%;
    background: rgba(200, 180, 255, 0.15);
    padding: 20px 0 40px;
    text-align: center;
}

.section-sub {
    font-size: 18px;
    color: #444;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    line-height: 1.4;
}

.dept-grid {
    width: 1000px;
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px auto 5px;
}

.dept-card {
    width: 300px;
    background: #ffffff;
    border-radius: 22px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.26),
        0 6px 10px rgba(0, 0, 0, 0.22);
}

.dept-icon {
    width: 100px;
    height: 90px;
    object-fit: cover;
    margin-bottom: 14px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dept-card:hover .dept-icon {
    transform: scale(1.07);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.dept-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.3px;
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.container {
    width: 350px;
    background: #ffffff;
    padding: 30px;
    margin: 100px auto 5rem;
    border-radius: 18px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        0 6px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.container:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.container h2 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.container input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.container input:focus {
    border-color: #4f4fd9;
    box-shadow: 0 0 0 3px rgba(79, 79, 217, 0.20);
    outline: none;
}

.forgot {
    margin-top: 10px;
    color: #222;
    font-size: 14px;
    cursor: pointer;
    text-align: right;
    display: block;
    transition: color 0.25s ease;
}

.forgot:hover {
    color: #4f4fd9;
}

.container button {
    width: 100%;
    padding: 12px;
    margin-top: 22px;
    border: none;
    background: #0c0c0c;
    color: #f2f4f8;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.container button:hover {
    background: #4f4fd9;
    transform: translateY(-2px);
}


/* =========================================================
   POPUP
========================================================= */

.popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 10px;
    display: none;
    opacity: 0;
    z-index: 999999;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.popup.show {
    display: block;
    opacity: 1;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    background-color: #212121;
    color: #dcdcdc;
    padding: 40px 60px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 16px;
}


/* Footer links */

.footer-section a {
    display: block;
    text-decoration: none;
    color: #dcdcdc;
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.footer-section a:hover {
    color: #F8F8FF;
}


/* Footer paragraphs */

.footer-section p {
    margin: 4px 0;
    color: #dcdcdc;
    transition: color 0.25s ease;
}

.footer-section p:hover {
    color: #F8F8FF;
}


/* Contact block */

.contact-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-block .icon {
    color: #ff416c;
    font-size: 16px;
    margin-right: 10px;
    min-width: 20px;
    margin-top: 4px;
    transition: color 0.25s ease;
}

.contact-block .icon:hover{
    color:#F8F8FF;
}

.contact-block .icon a {
    color: #ff416c;
    text-decoration: none;
}

.contact-block .icon a:hover {
    color: #F8F8FF;
}

.contact-block .text p {
    margin: 4px 0;
    color: #dcdcdc;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.25s ease;
}

.contact-block .text p:hover {
    color: #F8F8FF;
}


/* Social icons */

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.social-icons i {
    font-size: 18px;
    margin-right: 8px;
    color: #dcdcdc;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-icons i:hover {
    color: #F8F8FF;
    transform: translateY(-2px);
}


/* Footer bottom */

.footer-bottom {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
    color: #aaa;
    padding: 1px 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .navbar {
        padding: 12px 30px;
    }

    .nav-links {
        gap: 35px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .cards-container {
        gap: 20px;
    }

    .why-info h2 {
        font-size: 32px;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .dept-grid {
        width: 90%;
    }
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 768px) {

    .navbar {
        height: 56px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        height: 40px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 240px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        gap: 25px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.20);
        z-index: 1050;
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links li a {
        font-size: 17px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f8f9fb;
        border-radius: 0;
    }

    .dropdown-menu a {
        font-size: 15px !important;
    }


    /* Hero */

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .sub-text {
        font-size: 16px;
    }


    /* Founder */

    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .founder-content {
        padding-right: 0;
    }

    .founder-img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .founder-social {
        justify-content: center;
    }


    /* About */

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        padding-right: 0;
    }


    /* Faculty */

    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    /* Courses */

    .dept-card {
        width: 100%;
        max-width: 350px;
    }


    /* Footer */

    .footer {
        padding: 30px 20px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 25px;
    }

    .footer-section h3 {
        margin-bottom: 8px;
    }

    .footer-section a {
        margin: 6px 0;
    }

    .social-icons {
        justify-content: center;
        gap: 12px;
    }

    .footer-bottom {
        font-size: 13px;
        margin-top: 20px;
    }

    .contact-block {
        justify-content: center;
        text-align: left;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .btn-primary {
        font-size: 18px;
        padding: 12px 28px;
    }

    .why-info {
        padding: 40px 0;
    }

    .why-info h2 {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .why-card {
        width: 90%;
        padding: 25px 20px;
    }

    .why-card h3 {
        font-size: 20px;
    }

    .events-section {
        padding: 40px 20px;
    }

    .events-title {
        font-size: 30px;
    }

    .event-card {
        width: 100%;
    }

    .event-img {
        height: 220px;
    }

    .container {
        width: 90%;
        margin-top: 100px;
    }

    .footer {
        padding: 25px 15px;
    }
}