/* ===================================
   MAIN STYLESHEET - PrimulAjutor.ro
   Brand Colors and Variables
   =================================== */

:root {
    /* Primary Brand Colors */
    --rPrimaryRed: #de4946;
    --rLightCream: #f9f9f9;
    --rLightBeige: #f2edea;
    --rLightPeach: #F8EAE1;
    --rDarkText: #121212;
    --rWhite: #ffffff;
    --rLightGray: #f8f9fa;
    --rMediumGray: #6c757d;
    --rDarkGray: #343a40;
    --rGreen: #28a745;
    
    /* Typography Variables */
    --sFontFamily: 'Droid Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nFontSizeBase: 16px;
    --nFontSizeSmall: 14px;
    --nFontSizeLarge: 18px;
    --nFontSizeXL: 24px;
    --nFontSizeXXL: 32px;
    
    /* Spacing Variables */
    --nSpacingXS: 0.5rem;
    --nSpacingS: 1rem;
    --nSpacingM: 1.5rem;
    --nSpacingL: 2rem;
    --nSpacingXL: 3rem;
    --nSpacingXXL: 4rem;
    
    /* Border Radius */
    --nBorderRadius: 8px;
    --nBorderRadiusLarge: 12px;
    
    /* Shadows */
    --sShadowLight: 0 2px 4px rgba(0, 0, 0, 0.1);
    --sShadowMedium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --sShadowLarge: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===================================
   GLOBAL STYLES AND RESET
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Container Max Width Override */
.container {
    max-width: 1050px !important;
}

body {
    font-family: var(--sFontFamily);
    font-size: var(--nFontSizeBase);
    line-height: 1.6;
    color: var(--rDarkText);
    background-color: var(--rLightCream);
    cursor: default !important;
}

/* Remove custom cursor and use default arrow */
* {
    cursor: default !important;
}

a {
    cursor: pointer !important;
    text-decoration: none;
}

button {
    cursor: pointer !important;
}

/* ===================================
   TYPOGRAPHY STYLES
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--nSpacingS);
    color: var(--rDarkText);
}

h1 {
    font-size: var(--nFontSizeXXL);
    font-weight: 700;
    color: var(--rPrimaryRed);
}

h2 {
    font-size: var(--nFontSizeXL);
    color: var(--rPrimaryRed);
    font-weight: 700;
}

h3 {
    font-size: var(--nFontSizeLarge);
}

h4 {
    font-size: 14px;
}

.pa-h4-bigger {
    font-size: 20px !important;
}

p {
    margin-bottom: var(--nSpacingS);
    line-height: 1.7;
}

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

/* ===================================
   HEADER AND NAVIGATION STYLES
   =================================== */

.site-header {
    background-color: var(--rWhite);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: var(--nSpacingS) 0;
}

/* Logo Styles */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    cursor: pointer !important;
}

.brand-text .brand-title {
    font-size: var(--nFontSizeLarge);
    font-weight: 700;
    color: var(--rDarkText);
    line-height: 1.2;
}

.brand-text .brand-subtitle {
    font-size: var(--nFontSizeSmall);
    color: var(--rMediumGray);
    line-height: 1.2;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--rDarkText) !important;
    margin: 0 2px;
    border-radius: var(--nBorderRadius);
    transition: all 0.3s ease;
    font-size: 15px;
}

.navbar-nav .nav-link:hover {
    background-color: transparent;
    color: var(--rPrimaryRed) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background-color: transparent;
    color: var(--rPrimaryRed) !important;
    font-weight: 600;
}

/* Home button will use the standard .active class like other nav items */

/* Force zero padding on large screens */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: var(--nSpacingXS);
    }
}

/* Header Contact Section */
.header-contact {
    min-width: 300px;
}

.header-contact-wrapper {
    text-align: right;
}

.contact-top {
    white-space: nowrap;
}

.program-link {
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.program-link:hover {
    color: #357abd;
    text-decoration: underline;
}

.header-cta-btn {
    background-color: var(--rGreen);
    background-image: none;
    border-color: var(--rGreen);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.header-cta-btn:hover {
    background-color: #218838;
    border-color: #218838;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.phone-number {
    color: var(--rDarkText);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--sShadowMedium);
    border-radius: var(--nBorderRadius);
    padding: var(--nSpacingXS);
}

.dropdown-item {
    padding: var(--nSpacingXS) var(--nSpacingS);
    border-radius: var(--nBorderRadius);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--rPrimaryRed);
    color: var(--rWhite);
}

/* ===================================
   MAIN CONTENT STYLES
   =================================== */

.main-content {
    min-height: 80vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--rLightCream) 0%, var(--rWhite) 100%);
    padding: var(--nSpacingXL) 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rDarkText);
    margin-bottom: var(--nSpacingM);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--nFontSizeLarge);
    color: var(--rMediumGray);
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    background-color: var(--rPrimaryRed);
    border-color: var(--rPrimaryRed);
    border-radius: var(--nBorderRadius);
    padding: var(--nSpacingS) var(--nSpacingL);
    font-weight: 600;
    font-size: var(--nFontSizeBase);
    transition: all 0.3s ease;
    box-shadow: var(--sShadowLight);
}

.btn-primary:hover {
    background-color: #c73e3b;
    border-color: #c73e3b;
    transform: translateY(-2px);
    box-shadow: var(--sShadowMedium);
}

.btn-outline-primary {
    color: var(--rPrimaryRed);
    border-color: var(--rPrimaryRed);
    border-radius: var(--nBorderRadius);
    padding: var(--nSpacingS) var(--nSpacingL);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--rPrimaryRed);
    border-color: var(--rPrimaryRed);
    transform: translateY(-2px);
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.content-section {
    padding: var(--nSpacingXL) 0;
}

.content-section:nth-child(even) {
    /* background-color: var(--rWhite); */
}

.section-title {
    text-align: left;
    margin-bottom: var(--nSpacingXL);
}

/* Feature Cards */
.feature-card {
    box-shadow: var(--sShadowLight);
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sShadowMedium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--rLightCream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--nSpacingS);
    color: var(--rPrimaryRed);
    font-size: 2rem;
}

.feature-title {
    text-align: center;
    margin-bottom: var(--nSpacingS);
    color: var(--rDarkText);
}

.feature-description {
    text-align: center;
    color: var(--rMediumGray);
    line-height: 1.7;
}

/* ===================================
   IMAGES AND MEDIA
   =================================== */

.img-fluid {
    border-radius: var(--nBorderRadius);
    box-shadow: var(--sShadowLight);
}

.hero-image {
    border-radius: var(--nBorderRadiusLarge);
    box-shadow: var(--sShadowMedium);
}

/* ===================================
   FOOTER STYLES
   =================================== */

.site-footer {
    background-color: var(--rDarkGray) !important;
    color: var(--rWhite);
}

.footer-title {
    color: var(--rWhite);
    font-weight: 600;
    margin-bottom: var(--nSpacingS);
}

.footer-subtitle {
    color: var(--rWhite);
    font-weight: 600;
    margin-bottom: var(--nSpacingS);
    font-size: var(--nFontSizeBase);
}

.footer-description {
    color: #adb5bd;
    line-height: 1.7;
}

.footer-links li a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--rPrimaryRed);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--rPrimaryRed) !important;
    transform: translateY(-2px);
}

.copyright-text {
    color: #adb5bd;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--rPrimaryRed);
    color: var(--rWhite);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--sShadowMedium);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background-color: #c73e3b;
    transform: translateY(-2px);
    box-shadow: var(--sShadowLarge);
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: var(--nFontSizeBase);
    }
    
    .brand-text .brand-title {
        font-size: var(--nFontSizeBase);
    }
    
    .brand-text .brand-subtitle {
        font-size: 12px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .content-section {
        padding: var(--nSpacingL) 0;
    }
    
    .feature-card {
        padding: var(--nSpacingM);
    }
    
    /* Hide header contact on mobile */
    .header-contact {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: var(--nSpacingL) 0;
    }
    
    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===================================
   ANIMATION CLASSES FOR GSAP
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

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

.bg-pa-yellow01 {
    background-color: var(--rLightBeige) !important;
}

/* ===================================
   ABOUT PAGE - STICKY SCROLL LAYOUT
   =================================== */

.sticky-content-cards {
    position: relative;
    z-index: 1;
}

.content-card {
    position: relative;
    transition: all 0.8s ease;
    margin-bottom: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    min-height: 60px;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Stacked card effect - initially show only titles */
.content-card {
    transform: translateY(0px);
}

.content-card:not(.visible) {
    height: 70px;
    margin-top: -15px;
}

.content-card:not(.visible) p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s ease;
}

.content-card.visible {
    height: auto;
    margin-top: 0;
    margin-bottom: 30px !important;
}

.content-card.visible p {
    opacity: 1;
    max-height: 1000px;
    transition: all 0.6s ease 0.3s;
}

/* Alternating background colors */
.content-card:nth-child(odd) {
    background-color: var(--rWhite) !important;
}

.content-card:nth-child(even) {
    background-color: var(--rLightGray) !important;
}

/* First card is always visible */
.content-card:first-child {
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

.content-card:first-child p {
    opacity: 1 !important;
    max-height: 1000px !important;
}

/* Content card headings should be black */
.content-card h2 {
    color: var(--rDarkText) !important;
}

.sticky-images-container {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.image-stack .image-item {
    position: relative;
    overflow: hidden;
}

.image-stack .image-item img {
    transition: transform 0.3s ease;
}

.image-stack .image-item:hover img {
    transform: scale(1.02);
}

/* Fade-in scroll animation */
.fade-in-scroll {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scroll.visible {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .sticky-images-container {
        position: relative;
        top: auto;
        margin-top: 2rem;
    }
    
    .content-card {
        margin-bottom: 1rem !important;
        height: auto !important;
        margin-top: 0 !important;
    }
    
    .content-card p {
        opacity: 1 !important;
        max-height: none !important;
    }
}

.shadow-custom {
    box-shadow: var(--sShadowMedium) !important;
}

.border-radius-custom {
    border-radius: var(--nBorderRadius) !important;
}

.border-radius-large {
    border-radius: var(--nBorderRadiusLarge) !important;
}

/* ===================================
   HOMEPAGE SPECIFIC STYLES
   =================================== */

/* Hero Title and Subtitle overrides for homepage */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rPrimaryRed);
}

.hero-subtitle {
    font-size: var(--nFontSizeLarge);
    color: var(--rMediumGray);
    line-height: 1.6;
}

/* Online Course Section */
.online-course-image img {
    border-radius: var(--nBorderRadius);
    box-shadow: var(--sShadowMedium);
}

.feature-card {
    padding: var(--nSpacingL);
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--rPrimaryRed);
    color: var(--rWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

/* Left-aligned feature icon for custom SVG icons */
.feature-icon-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
}

.custom-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.small-text {
    font-size: var(--nFontSizeSmall);
    color: var(--rMediumGray);
    font-style: italic;
}

/* Target Audience Section */
.target-audience-section {
    background-color: var(--rLightBeige);
}

.target-audience {
    background-color: var(--rLightCream);
    padding: var(--nSpacingL);
    border-radius: var(--nBorderRadius);
}

.audience-list p {
    margin-bottom: var(--nSpacingXS);
    font-weight: 500;
}

/* Numbered Audience List */
.numbered-audience-list {
    padding: var(--nSpacingL);
}

.audience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--nSpacingL);
    padding-bottom: var(--nSpacingL);
    border-bottom: 1px solid #d0d0d0;
}

.audience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.audience-number {
    font-size: var(--nFontSizeSmall);
    color: var(--rMediumGray);
    font-weight: 400;
    margin-right: var(--nSpacingM);
    min-width: 30px;
    flex-shrink: 0;
}

.audience-content {
    flex: 1;
}

.audience-content h4 {
    font-size: var(--nFontSizeLarge);
    font-weight: 600;
    color: var(--rDarkText);
    margin-bottom: var(--nSpacingXS);
    text-decoration: underline;
}

.audience-content p {
    font-size: var(--nFontSizeBase);
    color: var(--rMediumGray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Course Lists */
.course-stages, .course-content-list {
    list-style: none;
    padding: 0;
}

.course-stages li, .course-content-list li {
    margin-bottom: var(--nSpacingXS);
    color: var(--rDarkText);
}

/* Course Images */
.course-images img, .course-content-images img {
    transition: transform 0.3s ease;
}

.course-images img:hover, .course-content-images img:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--rLightCream);
    border-left: 4px solid var(--rPrimaryRed);
}

.testimonial-text {
    font-style: italic;
    font-size: var(--nFontSizeLarge);
}

/* FAQ Section */
.faq-item h5 {
    color: var(--rPrimaryRed);
    margin-bottom: var(--nSpacingS);
}

.faq-item p {
    color: #adb5bd;
    line-height: 1.6;
}

/* Hero Image Overlay Styles */
.hero-image-overlay-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-full-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay-content {
    position: absolute;
    top: 16%;
    right: 8%;
    transform: translateY(-50%);
    background-color: rgb(75 75 75 / 61%);
    padding: var(--nSpacingL);
    border-radius: var(--nBorderRadius);
    box-shadow: var(--sShadowMedium);
    text-align: left;
    min-width: 320px;
    max-width: 420px;
}

.overlay-title {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--nSpacingM);
}

.overlay-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--nSpacingL);
    text-align: left;
}

.overlay-features li {
    margin-bottom: var(--nSpacingXS);
    font-size: var(--nFontSizeSmall);
    color: white;
    display: flex;
    align-items: center;
}

.overlay-btn {
    background-color: #ffc107;
    border-color: #ffc107;
    color: var(--rDarkText);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 12px;
}

.overlay-btn:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--rDarkText);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.overlay-btn i {
    color: #000000;
    font-size: 14px;
}

/* Three Features Section Styles */
.section-pa-3features {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

.section-pa-3features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-pa-3features .feature-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
}

.section-pa-3features * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Add vertical separators between columns */
.section-pa-3features .col-lg-4:not(:last-child) .feature-card::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #d0d0d0;
}

/* Ensure columns have equal height */
.section-pa-3features .row {
    display: flex;
    align-items: stretch;
}

.section-pa-3features .col-lg-4 {
    display: flex;
}

.section-pa-3features .feature-card {
    flex: 1;
    width: 100%;
}

/* ===================================
   HOMEPAGE RESPONSIVE STYLES OVERRIDES
   =================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .course-content-images .col-6 {
        margin-bottom: var(--nSpacingS);
    }
    
    .hero-full-image {
        height: 300px;
    }
    
    .hero-overlay-content {
        min-width: 280px;
        padding: var(--nSpacingM);
        right: 4%;
        max-width: 300px;
        top: 50%;
    }
    
    .overlay-title {
        font-size: 1.3rem;
    }
    
    .overlay-features li {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    /* Remove vertical lines on mobile - stack vertically */
    .section-pa-3features .col-lg-4:not(:last-child) .feature-card::after {
        display: none;
    }
    
    .section-pa-3features .row {
        flex-direction: column;
    }
    
    .section-pa-3features .col-lg-4 {
        display: block;
    }
}

/* ===================================
   ABOUT PAGE SPECIFIC STYLES
   =================================== */

/* Mission & Vision Cards */
.mission-card, .vision-card {
    height: 100%;
    text-align: center;
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    background-color: var(--rPrimaryRed);
    color: var(--rWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--nSpacingM);
    font-size: 2rem;
}

/* Team Cards */
.team-card {
    height: 100%;
    overflow: hidden;
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--nSpacingM);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--rLightCream);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-position {
    color: var(--rPrimaryRed);
    font-weight: 600;
    margin-bottom: var(--nSpacingS);
}

.team-description {
    font-size: var(--nFontSizeSmall);
    margin-bottom: var(--nSpacingM);
}

.team-certifications {
    margin-top: var(--nSpacingS);
}

/* Value Cards */
.value-card {
    padding: var(--nSpacingL);
    transition: all 0.3s ease;
}

.value-card:hover {
    background-color: var(--rLightCream);
    border-radius: var(--nBorderRadius);
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--rPrimaryRed);
    color: var(--rWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--nSpacingM);
    font-size: 1.5rem;
}

/* Accreditations */
.accreditation-list {
    list-style: none;
    padding: 0;
}

.accreditation-list li {
    margin-bottom: var(--nSpacingXS);
    font-size: var(--nFontSizeLarge);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nSpacingL);
}

.placeholder-logo {
    background-color: var(--rLightCream);
    border: 2px solid var(--rLightGray);
    border-radius: var(--nBorderRadius);
    padding: var(--nSpacingL);
    text-align: center;
    transition: all 0.3s ease;
}

.placeholder-logo:hover {
    border-color: var(--rPrimaryRed);
    transform: translateY(-3px);
}

.placeholder-logo i {
    font-size: 2rem;
    color: var(--rPrimaryRed);
    margin-bottom: var(--nSpacingXS);
    display: block;
}

.placeholder-logo span {
    font-weight: 600;
    color: var(--rDarkText);
}

/* ===================================
   SERVICES PAGE SPECIFIC STYLES
   =================================== */

/* Program Cards */
.program-card {
    height: 100%;
    border: 2px solid var(--rLightGray);
    transition: all 0.3s ease;
}

.program-card:hover {
    border-color: var(--rPrimaryRed);
    transform: translateY(-5px);
}

.program-header {
    border-bottom: 1px solid var(--rLightGray);
    padding-bottom: var(--nSpacingS);
    margin-bottom: var(--nSpacingS);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--nSpacingM);
}

.program-features li {
    margin-bottom: var(--nSpacingXS);
}

.program-price {
    text-align: center;
    color: var(--rPrimaryRed);
    font-size: var(--nFontSizeLarge);
}

/* Industry Cards */
.industry-card {
    padding: var(--nSpacingM);
    transition: all 0.3s ease;
}

.industry-card:hover {
    background-color: var(--rLightCream);
    border-radius: var(--nBorderRadius);
}

.industry-icon {
    width: 60px;
    height: 60px;
    background-color: var(--rPrimaryRed);
    color: var(--rWhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--nSpacingS);
    font-size: 1.5rem;
}

/* Corporate Form */
.corporate-form {
    background-color: var(--rWhite);
    padding: var(--nSpacingXL);
    border-radius: var(--nBorderRadiusLarge);
    box-shadow: var(--sShadowMedium);
}

.form-label {
    font-weight: 600;
    color: var(--rDarkText);
    margin-bottom: var(--nSpacingXS);
}

.form-control {
    border: 2px solid var(--rLightGray);
    border-radius: var(--nBorderRadius);
    padding: var(--nSpacingS);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--rPrimaryRed);
    box-shadow: 0 0 0 0.2rem rgba(222, 73, 70, 0.25);
}

/* ===================================
   ABOUT & SERVICES RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
    }
    
    .program-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .program-duration {
        margin-top: var(--nSpacingXS);
    }
    
         .corporate-form {
         padding: var(--nSpacingL);
     }
 }

/* ===================================
   PORTFOLIO CAROUSEL SECTION
   =================================== */

.section-pa-portofoliu {
    background-color: var(--rLightBeige);
    padding: var(--nSpacingXXL) 0;
}

.portfolio-title {
    font-size: var(--nFontSizeXL);
    font-weight: 700;
    color: var(--rPrimaryRed);
    margin-bottom: var(--nSpacingM);
}

.portfolio-subtitle {
    font-size: var(--nFontSizeLarge);
    color: var(--rMediumGray);
    line-height: 1.6;
    max-width: 800px;
}

/* Continuous Scrolling Carousel */
.portfolio-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.portfolio-carousel {
    width: 100%;
    height: 120px;
    position: relative;
}

.carousel-track {
    display: flex;
    width: calc(200px * 30); /* 30 logos total (15 original + 15 duplicates) */
    animation: scroll-logos 60s linear infinite;
}

.logo-slide {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--nSpacingM);
    flex-shrink: 0;
}

.portfolio-logo {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-slide:hover .portfolio-logo {
    transform: scale(1.1);
}

/* Continuous scrolling animation */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 15)); /* Move by half the total width */
    }
}

/* Pause animation on hover */
.portfolio-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portfolio-title {
        font-size: var(--nFontSizeLarge);
    }
    
    .portfolio-subtitle {
        font-size: var(--nFontSizeBase);
    }
    
    .logo-slide {
        width: 150px;
        height: 100px;
        padding: var(--nSpacingS);
    }
    
    .portfolio-logo {
        max-width: 100px;
        max-height: 60px;
    }
    
    .carousel-track {
        width: calc(150px * 30);
        animation: scroll-logos-mobile 45s linear infinite;
    }
    
         @keyframes scroll-logos-mobile {
         0% {
             transform: translateX(0);
         }
         100% {
             transform: translateX(calc(-150px * 15));
         }
     }
 }

/* ===================================
   IMAGE ACCORDION SECTION
   =================================== */

.image-accordion-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--nBorderRadiusLarge);
}

.image-accordion {
    display: flex;
    width: 100%;
    height: 100%;
}

.accordion-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: flex 0.5s ease;
    overflow: hidden;
    cursor: pointer;
}

.accordion-item:hover {
    flex: 3;
}

.accordion-item.active {
    flex: 3;
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: var(--nSpacingL) var(--nSpacingM) var(--nSpacingM);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.accordion-item:hover .accordion-content,
.accordion-item.active .accordion-content {
    transform: translateY(0);
}

.accordion-title {
    color: var(--rWhite);
    font-size: var(--nFontSizeBase);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Course stages section background */
.content-section:has(.course-stages) {
    background-color: var(--rLightBeige);
}

/* General Checkmark List Styling - Site-wide */
.checkmark-list {
    list-style: none;
    padding-left: 0;
    width: 100%;
}

/* Content section specific - center the checkmark list block */
.content-section.bg-white .col-lg-6:first-child {
    display: flex;
    justify-content: center;
}

.content-section.bg-white .checkmark-list {
    width: auto;
    max-width: fit-content;
}

.checkmark-list li {
    color: var(--rDarkText);
    font-weight: 500;
    margin-bottom: var(--nSpacingS);
    padding-left: var(--nSpacingM);
    position: relative;
}

.checkmark-list li::before {
    content: "✓";
    color: var(--rPrimaryRed);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Course stages list styling - inherits from checkmark-list */
.course-stages {
    list-style: none;
    padding-left: 0;
    width: 100%;
}

.course-stages li {
    color: var(--rDarkText);
    font-weight: 500;
    margin-bottom: var(--nSpacingS);
    padding-left: var(--nSpacingM);
    position: relative;
}

.course-stages li::before {
    content: "✓";
    color: var(--rPrimaryRed);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-accordion-wrapper {
        height: 300px;
    }
    
    .image-accordion {
        flex-direction: column;
    }
    
    .accordion-item {
        flex: 1;
        min-height: 50px;
    }
    
    .accordion-item:hover,
    .accordion-item.active {
        flex: 2;
    }
    
    .accordion-content {
        padding: var(--nSpacingM) var(--nSpacingS) var(--nSpacingS);
    }
    
         .accordion-title {
         font-size: var(--nFontSizeSmall);
     }
 }

/* ===================================
   TESTIMONIAL SLIDER SECTION
   =================================== */

.testimonial-slider {
    position: relative;
    padding: var(--nSpacingL) 0;
}

.testimonial-slide {
    padding: var(--nSpacingL);
    text-align: center;
}

.quote-icon {
    margin-bottom: var(--nSpacingM);
    display: flex;
    justify-content: center;
}

.quote-icon svg {
    width: 40px;
    height: 40px;
}

.quote-icon svg path {
    fill: #121212 !important;
}

.feedback {
    font-size: var(--nFontSizeLarge);
    line-height: 1.6;
    color: var(--rDarkText);
    margin-bottom: var(--nSpacingM);
    font-style: italic;
    text-align: center;
}

.author-name {
    font-weight: 600;
    color: var(--rDarkText);
    font-size: var(--nFontSizeBase);
    text-align: center;
}

/* Custom navigation arrows */
.testimonial-nav-prev,
.testimonial-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: var(--nSpacingS);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.testimonial-nav-prev {
    left: -50px;
}

.testimonial-nav-next {
    right: -50px;
}

.testimonial-nav-prev:hover,
.testimonial-nav-next:hover {
    opacity: 0.7;
}

.testimonial-nav-prev svg path,
.testimonial-nav-next svg path {
    transition: stroke 0.3s ease;
}

.testimonial-nav-prev:hover svg path,
.testimonial-nav-next:hover svg path {
    stroke: var(--rPrimaryRed);
}

/* Testimonial image wrapper */
.testimonial-image-wrapper {
    width: 100%;
    text-align: center;
}

.testimonial-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--nBorderRadiusLarge);
    transition: transform 0.3s ease;
}

.testimonial-image-wrapper:hover img {
    transform: scale(1.02);
}

.image-caption {
    margin-top: var(--nSpacingM);
    text-align: center;
}

.caption-text {
    color: var(--rDarkText);
    font-size: var(--nFontSizeBase);
    margin: 0;
}




/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-nav-prev {
        left: -30px;
    }
    
    .testimonial-nav-next {
        right: -30px;
    }
    
    .testimonial-slide {
        padding: var(--nSpacingM);
    }
    
    .feedback {
        font-size: var(--nFontSizeBase);
    }
    
    .quote-icon svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
         .testimonial-nav-prev,
     .testimonial-nav-next {
         display: none;
     }
 }

/* ===================================
   FAQ SECTION STYLING
   =================================== */

.faq-intro-content {
    color: var(--rWhite);
}

.faq-intro-content p {
    margin-bottom: var(--nSpacingM);
    line-height: 1.7;
}

.faq-intro-content h3 {
    color: var(--rWhite);
    margin-top: var(--nSpacingL);
    margin-bottom: var(--nSpacingM);
}

.faq-intro-content .small {
    font-size: var(--nFontSizeSmall);
}

/* Custom Bootstrap Accordion Styling for Dark Theme */
.bg-dark .accordion-item {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    margin-bottom: var(--nSpacingS);
}

.bg-dark .accordion-button {
    background-color: transparent;
    color: var(--rWhite);
    border: none;
    padding: var(--nSpacingM);
    font-weight: 500;
    text-align: left;
}

.bg-dark .accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--rWhite);
    box-shadow: none;
}

.bg-dark .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.bg-dark .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.bg-dark .accordion-body {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--rWhite);
    padding: var(--nSpacingM);
    line-height: 1.6;
}

/* FAQ Section H2 styling */
.bg-dark h2 {
    color: var(--rWhite);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-intro-content {
        margin-bottom: var(--nSpacingL);
    }
    
    .bg-dark .accordion-button {
        padding: var(--nSpacingS);
        font-size: var(--nFontSizeSmall);
    }
    
    .bg-dark .accordion-body {
        padding: var(--nSpacingS);
    }
}

/* ============================================
   HERO SECTION COMPONENT STYLES
   ============================================ */

.hero-image-section {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-background-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.hero-content-box {
    background: rgba(18, 18, 18, 0.85);
    padding: 40px;
    border-radius: 8px;
    color: white;
}

.hero-overlay-title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.hero-check-list li {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.hero-check-list li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}

.hero-cta-button {
    font-weight: bold;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero-overlay {
        position: static;
        background: rgba(18, 18, 18, 0.9);
        padding: 30px 15px;
    }
    
    .hero-content-box {
        padding: 20px;
    }
    
    .hero-overlay-title {
        font-size: 2rem;
    }
}

/* ============================================
   COLLABORATION BOX STYLES
   ============================================ */

.collaboration-box {
    position: relative;
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
}

.collaboration-content {
    background: var(--rLightBeige);
    padding: 30px;
    border-radius: 8px;
    max-width: 350px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.collaboration-content h4 {
    margin-bottom: 5px;
}

.collaboration-content h5 {
    color: var(--rDarkText);
    margin-bottom: 15px;
}

.collaboration-content p {
    color: var(--rDarkText);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .collaboration-box {
        justify-content: center;
        margin-top: 30px;
    }
    
    .collaboration-content {
        max-width: 100%;
    }
}

/* ============================================
   TIMELINE STYLES (Elementor-like design)
   ============================================ */

.timeline-container {
    margin-top: 30px;
    position: relative;
    padding-left: 30px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.step-box {
    position: relative;
    margin-right: 20px;
    flex-shrink: 0;
    margin-left: -20px;
}

.timeline-icon {
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #ddd;
}

.timeline-svg {
    width: 8px;
    height: 8px;
    fill: white;
}

.timeline-line {
    display: none;
}

.timeline-content-wrap {
    flex: 1;
}

.timeline-content {
    background: transparent;
    padding: 0 20px;
}

.timeline-title {
    color: var(--rDarkText);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px !important;
}

.timeline-description {
    color: var(--rDarkText);
    line-height: 1.6;
    margin: 0;
}

.certificate-info {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    height: fit-content;
}

.certificate-image {
    margin-top: 20px;
    text-align: center;
}

.certificate-image img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 25px;
    }
    
    .timeline-container::before {
        left: 15px;
    }
    
    .timeline-item {
        align-items: flex-start;
    }
    
    .step-box {
        margin-right: 15px;
        margin-left: -15px;
    }
    
    .timeline-icon {
        width: 16px;
        height: 16px;
        border: 2px solid white;
    }
    
    .timeline-svg {
        width: 6px;
        height: 6px;
    }
    
    .timeline-content {
        padding: 15px;
    }
}

/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* Services page specific styling */
body[data-page="servicii"] .section-pa-3features {
    background-color: var(--rLightPeach);
}



/* Four column layout for services page */
body[data-page="servicii"] .section-pa-3features .row {
    position: relative;
}

body[data-page="servicii"] .section-pa-3features .col-lg-3:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

body[data-page="servicii"] .section-pa-3features .col-lg-3 {
    position: relative;
}

body[data-page="servicii"] .section-pa-3features .feature-card {
    position: relative;
    border: none;
    background: transparent;
    text-align: left;
    padding: 20px;
    height: 100%;
}

body[data-page="servicii"] .section-pa-3features h4 {
    color: var(--rDarkText) !important;
}

@media (max-width: 992px) {
    body[data-page="servicii"] .section-pa-3features .col-lg-3:not(:last-child)::after {
        display: none;
    }
    
    body[data-page="servicii"] .section-pa-3features .col-lg-3 {
        margin-bottom: 30px;
    }
}

/* ===================================
   PROGRAM PAGE TIMELINE STYLES
   =================================== */

/* Override timeline styles for program page */
body[data-page="program-curs"] .timeline,
body[data-page="de-ce-curs"] .timeline {
    position: relative;
}

body[data-page="program-curs"] .timeline-item,
body[data-page="de-ce-curs"] .timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--rWhite);
    border-radius: var(--nBorderRadius);
    box-shadow: var(--sShadowLight);
    transition: all 0.3s ease;
    position: static;
}

body[data-page="program-curs"] .timeline-item:hover,
body[data-page="de-ce-curs"] .timeline-item:hover {
    box-shadow: var(--sShadowMedium);
    transform: translateY(-2px);
}

body[data-page="program-curs"] .timeline-time,
body[data-page="de-ce-curs"] .timeline-time {
    flex-shrink: 0;
}

body[data-page="program-curs"] .timeline-time .badge,
body[data-page="de-ce-curs"] .timeline-time .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

body[data-page="program-curs"] .timeline-content,
body[data-page="de-ce-curs"] .timeline-content {
    flex: 1;
    padding: 0;
    background: transparent;
}

body[data-page="program-curs"] .timeline-content h4,
body[data-page="de-ce-curs"] .timeline-content h4 {
    color: var(--rPrimaryRed);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

body[data-page="program-curs"] .timeline-content ul,
body[data-page="de-ce-curs"] .timeline-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

body[data-page="program-curs"] .timeline-content li,
body[data-page="de-ce-curs"] .timeline-content li {
    margin-bottom: 0.5rem;
    color: var(--rDarkText);
    line-height: 1.6;
}

body[data-page="program-curs"] .timeline-content p,
body[data-page="de-ce-curs"] .timeline-content p {
    margin: 0;
    color: var(--rMediumGray);
    font-style: italic;
}

/* Info Cards for Course Details */
.info-card {
    background: var(--rWhite);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--sShadowMedium);
    transform: translateY(-2px);
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.info-card ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.info-card ul li i {
    margin-right: 0.5rem;
    width: 16px;
}

/* Mobile Responsive for Program Timeline */
@media (max-width: 768px) {
    body[data-page="program-curs"] .timeline-item,
    body[data-page="de-ce-curs"] .timeline-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    body[data-page="program-curs"] .timeline-time,
    body[data-page="de-ce-curs"] .timeline-time {
        align-self: flex-start;
    }
    
    body[data-page="program-curs"] .timeline-content ul,
    body[data-page="de-ce-curs"] .timeline-content ul {
        padding-left: 1rem;
    }
}

/* ===================================
   DE CE CURS PAGE SPECIFIC STYLES
   =================================== */

body[data-page="de-ce-curs"] .feature-section {
    padding: 2rem 0;
}

body[data-page="de-ce-curs"] .feature-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rDarkText);
    margin-bottom: 1rem;
}

body[data-page="de-ce-curs"] .feature-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body[data-page="de-ce-curs"] .feature-icon i {
    color: var(--rDarkText);
}

body[data-page="de-ce-curs"] .feature-details a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rMediumGray);
    text-decoration: underline !important;
}

body[data-page="de-ce-curs"] .feature-details a:hover {
    color: var(--rPrimaryRed);
}

body[data-page="de-ce-curs"] .feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--nBorderRadius);
}

body[data-page="de-ce-curs"] .intro-content {
    margin: 0 auto;
    text-align: left;
}

body[data-page="de-ce-curs"] .icon-svg {
    fill: #333;
    width: 48px;
    height: 48px;
    background: transparent;
}

body[data-page="de-ce-curs"] .feature-section.text-left {
    background: white;
}

body[data-page="de-ce-curs"] .col-lg-6:has(.feature-section),
body[data-page="de-ce-curs"] .col-lg-4:has(.feature-section) {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

body[data-page="de-ce-curs"] .feature-icon {
    background: transparent;
    text-align: left;
    padding: 0;
    margin-bottom: 1rem;
    width: auto;
    height: auto;
    border-radius: 0;
    display: block;
}

/* Mobile responsive for De ce curs page */
@media (max-width: 768px) {
    body[data-page="de-ce-curs"] .feature-section {
        padding: 1.5rem 0;
        text-align: center;
    }
    
    body[data-page="de-ce-curs"] .feature-section h3 {
        font-size: 1.1rem;
    }
    
    body[data-page="de-ce-curs"] .feature-icon {
        text-align: center;
    }
}

/* =========================
   AGENDA PAGE STYLES
   ========================= */

/* Agenda Section Styling */
.agenda-section {
    background-color: #f5f5f5 !important;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.agenda-title {
    font-size: 2.2rem;
    line-height: 1.2;
    text-decoration: underline;
    font-weight: bold;
    color: #333;
}

/* Event Date and Instructor Styling */
.event-date {
    font-family: serif;
    font-size: 2.5rem;
    color: #3b5998;
    font-weight: bold;
}

.instructor-name {
    color: #3b5998;
    font-weight: bold;
    text-transform: uppercase;
}

.instructor-title {
    color: #666;
}

.instructor-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Schedule and Contact Styling */
.schedule-item {
    font-size: 0.95rem;
}

.schedule-icon {
    color: #666;
}

.schedule-text {
    color: #666;
}

.whatsapp-link {
    font-size: 1.5rem;
}

/* Registration Section Styling */
.registration-section {
    padding: 20px 0;
}

.registration-btn {
    background-color: #8B4513;
    border: none;
}

/* Section Subtitles and Content */
.section-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    text-decoration: underline;
}

.fee-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.payment-info {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Details Styling */
.contact-details {
    font-size: 0.95rem;
}

.contact-name {
    color: #333;
    font-weight: 500;
}

.contact-separator {
    color: #666;
}

.phone-number {
    color: #333;
    font-weight: 500;
}

.email {
    color: #333;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 50%;
}

.contact-phone-icon {
    color: #333;
    font-size: 0.9rem;
}

/* Responsive Design for Agenda Page */
@media (max-width: 768px) {
    .agenda-title {
        font-size: 1.8rem;
    }
    
    .event-date {
        font-size: 2rem !important;
    }
    
    .instructor-image {
        width: 100px;
        height: 100px;
    }
}

/* =========================
   GALLERY PAGE STYLES
   ========================= */

/* Gallery Section Styling */
.gallery-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 2px solid var(--rPrimaryRed);
    padding-bottom: 10px;
    display: inline-block;
}

/* Gallery Grid Styling */
.gallery-grid .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Overlay Styling */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    padding: 20px;
}

.gallery-overlay-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-overlay-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Partners Grid Styling */
.partners-grid .partner-logo-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-grid .partner-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo-item:hover .partner-logo {
    filter: grayscale(0%);
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-body img {
    border-radius: 5px;
    max-height: 70vh;
    width: auto;
}

/* Responsive Gallery Design */
@media (max-width: 768px) {
    .gallery-image {
        height: 200px;
    }
    
    .gallery-section-title {
        font-size: 1.5rem;
    }
    
    .gallery-overlay-content h5 {
        font-size: 1rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.8rem;
    }
    
    .partners-grid .partner-logo-item {
        height: 100px;
        padding: 15px;
    }
    
    .partner-logo {
        max-height: 60px;
    }
}

/* ===================================
   LOCATION PAGES STYLES  
   =================================== */

.rLocationHero .overlay-content {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.rLocationAbout .rFeaturesList .rFeatureItem {
    transition: all 0.3s ease;
}

.rLocationAbout .rFeaturesList .rFeatureItem:hover {
    transform: translateX(10px);
    color: var(--rAccentColor);
}

.rProgramCard {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.rProgramCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--rAccentColor);
}

.rProgramCard .rCardIcon {
    font-size: 2.5rem;
    text-align: center;
}

.rContactSection {
    background: linear-gradient(135deg, var(--rLightBackground) 0%, #ffffff 100%);
}

.rContactForm {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.rContactForm .form-control:focus {
    border-color: var(--rAccentColor);
    box-shadow: 0 0 0 0.2rem rgba(222, 73, 70, 0.25);
}

.rSubsectionTitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rDarkText);
    margin-bottom: 1rem;
}

.rHeroText {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--rDarkText);
}

.rTextContent {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rDarkText);
}

.rAccentColor {
    color: var(--rAccentColor);
    text-decoration: none;
}

.rAccentColor:hover {
    color: var(--rPrimaryRed);
    text-decoration: underline;
} 