/* Variables */
:root {
    --primary-color: #1a237e; /* Deep Blue */
    --secondary-color: #000000; /* Black */
    --accent-color: #64b5f6; /* Light Blue */
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --max-width: 1280px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Thai', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-main {
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo img {
    width: 350px;
    height: 65px;
    object-fit: contain;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-main {
        padding: 10px 0;
    }

    .logo img {
        width: 220px; /* Slightly smaller on mobile */
        height: 44px;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        transition: all 0.4s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    /* Adjust container padding */
    .container {
        padding-bottom: 20px;
    }
}

/* Hero Section */
.hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.services-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.services-list span {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
}

/* Underline Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* Active Link Style */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Hover Scale Effect */
.nav-links a {
    transform: scale(1);
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Scroll Animation for Nav Links */
.nav-links a {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Blog, News, and Events Sections */
.blog, .news, .events {
    padding: 80px 0;
}

.blog h2, .news h2, .events h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* Blog Section Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.blog-date .month {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.blog-content {
    padding: 1.5rem;
}

.blog-tags {
    margin-bottom: 1rem;
}

.blog-tags span {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 8px;
    margin-bottom: 8px;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

.blog-content h3 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #333;
}

.blog-content p {
    margin: 0 0 1.5rem;
    color: #666;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        transform: translateX(10px);
        color: var(--primary-color);
    }

    .hero {
        padding: 180px 0 80px; /* Adjusted for mobile view */
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* News Section Styles */
.news {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid transparent;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.news-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.news-card:hover::before {
    opacity: 0.05;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 2;
}

.news-card:hover .news-date {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.news-date .day {
    font-size: 20px;
    font-weight: bold;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .news-date .day {
    transform: scale(1.1);
}

.news-content {
    position: relative;
    z-index: 1;
    padding: 25px;
    background: #fff;
    transition: transform 0.3s ease;
}

.news-card:hover .news-content {
    transform: translateY(-5px);
}

.news-tags {
    margin-bottom: 15px;
}

.news-tags span {
    display: inline-block;
    padding: 6px 12px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.news-card:hover .news-tags span {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.news-content h3 {
    margin: 10px 0;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
    color: var(--primary-color);
}

.news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.news-card:hover .news-content p {
    color: #444;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

.news-card:hover .read-more {
    color: var(--accent-color);
}

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

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news-card:hover .read-more i {
    transform: translateX(5px);
}

/* Scroll Animation for News Cards */
.news-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Staggered Animation Delays for News Cards */
.news-card:nth-child(1) { transition-delay: 0.1s; }
.news-card:nth-child(2) { transition-delay: 0.2s; }
.news-card:nth-child(3) { transition-delay: 0.3s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .news-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 18px;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 5px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background: #2196f3;
    color: #fff;
    border-color: #2196f3;
}

.pagination a.active {
    background: #2196f3;
    color: #fff;
    border-color: #2196f3;
}

.pagination .dots {
    color: #666;
}

.pagination .next {
    padding: 0 15px;
}

.pagination .next i {
    margin-left: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination a {
        min-width: 35px;
        height: 35px;
    }
}

/* Events Section Styles */
.events {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-date {
    background: #1a237e;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date .month {
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
}

.event-date .year {
    font-size: 1.1em;
    opacity: 0.8;
}

.event-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-tag {
    display: inline-block;
    padding: 5px 15px;
    background: #e3f2fd;
    color: #1a237e;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-details h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #333;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta i {
    color: #1a237e;
}

.event-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-register, .btn-details {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register {
    background: #1a237e;
    color: #ffffff;
}

.btn-register:hover {
    background: #283593;
}

.btn-details {
    background: #e3f2fd;
    color: #1a237e;
}

.btn-details:hover {
    background: #bbdefb;
}

/* Event Calendar Styles */
.event-calendar {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-calendar h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.calendar-month {
    text-align: center;
}

.calendar-month h4 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-date {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-date:hover {
    background: #e3f2fd;
    border-radius: 50%;
}

.calendar-date.has-event .event-dot {
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: #1a237e;
    border-radius: 50%;
}

.calendar-date.has-event:hover .event-dot {
    transform: scale(1.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .btn-register, .btn-details {
        text-align: center;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section Styles */
.pricing {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.pricing-card:hover::before {
    opacity: 0.05;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(to bottom, #fff, #f8f9fa);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.pricing-header {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-header {
    transform: translateY(-5px);
}

.price {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.pricing-card:hover .price {
    color: var(--accent-color);
}

.pricing-features {
    position: relative;
    z-index: 1;
    margin: 20px 0;
}

.pricing-features h4 {
    color: #333;
    margin: 15px 0 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.pricing-card:hover .pricing-features h4 {
    color: var(--primary-color);
}

.pricing-features li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.pricing-card:hover .pricing-features li {
    transform: translateX(5px);
    color: #333;
}

.pricing-features li i {
    color: #28a745;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.pricing-card:hover .pricing-features li i {
    transform: scale(1.2);
}

.btn-pricing {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 20px;
    overflow: hidden;
}

.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-pricing:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-pricing:hover::before {
    left: 100%;
}

/* Scroll Animation Styles */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Staggered Animation Delays */
.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }
.pricing-card:nth-child(4) { transition-delay: 0.4s; }
.pricing-card:nth-child(5) { transition-delay: 0.5s; }
.pricing-card:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
    
    .pricing-card.featured:hover {
        transform: scale(1.02) translateY(-10px);
    }
}

/* More Services Button Styles */
.more-services {
    text-align: center;
    margin-top: 50px;
}

.btn-more-services {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-more-services:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-more-services i {
    transition: transform 0.3s ease;
}

.btn-more-services:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-more-services {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-top: 100px; /* Consistent margin for all devices */
    position: relative;
    z-index: 999;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #dee2e6;
}

.breadcrumb-list li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.breadcrumb-list li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-list li span {
    color: #495057;
}

.breadcrumb-list li i {
    margin-right: 5px;
}

/* Responsive Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 100px; /* Same margin as desktop */
        padding: 10px 0;
    }
    
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .breadcrumb-list li:not(:last-child)::after {
        margin: 0 5px;
    }
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-main {
    padding-right: 30px;
}

.about-text {
    color: #444;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

.stat-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.stat-icon i {
    font-size: 24px;
    color: #4a90e2;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Features Section */
.about-features {
    margin-top: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.feature-item i {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-main {
        padding-right: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 20px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a237e;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #283593;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Section Description Styles */
.section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 1rem auto 2.5rem;
    padding: 0 1rem;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.section-description::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2196f3, #64b5f6);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

h2 + .section-description {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* Fix mobile overflow and improve mobile responsiveness */
@media (max-width: 600px) {
    html, body {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    .container {
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100vw;
    }
    .services-list {
        flex-direction: column;
        gap: 10px;
    }
    .pricing-grid, .blog-grid, .news-grid, .events-grid, .feature-grid, .stats-grid {
        grid-template-columns: 1fr !important;
        max-width: 100vw !important;
    }
    .about-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .about-main, .about-stats {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .pricing-card, .blog-card, .news-card, .event-card, .feature-item, .stat-box {
        max-width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
    img, video {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    /* Prevent horizontal scroll on all sections */
    section, header, footer, nav, main, aside, article, div {
        max-width: 100vw;
        min-width: 0;
        box-sizing: border-box;
    }
}