/* ==========================
   GLOBAL SETTINGS
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {

    font-family: 'Poppins', sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;

}


h1, h2, h3 {

    font-weight: 700;

}


h2 {

    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;

}


p {

    color: #475569;

}


a {

    text-decoration: none;

}


/* ==========================
   HEADER
========================== */


header {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 8%;

    background: white;

    border-bottom: 1px solid #e5e7eb;

    position: sticky;

    top: 0;

    z-index: 100;

}



.brand h2 {

    color: #C8102E;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3px;

}


.brand p {

    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin: 0;

}



nav a {

    margin-left: 25px;

    color: #334155;

    font-weight: 500;

}


nav a:hover {

    color: #C8102E;

}



/* ==========================
   BUTTONS
========================== */


.btn {

    display: inline-block;

    padding: 14px 28px;

    border-radius: 8px;

    margin-right: 15px;

    font-weight: 600;

    cursor: pointer;

}



.primary {

    background: #C8102E;

    color: white;

}



.primary:hover {

    background: #9f1239;

}



.secondary {

    border: 2px solid #C8102E;

    color: #C8102E;

}



/* ==========================
   HERO
========================== */


.hero {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 80px 8%;

    background: #f8fafc;

}



.hero-text {

    width: 50%;

}


.hero-text h1 {

    font-size: 56px;

    line-height: 1.15;

    margin-bottom: 25px;

}



.hero-text p {

    font-size: 18px;

    margin-bottom: 35px;

}



.hero-image {

    width: 45%;

}



.hero-image img {

    width: 100%;

    border-radius: 20px;

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);

}



/* ==========================
   PARTNER SECTION
========================== */


.partner {

    text-align: center;

    padding: 80px 8%;

}



.partner > p {

    max-width: 850px;

    margin: auto;

    margin-bottom: 45px;

    font-size: 18px;

}



.service-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 25px;

    margin-bottom: 40px;

}



.service {

    background: #f8fafc;

    padding: 35px 20px;

    border-radius: 15px;

}



.service i {

    font-size: 35px;

    color: #C8102E;

    margin-bottom: 15px;

}



/* ==========================
   PROJECT SECTION
========================== */


.projects {

    padding: 80px 8%;

    background: #f8fafc;

}



.filters {

    text-align: center;

    margin-bottom: 40px;

}



.filters button {

    border: none;

    background: white;

    padding: 12px 20px;

    margin: 5px;

    border-radius: 30px;

    cursor: pointer;

}



.filters button:hover {

    background:#C8102E;

    color:white;

}



.project-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}



.project-card {

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

}



.project-card h3 {

    font-size:25px;

    margin:15px 0;

}

/* ==========================
   PROJECT CARD DETAILS
========================== */


.project-card h4 {

    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 15px;
    color: #334155;

}


.project-card p {

    margin-bottom: 10px;

}


.project-link {

    display:inline-block;

    margin-top:20px;

    color:#C8102E;

    font-weight:600;

}


.project-link:hover {

    text-decoration:underline;

}



.tag {

    padding:6px 15px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

}



.cs {

    background:#fee2e2;

    color:#991b1b;

}



.convergence {

    background:#dbeafe;

    color:#1e40af;

}



.technology {

    margin-top:20px;

    font-weight:600;

    color:#C8102E;

}



/* ==========================
   RECENT PROJECTS
========================== */


.recent {

    padding:80px 8%;

}



.year-grid {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.year-grid div {

    text-align:center;

    padding:40px;

    background:#f8fafc;

    border-radius:15px;

}



/* ==========================
   ARCHIVE
========================== */


.archive {

    padding:80px 8%;

    background:#f8fafc;

}



.archive-grid {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.archive-grid div {

    background:white;

    text-align:center;

    padding:40px;

    border-radius:15px;

}



.archive i {

    font-size:40px;

    color:#C8102E;

    margin-bottom:20px;

}



/* ==========================
   IMPACT
========================== */


.impact {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    padding:70px 8%;

    text-align:center;

    background:#C8102E;

    color:white;

}



.impact h2 {

    color:white;

    font-size:50px;

    margin:0;

}



.impact p {

    color:white;

}


/* ==========================
   PROJECT PAGE HEADER
========================== */


.page-header {

    text-align:center;

    padding:80px 8%;

    background:#f8fafc;

}


.page-header h1 {

    font-size:48px;

    margin-bottom:20px;

}


.page-header p {

    max-width:800px;

    margin:auto;

    font-size:18px;

}

/* ==========================
   RECENT PROJECTS PAGE
========================== */


.recent-projects {

    padding:80px 8%;

}


.year-section {

    margin-bottom:70px;

}


.year-section h2 {

    text-align:left;

    color:#C8102E;

    margin-bottom:30px;

}

/* ==========================
   PARTNER PAGE
========================== */


.partner h2 {

    margin-bottom:40px;

}


.partner p {

    max-width:900px;

    margin:0 auto 40px auto;

}

/* ==========================
   CONTACT PAGE
========================== */

.contact-section {

    padding:80px 8%;

}



.coordinator-card {

    display:flex;

    align-items:center;

    gap:40px;

    background:white;

    padding:40px;

    border-radius:15px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    margin-bottom:70px;

}



.faculty-photo {

    width:170px;

    height:170px;

    border-radius:50%;

    object-fit:cover;

    border:5px solid #C8102E;

}



.coordinator-card h3,
.faculty-card h3 {

    font-size:26px;

    margin:15px 0;

}



.faculty-grid {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-bottom:60px;

}



.faculty-card {

    text-align:center;

}



.faculty-card .faculty-photo {

    margin:auto;

}



.response-time {

    text-align:center;

    background:#f8fafc;

    padding:35px;

    border-radius:15px;

}



.response-time h3 {

    margin-bottom:15px;

}




@media(max-width:900px){


.coordinator-card {

    flex-direction:column;

    text-align:center;

}



.faculty-grid {

    grid-template-columns:1fr;

}


}

/* ==========================
   PARTNER INQUIRY FORM
========================== */


.inquiry-form {

    max-width:850px;

    margin:auto;

}



.inquiry-form form {

    display:flex;

    flex-direction:column;

    gap:15px;

}



.inquiry-form h2 {

    text-align:left;

    font-size:28px;

    margin-top:20px;

    margin-bottom:15px;

}



.inquiry-form label {

    font-weight:600;

    color:#334155;

}



.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {


    width:100%;

    padding:12px 15px;

    border:1px solid #cbd5e1;

    border-radius:8px;

    font-family:'Poppins', sans-serif;

    font-size:15px;

}



.inquiry-form textarea {

    resize:vertical;

}



.inquiry-form button {

    border:none;

    margin:20px auto 0;

    width:180px;

    padding:16px 35px;

    font-size:18px;

    font-weight:600;

    text-align:center;

}

.required-note {

    text-align:left;

    font-size:14px;

    color:#64748b;

    margin-bottom:20px;

}

/* Homepage rotating highlights and View All button */

.featured-project {
    display: none;
}

.featured-project.active {
    display: block;
    animation: fadeProject 0.8s ease-in-out;
}


@keyframes fadeProject {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-all-container {
    text-align: center;
    margin-top: 30px;
}


.view-all-button {
    display: inline-block;
    padding: 10px 22px;
    background: #C8102E;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}


.view-all-button:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}

/* ==========================
   FOOTER
========================== */


footer {

    background:#1e293b;

    color:white;

    text-align:center;

    padding:40px;

}



footer p {

    color:#cbd5e1;

}



/* ==========================
   MOBILE DESIGN
========================== */


@media(max-width:900px){


header {

    flex-direction:column;

}


nav {

    margin-top:20px;

}



.hero {

    flex-direction:column;

}



.hero-text,
.hero-image {

    width:100%;

}



.hero-text h1 {

    font-size:40px;

}



.service-grid {

    grid-template-columns:repeat(2,1fr);

}



.project-grid {

    grid-template-columns:1fr;

}



.year-grid,
.archive-grid,
.impact {

    grid-template-columns:1fr;

}


}