/* Color Palette & CSS Variables */
:root {
    /* Primary Colors */
    --primary-blue: #3673e4;
    --primary-green: #6ad116;
    --primary-orange: #f0bf12;
    --primary-purple: #9300ff;
    --primary-coral: #f24e68;
    
    /* Light Shades */
    --light-blue: #d6e4f7;
    --light-green: #eef7de;
    --light-orange: #f5f4f0;
    --light-purple: #ded8e0;
    --light-coral: #eacbcb;
    
    /* Dark Shades */
    --dark-blue: #2665a6;
    --dark-green: #55af1d;
    --dark-orange: #ca9a0c;
    --dark-purple: #7208b4;
    --dark-coral: #ce5d4c;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #7e868a;
    --dark-gray: #2b2d2f;
    --black: #000000;
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    --line-height-base: 1.6;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark-gray);
    background-color: var(--white);
}

/* 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;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.97rem;
    color: var(--dark-gray);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.79rem;
}

h3 {
    font-size: 1.65rem;
}

h4 {
    font-size: 1.29rem;
}

h5 {
    font-size: 1.17rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    backdrop-filter: blur(13px);
    box-shadow: 0 6px 23px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.26rem !important;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

#hero h2 {
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 1.57rem;
}

#hero p {
    color: var(--gray);
    font-size: var(--font-size-large);
}

#hero img {
    border-radius: 21px;
    box-shadow: 0 27px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    min-width: 300px;
    min-height: 400px;
    object-fit: cover;
}

/* Sections */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 19px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 23px 40px rgba(0, 0, 0, 0.12);
}

.feature-card i {
    color: var(--primary-blue);
}

.feature-card h4 {
    color: var(--dark-gray);
    margin: 1rem 0 0.5rem;
}

.feature-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 111px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-11px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h4 {
    color: var(--primary-blue);
    font-size: 1.34rem;
    margin-bottom: 0.81rem;
}

.service-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 1rem;
}

.service-card .price {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
    color: var(--white);
    font-size: 1.56rem;
    font-weight: 700;
    text-align: center;
    padding: 0.75rem;
    border-radius: 12px;
    margin-top: 1rem;
}

/* Element Cards (for additional pages) */
.element-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-coral);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.element-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-purple);
}

.element-card h4 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 0.72rem;
}

.element-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 22px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 11px;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(68, 142, 241, 0.25);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 125px;
}

.contact-form label {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-left: 0.5rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--light-blue), var(--light-purple));
    padding: 2rem;
    border-radius: 24px;
    height: 100%;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1.61rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 1rem;
    width: 20px;
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
    transform: translateY(-2px);
    box-shadow: 0 11px 25px rgba(91, 172, 233, 0.30);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light-gray);
    padding: 1rem 0;
}

.breadcrumb-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-gray), var(--dark-blue));
    color: var(--white);
}

footer h5, footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

footer p, footer small {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.57rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-right: 1rem;
    font-size: var(--font-size-small);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

/* Space page specific */
#space {
    background: linear-gradient(135deg, var(--light-green), var(--light-orange));
    color: var(--dark-gray);
}

/* Team Cards */
.team-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
}

.team-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.68rem;
}

.team-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Review Cards */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 19px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-coral);
}

.review-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.review-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0;
    text-align: right;
}

/* FAQ Cards */
.faq-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    height: 100%;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.faq-card h5 {
    color: var(--primary-blue);
    font-size: 1.19rem;
    margin-bottom: 0.83rem;
    display: flex;
    align-items: flex-start;
}

.faq-card h5::before {
    content: "Q: ";
    color: var(--primary-coral);
    font-weight: 700;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.faq-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
    line-height: 1.5;
}

.faq-card p::before {
    content: "A: ";
    color: var(--primary-green);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* Case Study Cards */
.casestudy-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.casestudy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.casestudy-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.casestudy-card .card-body {
    padding: 1.5rem;
}

.casestudy-card h4 {
    color: var(--primary-coral);
    margin-bottom: 0.98rem;
}

.casestudy-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Process Cards */
.process-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.process-number {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.52rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.84rem;
}

.process-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-purple));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    background: var(--white);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 45%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-coral);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-coral);
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    right: -60px;
}

.timeline-item:nth-child(even)::before {
    left: -60px;
}

.timeline-year {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
    color: var(--white);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: var(--font-size-small);
}

.timeline-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.63rem;
}

.timeline-item p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Career Cards */
.career-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-green);
}

.career-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.62rem;
}

.career-card p:first-of-type {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: var(--font-size-small);
    margin-bottom: 0.94rem;
}

.career-card p:last-of-type {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Core Info Cards */
.coreinfo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.coreinfo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.coreinfo-card i {
    color: var(--primary-purple);
}

.coreinfo-card h4 {
    color: var(--primary-blue);
    margin: 1rem 0 0.5rem;
}

.coreinfo-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.83rem;
    font-size: 1.27rem;
}

.blog-card p {
    color: var(--gray);
    font-size: var(--font-size-small);
    margin-bottom: 1rem;
}

.blog-card .btn {
    font-size: var(--font-size-small);
    padding: 0.5rem 1rem;
}

/* Gallery Images */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Grid layout fixes */
.col-lg-2-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 991px) {
    .col-lg-2-5 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Timeline mobile adjustments */
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        max-width: 100%;
        margin-left: 60px !important;
    }
    
    .timeline-item::before {
        left: -45px !important;
        right: auto !important;
    }
}

@media (max-width: 767px) {
    .col-lg-2-5 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Process cards mobile */
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.32rem;
    }
    
    /* Timeline mobile */
    .timeline-item {
        padding: 1.5rem;
        margin: 1.5rem 0 1.5rem 50px;
    }
}

@media (max-width: 575px) {
    .col-lg-2-5, .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Gallery mobile */
    .gallery-img {
        height: 200px;
    }
    
    /* Timeline mobile */
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 40px !important;
        padding: 1rem;
    }
    
    .timeline-item::before {
        left: -35px !important;
        width: 15px;
        height: 15px;
    }
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
