/* CSS Variables - 5 Primary Colors + Shades */
:root {
    --primary-1: #ff5daf; /* Pink */
    --primary-2: #fe842e; /* Orange */
    --primary-3: #8f55ba; /* Purple */
    --primary-4: #1e9d52; /* Green */
    --primary-5: #2576d8; /* Blue */
    
    --primary-1-light: #feb4d8;
    --primary-1-dark: #ca3b8b;
    --primary-2-light: #fdcf70;
    --primary-2-dark: #c54403;
    --primary-3-light: #9c4eb1;
    --primary-3-dark: #432456;
    --primary-4-light: #6dd59b;
    --primary-4-dark: #287441;
    --primary-5-light: #6cbfee;
    --primary-5-dark: #1d549e;
    
    --text-dark: #2a3f5e;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

/* 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);
    font-size: 16px;
}

/* Reduce motion for accessibility */
@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.55rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.84rem; }
h4 { font-size: 1.59rem; }
h5 { font-size: 1.33rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    box-shadow: 0 3px 14px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: linear-gradient(135deg, var(--primary-1-dark), var(--primary-3-dark)) !important;
    box-shadow: 0 9px 23px rgba(0,0,0,0.2) !important;
}

.navbar-brand {
    font-size: 1.58rem !important;
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-2-light) !important;
}

.navbar-toggler {
    border: none;
    color: white;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-1-light), var(--primary-5-light));
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
  padding-top: 50px !important;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 17px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-11px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card i {
    color: var(--primary-1);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.service-card {
    background: var(--bg-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 13px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h4 {
    color: var(--primary-3);
    margin-bottom: 1rem;
}

.service-card h5 {
    color: var(--primary-2);
    font-size: 1.64rem;
    font-weight: bold;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-4-light), var(--primary-5-light));
}

.feature-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 13px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    color: var(--primary-4);
}

/* Price Plan Section */
.priceplan-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.price-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    color: white;
    transform: scale(1.05);
}

.price-card:hover {
    transform: translateY(-13px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-card ul {
    list-style: none;
    padding: 0;
}

.price-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.price-card.featured ul li {
    border-bottom-color: rgba(255,255,255,0.2);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.team-member {
    padding: 1rem;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-2);
    border-radius: 50%;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-2-light), var(--primary-1-light));
}

.review-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-1);
    box-shadow: 0 0 0 0.2rem rgba(231, 79, 134, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Form Messages */
.form-message {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
}

.alert-success {
    background-color: #d9ffe4;
    border-color: #d2fcd8;
    color: #195d2b;
}

.alert-danger {
    background-color: #f0bcc9;
    border-color: #ffe0e8;
    color: #64231e;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.accordion-button {
    background: var(--bg-light);
    border: none;
    border-radius: 10px !important;
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 126, 159, 0.25);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-3), var(--text-dark));
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer h4, .footer h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-2-light);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.65rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    margin-top: 70px;
}

.breadcrumb-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Additional Page Sections */
.technique-card,
.case-card,
.process-step,
.timeline-item,
.career-card,
.info-card,
.blog-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.technique-card:hover,
.case-card:hover,
.process-step:hover,
.timeline-item:hover,
.career-card:hover,
.info-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.39rem;
    margin: 0 auto 1rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* 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;
    }
}
