/* style.css */

/* CSS Variables for Tetrad Color Scheme */
:root {
    /* Primary Colors */
    --primary-color: #4CAF50; /* Eco Green */
    --secondary-color: #FF5722; /* Vibrant Orange */
    --accent-color: #2196F3; /* Bright Blue */
    --neutral-color: #9C27B0; /* Deep Purple */

    /* Neumorphism Colors */
    --background-color: #f0f0f3;
    --light-shadow: #ffffff;
    --dark-shadow: #d1d1d1;

    /* Text Colors */
    --text-color: #333333;
    --heading-color: #212121;
    --subtext-color: #666666;

    /* Gradient Backgrounds */
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --card-gradient: linear-gradient(145deg, var(--neutral-color), var(--accent-color));

    /* Transition Duration */
    --transition-duration: 0.3s;

    /* Font Families */
    --font-header: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-family: var(--font-header);
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--transition-duration), background-color var(--transition-duration);
    box-shadow: 5px 5px 10px var(--dark-shadow), -5px -5px 10px var(--light-shadow);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Header Styles */
header {
    background-color: var(--background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .logo a {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-duration);
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-duration);
}

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

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

.burger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: all var(--transition-duration);
}

/* Hero Section */
.hero-section {
    background: url('image/hero-background.jpg') no-repeat center center/cover;
    padding: 100px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-section h1 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-section img {
    width: 800px;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 10px 10px 20px var(--dark-shadow), -10px -10px 20px var(--light-shadow);
    transition: transform var(--transition-duration);
}

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

/* Instructors Section */
.instructors-section {
    padding: 60px 0;
    background-color: var(--background-color);
    text-align: center;
}

.instructors-section h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--heading-color);
}

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

.instructor-card {
    background: var(--background-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 7px 7px 15px var(--dark-shadow), -7px -7px 15px var(--light-shadow);
    transition: transform var(--transition-duration), box-shadow var(--transition-duration);
    text-align: center;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 20px var(--dark-shadow), -10px -10px 20px var(--light-shadow);
}

.instructor-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.instructor-card h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.instructor-card p {
    font-size: 1rem;
    color: var(--subtext-color);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--neutral-color);
    text-align: center;
}

.partners-section h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

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

.partner-logo img {
    width: 200px;
    height: 100px;
    object-fit: contain;
    transition: transform var(--transition-duration);
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* Innovation Section */
.innovation-section {
    padding: 60px 0;
    background-color: var(--background-color);
    text-align: center;
}

.innovation-section h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--heading-color);
}

.innovation-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: var(--subtext-color);
}

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

.feature {
    background: var(--background-color);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 7px 7px 15px var(--dark-shadow), -7px -7px 15px var(--light-shadow);
    transition: transform var(--transition-duration), box-shadow var(--transition-duration);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 20px var(--dark-shadow), -10px -10px 20px var(--light-shadow);
}

.feature img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: var(--font-header);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.feature p {
    font-size: 0.95rem;
    color: var(--subtext-color);
}

/* Clientele Section */
.clientele-section {
    padding: 60px 0;
    background-color: var(--neutral-color);
    text-align: center;
}

.clientele-section h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

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

.client-card {
    background: var(--background-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 7px 7px 15px var(--dark-shadow), -7px -7px 15px var(--light-shadow);
    transition: transform var(--transition-duration), box-shadow var(--transition-duration);
    width: 200px;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 20px var(--dark-shadow), -10px -10px 20px var(--light-shadow);
}

.statistic {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.statistic p {
    font-size: 1rem;
    color: var(--subtext-color);
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--background-color);
    text-align: center;
}

.contact-section h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--heading-color);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
}

.contact-item {
    flex: 1 1 300px;
    text-align: left;
}

.contact-item h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.contact-item p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--subtext-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-duration);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form-container {
    flex: 1 1 300px;
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-container label {
    font-size: 1rem;
    text-align: left;
    color: var(--text-color);
}

.contact-form-container input,
.contact-form-container textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    background: var(--background-color);
    box-shadow: inset 5px 5px 10px var(--dark-shadow), inset -5px -5px 10px var(--light-shadow);
    font-size: 1rem;
    color: var(--text-color);
    transition: box-shadow var(--transition-duration);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
    outline: none;
}

.contact-form-container button {
    align-self: center;
    width: 150px;
}

/* External Links Section */
.external-links-section {
    padding: 60px 0;
    background-color: var(--neutral-color);
    text-align: center;
}

.external-links-section h2 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.external-links-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.external-links-list li {
    background: var(--background-color);
    border-radius: 15px;
    padding: 1.5rem;
    width: 80%;
    box-shadow: 5px 5px 10px var(--dark-shadow), -5px -5px 10px var(--light-shadow);
    transition: transform var(--transition-duration);
}

.external-links-list li:hover {
    transform: translateY(-5px);
}

.external-links-list a {
    font-family: var(--font-header);
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: color var(--transition-duration);
}

.external-links-list a:hover {
    color: var(--secondary-color);
}

.external-links-list p {
    font-size: 0.95rem;
    color: var(--subtext-color);
}

/* Footer Styles */
footer {
    background-color: var(--background-color);
    padding: 2rem 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    margin: 0 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: color var(--transition-duration);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-media a {
    display: inline-block;
    transition: transform var(--transition-duration);
}

.social-media a img {
    width: 30px;
    height: 30px;
}

.social-media a:hover img {
    transform: scale(1.2);
}

footer p {
    color: var(--subtext-color);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    animation: fadeIn 0.5s ease;
}

.modal-content {
    background-color: var(--background-color);
    margin: 15% auto;
    padding: 2rem;
    border: none;
    width: 80%;
    max-width: 500px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 10px 10px 20px var(--dark-shadow), -10px -10px 20px var(--light-shadow);
    animation: slideDown 0.5s ease;
}

.close-button {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-duration);
}

.close-button:hover {
    color: var(--secondary-color);
}

.modal-content h2 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.modal-content p {
    font-size: 1rem;
    color: var(--subtext-color);
    margin-bottom: 1.5rem;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideDown {
    from {transform: translateY(-50px);}
    to {transform: translateY(0);}
}

/* Micro Animations */
.btn,
.nav-links a,
.external-links-list a,
.social-media a,
.instructor-card,
.feature,
.partner-logo img {
    transition: transform var(--transition-duration), background-color var(--transition-duration), color var(--transition-duration);
}

.btn:hover,
.nav-links a:hover,
.external-links-list a:hover,
.social-media a:hover,
.instructor-card:hover,
.feature:hover,
.partner-logo img:hover {
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--background-color);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .hero-section img {
        width: 100%;
        height: auto;
    }

    .external-links-list li {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .instructor-card img,
    .feature img {
        width: 200px;
        height: 200px;
    }

    .contact-section h2,
    .instructors-section h2,
    .partners-section h2,
    .innovation-section h2,
    .clientele-section h2,
    .external-links-section h2 {
        font-size: 1.5rem;
    }

    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }
}

textarea{
    resize: vertical;
}



.cookie {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 100;
    color: #000;
}

.cookie__wrap {
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0px 0px 30px 0px #000;
    padding: 2rem;
}

.cookie__text {
    margin: 0 0 2rem;
}

.cookie__title {
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 2.4rem;
    margin: 0 0 1rem;
}

.cookie__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .cookie__buttons {
        flex-direction: row;
    }
}

.cookie__buttons a,
.cookie__buttons button {
    color: #fff;
    background-color: #000;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    width: auto;
    border-radius: 5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    line-height: 1.2rem;
    display: block;
    transition: transform 0.3s;
}

body.pc .cookie__buttons a:focus,
body.pc .cookie__buttons a:hover,
body.mobile .cookie__buttons a:active,
body.pc .cookie__buttons button:focus,
body.pc .cookie__buttons button:hover,
body.mobile .cookie__buttons button:active {
    transform: scale(1.05);
}

.cookie__buttons a.other_back,
.cookie__buttons button.other_back {
    border: none;
    color: #fff;
    background-color: #000;
}