/* ===== SUSTAINABLE URBAN PLANNING COURSE - MAIN CSS ===== */
/* Color Palette - High Contrast Pastel Colors */
:root {
    --primary-1: #2E8B57;        /* Sea Green */
    --primary-1-light: #8FBC8F;  /* Dark Sea Green */
    --primary-1-dark: #1B5A3E;   /* Dark Sea Green */
    
    --primary-2: #4169E1;        /* Royal Blue */
    --primary-2-light: #87CEEB;  /* Sky Blue */
    --primary-2-dark: #1E3A8A;   /* Dark Blue */
    
    --primary-3: #FF6B6B;        /* Coral */
    --primary-3-light: #FFB3B3;  /* Light Coral */
    --primary-3-dark: #CC4444;   /* Dark Coral */
    
    --primary-4: #FFD700;        /* Gold */
    --primary-4-light: #FFEB99;  /* Light Gold */
    --primary-4-dark: #B8860B;   /* Dark Gold */
    
    --primary-5: #9370DB;        /* Medium Orchid */
    --primary-5-light: #DDA0DD;  /* Plum */
    --primary-5-dark: #663399;   /* Dark Orchid */
    
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    --gradient-secondary: linear-gradient(135deg, var(--primary-3), var(--primary-4));
    --gradient-accent: linear-gradient(135deg, var(--primary-5), var(--primary-1));
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 15px rgba(0, 0, 0, 0.1);
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px; /* Conservative base font size */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    font-size: 1rem;
}

/* ===== REDUCED MOTION PREFERENCE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

h1 {
    font-size: 2.5rem; /* Conservative size */
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem; /* Conservative paragraph size */
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem !important; /* Conservative navbar brand size */
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-4-light) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.webp') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== DECORATIVE SHAPES ===== */
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-1);
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
    text-align: center;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--medium-gray);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-header {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 1.5rem;
    text-align: center;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-1);
}

.card-text {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* ===== SERVICES SECTION ===== */
.services-card {
    background: var(--white);
    border: 2px solid var(--primary-1-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.services-card:hover {
    border-color: var(--primary-1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.services-icon {
    font-size: 3rem;
    color: var(--primary-1);
    margin-bottom: 1.5rem;
}

.services-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-1);
    margin-bottom: 1rem;
}

.services-desc {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.services-features {
    list-style: none;
    margin-bottom: 2rem;
}

.services-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.services-features li:last-child {
    border-bottom: none;
}

.services-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-3);
    margin-bottom: 1rem;
}

/* ===== FEATURES SECTION ===== */
.features-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.features-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.features-icon {
    font-size: 3rem;
    color: var(--primary-2);
    margin-bottom: 1.5rem;
}

.features-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 1rem;
}

.features-desc {
    color: var(--medium-gray);
}

/* ===== PRICE PLAN SECTION ===== */
.priceplan-card {
    background: var(--white);
    border: 2px solid var(--primary-4-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.priceplan-card:hover {
    border-color: var(--primary-4);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.priceplan-card.featured {
    border-color: var(--primary-3);
    background: var(--gradient-secondary);
    color: var(--white);
}

.priceplan-card.featured .priceplan-name,
.priceplan-card.featured .priceplan-price {
    color: var(--white);
}

.priceplan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-4);
    margin-bottom: 1rem;
}

.priceplan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-3);
    margin-bottom: 1rem;
}

.priceplan-desc {
    margin-bottom: 2rem;
}

.priceplan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.priceplan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.priceplan-features li:last-child {
    border-bottom: none;
}

/* ===== TEAM SECTION ===== */
.team-member {
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--gradient-accent);
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-1);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-card {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-1);
    font-size: 1.1rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-1);
    line-height: 1;
}

.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-1);
    line-height: 1;
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background: var(--white);
    border: 1px solid var(--primary-1-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--primary-1-light);
    color: var(--dark-gray);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-1);
    color: var(--white);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--medium-gray);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3rem;
}

.contact-info {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    height: fit-content;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-1);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-1);
    margin-right: 1rem;
    width: 20px;
}

.contact-item p {
    margin: 0;
    color: var(--medium-gray);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--primary-1);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--primary-1-light);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-1);
    box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
}

.form-control::placeholder {
    color: var(--medium-gray);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-4-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-container {
    background: var(--light-gray);
    padding: 1rem 0;
}

.breadcrumb-img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== BLOG SECTION ===== */
.blog-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.blog-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-1);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--primary-2);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary-2-dark);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: none;
}

.back-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
}

.back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.3);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-gray);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.cookie-banner .btn {
    margin-left: 1rem;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-1);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1002;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
    color: var(--white);
}

/* ===== UTILITIES ===== */
.text-primary {
    color: var(--primary-1) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .services-card,
    .features-item,
    .priceplan-card {
        padding: 1.5rem;
    }
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
