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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #1abc9c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn-primary, .btn-secondary, .btn-login {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.btn-login {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background-color: #16a085;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--dark-color);
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: 'century gothic', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(0, 104, 0);
}

.logo span {
    color: rgb(206, 0, 0);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /*BACKGROUND IMAGE CONFIGURATION*/
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    padding-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(57, 214, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Internship Highlights */
.internship-highlights {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.internship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.internship-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.internship-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.internship-header h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.company {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.internship-details {
    padding: 20px;
}

.detail {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-light);
}

.detail i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
}

.internship-footer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deadline {
    font-size: 0.9rem;
    color: #e74c3c;
    font-weight: 600;
}

.center-btn {
    text-align: center;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

#newsletterForm {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#newsletterForm input {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

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

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

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Page Hero (for inner pages) */
.page-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 120px 0 60px;
    margin-top: 70px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.value-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.about-image .image-placeholder {
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.about-image i {
    font-size: 5rem;
    color: #ccc;
    margin-bottom: 20px;
}

/* Stats */
.stats {
    padding: 80px 0;
    background-color: #f5f7fa;
}

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

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

.stat-item p {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}

/* Team */
.team {
    padding: 80px 0;
    background-color: white;
}

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

.team-member {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 3rem;
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-container h2, .contact-info-container h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.contact-info-container p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-text p {
    margin-bottom: 2px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-faq h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.map-placeholder {
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.map-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.map-content p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Internships Page */
.filters-section {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.search-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.search-box i {
    background-color: white;
    padding: 15px 20px;
    color: var(--text-light);
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    border-radius: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.internships-list {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-header h2 {
    color: var(--dark-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-weight: 600;
    color: var(--dark-color);
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.internships-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/*Employer Portal Section*/
:root {
    --employer-color: #337ab7;
    --employer-accent: #2c68a0;
    --cta-success-green: #28a745;
}

/*Override standard button color for the active employer button*/
.active-employer-btn {
    background-color: var(--employer-color) !important;
    color: white !important;
}

/*1. Focused Hero Section*/
.employer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    background-color: #e6f0fa;
    gap: 50px;
}

.employer-hero h1 {
    font-size: 2.8rem;
    color: var(--employer-color);
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 20px;
}

.trust-signal {
    font-size: 1.2rem;
    color: #888;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: times new roman;
    font-style: italic;
}

.hero-image-mockup {
    flex: 1;
    text-align: right;
    max-width: 500px;
}

.hero-image-mockup img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-hero-cta {
    display: inline-block;
    background-color: var(--cta-success-green);
    margin-top: 30px;
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-hero-cta:hover {
    background-color: #1e7e34;
}

/*2. Value Proposition*/
.value-props {
    padding: 60px 5%;
    text-align: center;
}

.value-props h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--employer-color);
}

.prop-cards-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.prop-card {
    flex: 1;
    max-width: 300px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #ffffff;
}

.prop-icon {
    font-size: 3rem;
    color: var(--employer-color);
    display: block;
    margin-bottom: 10px;
}

.prop-card h3 {
    margin-top: 0;
}

/*3. Final CTA / Pricing*/
.final-cta-pricing {
    padding: 60px 5%;
    text-align: center;
    background-color: #f7f7f7;
}

.final-cta-pricing h2 {
    color: var(--employer-color);
    margin-bottom: 10px;
}

.final-cta-sub {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.pricing-card {
    display: inline-block;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--employer-color);
}

.price-block {
    margin: 20px 0;
}

.price-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--employer-color);
    display: block;
}

.price-unit {
    color: #888;
}

.btn-final-cta {
    background-color: var(--cta-success-green);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
    display: block;
    margin-top: 20px;
}

.btn-final-cta:hover {
    background-color: #1e7e34;
}

.contact-sales {
    margin-top: 30px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: white;
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

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

#modalInternshipDetails {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image .image-placeholder {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .internships-container {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features-grid, .internship-grid, .stats-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}