:root {
    /* Color palette - Split-complementary */
    --primary-color: #1a5f7a;
    --primary-light: #2a7a98;
    --primary-dark: #0d4a61;
    
    --secondary-color: #f39c12;
    --secondary-light: #f5b041;
    --secondary-dark: #d68910;
    
    --accent-color: #e74c3c;
    --accent-light: #ec7063;
    --accent-dark: #c0392b;
    
    --neutral-light: #f8f9fa;
    --neutral: #e9ecef;
    --neutral-dark: #dee2e6;
    
    --text-color: #2c3e50;
    --text-light: #34495e;
    --text-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    
    /* Shadows for neomorphism */
    --shadow-small: 6px 6px 12px rgba(0, 0, 0, 0.1), -6px -6px 12px rgba(255, 255, 255, 0.8);
    --shadow-medium: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.8);
    --shadow-large: 15px 15px 30px rgba(0, 0, 0, 0.1), -15px -15px 30px rgba(255, 255, 255, 0.8);
    
    /* Inset shadows for pressed state */
    --shadow-inset: inset 6px 6px 12px rgba(0, 0, 0, 0.1), inset -6px -6px 12px rgba(255, 255, 255, 0.8);
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--neutral-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title h2:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Buttons */
.btn, button, input[type='submit'] {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn:hover, button:hover, input[type='submit']:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn:active, button:active, input[type='submit']:active {
    transform: translateY(0);
    box-shadow: var(--shadow-inset);
}

.btn-primary, input[type='submit'] {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.btn-primary:hover, input[type='submit']:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--text-white);
}

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

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

/* Cards */
.card {
    background: var(--neutral-light);
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-content p {
    margin-bottom: 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--neutral-light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 10px 0;
}

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

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

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.8), rgba(13, 74, 97, 0.9));
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    background-color: var(--neutral-light);
}

.about-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-content {
    padding: 20px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    padding: 60px 0;
}

.stat-widget {
    text-align: center;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.stat-widget:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
    font-weight: 700;
}

.stat-widget h3 {
    font-size: 1.2rem;
    color: var(--text-white);
}

/* Courses Section */
.courses-section {
    background-color: var(--neutral);
}

.course-card {
    height: 100%;
}

/* Methodology Section */
.methodology-section {
    background-color: var(--neutral-light);
}

.methodology-timeline {
    position: relative;
    padding-left: 30px;
}

.methodology-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -14px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-light);
    border: 4px solid var(--neutral-light);
    z-index: 1;
}

.timeline-content {
    padding: 0 0 0 20px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Events Section */
.events-section {
    background-color: var(--neutral);
}

.event-card {
    position: relative;
    height: 100%;
    text-align: left;
    padding: 0;
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--text-white);
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    z-index: 2;
}

.event-card .card-content {
    text-align: left;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--neutral-light);
}

.testimonial-card {
    height: 100%;
    padding: 30px 20px;
}

.testimonial-card .card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.testimonial-card .card-image img {
    border-radius: 50%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.position {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* External Resources */
.external-resources {
    background-color: var(--neutral);
}

.resource-card {
    background: var(--neutral-light);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.resource-card ul {
    padding-left: 20px;
}

.resource-card ul li {
    margin-bottom: 10px;
}

.resource-card ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-card ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Sustainability Section */
.sustainability-section {
    background-color: var(--neutral-light);
}

.sustainability-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sustainability-initiatives {
    margin-top: 30px;
}

.initiative {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--neutral);
    border-radius: 10px;
    box-shadow: var(--shadow-small);
    transition: all 0.3s ease;
}

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

.initiative h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Case Studies Section */
.case-studies-section {
    background-color: var(--neutral);
}

.case-study-card .card-content {
    text-align: left;
}

/* FAQ Section */
.faq-section {
    background-color: var(--neutral-light);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-small);
    overflow: hidden;
}

.accordion-button {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--neutral-light);
    padding: 20px 25px;
    box-shadow: none;
    border: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-dark);
    background-color: var(--neutral);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a5f7a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    background-color: var(--neutral);
}

/* Careers Section */
.careers-section {
    background-color: var(--neutral);
}

.careers-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.current-openings {
    margin-top: 30px;
}

.current-openings h4 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.job-card {
    background: var(--neutral-light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.job-card h5 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* News Section */
.news-section {
    background-color: var(--neutral-light);
}

.news-card {
    height: 100%;
}

.news-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Pricing Section */
.pricing-section {
    background-color: var(--neutral);
}

.pricing-card {
    background: var(--neutral-light);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-large);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05), rgba(26, 95, 122, 0.1));
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 30px;
    background: var(--accent-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-description {
    color: var(--text-light);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-features ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.pricing-action {
    margin-top: auto;
}

/* Contact Section */
.contact-section {
    background-color: var(--neutral-light);
}

.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: 30px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-container {
    background: var(--neutral-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--neutral-dark);
    background-color: var(--neutral-light);
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: var(--neutral-light);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-white);
    padding: 70px 0 20px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-widget h4:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(5px);
    display: inline-block;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 15px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.social-links a:hover {
    color: var(--text-white);
}

.social-links a:hover::after {
    width: 100%;
}

.copyright {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Success Page */
.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--neutral-light);
}

.success-content {
    text-align: center;
    max-width: 600px;
    padding: 50px;
    background: var(--neutral-light);
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* Privacy & Terms Pages */
.page-content {
    padding-top: 150px;
    padding-bottom: 50px;
}

.page-content h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.page-content h2 {
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--neutral-light);
        padding: 15px;
        border-radius: 10px;
        box-shadow: var(--shadow-medium);
        margin-top: 15px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 150px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .timeline-content {
        padding-left: 15px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-15px);
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-widget h4:after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animation Classes for AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    transform: translateY(0) translateX(0) scale(1);
}