:root {
    --primary-color: #14281e;
    --secondary-color: #3a5a40;
    --accent-color: #f0b90b;
    --text-color: #333;
    --bg-color: #f9f9f9;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

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

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

section {
    padding: 80px 0;
}

.elementor-section.first {
    padding-top: 0;
}

.section-light {
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info a {
    color: white;
    margin-right: 20px;
    opacity: 0.9;
}

.top-bar-info a:hover {
    opacity: 1;
}

.top-bar-social a {
    color: white;
    margin-left: 15px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.top-bar-social a:hover {
    opacity: 1;
}

.main-header {
    background-color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-header .logo img {
    height: 50px;
    width: auto;
}

.main-header .logo-text {
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

.main-header .logo-text .program-name {
    font-size: 1.1rem;
}

.main-header .logo-text .faculty-name {
    font-size: 0.7rem;
    color: var(--text-color);
}

.main-nav a {
    color: var(--text-color);
    margin-left: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.section-title .title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 650px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #ddd;
}

.hero-slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.hero-slide-item {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
}

.hero-slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 40, 30, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin-left: 8%;
}

.hero-content .kicker {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content .title {
    font-size: 5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: white;
}

.hero-content .hero-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 30px;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.hero-content .hero-button:hover {
    background-color: #ffce3a;
}

.hero-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-controls button {
    background: rgba(255,255,255,0.8);
    border: none;
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.2s;
}

.hero-controls button:hover {
    background: white;
}

.hero-social-links {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-social-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    writing-mode: vertical-rl;
    transition: opacity 0.2s;
    letter-spacing: 2px;
}

.hero-social-links a:hover {
    opacity: 0.8;
}

.hero-dots {
    display: none;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.highlight-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.highlight-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.highlight-item p {
    color: #666;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.news-featured,
.news-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-featured {
    min-height: 420px;
}

.news-featured:hover,
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.7) 70%);
    z-index: 1;
}

.news-content {
    position: absolute;
    inset: auto 24px 24px 24px;
    z-index: 2;
}

.news-card .news-content {
    inset: auto 16px 16px 16px;
}

.news-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.news-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.news-title {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #fff;
}

.news-card .news-title {
    font-size: 1rem;
}

.contact-info {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-member__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__content {
    padding: 20px 15px;
}

.team-member__content .name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-member__content .designation {
    font-size: 14px;
    color: #777;
}

#dosen-section {
    background-color: #f8f9fa;
}

#dosen-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

#dosen-section .section-title .subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#dosen-section .section-title .title {
    font-size: 2.5rem;
    margin-top: 5px;
}

.dosen-slider {
    overflow: hidden;
    padding: 10px 0;
}

.dosen-slider .swiper-slide {
    height: auto;
}

.dosen-slider .team-member {
    margin-bottom: 0;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
    font-weight: 900;
}

.swiper-pagination {
    position: static;
    margin-top: 25px;
}

.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.team-member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-member-link:hover {
    text-decoration: none;
    color: inherit;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.main-footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.main-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-about h4,
.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--secondary-color);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-featured {
        min-height: 340px;
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        min-height: 260px;
    }

    .hero-content .title {
        font-size: 3rem;
    }

    .hero-controls {
        bottom: 20px;
        right: 20px;
    }
}
