/*
Theme Name: Kurnai College
Theme URI: https://kurnai.co
Author: Your Name
Author URI: https://yourwebsite.com
Description: A custom WordPress theme for Kurnai College with full admin panel editing capabilities
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kurnai-college
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

/* Slideshow as background */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide.active {
    display: block;
}

.welcome-shape {
    position: absolute;
    right: 0;
    bottom: 30%;
    transform: translateY(-50%);
    width: 520px;
    height: 180px;
    background-color: rgba(0, 51, 102, 0.7);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.welcome-text {
    color: white;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Header with logo and navigation */
.header {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled {
    top: 20px;
    height: 70px;
}

.header.scrolled .logo {
    width: 250px;
    height: 70px;
}

.header.scrolled .nav-container {
    height: 50px;
}

.logo {
    position: absolute;
    left: 0;
    width: 400px;
    height: 120px;
    background-color: white;
    clip-path: polygon(0 0, 90% 0, 100% 0, 100% 3%, 85% 100%, 0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.nav-container {
    display: flex;
    align-items: center;
    background-color: rgba(0, 51, 102, 0.8);
    padding: 0 20px;
    margin-left: 0;
    width: 100%;
    height: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu {
    padding-left: 420px;
    width: 100%;
}

.top-banner {
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0 auto;
}

.nav-menu li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 500;
    height: 100%;
    transition: background-color 0.3s;
}

.nav-menu li:hover > a {
    background-color: rgba(0, 0, 0, 0.2);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 51, 102, 0.9);
    min-width: 200px;
    display: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.nav-menu li:hover > .dropdown {
    display: block;
}

.dropdown li {
    width: 100%;
    height: auto;
}

.dropdown li a {
    padding: 12px 15px;
    font-size: 14px;
    height: auto;
}

.dropdown .dropdown {
    left: 100%;
    top: 0;
}

.enrol-btn {
    display: flex;
    align-items: center;
    background-color: white;
    color: #003366;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.3s;
    height: 36px;
}

.enrol-btn:hover {
    background-color: #f0f0f0;
}

.content-section {
    position: relative;
    z-index: 1;
    margin-top: 55vh;
    background-color: white;
    padding: 30px 0;
}

.content-wrapper {
    max-width: 2300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.quick-links {
    flex: 0 0 250px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.quick-links h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #003366;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.quick-links a:hover {
    color: #0055a5;
    padding-left: 5px;
}

.quick-links a::before {
    content: "▶";
    margin-right: 8px;
    color: #003366;
    font-size: 12px;
}

.main-content {
    flex: 1;
    min-width: 300px;
}

.campus-section {
    margin-bottom: 40px;
}

.campus-title {
    font-size: 32px;
    color: #003366;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.campus-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.campus-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campus-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.campus-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.campus-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.campus-name {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 0 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.campus-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.campus-content p {
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}


.campus-contact {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.campus-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.campus-contact-item i {
    color: #003366;
    font-size: 14px;
    min-width: 16px;
}

.campus-link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    transition: color 0.3s;
}

.campus-link:hover {
    color: #0055a5;
}

.section-title {
    font-size: 28px;
    color: #003366;
    margin-bottom: 20px;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.calendar-section {
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 22px;
    color: #003366;
    font-weight: bold;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav button {
    background: none;
    border: none;
    color: #003366;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.calendar-nav button:hover {
    background-color: rgba(0, 51, 102, 0.1);
}

.new-content {
    margin-top: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.new-content h2 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 20px;
}

.new-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.new-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.new-content li {
    margin-bottom: 8px;
}

footer {
    background-color: rgba(0, 51, 102, 0.7);
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    flex: 0 0 250px;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ffcccc;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.respect-statement {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0 !important;
        left: 0;
        width: 100%;
        height: 70px !important;
        z-index: 1000;
        display: flex;
        align-items: center;
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    .header.scrolled {
        top: 0 !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    .logo {
        position: absolute;
        left: 0;
        width: 250px;
        height: 70px;
        background-color: white;
        clip-path: polygon(0 0, 90% 0, 100% 0, 100% 3%, 85% 100%, 0 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        overflow: hidden;
    }
    
    .nav-container {
        position: absolute;
        right: 0;
        top: 0;
        height: 70px;
        width: auto;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: white;
        color: #003366;
        font-size: 24px;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        margin: 10px;
        z-index: 1002;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 51, 102, 0.95);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu.active {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
    }
    
    .nav-menu li a::after {
        content: "▼";
        font-size: 10px;
        transition: transform 0.3s;
    }
    
    .nav-menu li a.dropdown-active::after {
        transform: rotate(180deg);
    }
    
    .dropdown {
        position: static !important;
        display: none;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        padding-left: 20px;
        box-shadow: none;
    }
    
    .nav-menu li:hover > .dropdown {
        display: none;
    }
    
    .nav-menu li .dropdown.active {
        display: block;
    }
    
    .enrol-btn {
        margin: 15px 20px;
        width: calc(100% - 40px);
        text-align: center;
    }
}
/* Campus Section Mobile Responsive */
@media (max-width: 768px) {
    .campus-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .campus-box {
        margin-bottom: 20px;
    }
    
    .campus-img {
        height: 200px;
    }
    
    .campus-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .campus-contact-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        color: #555;
    }
    
    .campus-contact-item i {
        color: #003366;
        font-size: 16px;
        min-width: 20px;
        text-align: center;
        margin-top: 2px;
    }
    
    .campus-contact-item span {
        flex: 1;
        word-wrap: break-word;
    }
    
    .campus-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #003366;
        text-decoration: none;
        font-weight: bold;
        margin-top: 15px;
        transition: color 0.3s;
    }
    
    .campus-link:hover {
        color: #0055a5;
    }
    
    .campus-link i {
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .campus-link:hover i {
        transform: translateX(3px);
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .campus-contact-item {
        font-size: 13px;
    }
    
    .campus-contact-item i {
        font-size: 14px;
        min-width: 18px;
    }
    
    .campus-img {
        height: 150px;
    }
}