/* Color Palette and Variables */
:root {
    /* Primary Colors */
    --color-primary-1: #8790bd; /* Soft Purple */
    --color-primary-2: #a3babe; /* Sage Blue */
    --color-primary-3: #dcab9d; /* Warm Beige */
    --color-primary-4: #b9cdae; /* Soft Green */
    --color-primary-5: #dca98c; /* Cream */
    
    /* Light/Dark Shades */
    --color-light-1: #fdfdff;
    --color-light-2: #d9dbdb;
    --color-light-3: #f0e0d9;
    --color-light-4: #eaeaea;
    --color-light-5: #ffffff;
    
    --color-dark-1: #566285;
    --color-dark-2: #697d85;
    --color-dark-3: #887258;
    --color-dark-4: #6c8062;
    --color-dark-5: #d29d78;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
    --gradient-2: linear-gradient(135deg, var(--color-primary-3), var(--color-primary-4));
    --gradient-3: linear-gradient(135deg, var(--color-primary-4), var(--color-primary-5));
    --gradient-main: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-3), var(--color-primary-5));
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 2.2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.4rem;
    --font-size-h4: 1.2rem;
    --font-size-h5: 1.1rem;
    --font-size-brand: 1.3rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #383838;
    background-color: #fff;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1 {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--color-dark-1);
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--color-dark-1);
    margin-bottom: 0.92rem;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 500;
    color: var(--color-dark-2);
    margin-bottom: 0.85rem;
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: 500;
    color: var(--color-dark-1);
    margin-bottom: 0.74rem;
}

h5 {
    font-size: var(--font-size-h5);
    font-weight: 500;
    color: var(--color-dark-1);
    margin-bottom: 0.50rem;
}

p {
    margin-bottom: 1rem;
    color: #5c5c5c;
}

/* Header */
.navbar-brand {
    font-size: var(--font-size-brand) !important;
    font-weight: 600;
    color: var(--color-primary-1) !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-light-1);
    padding: 0.8rem 0;
}

.navbar.fixed-top {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: var(--color-dark-1) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary-1) !important;
}

/* Breadcrumb */
.breadcrumb-nav {
    background-color: var(--color-light-1);
    margin-top: 70px;
}

.breadcrumb-image {
    height: 30px;
    width: auto;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    background: var(--gradient-main);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../SIS_images/hero-main.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: var(--font-size-h1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-h3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-large);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
section {
    padding: 4rem 0;
}

.about-section {
    background-color: var(--color-light-4);
}

.services-section {
    background: var(--gradient-2);
}

.features-section {
    background-color: var(--color-light-2);
}

.priceplan-section {
    background: var(--gradient-3);
}

.team-section {
    background-color: var(--color-light-5);
}

.reviews-section {
    background-color: var(--color-light-1);
}

.process-section {
    background: var(--gradient-1);
}

.timeline-section {
    background-color: var(--color-light-3);
}

/* Cards */
.feature-card,
.service-card,
.price-card,
.review-card,
.case-study-card,
.blog-card,
.faq-item {
    background: white;
    border-radius: 17px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover,
.service-card:hover,
.price-card:hover,
.review-card:hover,
.case-study-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card img {
    border-radius: 10px;
    margin-bottom: 1rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1rem 0;
}

.price {
    font-size: 1.61rem;
    font-weight: 700;
    color: var(--color-primary-1);
    text-align: center;
    margin-top: 1rem;
}

/* Price Cards */
.price-card.featured {
    border: 3px solid var(--color-primary-1);
    transform: scale(1.05);
}

.price-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-light-1);
    margin-bottom: 1rem;
}

.price-header .price {
    font-size: 2rem;
    color: var(--color-primary-1);
}

/* Team Members */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--color-primary-2);
}

/* Reviews */
.review-card {
    text-align: center;
    border-left: 4px solid var(--color-primary-3);
}

.review-card p {
    font-style: italic;
    font-size: var(--font-size-large);
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.53rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
    text-align: center;
    padding: 1.5rem;
}

.year {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Contact Form */
.contact-section {
    background: var(--gradient-main);
    color: white;
}

.contact-section h2,
.contact-section h3 {
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-control {
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: var(--font-size-base);
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(131, 148, 192, 0.25);
    border-color: var(--color-primary-1);
    background: white;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--gradient-1);
}

/* Contact Info */
.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-info p {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 20px;
}

/* Blog */
.blog-card img {
    border-radius: 10px;
    margin-bottom: 1rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.read-more {
    color: var(--color-primary-1);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    color: var(--color-dark-1);
}

/* FAQ */
.faq-item {
    border-left: 4px solid var(--color-primary-4);
}

.faq-item h5 {
    color: var(--color-primary-1);
    margin-bottom: 0.74rem;
}

/* Gallery */
.gallery-section img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--color-dark-2);
    color: white;
}

.footer h5,
.footer h6 {
    color: var(--color-primary-3);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-primary-3);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* Space Page */
#space {
    background: var(--gradient-main);
    color: white;
    text-align: center;
}

/* Element Items for Additional Pages */
.element-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.element-item:hover {
    transform: translateY(-3px);
    background: white;
}

/* Career Items */
.career-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary-2);
    margin-bottom: 1rem;
}

/* Info Items */
.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1rem;
    border-top: 3px solid var(--color-primary-5);
}

/* Utility Classes */
.text-primary {
    color: var(--color-primary-1) !important;
}

.bg-primary {
    background-color: var(--color-primary-1) !important;
}

.border-primary {
    border-color: var(--color-primary-1) !important;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary-1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* NanoBar Progress Container */
#nanobar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9998;
}

/* Lazy Loading Styles */
.lozad {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.lozad.loaded {
    opacity: 1;
}

/* Enhanced Animation Styles */
[data-sal] {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* JustValidate Error Styles */
.just-validate-error-label {
    color: #e54968 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    display: block !important;
}

.just-validate-error-field {
    border-color: #db4553 !important;
    box-shadow: 0 0 0 0.2rem rgba(238, 80, 80, 0.25) !important;
}

/* Modernizr Fallbacks */
.no-js .sal-animate {
    opacity: 1 !important;
    transform: none !important;
}

/* Image Resolutions */
img {
    max-width: 100%;
    height: auto;
}

/* Specific Image Sizing */
.hero-section img {
    max-width: 500px;
    height: auto;
}

.service-card img,
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
