/* === VARIABLES === */
:root {
    /* Color scheme */
    --primary-color: #2c3e50;
    --primary-light: #34495e;
    --primary-dark: #1a252f;
    --secondary-color: #7f8c8d;
    --secondary-light: #95a5a6;
    --secondary-dark: #6c7a7a;
    --accent-color: #3498db;
    --accent-light: #5dade2;
    --accent-dark: #2980b9;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --background-light: #f5f5f5;
    --background-dark: #2c3e50;
    --background-white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    
    /* Typography */
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Nunito', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Border radius */
    --border-radius-sm: 3px;
    --border-radius-md: 6px;
    --border-radius-lg: 12px;
    
    /* Transition */
    --transition-short: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-long: all 0.7s ease;
}

/* === BASE STYLES === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* === UTILITY CLASSES === */
.text-white {
    color: var(--text-light) !important;
}

.bg-light {
    background-color: var(--background-light) !important;
}

.bg-dark {
    background-color: var(--background-dark) !important;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 30px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === BUTTONS === */
.btn, 
button, 
input[type='submit'] {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-md);
    transition: var(--transition-short);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(52, 152, 219, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

.btn:active {
    transform: translateY(1px);
}

/* === HEADER === */
header {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-short);
}

.nav-link:hover, 
.nav-link:focus {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-short);
    transform: translateX(-50%);
}

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

/* === HERO SECTION === */
.hero-section {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* === ABOUT SECTION === */
.about-section {
    padding: 80px 0;
}

.about-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-section .image-container {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.about-section img {
    transition: var(--transition-medium);
    transform: scale(1);
}

.about-section img:hover {
    transform: scale(1.05);
}

/* === SERVICES SECTION === */
.services-section {
    padding: 80px 0;
}

.services-section .card {
    height: 100%;
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition-short);
    display: flex;
    flex-direction: column;
}

.services-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

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

.services-section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.services-section .card:hover .card-image img {
    transform: scale(1.1);
}

.services-section .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-section .card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition-short);
    display: flex;
    flex-direction: column;
}

.portfolio-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

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

.portfolio-section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.portfolio-section .card:hover .card-image img {
    transform: scale(1.1);
}

.portfolio-section .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portfolio-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* === METHODOLOGY SECTION === */
.methodology-section {
    padding: 80px 0;
}

.methodology-section .image-container {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 2rem;
}

.methodology-section .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md) !important;
    overflow: hidden;
}

.methodology-section .accordion-button {
    background-color: var(--background-white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.25rem;
    box-shadow: none;
}

.methodology-section .accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.methodology-section .accordion-button:focus {
    box-shadow: none;
}

.methodology-section .accordion-body {
    background-color: var(--background-white);
    padding: 1.25rem;
}

/* === RESOURCES SECTION === */
.resources-section {
    padding: 80px 0;
}

.resources-section .card {
    height: 100%;
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition-short);
    display: flex;
    flex-direction: column;
}

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

.resources-section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.resources-section .card:hover .card-image img {
    transform: scale(1.1);
}

.resources-section .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resources-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list li a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-short);
}

.resource-list li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* === INSTRUCTORS SECTION === */
.instructors-section {
    padding: 80px 0;
}

.instructors-section .card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition-short);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instructors-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

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

.instructors-section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.instructors-section .card:hover .card-image img {
    transform: scale(1.1);
}

.instructors-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.instructors-section .instructor-title {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.testimonial-card .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--background-light);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-position {
    font-size: 1rem;
    color: var(--text-muted);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10px;
}

/* === SUSTAINABILITY SECTION === */
.sustainability-section {
    padding: 80px 0;
}

.sustainability-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.sustainability-section .image-container {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-top: 1rem;
}

.sustainability-section img {
    transition: var(--transition-medium);
    transform: scale(1);
}

.sustainability-section img:hover {
    transform: scale(1.05);
}

/* === AWARDS SECTION === */
.awards-section {
    padding: 80px 0;
}

.award-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px var(--shadow-color);
    height: 100%;
    transition: var(--transition-short);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.award-icon img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.award-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.award-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* === CAREERS SECTION === */
.careers-section {
    padding: 80px 0;
}

.careers-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.careers-section .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md) !important;
    overflow: hidden;
}

.careers-section .accordion-button {
    background-color: var(--background-white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.25rem;
    box-shadow: none;
}

.careers-section .accordion-button:not(.collapsed) {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.careers-section .accordion-button:focus {
    box-shadow: none;
}

.careers-section .accordion-body {
    background-color: var(--background-white);
    padding: 1.25rem;
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 80px 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.75rem;
    color: var(--accent-color);
}

.contact-map {
    margin-top: 2rem;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.contact-form {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.form-label {
    font-weight: 600;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-short);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* === FOOTER === */
.footer {
    padding: 60px 0 30px;
    background-color: var(--background-dark);
}

.footer h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: var(--text-light);
    opacity: 0.8;
}

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

.footer ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition-short);
}

.footer ul li a:hover {
    color: var(--accent-light);
    opacity: 1;
}

.footer .input-group {
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition-short);
    margin-right: 1rem;
    font-weight: 500;
}

.social-links a:hover {
    color: var(--accent-light);
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 2rem;
}

/* === SUCCESS PAGE === */
.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* === PRIVACY & TERMS PAGES === */
.privacy-page, .terms-page {
    padding-top: 100px;
    padding-bottom: 50px;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Apply animations */
.hero-section {
    animation: fadeIn 1.5s ease-out;
}

.about-section .image-container {
    animation: slideInRight 1s ease-out;
}

.about-section p {
    animation: slideInLeft 1s ease-out;
}

.card, .award-card, .testimonial-card {
    animation: slideInUp 0.8s ease-out;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-collapse {
        background-color: var(--background-white);
        padding: 1rem;
        border-radius: var(--border-radius-md);
        box-shadow: 0 10px 30px var(--shadow-color);
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .about-section, 
    .services-section, 
    .portfolio-section, 
    .methodology-section, 
    .resources-section, 
    .instructors-section, 
    .testimonials-section, 
    .sustainability-section, 
    .awards-section, 
    .careers-section, 
    .contact-section {
        padding: 60px 0;
    }
    
    .testimonial-card .row {
        flex-direction: column;
    }
    
    .testimonial-card .image-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
*{
    opacity: 1 !important;
}