/* ======= GURUSINERGI BLUE THEME ======= */

:root {
    /* Warna utama - Nuansa Biru */
    --primary-color: #1E88E5; /* Biru yang lebih cerah */
    --primary-dark: #1565C0;
    --primary-light: #64B5F6;
    --primary-very-light: rgba(30, 136, 229, 0.1);
    --secondary-color: #00ACC1; /* Cyan untuk aksen */
    --accent-color: #FF9800; /* Oranye untuk CTA */
    
    /* Warna untuk peran premium */
    --teacher-premium: #1E88E5;
    --principal-premium: #00ACC1;
    
    /* Warna netral */
    --dark: #263238;
    --gray-dark: #455A64;
    --gray: #90A4AE;
    --gray-light: #ECEFF1;
    --light: #F5F7F8;
    
    /* Shadows dan elevasi */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Gradasi */
    --gradient-primary: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    --gradient-secondary: linear-gradient(135deg, #00ACC1 0%, #00838F 100%);
}

/* ======= GENERAL STYLING ======= */
body {
    background-color: var(--light);
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.2rem;
    font-size: 2.2rem;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto 40px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ======= HEADER ======= */
.site-header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo img {
    height: 40px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-left: 10px;
}

.nav-link {
    color: var(--gray-dark);
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link.active:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-premium {
    background: var(--gradient-secondary);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 172, 193, 0.3);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 172, 193, 0.4);
}

/* ======= HERO SECTION ======= */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, #F5F7F8, white);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ======= FEATURES SECTION ======= */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.premium-feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-secondary);
}

.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-very-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-description {
    color: var(--gray-dark);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.feature-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

.feature-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.35);
}

.premium-button {
    background: var(--gradient-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 172, 193, 0.25);
}

.premium-button:hover {
    background: var(--secondary-color);
    box-shadow: 0 6px 16px rgba(0, 172, 193, 0.35);
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
}

.testimonial-slider {
    margin: 0 auto;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    display: flex;
    transition: transform 0.3s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--gray-light);
}

.testimonial-content::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
    z-index: -1;
    border-right: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 0;
    position: relative;
}

.testimonial-text:before {
    content: "\201C";
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-very-light);
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.author-info {
    margin-left: 15px;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.author-title {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ======= CTA SECTION ======= */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 50m-40 0a40 40 0 1 0 80 0a40 40 0 1 0 -80 0" stroke="rgba(255,255,255,0.1)" stroke-width="10" fill="none"/></svg>');
    background-size: 200px 200px;
    opacity: 0.3;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
    background-color: var(--gray-light);
    color: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ======= FOOTER ======= */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-logo img {
    height: 40px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    margin-right: 12px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 1.5px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-light);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* ======= RESPONSIVENESS ======= */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 767px) {
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ======= ANIMATION EFFECTS ======= */
.fadeIn {
    animation: fadeIn 0.8s ease-in-out;
}

.slideInUp {
    animation: slideInUp 0.8s ease-in-out;
}

.slideInLeft {
    animation: slideInLeft 0.8s ease-in-out;
}

.slideInRight {
    animation: slideInRight 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}