@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #2c3e92;
    --primary-dark: #1a2559;
    --secondary-color: #e85d22;
    --secondary-light: #ff763a;
    --bg-light: #f8f9fa;
    --bg-dark: #0f172a;
    --text-dark: #334155;
    --text-muted: #64748b;
    
    /* Layout & Components */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Utils */
.text-secondary {
    color: var(--secondary-color) !important;
}
.hover-secondary:hover {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}
.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('/redricas/img/hero.png') center center/cover no-repeat;
    opacity: 0.15;
}
.hero-section h1 {
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.hero-section p {
    font-size: 1.2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}
.btn-primary-custom {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}
.btn-primary-custom:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 93, 34, 0.3);
}

/* Cards */
.card-custom {
    background: white;
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}
.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.card-body-custom {
    padding: 25px;
}
.card-title-custom {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* General Sections */
.section-title {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer {
    border-top: 5px solid var(--secondary-color);
}

/* Glassmorphism Navbar */
.glass-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-navbar .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    transition: var(--transition);
}

.glass-navbar .nav-link:hover {
    background: rgba(44, 62, 146, 0.05);
    color: var(--primary-color) !important;
}

/* Modern Cards */
.card-modern {
    border: none;
    border-radius: var(--border-radius-lg);
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: var(--transition);
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 62, 146, 0.1);
}

.card-modern img {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transition: var(--transition);
}

.card-modern:hover img {
    transform: scale(1.03);
}

/* Modern Buttons */
.btn-modern {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(232, 93, 34, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 34, 0.4);
    color: white;
}

.btn-outline-modern {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 146, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url("../img/hero-bg.png") no-repeat center center;
    background-size: cover;
    padding: 180px 0 120px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(26,37,89,0.85) 0%, rgba(15,23,42,0.95) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* UI Enhancements for large screens and depth */
.bg-mesh {
    background-color: #ffffff;
    background-image: radial-gradient(at 0% 0%, hsla(228, 54%, 96%, 1) 0, transparent 50%), 
                      radial-gradient(at 100% 0%, hsla(21, 82%, 93%, 1) 0, transparent 50%), 
                      radial-gradient(at 100% 100%, hsla(228, 54%, 96%, 1) 0, transparent 50%), 
                      radial-gradient(at 0% 100%, hsla(21, 82%, 93%, 1) 0, transparent 50%);
}

.bg-mesh-darker {
    background-color: #f8fafc;
    background-image: radial-gradient(at 80% 0%, hsla(228, 54%, 93%, 1) 0, transparent 50%), 
                      radial-gradient(at 0% 100%, hsla(21, 82%, 90%, 1) 0, transparent 50%);
}

.container {
    max-width: 1200px !important;
}

.section-padding {
    padding-top: 9rem !important;
    padding-bottom: 6rem !important;
}

.floating-shape {
    position: absolute;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.4;
    border-radius: 50%;
    animation: float 10s infinite ease-in-out alternate;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

/* SVG Shape Dividers */
.shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider-bottom .shape-fill {
    fill: #f8fafc;
}

.shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider-top .shape-fill {
    fill: #f8fafc;
}

