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

:root {
    --primary-color: #243E79;
    --secondary-color: #ffffff;
    --accent-color: #c41e3a;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --background-light: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

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

/* Navigation Styles */
.navbar {
    background-color: var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    background-color: var(--secondary-color);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
    margin: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;    
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0 20px;
    flex: 1;
}

.nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    border-bottom: 2px solid var(--secondary-color);
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    padding-right: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn.active,
.lang-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2d5a 100%);
    color: var(--secondary-color);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2d5a 100%);
    color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.2);
}

.btn-primary:hover {
    background-color: #a01729;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-details {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-details:hover {
    background-color: #1a2d5a;
    border-color: #1a2d5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 62, 121, 0.3);
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.content-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Featured Jobs Section */
.featured-jobs {
    padding: 80px 0;
    background-color: var(--background-light);
}

.featured-jobs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.job-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.job-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.job-location {
    background-color: var(--background-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.job-company {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.job-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-details span {
    background-color: var(--background-light);
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Job List Styles */
.job-list {
    display: none;
    padding: 60px 0;
}

.job-list.active {
    display: block;
}

.job-item {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s;
}

.job-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.job-info {
    flex: 1;
}

.job-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.job-info>p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 10px 0;
}

.job-description {
    margin-top: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.close {
    color: var(--text-light);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
}

.job-details-section {
    margin-bottom: 2rem;
}

.job-details-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.job-details-section ul {
    list-style: none;
    padding: 0;
}

.job-details-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--background-light);
    position: relative;
    padding-left: 1.5rem;
}

.job-details-section li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.job-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-tag {
    background-color: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.job-description-full {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #b0b0b0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(36, 62, 121, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Statistics Section */
.statistics {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2d5a 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--secondary-color);
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--background-light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--secondary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* City Selection Styles */
.city-selection {
    padding: 80px 0;
    text-align: center;
}

.city-selection h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.city-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.city-card {
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.city-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.city-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 1rem;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.city-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.city-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* About Us Specific */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Meeting Types */
.meeting-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.meeting-type-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.meeting-type-card:hover,
.meeting-type-card.selected {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.meeting-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Calendar Styles */
.calendar-container {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h3 {
    color: var(--primary-color);
}

.calendar-nav {
    display: flex;
    gap: 1rem;
}

.calendar-nav button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-nav button:hover {
    background-color: #1a2d5a;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.calendar-day:hover {
    background-color: var(--background-light);
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.calendar-day.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.time-slots {
    margin-top: 2rem;
}

.time-slots h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.time-slot {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    border-color: var(--primary-color);
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo {
        padding: 0.75rem 2rem 0.75rem 0;
        margin-left: 0;
        padding-left: 1rem;
        margin-right: 1rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-item {
        flex-direction: column;
        align-items: start;
    }

    .job-item .btn {
        margin-top: 1rem;
        width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* Contact Page Micro-interactions */
.contact-info-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: default;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-info-card:hover h3 {
    color: var(--accent-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

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

.contact-link:hover::after {
    width: 100%;
}

/* Enhanced checkbox styling */
.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    transition: transform 0.2s ease;
}

.form-group input[type="checkbox"]:hover {
    transform: scale(1.1);
}

/* Form submit button specific styling */
.contact-form button[type="submit"] {
    width: 100%;
    padding: 14px 30px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Office hours cards with hover effect */
.content-section > .container > div > div[style*="text-align: center"] {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.content-section > .container > div > div[style*="text-align: center"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}