/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #2c3e50;          /* Deep Navy */
    --secondary-color: #e67e22;        /* Warm Orange */
    --accent-color: #27ae60;           /* Fresh Green */
    --highlight-color: #8e44ad;        /* Deep Purple */
    --neutral-color: #95a5a6;          /* Sophisticated Gray */
    
    /* Light Shades */
    --primary-light: #34495e;
    --secondary-light: #f39c12;
    --accent-light: #2ecc71;
    --highlight-light: #9b59b6;
    --neutral-light: #bdc3c7;
    
    /* Dark Shades */
    --primary-dark: #1a252f;
    --secondary-dark: #d35400;
    --accent-dark: #229954;
    --highlight-dark: #7d3c98;
    --neutral-dark: #7f8c8d;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--primary-color);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-dark);
}

/* Conservative navbar-brand size */
.navbar-brand {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
}

section {
    padding: var(--spacing-xl) 0;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  font-size: 12px !important;
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../TRA_images/tsbn_hero-pattern.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-section h3 {
    color: var(--secondary-light);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-large);
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: var(--spacing-md);
}

.card h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.card h4 {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: white;
}

/* ===== SECTIONS ===== */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* ===== FEATURES ===== */
.fa-3x {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

/* ===== TEAM ===== */
.team img {
    border: 3px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.team img:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* ===== TESTIMONIALS/REVIEWS ===== */
.swiper {
    padding-bottom: 40px;
}

.swiper-pagination-bullet {
    background: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* ===== PROCESS STEPS ===== */
.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--highlight-color), var(--highlight-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto var(--spacing-sm);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-left: 60%;
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 60%;
    text-align: right;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* ===== FAQ ===== */
.accordion-button {
    background-color: var(--neutral-light);
    border: none;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

/* ===== CONTACT FORM ===== */
.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: var(--spacing-xs);
    width: 20px;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
}

footer h5, footer h6 {
    color: var(--secondary-light);
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-section {
    background-color: var(--neutral-light);
    margin-top: 76px;
}

.breadcrumb-icon {
    opacity: 0.7;
}

/* ===== GALLERY ===== */
#gallery img {
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== BLOG ===== */
#blog_grid .card {
    height: 100%;
}

#blog_grid .card-img-top {
    height: 180px;
}

/* ===== RESPONSIVE UTILITIES ===== */
@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;
    }
}

/* ===== CUSTOM ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== GRADIENT OVERLAYS ===== */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    z-index: 1;
}

.gradient-overlay .container {
    position: relative;
    z-index: 2;
}

/* ===== SPACE PAGE ===== */
#space {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
}

#space h1 {
    color: white;
}

#space .lead {
    color: rgba(255, 255, 255, 0.9);
} 