/* CSS Variables - Color Palette */
:root {
    --primary-green: #3a9d45;
    --primary-green-light: #64af61;
    --primary-green-dark: #237d2e;
    
    --secondary-orange: #fc7619;
    --secondary-orange-light: #f1a353;
    --secondary-orange-dark: #ff6c00;
    
    --accent-blue: #0b7bff;
    --accent-blue-light: #60a4df;
    --accent-blue-dark: #097bbe;
    
    --neutral-beige: #efeee6;
    --neutral-beige-light: #FAFAFA;
    --neutral-beige-dark: #f9f9f9;
    
    --highlight-purple: #9a18b4;
    --highlight-purple-light: #cd92d8;
    --highlight-purple-dark: #802598;
    
    --text-dark: #3f3f3f;
    --text-light: #535353;
    --text-white: #FFFFFF;
    --background-light: #FAFAFA;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    font-size: 16px;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.54rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--primary-green-dark);
}

h3 {
    font-size: 1.60rem;
    color: var(--secondary-orange);
}

h4 {
    font-size: 1.38rem;
    color: var(--accent-blue-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

/* Header Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    box-shadow: 0 8px 13px var(--shadow-light);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.56rem !important;
    font-weight: bold;
    color: var(--text-white) !important;
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--neutral-beige) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--secondary-orange-light) !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-green-light), var(--secondary-orange-light));
    color: var(--text-white);
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.30rem;
    color: var(--neutral-beige);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 14px 30px var(--shadow-light);
    max-width: 100%;
    height: auto;
    width: 500px;
    height: 400px;
    object-fit: cover;
}

/* Section Styles */
.about-section,
.services-section,
.features-section,
.priceplan-section,
.team-section,
.reviews-section,
.casestudy-section,
.process-section,
.timeline-section,
.career-section,
.coreinfo-section,
.contact-section,
.blog-section,
.faq-section,
.gallery-section,
.page-section {
    padding: 5rem 0;
}

.about-section:nth-child(even),
.services-section:nth-child(even),
.features-section:nth-child(even),
.page-section:nth-child(even) {
    background-color: var(--neutral-beige-light);
}

/* Feature Cards */
.feature-card,
.service-card,
.feature-item,
.price-card,
.team-member,
.review-card,
.case-card,
.process-step,
.timeline-item,
.career-card,
.info-card,
.blog-card,
.element-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 19px;
    box-shadow: 0 10px 20px var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border: 1px solid transparent;
}

.feature-card:hover,
.service-card:hover,
.feature-item:hover,
.price-card:hover,
.blog-card:hover,
.element-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green-light);
}

.feature-card i,
.feature-item i {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Service Cards */
.service-image,
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-content h4 {
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.service-content li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

.service-content li::before {
    content: "âœ“";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.5rem;
}

.price {
    font-size: 1.53rem;
    font-weight: bold;
    color: var(--secondary-orange);
    background: linear-gradient(135deg, var(--secondary-orange-light), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price Plan Cards */
.price-card.featured {
    background: linear-gradient(135deg, var(--primary-green-light), var(--accent-blue-light));
    color: var(--text-white);
    transform: scale(1.05);
    border-color: var(--secondary-orange);
}

.price-card.featured h4,
.price-card.featured p,
.price-card.featured li {
    color: var(--text-white);
}

.price-tag {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-orange);
    margin-top: 1rem;
}

.price-card.featured .price-tag {
    color: var(--text-white);
}

/* Team Section */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-green-light);
}

/* Process Steps */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.61rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Timeline */
.year {
    font-size: 1.21rem;
    font-weight: bold;
    color: var(--accent-blue);
    margin-bottom: 0.74rem;
    background: var(--accent-blue-light);
    color: var(--text-white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Career Cards */
.role-badge {
    background: var(--highlight-purple);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.91rem;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid var(--neutral-beige-dark);
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(80, 172, 77, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-green-dark), var(--secondary-orange-dark));
}

/* Gallery */
.gallery-image {
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* FAQ */
.accordion-button {
    background-color: var(--neutral-beige-light);
    border: none;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 10px !important;
    margin-bottom: 0.67rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-green-light), var(--secondary-orange-light));
    color: var(--text-white);
}

.accordion-body {
    background-color: var(--text-white);
    border-top: 2px solid var(--primary-green-light);
    border-radius: 0 0 10px 10px;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-green-dark));
    color: var(--text-white);
}

.footer-section h3,
.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--neutral-beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-orange-light);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.62rem;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--neutral-beige);
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 2px solid var(--primary-green-light);
}

.breadcrumb-icon {
    height: 30px;
    width: auto;
    filter: sepia(1) hue-rotate(90deg) saturate(2);
}

/* Space Content */
.space-content {
    min-height: 60vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, var(--neutral-beige-light), var(--primary-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.space-content::before {
    content: "Dynamic Content Area";
    font-size: 2rem;
    color: var(--text-light);
    opacity: 0.5;
}

/* Review Cards */
.review-card {
    position: relative;
    border-left: 4px solid var(--primary-green);
}

.review-card p {
    font-style: italic;
    font-size: 1.20rem;
    margin-bottom: 1rem;
}

.review-card h5 {
    color: var(--secondary-orange);
    font-weight: 600;
}

/* Blog Cards */
.blog-content {
    padding: 1rem;
    text-align: left;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-orange);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px var(--shadow-light);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-green), var(--secondary-orange)) 1;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Loading States */
.loaded .fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Error Handling */
img[alt]:after {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--neutral-beige);
    padding: 1rem;
    border-radius: 5px;
    color: var(--text-dark);
}

/* Accessibility Improvements */
.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(--secondary-orange);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .price-card,
    .element-card {
        border: 2px solid var(--text-dark);
    }
} 


/* 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;
}

.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;
    }
}
