/* 
 * Advisory Group - Custom Styles
 * Design: Modern, Responsive, Green-White Theme
 * Font: Poppins (300, 400, 600)
 */

/* ===========================
   Global Styles
   =========================== */
:root {
    --primary-green: #28a745;
    --primary-green-hover: #218838;
    --dark-green: #1e7e34;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 1200px;
}

/* ===========================
   Header & Navigation
   =========================== */
.header-nav {
    padding: 1rem 0;
}

.navbar-brand .brand-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-green);
}

.navbar-nav .nav-link {
    font-weight: 400;
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-green);
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    border-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    border-color: var(--primary-green);
    color: var(--primary-green);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.rounded-custom {
    border-radius: 12px;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--medium-gray);
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 16px;
    font-weight: 300;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* ===========================
   Content Section
   =========================== */
.content-section {
    padding: 80px 0;
}

.content-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ===========================
   Statistics Section
   =========================== */
.stats-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--medium-gray);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
}

.cta-title {
    font-size: 36px;
    font-weight: 600;
}

.cta-text {
    font-size: 18px;
    font-weight: 300;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
}

.footer-brand {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-green);
}

.footer-tagline {
    font-size: 16px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   Cookie Banner
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 0;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-text {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-accept {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-accept:hover {
    background-color: var(--primary-green-hover);
}

.btn-learn-more {
    background-color: transparent;
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* ===========================
   Course Cards
   =========================== */
.course-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-card-body {
    padding: 1.5rem;
}

.course-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.course-description {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

/* ===========================
   Blog Cards
   =========================== */
.blog-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.blog-date {
    font-size: 13px;
    color: var(--medium-gray);
    font-weight: 300;
}

/* ===========================
   Blog Article
   =========================== */
.article-header {
    padding: 80px 0 40px;
    background-color: var(--light-gray);
}

.article-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.article-content {
    padding: 60px 0;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.article-content img {
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.contact-info-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--primary-green);
    font-size: 20px;
    margin-right: 1rem;
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-gray);
    background-color: var(--white);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-gray);
    color: var(--primary-green);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-green);
}

.accordion-body {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ===========================
   Team Section
   =========================== */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.team-member-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-member-bio {
    font-size: 14px;
    color: var(--medium-gray);
}

/* ===========================
   Values Section
   =========================== */
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 14px;
    color: var(--medium-gray);
}

/* ===========================
   Legal Pages
   =========================== */
.legal-content {
    padding: 80px 0;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 22px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .article-title {
        font-size: 32px;
    }
    
    .features-section,
    .content-section,
    .stats-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-buttons {
        margin-top: 1rem;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}