/* Import Google Fonts for Better Typography */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

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

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #2C3E50;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    padding-top: 90px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - 保持原本配色,優化視覺效果 */
header {
    background: linear-gradient(135deg, #7A9BD1 0%, #8FA8DB 50%, #A4B5E5 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1.1rem 0;
    box-shadow: 0 4px 20px rgba(143, 168, 219, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.logo {
    font-size: 1.85rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    letter-spacing: -0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.8rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.65rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after,
nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

nav a:hover,
nav a.active {
    background: rgba(123, 104, 179, 0.35);
    transform: translateY(-2px);
}

/* Page content styling */
.page {
    display: none;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page.active {
    display: block;
}

/* Hero Section - 更細膩的漸層 */
.hero {
    background: linear-gradient(135deg, rgba(122, 155, 209, 0.9) 0%, rgba(143, 168, 219, 0.85) 50%, rgba(164, 181, 229, 0.8) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect width="1200" height="800" fill="%23F8F9FA"/><circle cx="200" cy="200" r="100" fill="%238FA8DB" opacity="0.4"/><circle cx="1000" cy="600" r="150" fill="%237A9BD1" opacity="0.4"/><circle cx="600" cy="400" r="120" fill="%23A4B5E5" opacity="0.4"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(164, 181, 229, 0.2) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8FA8DB 0%, #A4B5E5 50%, #7A9BD1 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(143, 168, 219, 0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 104, 179, 0.5);
    background: linear-gradient(135deg, #7B68B3 0%, #8FA8DB 50%, #A4B5E5 100%);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0D2947;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #7A9BD1 0%, #7B68B3 30%, #8FA8DB 70%, #A4B5E5 100%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* 產品服務卡片樣式 */
.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(164, 181, 229, 0.05) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(143, 168, 219, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #A4B5E5;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(143, 168, 219, 0.2);
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(143, 168, 219, 0.1) 100%);
    border-color: #7B68B3;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #0D2947;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0D2947;
}

.feature-card p {
    color: #0D2947;
    line-height: 1.7;
    opacity: 1;
}

/* 產品圖片樣式 */
.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(143, 168, 219, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(123, 104, 179, 0.25);
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, rgba(164, 181, 229, 0.1) 0%, rgba(143, 168, 219, 0.05) 50%, #F8F9FA 100%);
    padding: 4rem 0;
    text-align: center;
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(143, 168, 219, 0.1);
    transition: transform 0.3s ease;
    border-top: 3px solid #8FA8DB;
}

.trust-badge:hover {
    transform: scale(1.05);
    border-top-color: #7B68B3;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #FFFFFF 0%, rgba(164, 181, 229, 0.03) 100%);
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.about-text h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #0D2947;
    font-size: 1.5rem;
    font-weight: 700;
}

.about-text h3:nth-of-type(1) {
    margin-top: 0;
}

.about-text h3:nth-of-type(2) {
    color: #7B68B3;
}

.about-text p {
    line-height: 1.7;
    color: #2c3e50ee;
    opacity: 1.0;
    margin-bottom: 0.5rem;
}

/* 客戶評價頁面專用樣式 */
.credit-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.credit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="30" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Facebook 評價區塊樣式 */
.facebook-reviews {
    margin-top: 2rem;
}

.facebook-placeholder {
    background: linear-gradient(135deg, #4267B2, #365899);
    border-radius: 15px;
    padding: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(66, 103, 178, 0.3);
}

.facebook-placeholder h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.facebook-placeholder p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: white;
}

/* 統計數據區塊 */
.review-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    color: #3c62b0;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    color: #000000;
    margin-top: 0.5rem;
}

/* Facebook 連結按鈕 */
.facebook-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #4267B2;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(66, 103, 178, 0.3);
}

.facebook-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.4);
    background: linear-gradient(135deg, #8FA8DB, #8FA8DB);
}

/* 客戶見證區塊 */
.testimonial-section {
    background: white;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #4267B2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2C3E50;
}

.testimonial-author {
    font-weight: bold;
    color: #4267B2;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Branches Section */
.branches-section {
    background: linear-gradient(135deg, rgba(164, 181, 229, 0.08) 0%, rgba(143, 168, 219, 0.05) 50%, #F8F9FA 100%);
    padding: 5rem 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* 分店卡片樣式 */
.branch-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(143, 168, 219, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #8FA8DB;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(143, 168, 219, 0.2);
    border-top-color: #7B68B3;
}

.branch-card h3 {
    color: #0D2947;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #A4B5E5;
}

.branch-info p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #2C3E50;
    opacity: 0.8;
}

.branch-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    background: linear-gradient(135deg, #8FA8DB 0%, #A4B5E5 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 3px 10px rgba(143, 168, 219, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 104, 179, 0.4);
    background: linear-gradient(135deg, #7B68B3 0%, #8FA8DB 100%);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #7A9BD1 0%, #8FA8DB 50%, #A4B5E5 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-left-color: #7B68B3;
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #7A9BD1 0%, rgba(122, 155, 209, 0.95) 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional utility classes */
.text-primary {
    color: #0D2947;
}

.text-secondary {
    color: #7A9BD1;
}

.text-light {
    color: #A4B5E5;
}

.text-purple {
    color: #7B68B3;
}

.bg-primary {
    background: #8FA8DB;
}

.bg-secondary {
    background: #7A9BD1;
}

.bg-light {
    background: #A4B5E5;
}

.bg-purple {
    background: #7B68B3;
}

.gradient-primary {
    background: linear-gradient(135deg, #7A9BD1 0%, #8FA8DB 50%, #A4B5E5 100%);
}

.gradient-reverse {
    background: linear-gradient(135deg, #A4B5E5 0%, #8FA8DB 50%, #7A9BD1 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #7B68B3 0%, #8FA8DB 50%, #A4B5E5 100%);
}

/* Feature Card Updates */
.feature-content {
    padding: 5px;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.feature-content h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #0D2947;
    font-size: 1.4rem;
    font-weight: bold;
}

.feature-content h3:nth-of-type(1) {
    margin-top: 0;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50ee;
    opacity: 1.0;
    margin-bottom: 0.5rem;
}

/* Photo Carousel */
.photo-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
}

.photo-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.photo-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-sizing: border-box;
}

.photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 10px;
}

.nav-button.next {
    right: 10px;
}

/* Utility Classes */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.text-white {
    color: white !important;
}

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

.text-lg {
    font-size: 1.2rem;
}

.no-decoration {
    text-decoration: none;
}

.flex-center {
    display: flex;
    justify-content: center;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(143, 168, 219, 0.3);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Trust Section */
.trust-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.trust-link {
    color: #2c3e50;
    text-decoration: none;
}

/* Facebook Section */
.facebook-header-style {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
    border-top: 4px solid #4267B2;
}

.facebook-title {
    margin-bottom: 0.5rem;
    color: #4267B2;
    font-size: 1.5rem;
}

.facebook-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.facebook-content-style {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facebook-iframe {
    border: none;
    overflow: hidden;
    max-width: 100%;
}

.facebook-btn-custom {
    display: inline-block;
    width: auto;
    padding: 0.5rem 5.0rem;
}

/* Features Grid - Adjusted for mobile */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Branches Grid - Adjusted for mobile */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Contact Info Grid */
.contact-info {
    display: grid;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
}

.photo-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.photo-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-sizing: border-box;
}

.photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 10px;
}

.nav-button.next {
    right: 10px;
}

/* Utility Classes */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.text-white {
    color: white !important;
}

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

.text-lg {
    font-size: 1.2rem;
}

.no-decoration {
    text-decoration: none;
}

.flex-center {
    display: flex;
    justify-content: center;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(143, 168, 219, 0.3);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Trust Section */
.trust-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.trust-link {
    color: #2c3e50;
    text-decoration: none;
}

/* Facebook Section */
.facebook-header-style {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
    border-top: 4px solid #4267B2;
}

.facebook-title {
    margin-bottom: 0.5rem;
    color: #4267B2;
    font-size: 1.5rem;
}

.facebook-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.facebook-content-style {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facebook-iframe {
    border: none;
    overflow: hidden;
    max-width: 100%;
}

.facebook-btn-custom {
    display: inline-block;
    width: auto;
    padding: 0.5rem 5.0rem;
}

/* Features Grid - Adjusted for mobile */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Branches Grid - Adjusted for mobile */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Contact Info Grid */
.contact-info {
    display: grid;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
}

.photo-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.photo-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-sizing: border-box;
}

.photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 10px;
}

.nav-button.next {
    right: 10px;
}

/* Utility Classes */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.text-white {
    color: white !important;
}

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

.text-lg {
    font-size: 1.2rem;
}

.no-decoration {
    text-decoration: none;
}

.flex-center {
    display: flex;
    justify-content: center;
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(143, 168, 219, 0.3);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Trust Section */
.trust-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.trust-link {
    color: #2c3e50;
    text-decoration: none;
}

/* Facebook Section */
.facebook-header-style {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
    border-top: 4px solid #4267B2;
}

.facebook-title {
    margin-bottom: 0.5rem;
    color: #4267B2;
    font-size: 1.5rem;
}

.facebook-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.facebook-content-style {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facebook-iframe {
    border: none;
    overflow: hidden;
    max-width: 100%;
}

.facebook-btn-custom {
    display: inline-block;
    width: auto;
    padding: 0.5rem 5.0rem;
}

/* Features Grid - Adjusted for mobile */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Branches Grid - Adjusted for mobile */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Contact Info Grid */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.0rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    /* Mobile Menu Styles */
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(122, 155, 209, 0.95);
        padding: 1rem 0;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* Contact Section Global */
.contact-section-global {
    background: linear-gradient(135deg, #7A9BD1 0%, #8FA8DB 50%, #A4B5E5 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    width: 100%;
}
