/* Base Styles */
:root {
    --primary-blue: #1a237e;
    --secondary-blue: #303f9f;
    --light-blue: #e8eaf6;
    --white: #ffffff;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    padding-top: 70px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Navigation */
.navbar {
    background-color: var(--primary-blue);
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: #bbdefb;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #bbdefb;
}

.admin-link {
    background-color: var(--secondary-blue);
    padding: 8px 15px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--light-blue);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--secondary-blue);
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background-color: var(--white);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-blue);
}

.team-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.team-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.team-header:hover {
    background-color: var(--medium-gray);
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    flex-grow: 1;
}

.team-info h3, .team-info h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.team-details {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.team-details.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

.team-details p {
    margin-bottom: 10px;
}

.team-details a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.team-details a:hover {
    text-decoration: underline;
}

.top-level {
    border-left: 5px solid #d32f2f;
}

.middle-level {
    border-left: 5px solid #ffa000;
}

.helpdesk-level {
    border-left: 5px solid #388e3c;
}

.helpdesk-title {
    margin: 30px 0 15px;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Ticket Section */
.ticket-section {
    padding: 60px 0;
    background-color: var(--light-blue);
}

.ticket-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

#ticket-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-blue);
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 5px;
}

.submit-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary-blue);
}

#form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.error {
    background-color: #ffebee;
    color: #c62828;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--white);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-blue);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .team-header {
        flex-direction: column;
        text-align: center;
    }
    
    .team-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    #ticket-form {
        padding: 20px;
    }
}