/* ===== COLOR PALETTE ===== */
:root {
    /* Primary Colors */
    --primary-color: #265482;
    --secondary-color: #29b1a2;
    --accent-color: #e88f00;
    --success-color: #22b14e;
    --warning-color: #fa3c1b;
    
    /* Light Variations */
    --primary-light: #5479d0;
    --secondary-light: #79ebcf;
    --accent-light: #e9bd08;
    --success-light: #49d668;
    --warning-light: #ef6b3c;
    
    /* Dark Variations */
    --primary-dark: #3d648d;
    --secondary-dark: #1ea778;
    --accent-dark: #c78700;
    --success-dark: #158121;
    --warning-dark: #dd5a17;
    
    /* Neutral Colors */
    --text-color: #233645;
    --text-muted: #646e7c;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dbdedf;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 15px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.30rem;
    font-weight: 700;
}

h2 {
    font-size: 1.90rem;
}

h3 {
    font-size: 1.46rem;
}

p {
    font-size: 15px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.navbar-brand {
    font-size: 1.51rem;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--text-color);
    margin-bottom: 1.63rem;
    padding-top: 200px;
}

.hero-section h2 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ===== CARDS ===== */
.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 1.02s ease, box-shadow 1.06s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ===== PROCESS NUMBERS ===== */
.process-number {
    font-weight: 700;
    width: 60px;
    height: 60px;
}

/* ===== TIMELINE ICONS ===== */
.timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 1.29rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a252f;
    color: #ffffff;
}

footer a {
    text-decoration: none;
    transition: color 0.87s ease;
    color: #e8e9ea;
}

footer a:hover {
    color: #79ebcf !important;
}

footer h5, footer h6 {
    color: #ffffff;
    font-weight: 600;
}

footer small {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== FORM STYLES ===== */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.7rem 1rem;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 71, 128, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.62rem;
}

/* ===== NAVBAR ===== */
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 1.19s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-light) !important;
}

/* ===== GALLERY ===== */
#gallery img {
    transition: transform 0.49s ease;
    border-radius: 5px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* ===== CONTACT INFO ===== */
.contact-info p {
    margin-bottom: 0.94rem;
    font-size: 14px;
}

.contact-info i {
    color: var(--primary-color);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.89rem;
    padding-top: 200px;
}
    
    .hero-section h2 {
        font-size: 1.39rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .navbar-brand {
        font-size: 1.32rem;
    }
    
    /* Disable animations on mobile for reduced motion */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
    padding: 1rem 0;
}

.breadcrumb-section img {
    max-height: 30px;
    opacity: 0.7;
}

/* ===== UTILITIES ===== */
.text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Footer specific text contrast improvements */
footer .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer p {
    color: #f8f9fa;
}

.rounded-circle {
    border-radius: 50% !important;
}

/* ===== ICON STYLES ===== */
.fa {
    color: var(--primary-color);
}

.text-success .fa {
    color: var(--success-color);
}

/* ===== SPACING ===== */
.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.55rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

/* ===== ADDITIONAL STYLES ===== */
.border-primary {
    border-color: var(--primary-color) !important;
}

.list-unstyled li {
    margin-bottom: 0.36rem;
}

.card-body h5 {
    color: var(--text-color);
    font-weight: 600;
}

.card-body h6 {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
}

/* Team images */
.team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Space page */
#space {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* Service items features list */
#services ul {
    list-style: none;
    padding-left: 0;
}

#services ul li {
    padding: 0.2rem 0;
    font-size: 14px;
} 


/* 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;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.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;
    }
}
