/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #1e40af;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo span {
    color: #6b7280;
    font-size: 0.9rem;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #1e40af;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('/assets/images/graduation.jpg') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 54, 90, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-card ul {
    list-style: none;
}

.hero-card li {
    color: #e5e7eb;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-card i {
    color: #f59e0b;
    width: 20px;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-card i {
    color: #f59e0b;
}

.about-card ul {
    list-style: none;
}

.about-card li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.about-card li:before {
    content: "•";
    color: #f59e0b;
    position: absolute;
    left: 0;
}

/* Program Section */
.program {
    padding: 6rem 0;
    background: white;
}

.program-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.program-item {
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    overflow: hidden;
}

.program-item:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.program-icon i {
    color: white;
    font-size: 1.2rem;
}

.program-item h3 {
    color: #1f2937;
    font-size: 1.2rem;
    margin: 0;
}

.program-item p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.program-item ul {
    list-style: none;
}

.program-item li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.program-item li:before {
    content: "•";
    color: #1e40af;
    position: absolute;
    left: 0;
}

/* Accordion Styles */
.accordion-title {
    cursor: pointer;
    position: relative;
    padding: 1.5rem 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}

.accordion-title:hover {
    background: #f1f5f9;
    color: #1e40af;
}

.accordion-title::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-title::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.accordion-item.open .accordion-content {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
}

.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-item.open {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Title layout */
.accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-title .title-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Apply Section */
.apply {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-section {
    border-top: 2px solid #e5e7eb;
    padding-top: 2rem;
}

.form-section h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.form-submit {
    text-align: center;
    padding-top: 1rem;
}



/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f59e0b;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        padding-left: 2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
} 

/* Korean Text Styling */
.korean-text {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
} 

 

/* Brochure Notice */
.brochure-notice {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.notice-card {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.notice-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    position: relative;
    z-index: 1;
}

.notice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.notice-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.coming-soon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    display: inline-block;
} 

/* Notices Section */
.notices {
    padding: 4rem 0;
    background: #f8fafc;
}

.notices-container {
    max-width: 800px;
    margin: 0 auto;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notice-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #1e40af;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.notice-item.important {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.notice-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-important {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.notice-content {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.loading-notices {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading-notices i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.no-notices {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.no-notices i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #d1d5db;
}

@media (max-width: 768px) {
    .notice-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .notice-meta {
        justify-content: flex-start;
    }
} 

/* Enhanced Footer Contact Styles */
.footer-section .contact-info {
    margin-bottom: 1rem;
}

.footer-section .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.footer-section .contact-info i {
    width: 16px;
    color: #1e40af;
}

.footer-section .office-hours {
    margin-top: 1rem;
}

.footer-section .office-hours h5 {
    color: #f3f4f6;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-section .office-hours p {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #d1d5db;
}

@media (max-width: 768px) {
    .footer-section .contact-info p {
        font-size: 0.9rem;
    }
    
    .footer-section .office-hours p {
        font-size: 0.8rem;
    }
}

/* Hide file attachment delete buttons on public page */
[data-file-attachment="true"] button {
    display: none !important;
}

[data-file-attachment="true"]:hover button {
    display: none !important;
} 

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1.5rem;
    line-height: 1.7;
    color: #374151;
}

.loading-faqs {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading-faqs i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.no-faqs {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.no-faqs i {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}