:root {
    --primary-color: #2E8B57;
    --primary-light: #90EE90;
    --primary-dark: #006400;
    --secondary-color: #FFE4B5;
    --secondary-light: #FFF8DC;
    --secondary-dark: #DEB887;
    --accent-color: #FF6347;
    --accent-light: #FFA07A;
    --accent-dark: #DC143C;
    --neutral-color: #F5F5F5;
    --neutral-light: #FFFFFF;
    --neutral-dark: #2F2F2F;
    --text-color: #333333;
    --text-muted: #6C757D;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(100px, -100px);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Feature Cards */
.feature-card {
    background: var(--neutral-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--secondary-light);
    transform: translateY(-5px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Team Section */
.team-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
}

/* Price Plan Cards */
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* FAQ Cards */
#faq .card {
    border-left: 4px solid var(--primary-color);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Contact Form */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--neutral-color);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
}

/* Footer - High Contrast Design */
#footer {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

/* Footer Typography */
#footer h5, #footer h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#footer p {
    color: #f0f0f0 !important;
    line-height: 1.8 !important;
}

#footer small {
    color: #e0e0e0 !important;
}

#footer .text-white-50 {
    color: #f0f0f0 !important;
}

/* Footer Links */
#footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

#footer a:hover, 
#footer a:focus {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

/* Footer Lists */
#footer ul {
    margin-bottom: 1.5rem !important;
}

#footer li {
    margin-bottom: 0.75rem !important;
}

/* Footer Focus States */
#footer a:focus {
    outline: 2px solid #93c5fd !important;
    outline-offset: 2px !important;
    border-radius: 3px !important;
}

/* Footer Copyright Section */
#footer hr {
    border-color: #444444 !important;
    opacity: 0.6 !important;
}

/* Footer Contact Information Enhancement */
#footer .contact-info {
    background: transparent !important;
    color: #ffffff !important;
}

#footer .contact-info p,
#footer .contact-info small {
    color: #ffffff !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-color);
}

.display-4 {
    font-size: 2.5rem;
}

.h2 {
    font-size: 2rem;
}

.h4 {
    font-size: 1.25rem;
}

.h5 {
    font-size: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color);
}

.text-muted {
    color: var(--text-muted);
}

/* Background Colors */
.bg-light {
    background-color: var(--secondary-light);
}

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Spacing */
.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Fixed Header Offset */
body {
    padding-top: 76px;
}

.navbar {
    min-height: 76px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Star Ratings */
.text-warning {
    color: #ffc107;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Border Utilities */
.border-primary {
    border-color: var(--primary-color);
}

.border-0 {
    border: 0;
}

/* Badge Styles */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.bg-primary {
    background-color: var(--primary-color);
}

/* List Styles */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Image Styles */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-3 {
    border-radius: 0.5rem;
}

.rounded-circle {
    border-radius: 50%;
}

/* Position Utilities */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* Display Utilities */
.d-none {
    display: none;
}

.d-flex {
    display: flex;
}

/* Flex Utilities */
.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.fw-bold {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

/* Margin and Padding Utilities */
.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.ms-auto {
    margin-left: auto;
}

.me-2 {
    margin-right: 0.5rem;
}

.p-4 {
    padding: 1.5rem;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

/* High Contrast Media Queries */
@media (prefers-contrast: high) {
    #footer {
        background: #000000 !important;
        color: #ffffff !important;
    }
    
    #footer a {
        color: #ffffff !important;
        text-decoration: underline !important;
    }
    
    #footer a:hover {
        color: #ffffff !important;
        background: #333333 !important;
    }
}

/* Force Footer Visibility */
#footer * {
    opacity: 1 !important;
    visibility: visible !important;
}
