/* SmartHands Color System - Tedra Style */
:root {
    /* Primary Brand Colors - Based on #3b74c2 */
    --primary-50: #f0f4ff;
    --primary-100: #e0e9ff;
    --primary-200: #c7d6ff;
    --primary-300: #a5b8ff;
    --primary-400: #7c94ff;
    --primary-500: #3b74c2;    /* Main Brand Color */
    --primary-600: #2d5aa0;
    --primary-700: #24447e;
    --primary-800: #1e3662;
    --primary-900: #1a2d4f;
    
    /* Secondary Colors - Tedra Style Grays */
    --gray-50: #fafbfc;        /* Pure White Background */
    --gray-100: #f4f6f8;       /* Light Section Background */
    --gray-200: #e8ecf0;       /* Border Light */
    --gray-300: #d1d9e0;       /* Border Medium */
    --gray-400: #9ca3af;       /* Text Muted */
    --gray-500: #6b7280;       /* Text Secondary */
    --gray-600: #4b5563;       /* Text Primary */
    --gray-700: #374151;       /* Text Dark */
    --gray-800: #1f2937;       /* Text Darker */
    --gray-900: #111827;       /* Text Darkest */
    
    /* Tedra Style Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #fafbfc;
    --bg-section: #f4f6f8;
    --bg-card: #ffffff;
    --bg-overlay: rgba(59, 116, 194, 0.1);
    
    /* Tedra Style Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* Tedra Style Accents */
    --accent-blue: #3b74c2;
    --accent-blue-light: #60a5fa;
    --accent-blue-dark: #1e40af;
    --accent-gray: #f4f6f8;
    --accent-shadow: rgba(0, 0, 0, 0.08);
    
    /* Accent Colors - Professional Corporate Palette */
    --accent-blue: #3b74c2;    /* Primary Blue */
    --accent-yellow: #fbbf24;  /* Highlight Yellow */
    --accent-green: #10b981;   /* Success Green */
    --accent-orange: #f59e0b;  /* Warning Orange */
    --accent-red: #ef4444;     /* Error Red */
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    
    /* Semantic Colors */
    --success: var(--accent-green);
    --warning: var(--accent-orange);
    --error: var(--accent-red);
    --info: var(--accent-blue);
    
    /* Background Colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);
    --bg-dark: #1f2937;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* Text Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-700);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);
    --text-white: var(--white);
    --text-inverse: var(--white);
    
    /* Border Colors */
    --border-light: var(--gray-200);
    --border-medium: var(--gray-300);
    --border-dark: var(--gray-400);
    
    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-800) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 50%, var(--gray-800) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(7, 99, 138, 0.9) 0%, rgba(6, 87, 134, 0.8) 100%);
    --gradient-light: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    
    /* Professional Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 25px -5px rgba(21, 106, 151, 0.25);
    --shadow-hover: 0 20px 40px -10px rgba(20, 102, 209, 0.3);
    
    /* Focus States */
    --focus-ring: 0 0 0 3px rgba(127, 174, 254, 0.1);
    --focus-ring-offset: 0 0 0 2px var(--white), 0 0 0 4px rgba(83, 129, 209, 0.1);
}

/* ========================================
   PRIMARY COLOR CLASSES
   ======================================== */
.bg-primary {
    background-color: var(--primary-600) !important;
}

.bg-primary-500 {
    background-color: var(--primary-500) !important;
}

.text-primary-500 {
    color: var(--primary-500) !important;
}

/* Force override for service icons */
.text-primary {
    color: var(--primary-500) !important;
}

/* Force override for language buttons */
.bg-primary-600 {
    background-color: var(--primary-500) !important;
}

/* Force override for all primary elements */
[class*="text-primary"]:not(.text-primary-text):not(.text-primary-light):not(.text-primary-dark) {
    color: var(--primary-500) !important;
}

[class*="bg-primary"]:not(.bg-primary-bg):not(.bg-primary-light):not(.bg-primary-dark) {
    background-color: var(--primary-500) !important;
}

/* Direct targeting for specific elements */
i[class*="fa-"], i[class*="fas"], i[class*="far"], i[class*="fab"] {
    color: var(--primary-500) !important;
}

/* Language switcher buttons */
.bg-primary-600 {
    background-color: var(--primary-500) !important;
}

/* Service card icons */
.text-5xl.text-primary {
    color: var(--primary-500) !important;
}

/* All primary colored elements */
.text-primary {
    color: var(--primary-500) !important;
}

.bg-primary {
    background-color: var(--primary-500) !important;
}

.bg-primary-light {
    background-color: var(--primary-500) !important;
}

.bg-primary-dark {
    background-color: var(--primary-700) !important;
}

.text-primary {
    color: var(--primary-600) !important;
}

.text-primary-light {
    color: var(--primary-500) !important;
}

.text-primary-dark {
    color: var(--primary-700) !important;
}

.border-primary {
    border-color: var(--primary-600) !important;
}

.hover\:bg-primary:hover {
    background-color: var(--primary-600) !important;
}

.hover\:text-primary:hover {
    color: var(--primary-600) !important;
}

/* ========================================
   HERO SECTION COLORS
   ======================================== */
.hero-bg {
    background: var(--gradient-hero) !important;
}

.hero-overlay {
    background: var(--bg-overlay) !important;
}

.hero-text-primary {
    color: var(--text-white) !important;
}

.hero-text-secondary {
    color: var(--primary-200) !important;
}

.hero-text-muted {
    color: var(--gray-100) !important;
}

/* ========================================
   BUTTON COLORS
   ======================================== */
.btn-primary {
    background-color: var(--primary-600) !important;
    color: var(--text-white) !important;
    border-color: var(--primary-600) !important;
}

.btn-primary:hover {
    background-color: var(--primary-700) !important;
    border-color: var(--primary-700) !important;
}

.btn-secondary {
    background-color: var(--white) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-light) !important;
}

.btn-secondary:hover {
    background-color: var(--gray-50) !important;
    border-color: var(--border-medium) !important;
}

.btn-outline {
    background-color: transparent !important;
    color: var(--primary-600) !important;
    border-color: var(--primary-600) !important;
}

.btn-outline:hover {
    background-color: var(--primary-600) !important;
    color: var(--text-white) !important;
}

/* ========================================
   CARD COLORS
   ======================================== */
.card-bg {
    background-color: var(--bg-primary) !important;
}

.card-bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.card-border {
    border-color: var(--border-light) !important;
}

.card-shadow {
    box-shadow: var(--shadow-md) !important;
}

.card-shadow-hover {
    box-shadow: var(--shadow-lg) !important;
}

/* ========================================
   TEXT COLORS
   ======================================== */
.text-primary-text {
    color: var(--text-primary) !important;
}

.text-secondary-text {
    color: var(--text-secondary) !important;
}

.text-muted-text {
    color: var(--text-muted) !important;
}

.text-light-text {
    color: var(--text-light) !important;
}

.text-white-text {
    color: var(--text-white) !important;
}

/* ========================================
   BACKGROUND COLORS
   ======================================== */
.bg-primary-bg {
    background-color: var(--bg-primary) !important;
}

.bg-secondary-bg {
    background-color: var(--bg-secondary) !important;
}

.bg-tertiary-bg {
    background-color: var(--bg-tertiary) !important;
}

.bg-dark-bg {
    background-color: var(--bg-dark) !important;
}

/* ========================================
   ACCENT/SEMANTIC COLOR CLASSES
   ======================================== */
.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-error {
    color: var(--error) !important;
}

.text-info {
    color: var(--info) !important;
}

.text-yellow {
    color: var(--accent-yellow) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-error {
    background-color: var(--error) !important;
}

.bg-info {
    background-color: var(--info) !important;
}

/* ========================================
   NAVIGATION COLORS
   ======================================== */
.nav-bg {
    background-color: var(--white) !important;
    border-bottom-color: var(--border-light) !important;
}

.nav-link {
    color: var(--text-secondary) !important;
}

.nav-link:hover {
    color: var(--primary-600) !important;
}

.nav-link-active {
    color: var(--text-primary) !important;
}

.nav-link-underline {
    background-color: var(--primary-600) !important;
}

/* ========================================
   FOOTER COLORS
   ======================================== */
.footer-bg {
    background-color: #1f2937 !important;
}

.footer-text {
    color: #d1d5db !important;
}

.footer-text:hover {
    color: #ffffff !important;
}

.footer-icon {
    background-color: #374151 !important;
    color: #ffffff !important;
}

.footer-icon:hover {
    background-color: var(--primary-500) !important;
}

.footer-copyright {
    color: #9ca3af !important;
    border-top-color: #374151 !important;
}

/* ========================================
   SECTION COLORS
   ======================================== */
.section-bg-primary {
    background-color: var(--bg-primary) !important;
}

.section-bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.section-bg-tertiary {
    background-color: var(--bg-tertiary) !important;
}

.section-bg-dark {
    background-color: var(--bg-dark) !important;
}

/* ========================================
   FORM COLORS
   ======================================== */
.form-input {
    background-color: var(--bg-primary) !important;
    border-color: var(--border-light) !important;
    color: var(--text-primary) !important;
}

.form-input:focus {
    border-color: var(--primary-600) !important;
    box-shadow: var(--focus-ring) !important;
}

.form-label {
    color: var(--text-primary) !important;
}

.form-error {
    color: var(--error) !important;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.shadow-primary {
    box-shadow: var(--shadow-primary) !important;
}

.shadow-hover {
    box-shadow: var(--shadow-hover) !important;
}

.gradient-primary {
    background: var(--gradient-primary) !important;
}

.gradient-secondary {
    background: var(--gradient-secondary) !important;
}

.gradient-hero {
    background: var(--gradient-hero) !important;
}

.gradient-light {
    background: var(--gradient-light) !important;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 768px) {
    .hero-text-primary {
        font-size: 2.5rem !important;
    }
    
    .hero-text-secondary {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .hero-text-primary {
        font-size: 2rem !important;
    }
    
    .hero-text-secondary {
        font-size: 1.25rem !important;
    }
}

.bg-secondary-bg {
    background-color: var(--bg-secondary) !important;
}

.bg-tertiary-bg {
    background-color: var(--bg-tertiary) !important;
}

.bg-dark-bg {
    background-color: var(--bg-dark) !important;
}

/* Text Color Classes */
.text-primary-text {
    color: var(--text-primary) !important;
}

.text-secondary-text {
    color: var(--text-secondary) !important;
}

.text-muted-text {
    color: var(--text-muted) !important;
}

.text-light-text {
    color: var(--text-light) !important;
}

.text-white-text {
    color: var(--text-white) !important;
}

/* Accent Color Classes */
.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-error {
    color: var(--error) !important;
}

.text-info {
    color: var(--info) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-error {
    background-color: var(--error) !important;
}

.bg-info {
    background-color: var(--info) !important;
}

/* Hero Background */
.hero-bg {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero-bg::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: grain 20s linear infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.card-hover:hover::before {
    left: 100%;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.card-hover:hover .card-content {
    transform: translateY(-2px);
}

.card-content {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Focus States */
.focus\:ring-primary:focus {
    --tw-ring-color: var(--primary-color);
}

.focus\:border-primary:focus {
    border-color: var(--primary-color);
}

/* Custom Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 2.5rem;
    width: auto;
}

/* Navigation Styles */
.nav-link {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer Styles */
.footer-bg {
    background-color: var(--dark-color);
}

/* Section Backgrounds */
.section-bg {
    background-color: var(--light-gray);
}

/* Text Colors */
.text-muted {
    color: var(--secondary-color);
}

/* Border Colors */
.border-gray-300 {
    border-color: #d1d5db;
}

/* Custom Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Stagger Animation */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Floating Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
.pulse-slow {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Shake Animation */
.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */
footer.bg-dark {
    background-color: #1a1a1a !important;
}

footer .text-light {
    color: #e9ecef !important;
}

footer .text-primary {
    color: var(--primary-500) !important;
}

footer .border-secondary {
    border-color: #495057 !important;
}

footer .btn-outline-light:hover {
    background-color: var(--primary-500) !important;
    border-color: var(--primary-500) !important;
    color: white !important;
}

footer a:hover {
    color: var(--primary-500) !important;
    transition: color 0.3s ease;
}

/* ========================================
   TEDRA STYLE ANIMATIONS
   ======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   TEDRA STYLE COMPONENTS
   ======================================== */
.tedra-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 116, 194, 0.1);
}

.tedra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.tedra-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tedra-primary-gradient {
    background: linear-gradient(135deg, #3b74c2 0%, #2563eb 100%);
}

.tedra-text-gradient {
    background: linear-gradient(135deg, #3b74c2 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   TEDRA STYLE SECTIONS
   ======================================== */
.tedra-section {
    padding: 80px 0;
}

.tedra-section-alt {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* ========================================
   TEDRA STYLE BUTTONS
   ======================================== */
.btn-tedra-primary {
    background: linear-gradient(135deg, #3b74c2 0%, #2563eb 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 116, 194, 0.3);
}

.btn-tedra-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 116, 194, 0.4);
    color: white;
}

.btn-tedra-outline {
    background: transparent;
    border: 2px solid #3b74c2;
    color: #3b74c2;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-tedra-outline:hover {
    background: #3b74c2;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   TEDRA NAVIGATION STYLES
   ======================================== */
.tedra-nav-link {
    color: #374151 !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.tedra-nav-link:hover {
    color: #3b74c2 !important;
    background-color: rgba(59, 116, 194, 0.05);
}

.tedra-nav-link.active {
    color: #3b74c2 !important;
    background-color: rgba(59, 116, 194, 0.1);
}

.tedra-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b74c2, #2563eb);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tedra-nav-link:hover::after,
.tedra-nav-link.active::after {
    width: 80%;
}

/* ========================================
   TEDRA BUTTON ENHANCEMENTS
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, #3b74c2 0%, #2563eb 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 116, 194, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 116, 194, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-outline-primary {
    border: 2px solid #3b74c2;
    color: #3b74c2;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #3b74c2;
    border-color: #3b74c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 116, 194, 0.3);
}

/* ========================================
   TEDRA CARD ENHANCEMENTS
   ======================================== */
.tedra-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 116, 194, 0.08);
    overflow: hidden;
}

.tedra-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 116, 194, 0.2);
}

.tedra-card .card-body {
    padding: 2rem;
}

/* ========================================
   TEDRA SPACING & LAYOUT
   ======================================== */
.tedra-section {
    padding: 100px 0;
}

.tedra-section-sm {
    padding: 60px 0;
}

.tedra-section-lg {
    padding: 120px 0;
}

/* ========================================
   TEDRA TYPOGRAPHY
   ======================================== */
.tedra-heading {
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.tedra-subheading {
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

.tedra-text {
    color: #6b7280;
    line-height: 1.6;
}

/* ========================================
   TEDRA ANIMATIONS ENHANCED
   ======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   TEDRA HOVER EFFECTS
   ======================================== */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========================================
   TEDRA GRADIENTS
   ======================================== */
.tedra-gradient-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tedra-primary-gradient {
    background: linear-gradient(135deg, #3b74c2 0%, #2563eb 100%);
}

.tedra-text-gradient {
    background: linear-gradient(135deg, #3b74c2 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   TEDRA RESPONSIVE ENHANCEMENTS
   ======================================== */
@media (max-width: 768px) {
    .tedra-section {
        padding: 60px 0;
    }
    
    .tedra-card .card-body {
        padding: 1.5rem;
    }
    
    .tedra-nav-link {
        padding: 0.5rem 0.75rem !important;
    }
}

/* ========================================
   TEDRA HERO SECTION
   ======================================== */
.tedra-hero {
    background: var(--bg-white);
}

.tedra-hero-bg {
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.6) 0%, rgba(30, 64, 175, 0.5) 100%), 
                url('/images/hero/hero-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hero Background Variations */
.tedra-hero-maintenance {
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.6) 0%, rgba(30, 64, 175, 0.5) 100%), 
                url('/images/hero/hero-maintenance.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.tedra-hero-operation {
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.6) 0%, rgba(30, 64, 175, 0.5) 100%), 
                url('/images/hero/hero-operation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* News Page Hero Background */
.tedra-hero-news {
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.6) 0%, rgba(30, 64, 175, 0.5) 100%), 
                url('/images/hero/hero-maintenance.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Contact Page Hero Background */
.tedra-hero-contact {
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.6) 0%, rgba(30, 64, 175, 0.5) 100%), 
                url('/images/hero/hero-operation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Projects Page Hero Background */
.tedra-hero-projects {
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.6) 0%, rgba(30, 64, 175, 0.5) 100%), 
                url('/images/hero/hero-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ========================================
   TEDRA BUTTONS
   ======================================== */
.tedra-btn-primary {
    background: var(--bg-white);
    color: var(--primary-500);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.tedra-btn-primary:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.tedra-btn-outline {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tedra-btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* ========================================
   TEDRA SECTIONS
   ======================================== */
.tedra-section-white {
    background: var(--bg-white);
    padding: 100px 0;
}

.tedra-section-light {
    background: var(--bg-light);
    padding: 100px 0;
}

.tedra-section-gray {
    background: var(--bg-section);
    padding: 100px 0;
}

/* ========================================
   TEDRA CARDS
   ======================================== */
.tedra-service-card {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--accent-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    height: 100%;
}

.tedra-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-200);
}

.tedra-service-card .card-body {
    padding: 2.5rem;
    text-align: center;
}

.tedra-service-card .icon-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white !important;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tedra-service-card .icon-container i {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 2rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ========================================
   TEDRA PROJECT CARDS
   ======================================== */
.tedra-project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--accent-shadow);
    transition: all 0.4s ease;
    height: 300px;
}

.tedra-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tedra-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tedra-project-card:hover img {
    transform: scale(1.1);
}

.tedra-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.9), rgba(30, 64, 175, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.tedra-project-card:hover .tedra-project-overlay {
    opacity: 1;
}

/* ========================================
   TEDRA PARTNER CARDS
   ======================================== */
.tedra-partner-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tedra-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-200);
}

.tedra-partner-card img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.tedra-partner-card:hover img {
    filter: grayscale(0%);
}

/* ========================================
   TEDRA CONTACT SECTION
   ======================================== */
.tedra-contact-bg {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    position: relative;
}

.tedra-contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%), 
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%), 
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0.8;
}

/* ========================================
   TEDRA FOOTER
   ======================================== */
.tedra-footer {
    background: var(--gray-900);
    color: var(--text-white);
    padding: 80px 0 40px;
}

.tedra-footer h5 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.tedra-footer p,
.tedra-footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tedra-footer a:hover {
    color: var(--primary-400);
}

.tedra-footer .social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tedra-footer .social-link:hover {
    background: var(--primary-500);
    transform: translateY(-2px);
}

/* ========================================
   TEDRA CONTACT FORM STYLES
   ======================================== */
.tedra-contact-form .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.tedra-contact-form .form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 0.2rem rgba(59, 116, 194, 0.25);
    background: var(--bg-white);
}

.tedra-contact-form .form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tedra-contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 116, 194, 0.3);
}

.tedra-contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 116, 194, 0.4);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

/* ========================================
   TEDRA CONTACT INFO CARDS
   ======================================== */
.tedra-contact-info .tedra-card {
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.tedra-contact-info .tedra-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-200);
}

.tedra-contact-info .bg-primary.bg-opacity-10 {
    background: rgba(59, 116, 194, 0.1) !important;
}

.tedra-contact-info .text-primary {
    color: var(--primary-500) !important;
}

/* ========================================
   TEDRA ALERT STYLES
   ======================================== */
.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    border-radius: 12px;
}

.alert-success .btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    opacity: 0.7;
}

.alert-success .btn-close:hover {
    opacity: 1;
}

/* ========================================
   TEDRA FORM VALIDATION
   ======================================== */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ========================================
   TEDRA RESPONSIVE CONTACT
   ======================================== */
@media (max-width: 768px) {
    .tedra-contact-bg {
        padding: 60px 0;
    }
    
    .tedra-contact-bg h1 {
        font-size: 2.5rem;
    }
    
    .tedra-contact-info .tedra-card {
        padding: 1.5rem;
    }
    
    .tedra-contact-form .form-control {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
}

/* ========================================
   TEDRA STYLE PROJECTS PAGE
   ======================================== */
.tedra-projects-hero {
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.tedra-projects-hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Filters Card */
.tedra-filters-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.tedra-filters-card .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tedra-filters-card .form-select:focus {
    border-color: #3b74c2;
    box-shadow: 0 0 0 0.2rem rgba(59, 116, 194, 0.25);
}

/* Project Cards */
.tedra-project-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tedra-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tedra-project-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.tedra-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tedra-project-card:hover .tedra-project-image img {
    transform: scale(1.05);
}

.tedra-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.9), rgba(91, 155, 213, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tedra-project-card:hover .tedra-project-overlay {
    opacity: 1;
}

.tedra-project-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.tedra-project-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.tedra-project-year {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.tedra-project-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tedra-project-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tedra-project-btn:hover {
    background: white;
    color: #3b74c2;
    transform: scale(1.1);
}

.tedra-project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tedra-project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tedra-project-type {
    background: rgba(59, 116, 194, 0.1);
    color: #3b74c2;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tedra-project-date {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.tedra-project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tedra-project-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tedra-project-location {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tedra-project-location i {
    color: #3b74c2;
}

.tedra-project-link {
    color: #3b74c2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tedra-project-link:hover {
    color: #2f5d9a;
    transform: translateX(4px);
}

.tedra-project-link i {
    transition: transform 0.3s ease;
}

.tedra-project-link:hover i {
    transform: translateX(-4px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .tedra-projects-hero {
        padding: 4rem 0 3rem;
    }
    
    .tedra-filters-card {
        padding: 1.5rem;
    }
    
    .tedra-project-content {
        padding: 1.5rem;
    }
    
    .tedra-project-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .tedra-projects-hero {
        padding: 3rem 0 2rem;
    }
    
    .tedra-filters-card {
        padding: 1.25rem;
    }
    
    .tedra-project-image {
        height: 220px;
    }
    
    .tedra-project-content {
        padding: 1.25rem;
    }
    
    .tedra-project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ========================================
   TEDRA STYLE NEWS PAGE
   ======================================== */
.tedra-news-hero {
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.tedra-news-hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* News Cards */
.tedra-news-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tedra-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tedra-news-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.tedra-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tedra-news-card:hover .tedra-news-image img {
    transform: scale(1.05);
}

.tedra-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.8), rgba(91, 155, 213, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tedra-news-card:hover .tedra-news-overlay {
    opacity: 1;
}

.tedra-news-date {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tedra-news-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tedra-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tedra-news-category {
    background: rgba(59, 116, 194, 0.1);
    color: #3b74c2;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tedra-news-time {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.tedra-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tedra-news-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tedra-news-link {
    color: #3b74c2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tedra-news-link:hover {
    color: #2f5d9a;
    transform: translateX(4px);
}

.tedra-news-link i {
    transition: transform 0.3s ease;
}

.tedra-news-link:hover i {
    transform: translateX(-4px);
}

/* Pagination */
.tedra-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.tedra-pagination .pagination {
    margin: 0;
}

.tedra-pagination .page-link {
    color: #3b74c2;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tedra-pagination .page-link:hover {
    background: #3b74c2;
    color: white;
    border-color: #3b74c2;
    transform: translateY(-2px);
}

.tedra-pagination .page-item.active .page-link {
    background: #3b74c2;
    border-color: #3b74c2;
    color: white;
}

/* Empty State */
.tedra-empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.tedra-empty-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.tedra-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.tedra-empty-description {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .tedra-news-hero {
        padding: 4rem 0 3rem;
    }
    
    .tedra-news-content {
        padding: 1.5rem;
    }
    
    .tedra-news-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .tedra-news-hero {
        padding: 3rem 0 2rem;
    }
    
    .tedra-news-image {
        height: 200px;
    }
    
    .tedra-news-content {
        padding: 1.25rem;
    }
    
    .tedra-news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .tedra-empty-state {
        padding: 3rem 1rem;
    }
    
    .tedra-empty-icon {
        font-size: 3rem;
    }
}

/* ========================================
   TEDRA STYLE FOOTER
   ======================================== */
.tedra-footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    position: relative;
    overflow: hidden;
}

.tedra-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b74c2, transparent);
}

/* Main Footer Content */
.tedra-footer-main {
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

/* Footer Brand */
.tedra-footer-brand {
    margin-bottom: 2rem;
}

.tedra-footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tedra-footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.tedra-footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tedra-footer-brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.tedra-footer-brand-subtitle {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 400;
    margin: 0;
}

.tedra-footer-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Footer Social Links */
.tedra-footer-social {
    display: flex;
    gap: 1rem;
}

.tedra-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tedra-footer-social-link:hover {
    background: #3b74c2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 116, 194, 0.4);
}

/* Footer Sections */
.tedra-footer-section {
    margin-bottom: 2rem;
}

.tedra-footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.tedra-footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b74c2, #5b9bd5);
    border-radius: 1px;
}

/* Footer Links */
.tedra-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tedra-footer-links li {
    margin-bottom: 0.75rem;
}

.tedra-footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.tedra-footer-links a:hover {
    color: #3b74c2;
    padding-left: 8px;
}

/* Footer Contact */
.tedra-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tedra-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tedra-footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 116, 194, 0.1);
    color: #3b74c2;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 1rem;
}

.tedra-footer-contact-content h6 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.tedra-footer-contact-content p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Footer Bottom */
.tedra-footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tedra-footer-copyright {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin: 0;
}

.tedra-footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.tedra-footer-bottom-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.tedra-footer-bottom-link:hover {
    color: #3b74c2;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .tedra-footer-main {
        padding: 3rem 0 1.5rem;
    }
    
    .tedra-footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .tedra-footer-social {
        justify-content: center;
    }
    
    .tedra-footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .tedra-footer-main {
        padding: 2.5rem 0 1rem;
    }
    
    .tedra-footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .tedra-footer-logo-img {
        height: 50px;
    }
    
    .tedra-footer-social {
        gap: 0.75rem;
    }
    
    .tedra-footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .tedra-footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tedra-footer-contact-item {
        gap: 0.75rem;
    }
    
    .tedra-footer-contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ========================================
   TEDRA STYLE HEADER
   ======================================== */
.tedra-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}


.tedra-contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tedra-contact-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.tedra-contact-item i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}


.tedra-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tedra-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Main Navigation */
.tedra-navbar {
    padding: 1rem 0;
    background: white;
}

.tedra-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.tedra-logo {
    flex-shrink: 0;
}

.tedra-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tedra-logo-link:hover {
    transform: translateY(-2px);
}

.tedra-logo-img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.tedra-logo-img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.tedra-nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tedra-nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.tedra-nav-item {
    position: relative;
    flex-shrink: 0;
}

.tedra-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
    word-break: keep-all;
    text-align: center;
}

.tedra-nav-link:hover {
    color: #3b74c2;
    background: rgba(59, 116, 194, 0.05);
    transform: translateY(-1px);
}

.tedra-nav-link.active {
    color: #3b74c2;
    background: rgba(59, 116, 194, 0.1);
    font-weight: 600;
}

.tedra-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #3b74c2, #5b9bd5);
    border-radius: 2px;
}

/* Services Dropdown */
.tedra-has-dropdown { position: relative; }
.tedra-has-dropdown .fas.fa-chevron-down { font-size: .8rem; opacity: .8 }
.tedra-has-dropdown > .tedra-dropdown {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    border-radius: .75rem;
    padding: .5rem;
    display: none;
    z-index: 1000;
}
.tedra-dropdown-list { list-style: none; margin: 0; padding: .25rem 0; max-height: 60vh; overflow: auto }
.tedra-dropdown-link { display:block; padding:.6rem .9rem; color:#1f2937; text-decoration:none; border-radius:.5rem; transition: background .2s ease, color .2s ease, transform .15s ease; white-space:nowrap }
.tedra-dropdown-link:hover { background: rgba(59,116,194,.08); color: #3b74c2; transform: translateX(2px) }
.tedra-has-dropdown:hover > .tedra-dropdown { display: block }

@media (hover:none){
  .tedra-has-dropdown > .tedra-dropdown { display:none }
  .tedra-has-dropdown.open > .tedra-dropdown { display:block }
}

/* Action Buttons */
.tedra-nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* Language Switcher */
.tedra-language-switcher {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 4px;
    gap: 4px;
}

.tedra-lang-btn {
    padding: 0.5rem 1rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tedra-lang-btn:hover {
    color: #3b74c2;
    background: white;
}

.tedra-lang-btn.active {
    color: white;
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    box-shadow: 0 2px 8px rgba(59, 116, 194, 0.3);
}

/* CTA Button */
.tedra-cta-btn {
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 116, 194, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tedra-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 116, 194, 0.4);
    background: linear-gradient(135deg, #2f5d9a, #4a8bc7);
    color: white;
}

/* Mobile Toggle */
.tedra-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.tedra-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #3b74c2;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.tedra-mobile-toggle:hover span {
    background: #2f5d9a;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .tedra-nav-desktop {
        display: none;
    }
    
    .tedra-mobile-toggle {
        display: flex;
    }
    
    .tedra-logo-img {
        height: 50px;
    }
    
    .tedra-nav-actions {
        gap: 1rem;
    }
    
    .tedra-cta-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 767.98px) {
    
    .tedra-navbar {
        padding: 0.75rem 0;
    }
    
    .tedra-language-switcher {
        display: none;
    }
    
    .tedra-cta-btn {
        display: none;
    }
}

/* ========================================
   MOBILE NAVBAR IMPROVEMENTS
   ======================================== */
@media (max-width: 991.98px) {
    .navbar-toggler {
        padding: 0.5rem;
        border: none;
        background: transparent;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .offcanvas {
        width: 280px !important;
    }
    
    .offcanvas-header {
        background: linear-gradient(135deg, #3b74c2, #5b9bd5);
        color: white;
        padding: 1rem 1.5rem;
    }
    
    .offcanvas-title {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .offcanvas-body .nav-link {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #f8f9fa;
        transition: all 0.3s ease;
    }
    
    .offcanvas-body .nav-link:hover {
        background: rgba(59, 116, 194, 0.1);
        padding-left: 2rem;
    }
    
    .offcanvas-body .nav-link.active {
        background: rgba(59, 116, 194, 0.15);
        color: #3b74c2;
        font-weight: 600;
    }
    
    .offcanvas-body .nav-link i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }
    
    .btn-group.w-100 .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 2.5rem !important;
    }
    
    .offcanvas {
        width: 100% !important;
    }
    
    .offcanvas-body .nav-link {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
    }
}

/* ========================================
   PROFESSIONAL NAVBAR STYLES
   ======================================== */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(59, 116, 194, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b74c2;
    margin: 0;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
}

/* Professional Nav Links */
.professional-nav-link {
    position: relative;
    padding: 12px 20px !important;
    margin: 0 4px;
    border-radius: 8px;
    font-weight: 500;
    color: #374151 !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.professional-nav-link:hover {
    color: #3b74c2 !important;
    background: rgba(59, 116, 194, 0.05);
    transform: translateY(-1px);
}

.professional-nav-link.active {
    color: #3b74c2 !important;
    background: rgba(59, 116, 194, 0.1);
    font-weight: 600;
}

.professional-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #3b74c2, #5b9bd5);
    border-radius: 2px;
}

.professional-nav-link i {
    font-size: 0.9rem;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.professional-nav-link:hover i {
    transform: scale(1.1);
    color: #3b74c2;
}

/* Language Switcher */
.language-switcher .btn {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.language-switcher .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 116, 194, 0.15);
}

.language-switcher .btn-primary {
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    border: none;
    box-shadow: 0 2px 8px rgba(59, 116, 194, 0.3);
}

.language-switcher .btn-outline-primary {
    color: #3b74c2;
    border-color: #3b74c2;
}

.language-switcher .btn-outline-primary:hover {
    background: #3b74c2;
    color: white;
}

/* CTA Button */
.professional-cta-btn {
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(59, 116, 194, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.professional-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 116, 194, 0.4);
    background: linear-gradient(135deg, #2f5d9a, #4a8bc7);
    color: white;
}

.professional-cta-btn i {
    font-size: 0.9rem;
}

/* Mobile Menu Button */
.navbar-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #3b74c2;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggler:hover .hamburger-line {
    background: #2f5d9a;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Offcanvas */
.offcanvas {
    border: none;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.offcanvas-header {
    background: linear-gradient(135deg, #3b74c2, #5b9bd5);
    color: white;
    padding: 20px;
}

.offcanvas-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.offcanvas-body {
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(59, 116, 194, 0.05);
    color: #3b74c2;
    padding-left: 32px;
}

.mobile-nav-link.active {
    background: rgba(59, 116, 194, 0.1);
    color: #3b74c2;
    font-weight: 600;
}

.mobile-nav-link i {
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .professional-cta-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 12px 0;
    }
    
    .language-switcher {
        margin-right: 0;
    }
    
    .language-switcher .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ========================================
   FONT AWESOME ICONS FIX
   ======================================== */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.fas {
    font-weight: 900 !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Force icon visibility */
.tedra-contact-info .fas,
.tedra-contact-info .fa {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Specific icon fixes */
.tedra-contact-info .fa-map-marker-alt,
.tedra-contact-info .fa-phone,
.tedra-contact-info .fa-envelope,
.tedra-contact-info .fa-clock {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Fallback for when Font Awesome doesn't load */
.tedra-contact-info .fallback-icon {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    display: none !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* ========================================
   TEDRA ABOUT PAGE STYLES
   ======================================== */
.tedra-hero-about {
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tedra-hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.tedra-hero-about .container {
    position: relative;
    z-index: 3;
}

/* Hero image effects */
.tedra-hero-about {
    background-attachment: fixed;
    background-blend-mode: overlay;
}

.tedra-hero-about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 116, 194, 0.8) 0%, rgba(30, 64, 175, 0.7) 100%);
    z-index: 2;
}

.tedra-section-light {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 5rem 0;
}

.tedra-section-white {
    background: #ffffff;
    padding: 5rem 0;
}

.tedra-section-primary {
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Fade In Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Styles */
.tedra-about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f8f9fa;
}

.tedra-service-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: block;
    max-width: 100%;
}

/* Force image display */
.tedra-about-image,
.tedra-service-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Additional image fixes */
.tedra-about-image {
    min-height: 400px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23f8f9fa"/><text x="200" y="150" text-anchor="middle" fill="%23666" font-family="Arial" font-size="16">Loading...</text></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Badge text color fixes */
.badge.bg-primary.bg-opacity-10 {
    color: #ffffff !important;
    background-color: #3b74c2 !important;
}

.badge.bg-primary.bg-opacity-10 i {
    color: #ffffff !important;
}

/* Hero badge fixes */
.tedra-hero-about .badge.bg-white.bg-opacity-20 {
    color: #3b74c2 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.tedra-hero-about .badge.bg-white.bg-opacity-20 i {
    color: #3b74c2 !important;
}

/* Vision & Mission Cards */
.tedra-vision-card,
.tedra-mission-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 116, 194, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tedra-vision-card::before,
.tedra-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
}

.tedra-vision-card:hover,
.tedra-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tedra-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(59, 116, 194, 0.3);
    transition: all 0.3s ease;
}

.tedra-icon-circle i {
    color: #ffffff !important;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tedra-vision-card:hover .tedra-icon-circle,
.tedra-mission-card:hover .tedra-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(59, 116, 194, 0.4);
}

/* Values Cards */
.tedra-value-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 116, 194, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tedra-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tedra-value-card:hover::before {
    transform: scaleX(1);
}

.tedra-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.tedra-value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(59, 116, 194, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.tedra-value-icon i {
    color: #ffffff !important;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tedra-value-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    transition: all 0.3s ease;
}

.tedra-value-card:hover .tedra-value-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(59, 116, 194, 0.4);
}

.tedra-value-card:hover .tedra-value-icon::before {
    transform: scale(1.2);
    opacity: 0.3;
}

/* ========================================
   PROFESSIONAL FOOTER STYLES
   ======================================== */
.tedra-footer-professional {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.tedra-footer-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
}

.tedra-footer-professional::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 116, 194, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer Brand */
.tedra-footer-brand {
    position: relative;
    z-index: 2;
}

.tedra-footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.tedra-footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tedra-footer-description {
    color: #ecf0f1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer Sections */
.tedra-footer-section {
    position: relative;
    z-index: 2;
}

.tedra-footer-section-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tedra-footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 25px;
    height: 2px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    border-radius: 1px;
}

/* Footer Links */
.tedra-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tedra-footer-links li {
    margin-bottom: 0.75rem;
}

.tedra-footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.tedra-footer-links a:hover {
    color: #3b74c2;
    transform: translateX(5px);
}

.tedra-footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #3b74c2;
    transition: width 0.3s ease;
}

.tedra-footer-links a:hover::before {
    width: 10px;
}

/* Social Links */
.tedra-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tedra-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(59, 116, 194, 0.15);
    color: #ecf0f1;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 116, 194, 0.3);
    font-size: 0.9rem;
}

.tedra-social-link:hover {
    background: #3b74c2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 116, 194, 0.3);
}

/* Contact Info */
.tedra-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tedra-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tedra-contact-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.tedra-contact-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tedra-contact-label {
    color: #bdc3c7;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tedra-contact-value {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Copyright Section */
.tedra-footer-copyright-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.tedra-footer-copyright {
    color: #bdc3c7;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
}


/* Responsive Design */
@media (max-width: 768px) {
    .tedra-footer-professional {
        padding: 2rem 0;
    }
    
    .tedra-footer-social {
        justify-content: center;
    }
    
    .tedra-footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .tedra-footer-section {
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

/* Mobile tuning for home hero spacing */
@media (max-width: 576px) {
  .tedra-hero { padding-top: 4rem; padding-bottom: 1.5rem; min-height: auto; }
  .tedra-hero .min-vh-100 { min-height: auto !important; }
  .tedra-hero .badge { margin-top: .25rem; margin-bottom: .75rem; display: inline-flex; align-items: center; gap: .35rem; }
  .tedra-hero h1 { font-size: 2rem !important; line-height: 1.2; margin-bottom: .75rem; }
  .tedra-hero p.lead { font-size: .95rem !important; margin-bottom: 1rem !important; }
  .tedra-hero .d-flex.gap-3.mb-5 { margin-bottom: 1rem !important; }
  .tedra-hero img.img-fluid { max-height: 280px !important; border-radius: 12px; margin-top: 12px; }
  .tedra-partner-card { padding: .75rem; }
}

/* Service Cards */
.tedra-service-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 116, 194, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tedra-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tedra-service-card:hover::before {
    transform: scaleX(1);
}

.tedra-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 116, 194, 0.2);
}

.tedra-service-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: block;
    max-width: 100%;
    transition: all 0.3s ease;
}

.tedra-service-card:hover .tedra-service-image {
    transform: scale(1.05);
    border-radius: 1rem;
}

/* Statistics Cards */
.tedra-stat-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 116, 194, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tedra-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tedra-stat-card:hover::before {
    transform: scaleX(1);
}

.tedra-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 116, 194, 0.2);
}

.tedra-stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b74c2 0%, #1e40af 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(59, 116, 194, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.tedra-stat-icon i {
    color: #ffffff !important;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tedra-stat-card:hover .tedra-stat-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(59, 116, 194, 0.4);
}

.tedra-stat-card h3 {
    color: #3b74c2 !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(59, 116, 194, 0.1);
}

/* Force statistics icon visibility */
.tedra-stat-icon i {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tedra-stat-icon i::before {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

/* Force icon visibility */
.tedra-icon-circle i,
.tedra-value-icon i,
.tedra-stat-icon i {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Additional icon styling for better visibility */
.tedra-icon-circle i::before,
.tedra-value-icon i::before,
.tedra-stat-icon i::before {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tedra-hero-about {
        min-height: 50vh;
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .tedra-section-light,
    .tedra-section-white,
    .tedra-section-primary {
        padding: 3rem 0;
    }
    
    .tedra-about-image {
        height: 300px;
    }
    
    .tedra-service-image {
        height: 100px;
    }
}

/* Tedra Login Button */
.tedra-login-btn {
    background: transparent;
    color: #3b74c2;
    padding: 10px 20px;
    border: 2px solid #3b74c2;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
}

.tedra-login-btn:hover {
    background: #3b74c2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 116, 194, 0.3);
}

/* Responsive for Login Button */
@media (max-width: 991.98px) {
    .tedra-login-btn {
        margin-right: 0;
        margin-bottom: 8px;
        width: 100%;
        justify-content: center;
    }
}

/* Arabic Text Fix */
[dir="rtl"] .tedra-nav-link {
    direction: rtl;
    unicode-bidi: bidi-override;
    text-align: right;
}

[dir="ltr"] .tedra-nav-link {
    direction: ltr;
    text-align: left;
}

/* ========================================
   PROFESSIONAL CTA SECTION
   ======================================== */
.tedra-cta-section {
    background: 
        linear-gradient(135deg, #3b74c2 0%, #2563eb 30%, #1d4ed8 70%, #1e40af 100%),
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 80%);
    position: relative;
    overflow: hidden;
}

.tedra-cta-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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>'),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
    pointer-events: none;
}

.tedra-cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.tedra-cta-decorative-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.tedra-cta-decorative-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 4px;
}

.tedra-cta-icon {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.tedra-cta-title {
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    font-weight: 700;
    position: relative;
}

.tedra-cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
    animation: expandLine 2s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to { width: 200px; }
}

.tedra-cta-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

.tedra-cta-underline::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    border-radius: 3px;
}

.tedra-cta-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.tedra-cta-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #3b74c2;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.tedra-cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.tedra-cta-btn-primary:hover::before {
    left: 100%;
}

.tedra-cta-btn-primary:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2563eb;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.2) inset;
}

.tedra-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tedra-cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.tedra-cta-btn-secondary:hover::before {
    left: 100%;
}

.tedra-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.3) inset;
}

.tedra-cta-contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    position: relative;
}

.tedra-cta-contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
}

.tedra-cta-contact-item {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.tedra-cta-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.tedra-cta-contact-item:hover::before {
    left: 100%;
}

.tedra-cta-contact-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tedra-cta-contact-item i {
    font-size: 1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.tedra-cta-contact-item:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* ========================================
   TEDRA STYLE FOOTER
   ======================================== */
.tedra-footer-style {
    background: 
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%),
        radial-gradient(circle at 20% 20%, rgba(59, 116, 194, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 116, 194, 0.08) 0%, transparent 50%);
    color: #ffffff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.tedra-footer-style::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 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.tedra-footer-brand-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tedra-footer-brand-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b74c2 0%, #60a5fa 100%);
    border-radius: 2px;
}

.tedra-footer-brand-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tedra-footer-brand-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tedra-footer-social {
    display: flex;
    gap: 1rem;
}

.tedra-social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tedra-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tedra-social-link:hover::before {
    left: 100%;
}

.tedra-social-link:hover {
    color: #ffffff;
    background: rgba(59, 116, 194, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 116, 194, 0.3);
    border-color: rgba(59, 116, 194, 0.5);
}

.tedra-footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tedra-footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3b74c2 0%, #60a5fa 100%);
    border-radius: 1px;
}

.tedra-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tedra-footer-links li {
    margin-bottom: 0.75rem;
}

.tedra-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.25rem 0;
    display: inline-block;
}

.tedra-footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #3b74c2 0%, #60a5fa 100%);
    transition: width 0.3s ease;
}

.tedra-footer-links a:hover::before {
    width: 100%;
}

.tedra-footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.tedra-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tedra-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.tedra-footer-contact-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b74c2 0%, #60a5fa 100%);
    transition: width 0.3s ease;
}

.tedra-footer-contact-item:hover::before {
    width: 4px;
}

.tedra-footer-contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.tedra-footer-contact-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #3b74c2;
    transition: color 0.3s ease;
}

.tedra-footer-contact-item:hover i {
    color: #60a5fa;
}

.tedra-footer-bottom {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
        radial-gradient(circle at 50% 0%, rgba(59, 116, 194, 0.1) 0%, transparent 70%);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.tedra-footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 116, 194, 0.5) 50%, transparent 100%);
}

.tedra-footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.tedra-footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.tedra-footer-bottom-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tedra-footer-bottom-link:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tedra-footer-style {
        padding: 2rem 0 0;
    }
    
    .tedra-footer-brand-title {
        font-size: 1.3rem;
    }
    
    .tedra-footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .tedra-footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

