/* Calquion.com - Main Stylesheet */
/* Data and Numbers Training Website */

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

body {
    font-family: 'Open Sans', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Color Variables */
:root {
    --primary-teal: #008080;
    --dark-teal: #006666;
    --light-teal: #4db6ac;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #999;
    --dark-gray: #333;
    --text-gray: #666;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

/* Header Styles */
.header {
    background-color: var(--dark-teal);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--light-teal);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--dark-teal);
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button {
    background-color: var(--white);
    color: var(--dark-teal);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
}

/* Hero Section */
.hero {
    background-color: var(--primary-teal);
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .cta-button {
    background-color: var(--white);
    color: var(--primary-teal);
    margin-right: 1rem;
}

.hero .cta-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-white {
    background-color: var(--white);
}

.section-teal {
    background-color: var(--primary-teal);
    color: var(--white);
}

.section-gray {
    background-color: var(--light-gray);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.section-teal .section-title h2,
.section-teal .section-title p {
    color: var(--white);
}

.section-teal p {
    color: var(--white);
}

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

.course-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.course-content {
    padding: 2rem;
}

.course-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.course-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.course-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: var(--dark-teal);
}

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.process-step h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-gray);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-column img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

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

.submit-btn {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-teal);
}

/* Contact Info */
.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-items-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex: 1;
    min-width: 200px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    background-color: var(--light-teal);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    margin-top: 2px;
    color: var(--white);
    font-size: 12px;
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: var(--dark-teal);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
    padding: 0.2rem 0;
}

.footer-section ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 2px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    background-color: var(--light-gray);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-gray);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--medium-gray);
}

.faq-answer {
    padding: 1rem;
    color: var(--text-gray);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .cta-button {
        display: block;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .hero .cta-button {
        margin: 0.5rem;
        display: inline-block;
    }
    
    .contact-items-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item {
        min-width: auto;
    }
    
    /* Fix list markers on mobile */
    ul {
        padding-left: 1.5rem;
        margin-left: 0;
    }
    
    ul li {
        margin-bottom: 0.5rem;
        padding-left: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .course-card {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .hero .cta-button {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
}

/* Extra small screens (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .course-card {
        padding: 1rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    /* Additional list fixes for very small screens */
    ul {
        padding-left: 1rem;
    }
    
    ul li {
        padding-left: 0.25rem;
        font-size: 0.9rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-teal);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--white);
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 80px;
}

.cookie-accept {
    background: var(--white);
    color: var(--dark-teal);
}

.cookie-accept:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.cookie-decline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Mobile styles for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-text h4 {
        font-size: 1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}
