/* Root Variables - 5 Primary Colors */
:root {
    --primary-color: #2c5282;
    --primary-light: #4a7cbb;
    --primary-dark: #1a365d;
    --secondary-color: #38a169;
    --secondary-light: #68d391;
    --secondary-dark: #276749;
    --accent-color: #ed8936;
    --accent-light: #f6ad55;
    --accent-dark: #c05621;
    --neutral-color: #718096;
    --neutral-light: #a0aec0;
    --neutral-dark: #4a5568;
    --success-color: #48bb78;
    --success-light: #9ae6b4;
    --success-dark: #2f855a;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --white: #ffffff;
    --black: #000000;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.hero-section h1 {
    color: var(--white);
}

.hero-section h2 {
    color: var(--neutral-light);
}

.hero-section p {
    color: var(--white);
    opacity: 0.9;
}

.hero-section img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(237, 137, 54, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Cards */
.feature-card, .service-card, .price-card, .case-card, .career-card, 
.review-card, .info-card, .module-card, .worksheet-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover, .service-card:hover, .price-card:hover, 
.case-card:hover, .career-card:hover, .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.service-card img {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Price Cards */
.price-card {
    border: 2px solid transparent;
}

.price-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, rgba(237, 137, 54, 0.05), transparent);
}

/* Team Section */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Testimonials Slider */
.testimonials-slider {
    padding: 2rem 0;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    padding: 2rem;
    border-left: 3px solid var(--primary-color);
    position: relative;
    margin-bottom: 2rem;
}

.timeline-date {
    position: absolute;
    left: -80px;
    top: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Contact Form */
.contact-form .form-control,
.contact-form .form-select {
    border-radius: 6px;
    border: 1px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 82, 130, 0.25);
}

/* Gallery */
#gallery img {
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Footer */
footer {
    background: var(--bg-dark) !important;
    color: var(--white);
}

footer h4, footer h5 {
    color: var(--white);
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-light) !important;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 1rem 0;
}

.breadcrumb-img {
    height: 30px;
    width: auto;
}

/* Space Page */
#space {
    min-height: 60vh;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Gradients and Shapes */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

/* Shadows */
.shadow-sm { box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important; }
.shadow { box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important; }
.shadow-lg { box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important; }

/* Additional Styling */
.metric-box {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.partner-card img {
    max-height: 100px;
    width: auto;
}

.forum-topic {
    background: var(--white);
    transition: all 0.3s ease;
}

.forum-topic:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 