/* ============================== 
   Root Variables and Base Styles
   ============================== */
:root {
    /* Triadic color scheme with primary color blue */
    --primary-color: #3a86ff;
    --primary-light: #5e9bff;
    --primary-dark: #2e6ddb;
    
    /* Triadic second color */
    --secondary-color: #ff3a86;
    --secondary-light: #ff5e9b;
    --secondary-dark: #db2e6d;
    
    /* Triadic third color */
    --tertiary-color: #86ff3a;
    --tertiary-light: #9bff5e;
    --tertiary-dark: #6ddb2e;
    
    /* Neutral colors */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #495057;
    
    /* Shadows for neuromorphic design */
    --neuro-shadow-light: 8px 8px 16px rgba(200, 200, 200, 0.4);
    --neuro-shadow-dark: -8px -8px 16px rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    
    /* Border radius */
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Transitions */
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.15s ease;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
}

/* ============================== 
   Typography
   ============================== */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 2rem;
    border-radius: var(--border-radius);
}

/* ============================== 
   Layout & Sections
   ============================== */
.section-padding {
    padding: 5rem 0;
}

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

.bg-dark {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* ============================== 
   Buttons
   ============================== */
.btn, 
button, 
input[type='submit'] {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    box-shadow: var(--neuro-shadow-light);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:hover, 
button:hover, 
input[type='submit']:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn:active, 
button:active, 
input[type='submit']:active {
    transform: translateY(1px);
    box-shadow: var(--neuro-shadow-dark);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================== 
   Header & Navigation
   ============================== */
.header-section {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-medium);
    background-color: rgba(0, 0, 0, 0.8);
}

.header-section.scrolled {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--secondary-light) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================== 
   Hero Section
   ============================== */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--light-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--light-color);
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    margin-top: 2rem;
}

/* ============================== 
   Vision Section
   ============================== */
.vision-section {
    position: relative;
    overflow: hidden;
}

.vision-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.vision-image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-medium);
}

.vision-image-container:hover {
    transform: scale(1.02);
}

.vision-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.vision-card .card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.vision-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.vision-card:hover .card-image img {
    transform: scale(1.05);
}

.vision-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================== 
   Resources Section
   ============================== */
.resources-section {
    background-color: var(--light-color);
}

.resource-card {
    background-color: white;
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.resource-card .card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.resource-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.resource-card:hover .card-image img {
    transform: scale(1.05);
}

.resource-card .card-content {
    padding: 1.5rem;
    flex: 1;
    text-align: center;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.resource-features {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.resource-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--gray-light);
}

.resource-features li:last-child {
    border-bottom: none;
}

.timeline-container {
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.external-resources {
    margin-top: 3rem;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-item {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--neuro-shadow-light), var(--neuro-shadow-dark);
    transition: transform var(--transition-medium);
    text-align: center;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-item a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.resource-item a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-medium);
}

.resource-item a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ============================== 
   Sustainability Section
   ============================== */
.sustainability-section {
    position: relative;
    overflow: hidden;
}

.sustainability-content h3 {
    color: var(--tertiary-dark);
    margin-bottom: 1.5rem;
}

.image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-medium);
}

.image-container:hover {
    transform: scale(1.02);
}

.image-container img {
    width: 100%;
    height: auto;
}

.sustainability-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sustainability-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.sustainability-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.sustainability-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.sustainability-card:hover .card-image img {
    transform: scale(1.05);
}

.sustainability-card .card-content {
    padding: 1.5rem;
    flex: 1;
    text-align: center;
}

.sustainability-card h4 {
    color: var(--tertiary-dark);
    margin-bottom: 1rem;
}

/* ============================== 
   Blog Section
   ============================== */
.blog-section {
    background-color: var(--light-color);
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.blog-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.blog-card .card-content {
    padding: 1.5rem;
    flex: 1;
    text-align: center;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    position: relative;
    text-decoration: none;
    transition: all var(--transition-medium);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover::after {
    width: 100%;
}

/* ============================== 
   Community Section
   ============================== */
.community-section {
    position: relative;
    overflow: hidden;
}

.community-content h3 {
    color: var(--secondary-dark);
    margin-bottom: 1.5rem;
}

.community-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--neuro-shadow-light);
    transition: all var(--transition-medium);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.benefit-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.community-slider-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.custom-slider {
    position: relative;
}

.slide {
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.slider-controls {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-medium);
}

.slider-controls button:hover {
    background-color: white;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    margin: 0;
    color: var(--dark-color);
}

.testimonial-author p {
    margin: 0;
    color: var(--gray-color);
}

/* ============================== 
   Contact Section
   ============================== */
.contact-section {
    position: relative;
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-item h5 {
    margin: 0 0 0.5rem;
    color: var(--dark-color);
}

.detail-item p {
    margin: 0;
    color: var(--gray-color);
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

.contact-form .form-control {
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--neuro-shadow-light);
    transition: all var(--transition-medium);
}

.contact-form .form-control:focus {
    box-shadow: var(--hover-shadow);
    outline: none;
}

.map-container {
    margin-top: 3rem;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: var(--border-radius);
}

/* ============================== 
   Footer
   ============================== */
.footer-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 5rem 0 2rem;
}

.footer-about h4,
.footer-links h4,
.footer-newsletter h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-about h4::after,
.footer-links h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
    padding: 0.5rem 0;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium);
}

.social-links a:hover {
    color: var(--primary-light);
}

.social-links a:hover::after {
    width: 100%;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
    padding: 0.25rem 0;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-newsletter form {
    display: flex;
    margin-top: 1.5rem;
}

.footer-newsletter input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--light-color);
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: background-color var(--transition-medium);
}

.footer-newsletter button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    margin: 0;
    color: var(--gray-color);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color var(--transition-medium);
}

.legal-links a:hover {
    color: var(--light-color);
}

/* ============================== 
   Success Page
   ============================== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-color: var(--light-color);
}

.success-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.success-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--tertiary-color));
}

.success-icon {
    font-size: 3rem;
    color: var(--tertiary-dark);
    margin-bottom: 1.5rem;
}

/* ============================== 
   Privacy and Terms Pages
   ============================== */
.privacy-page, .terms-page {
    padding-top: 100px;
    padding-bottom: 3rem;
}

.privacy-content, .terms-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--card-shadow);
}

.privacy-content h2, .terms-content h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
}

.privacy-content h2::after, .terms-content h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
}

.privacy-content h3, .terms-content h3 {
    color: var(--secondary-dark);
    margin: 2rem 0 1rem;
}

/* ============================== 
   About Page
   ============================== */
.about-page {
    padding-top: 100px;
    padding-bottom: 3rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

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

.team-member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member-info h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.team-member-info p.position {
    color: var(--gray-color);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ============================== 
   Media Queries
   ============================== */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 5rem;
        padding-right: 1rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 1rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input,
    .footer-newsletter button {
        border-radius: var(--border-radius);
    }
    
    .footer-newsletter button {
        margin-top: 0.5rem;
    }
}

/* ============================== 
   Animation effects
   ============================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
        /*opacity: 0;*/
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(58, 134, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
    }
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}