:root {
    /* Color Palette - 5 primary colors plus light/dark shades */
    --primary-blue: #3380dd;
    --primary-purple: #a774c6;
    --primary-teal: #0bcfc1;
    --primary-orange: #e0af25;
    --primary-pink: #d05227;
    
    /* Light shades */
    --light-blue: #bcd2eb;
    --light-purple: #dfcce0;
    --light-teal: #efefef;
    --light-orange: #fffcf8;
    --light-pink: #eccccb;
    
    /* Dark shades */
    --dark-blue: #2c52d1;
    --dark-purple: #ae52c5;
    --dark-teal: #20b28f;
    --dark-orange: #f0881c;
    --dark-pink: #d92d24;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-small: 0.875rem;
    
    /* Spacing */
    --section-padding: 80px 0;
    --border-radius: 12px;
    --box-shadow: 0 13px 30px rgba(0,0,0,0.1);
}

/* 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: #333231;
    overflow-x: hidden;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header */
.navbar {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.58rem !important;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../TEK_images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

#hero-title-1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

#hero-subtitle-1 {
    font-size: 1.62rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

#hero-desc-1 {
    font-size: 1.17rem;
    color: #4f4f4f;
    margin-bottom: 2rem;
}

/* Section styles */
section {
    padding: var(--section-padding);
}

.bg-light {
    background: linear-gradient(135deg, var(--light-teal), var(--light-orange)) !important;
}

/* Feature cards */
.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 40px rgba(0,0,0,0.15);
}

.feature-card i {
    color: var(--primary-teal);
}

/* Service cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 19px 35px rgba(0,0,0,0.2);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h5 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card .price {
    font-size: 1.51rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-align: center;
    margin-top: 1rem;
}

/* Feature items */
.feature-item {
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--light-blue);
    transform: scale(1.05);
}

.feature-item i {
    color: var(--primary-blue);
}

/* Pricing cards */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-top: 1.71rem;
}

/* Team members */
.team-member {
    padding: 1rem;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-teal);
}

/* Review cards */
.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-pink);
}

.review-card:hover {
    transform: translateY(-5px);
}

/* Case study cards */
.case-study-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    transform: scale(1.03);
}

.case-study-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.case-study-card .card-content {
    padding: 1.5rem;
}

/* Process steps */
.process-step {
    padding: 2rem 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline items */
.timeline-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.15);
}

/* Career items */
.career-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-teal);
}

.career-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

/* Core info items */
.coreinfo-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.coreinfo-item:hover {
    background: var(--light-purple);
    transform: scale(1.05);
}

.coreinfo-item i {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

/* Blog cards */
.blog-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .blog-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.blog-card .blog-link:hover {
    color: var(--dark-blue);
}

/* Contact form */
.contact-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #d2d2d2;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 122, 251, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    background: var(--light-blue);
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 1.5rem;
    border-top: 1px solid #f8f7f7;
    display: none;
}

/* Gallery */
.gallery-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
    color: white;
    padding: 3rem 0 1rem;
}

footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Utilities */
.text-primary { color: var(--primary-blue) !important; }
.text-secondary { color: var(--primary-purple) !important; }
.bg-primary { background-color: var(--primary-blue) !important; }
.bg-secondary { background-color: var(--primary-purple) !important; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
