/*
Theme Name: Being German
Description: Professional German Language Training & Immigration Support theme. Fully customizable with WordPress Customizer support for all content, images, and styling options.
Author: Being German Team
Version: 1.2.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: being-german
Tags: education, language, responsive, customizable, one-page
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for a consistent color palette based on the German flag */
:root {
    --german-black: #1A1A1A;
    --german-red: #DD0000;
    --german-gold: #FFCC00;
    
    /* Supporting Palette for text, backgrounds, and borders */
    --text-primary: var(--german-black);
    --text-secondary: #4A4A4A;
    --text-light: #888888;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-section: #F3F6F9;
    --border-color: #E9ECEF;
    --success-color: #28A745;
    --hover-bg-light: #ECEFF1;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08); /* Slightly adjusted for subtlety */
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.12); /* Slightly less opaque */
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.18); /* Slightly less opaque */
    --border-radius-base: 12px; /* Consistent border-radius for cards and elements */
    --transition-speed: 0.3s ease-out; /* Consistent transition speed */
}

/*
 * This is the new, clean version for a full-page background image with opacity.
 * It uses a pseudo-element to place the image behind all content.
 */

/* Base styles for body and general elements */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative; /* This is crucial for positioning the pseudo-element */
}

/*
 * This pseudo-element holds the background image.
 * It's a separate layer that can be made transparent.
 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Set your background image here */
    background-image: url('http://www.beinggerman.de/wp-content/uploads/2025/08/bg_backgroung2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    /* Adjust the opacity of the image here. 
     * 0.5 is 50% opacity. A lower number makes it more transparent.
     */
    opacity: 0.3;

    /* This ensures the image is behind all other content */
    z-index: -1;
}

/* Subtle German flag pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust the color and opacity */
    z-index: -1;
}
/*body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(26, 26, 26, 0.015) 0%, /* Reduced opacity for more subtlety 
        rgba(26, 26, 26, 0.015) 33.33%, 
        rgba(221, 0, 0, 0.015) 33.33%, 
        rgba(221, 0, 0, 0.015) 66.66%, 
        rgba(255, 204, 0, 0.015) 66.66%, 
        rgba(255, 204, 0, 0.015) 100%);
    pointer-events: none;
    z-index: -1;
} */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Navigation Bar Styles */
.navbar {
    background: var(--bg-white) !important;
    box-shadow: var(--shadow-light);
    padding: 0.85rem 0;
    transition: all var(--transition-speed);
    z-index: 1030;
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
    padding: 0.65rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--text-primary) !important;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.navbar-brand:hover {
    color: var(--german-red) !important;
}

/* German Flag icon in Navbar */
.german-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(to bottom, 
        var(--german-black) 0%, 
        var(--german-black) 33.33%, 
        var(--german-red) 33.33%, 
        var(--german-red) 66.66%, 
        var(--german-gold) 66.66%, 
        var(--german-gold) 100%);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0.3rem;
    padding: 0.6rem 1rem !important;
    border-radius: var(--border-radius-base);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--german-red) !important;
    background: var(--hover-bg-light);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--german-red);
    transition: width var(--transition-speed) ease-out;
}

.nav-link:hover::before {
    width: calc(100% - 2.4rem);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.02) 0%, /* Slightly reduced opacity */
        rgba(221, 0, 0, 0.02) 50%, 
        rgba(255, 204, 0, 0.02) 100%);
    padding: 80px 0 40px;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Adjust hero for different screen heights */
@media (max-height: 900px) {
    .hero-section {
        padding: 70px 0 30px;
    }
    
    .experience-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .experience-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .experience-title {
        font-size: 1rem;
    }
    
    .experience-desc {
        font-size: 0.85rem;
    }
}

@media (max-height: 700px) {
    .hero-section {
        padding: 60px 0 20px;
    }
    
    .hero-title {
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .experience-list {
        margin: 1rem 0 1.5rem;
    }
}

@media (max-height: 600px) {
    .hero-section {
        min-height: auto;
        max-height: none;
        padding: 60px 0 20px;
    }
}

/* Adjusted hero text font sizes */
.hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
    line-height: 1.1;
}

.hero-title strong {
    color: var(--german-red);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: var(--text-secondary);
    margin-bottom: 1.3rem;
    line-height: 1.6;
    max-width: 700px;
}

/* Experience Points in Hero */
.experience-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-base);
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.experience-item:hover {
    background: var(--bg-section);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.experience-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        var(--german-gold) 0%, 
        var(--german-red) 50%, 
        var(--german-black) 100%);
    border-radius: var(--border-radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.experience-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.experience-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Hero Image Container */
.hero-image {
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: min(500px, 60vh);
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 2;
    transform: scale(1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    border-radius: 15px; /* Kept specific for image for distinct look */
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 400px;
    background: var(--german-gold);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 1;
}

/* Custom Buttons */
.btn-primary {
    background: var(--german-red);
    border: 2px solid var(--german-red);
    color: white;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px; /* Kept higher for pill shape */
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--german-black);
    border-color: var(--german-black);
    color: white;
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--german-red);
    color: var(--german-red);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px; /* Kept higher for pill shape */
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-outline:hover {
    background: var(--german-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* General Section Styling */
.section-padding {
    padding: clamp(60px, 10vh, 100px) 0;
}

.section-bg {
    background: linear-gradient(to right, 
        rgba(26, 26, 26, 0.015) 0%, /* Reduced opacity */
        rgba(221, 0, 0, 0.01) 50%, 
        rgba(255, 204, 0, 0.015) 100%);
}

/* Section titles */
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, 
        var(--german-black) 0%, 
        var(--german-black) 33%, 
        var(--german-red) 33%, 
        var(--german-red) 66%, 
        var(--german-gold) 66%, 
        var(--german-gold) 100%);
    border-radius: 5px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.9;
}

/* Card Styles */
.card-minimal {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 2.5rem;
    height: 100%;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.card-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, 
        var(--german-black) 0%, 
        var(--german-black) 33%, 
        var(--german-red) 33%, 
        var(--german-red) 66%, 
        var(--german-gold) 66%, 
        var(--german-gold) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.card-minimal:hover::before {
    opacity: 1;
}

.card-minimal:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: var(--german-red);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        var(--german-red) 0%, 
        var(--german-red) 60%, 
        var(--german-black) 100%);
    border-radius: var(--border-radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1.6rem;
}

.card-minimal h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.card-minimal p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.3rem;
    flex-grow: 1;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.feature-list i {
    color: var(--success-color);
    margin-right: 0.7rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Trainer Cards Styles */
.trainer-card {
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    /* Added subtle background for professionalism */
    background: var(--bg-white); 
    border-radius: var(--border-radius-base);
    padding: 2rem 1.5rem; /* Added padding */
    box-shadow: var(--shadow-light); /* Added shadow */
    border: 1px solid var(--border-color); /* Added border */
    text-align: center; /* Center content */
}

.trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium); /* Increased shadow on hover */
    border-color: var(--german-red); /* Highlight border on hover */
}

.trainer-photo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem; /* Adjusted margin for better spacing */
}

.trainer-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-speed);
}

.trainer-card:hover .trainer-img {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.trainer-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trainer-status i {
    font-size: 10px;
    color: var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.trainer-title {
    font-size: 0.9rem;
    color: var(--german-red);
    font-weight: 600;
    margin-bottom: 0.5rem; /* Reduced margin */
}

.trainer-card h4 { /* Added a style for trainer name */
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.trainer-specialties {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.trainer-specialties li {
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

.trainer-specialties i {
    color: var(--success-color);
    margin-right: 0.6rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Popup Button Effects */
.popup-btn {
    position: relative;
    overflow: hidden;
    transform: perspective(1px) translateZ(0);
    transition: all var(--transition-speed);
}

.popup-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(-4px);
    }
    40% {
        transform: translateY(-8px);
    }
    80% {
        transform: translateY(-2px);
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.popup-btn:hover .btn-shine {
    left: 100%;
}

/* Enhanced button hover effects */
.btn-primary.popup-btn:hover {
    background: linear-gradient(135deg, var(--german-black), var(--german-red));
    border-color: var(--german-black);
    animation: bounce 0.6s ease;
}

.btn-outline.popup-btn:hover {
    background: linear-gradient(135deg, var(--german-red), var(--german-black));
    border-color: var(--german-black);
    animation: bounce 0.6s ease;
}
/* ===== Pricing SECTION ===== */
/* Pricing Section Styles - Final Revision for Consistency */

/* Ensure section padding and background match existing sections */
#pricing {
    padding: var(--section-padding, 80px 0); /* Default to 80px 0 if not defined */
    background-color: var(--section-bg-color, #f8f9fa); /* Default to light grey if not defined */
}

/* Titles and subtitles should inherit global styles */
#pricing .section-title,
#pricing .section-subtitle {
    text-align: center; /* Ensure centered alignment */
    margin-bottom: 15px; /* Adjust as needed to match your site's spacing */
}

#pricing .section-subtitle {
    margin-bottom: 50px; /* Space before cards */
}

/* Base Pricing Card Styling - Inherit from card-minimal, then refine */
.pricing-card {
    /* Inherits background-color, border-radius, box-shadow from .card-minimal */
    padding: 30px; /* Consistent internal padding */
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensures all cards in a row have the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
    /* Remove explicit border/shadow if card-minimal already provides it
       If card-minimal doesn't provide a subtle border, add it here: */
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
}

.pricing-card:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: var(--card-hover-shadow, 0 8px 25px rgba(0, 0, 0, 0.1)); /* Consistent hover shadow */
}

/* Most Popular Card Specifics */
.pricing-card-popular {
    border: 2px solid var(--primary-color, #E72F2F); /* Prominent red border */
    box-shadow: 0 6px 25px rgba(231, 47, 47, 0.15); /* Stronger red-tinted shadow */
}

.pricing-card-popular .popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color, #E72F2F);
    color: #fff;
    font-weight: 600;
    padding: 7px 0; /* Adjusted padding */
    font-size: 0.8em; /* Slightly smaller text for the tag */
    letter-spacing: 0.5px;
    width: 130px; /* Width for the tag */
    text-align: center;
    transform: translateX(30%) rotate(45deg); /* Position and rotate for ribbon effect */
    transform-origin: 100% 0%; /* Rotate from top-right corner */
    z-index: 10; /* Ensure it's above card content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for the tag itself */
}

/* Pseudo-elements for the ribbon's angled cut */
.pricing-card-popular .popular-tag::before,
.pricing-card-popular .popular-tag::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Control the cut-off angle */
    width: 0;
    height: 0;
    border-style: solid;
}

.pricing-card-popular .popular-tag::before {
    left: 0;
    border-width: 8px 8px 0 0;
    border-color: var(--primary-color, #E72F2F) transparent transparent transparent; /* Match tag color */
}

.pricing-card-popular .popular-tag::after {
    right: 0;
    border-width: 8px 0 0 8px;
    border-color: var(--primary-color, #E72F2F) transparent transparent transparent; /* Match tag color */
}

/* Plan Name Styling */
.pricing-plan-name {
    font-size: 1.6em; /* Matches h4 or similar headings on your site */
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color, #333); /* Use theme's heading color */
}

/* Pricing Display Styling */
.pricing-price {
    margin-bottom: 25px;
    line-height: 1;
    display: flex; /* Use flexbox for precise alignment */
    align-items: flex-start; /* Align currency to top of number */
    justify-content: center;
    gap: 2px; /* Reduced gap for tighter look */
}

.pricing-price .currency {
    font-size: 1.8em; /* Adjusted size for Euro symbol */
    font-weight: 600;
    color: var(--primary-color, #E72F2F);
    margin-right: -3px; /* Pull currency slightly closer to number */
}

.pricing-price .amount {
    font-size: 4em; /* Prominent size for the main price */
    font-weight: 800;
    color: var(--primary-color, #E72F2F);
}

/* Feature List Styling */
.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Allows features list to take available space */
    padding-left: 0; /* Remove default padding for list */
}

.pricing-features li {
    margin-bottom: 10px; /* Consistent spacing between list items */
    font-size: 0.95em; /* Slightly smaller, consistent with body text */
    color: var(--text-color, #555); /* Use theme's body text color */
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features li .fas.fa-check {
    color: var(--primary-color, #E72F2F);
    margin-right: 12px; /* Spacing between icon and text */
    font-size: 1em; /* Standard icon size */
    line-height: 1.4; /* Helps align with text if it wraps */
}

.pricing-features li.personalized {
    font-weight: 600; /* Bold for the "Personalization" line */
    color: var(--heading-color, #333); /* Keep main text color */
}

.pricing-features li.personalized .text-danger {
    color: var(--primary-color, #E72F2F) !important; /* Force primary red for the highlighted part */
}

/* Button Styling - Crucial for Consistency */
/* Ensure buttons inherit directly from theme's btn-primary and btn-outline */
.pricing-card .btn-primary,
.pricing-card .btn-outline {
    padding: 12px 28px; /* Consistent padding with your site's buttons */
    border-radius: var(--button-border-radius, 8px); /* Match your theme's button radius */
    font-weight: 600;
    font-size: 1.05em;
    width: 100%; /* Ensure buttons are full width within cards */
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
}

/* Ensure the btn-shine effect is consistent for all buttons */
.pricing-card .btn-primary .btn-shine,
.pricing-card .btn-outline .btn-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.pricing-card .btn-primary:hover .btn-shine,
.pricing-card .btn-outline:hover .btn-shine {
    top: -20%;
    left: -20%;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) { /* For tablets and smaller (md and sm breakpoints) */
    .pricing-card {
        margin-bottom: 30px; /* Add spacing between cards when they stack */
    }
}

@media (max-width: 767.98px) { /* For mobile devices (sm breakpoint) */
    .pricing-card {
        padding: 25px; /* Slightly less padding on smaller screens */
    }

    .pricing-plan-name {
        font-size: 1.4em;
    }

    .pricing-price .amount {
        font-size: 3.5em;
    }

    .pricing-price .currency {
        font-size: 1.5em;
    }

    .pricing-features li {
        font-size: 0.9em;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-scroll-container {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-scroll-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.8s ease-in-out;
    padding: 20px 0;
}

.testimonial-slide {
    min-width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, 
        var(--german-black) 0%, 
        var(--german-black) 33%, 
        var(--german-red) 33%, 
        var(--german-red) 66%, 
        var(--german-gold) 66%, 
        var(--german-gold) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: var(--german-gold);
}

.testimonial-rating {
    color: var(--german-gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--german-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 0.8rem;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.author-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Testimonial Indicators */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
	margin-bottom: 30px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
}

.testimonial-indicator:hover {
    background: var(--german-gold);
    transform: scale(1.1);
}

.testimonial-indicator.active {
    background: var(--german-red);
    transform: scale(1.2);
}

.testimonial-indicator.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--german-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-slide {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
    
    .testimonial-scroll-wrapper {
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        min-width: calc(100% - 20px);
        flex: 0 0 calc(100% - 20px);
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}
 
/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, 
        var(--german-black) 0%, 
        var(--german-black) 33%, 
        var(--german-red) 33%, 
        var(--german-red) 66%, 
        var(--german-gold) 66%, 
        var(--german-gold) 100%);
    color: white;
    padding: clamp(50px, 8vh, 80px) 0;
    text-align: center;
    border-radius: var(--border-radius-base); /* Used consistent border-radius */
    margin: clamp(40px, 5vh, 80px) auto;
    max-width: 90%;
    box-shadow: var(--shadow-dark);
    overflow: hidden;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Slightly reduced opacity for less harshness */
    z-index: 0;
    pointer-events: none;
}

.cta-section h3 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Slightly softer shadow */
}

.cta-section p {
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Slightly softer shadow */
    color: white;
}

.cta-section .btn-primary {
    background: white;
    color: var(--german-black);
    border-color: white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.cta-section .btn-primary:hover {
    background: var(--german-gold);
    color: var(--german-black);
    border-color: var(--german-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ===== TESTIMONIAL FORM STYLES ===== */
#custom-testimonial-form {
    background-color: var(--bg-white); /* Ensured it uses the white background variable */
    padding: 60px 20px;
    margin: 60px 0;
    border-top: 1px solid var(--border-color); /* Used border color variable */
    border-bottom: 1px solid var(--border-color); /* Used border color variable */
}

/* Apply background gradient */
#custom-testimonial-form.section-bg {
    background: linear-gradient(to right, rgba(26, 26, 26, 0.02) 0%, rgba(221, 0, 0, 0.01) 50%, rgba(255, 204, 0, 0.02) 100%);
}

.testimonial-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary); /* Used text primary variable */
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary); /* Used text secondary variable */
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--border-color); /* Used border color variable */
    border-radius: var(--border-radius-base); /* Consistent border-radius */
    background-color: var(--bg-light); /* Used background light variable */
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-speed);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--german-red);
    outline: none;
    background-color: var(--bg-white); /* Used background white variable */
    box-shadow: 0 0 0 3px rgba(221, 0, 0, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

button[type="submit"] {
    background-color: var(--german-red);
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius-base); /* Consistent border-radius */
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button[type="submit"]:hover {
    background: var(--german-black);
    border-color: var(--german-black);
    color: white;
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.testimonial-success-message {
    background-color: #e8f5e8;
    border: 1px solid #4caf50;
    color: #2e7d32;
    padding: 15px;
    border-radius: var(--border-radius-base);
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-success-message p {
    margin: 0;
}

.testimonial-error-message {
    background-color: #ffeaea;
    border: 1px solid #f44336;
    color: #c62828;
    padding: 15px;
    border-radius: var(--border-radius-base);
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-error-message p {
    margin: 0;
}

/* Limit initials input width on wider screens */
#testimonial_avatar {
    max-width: 150px;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .testimonial-heading {
        font-size: 1.8rem;
    }
    
    .form-group input[type="text"],
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    button[type="submit"] {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    #custom-testimonial-form {
        padding: 40px 15px;
    }
    
    .testimonial-heading {
        font-size: 1.6rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}
/* FAQ Section */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-base);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-speed);
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        var(--german-black) 0%, 
        var(--german-black) 33%, 
        var(--german-red) 33%, 
        var(--german-red) 66%, 
        var(--german-gold) 66%, 
        var(--german-gold) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.faq-item:hover::after {
    opacity: 1;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    border-color: var(--german-red);
}

.faq-question {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.faq-question:hover {
    background-color: var(--hover-bg-light);
    color: var(--german-red);
}

.faq-question .toggle-icon {
    font-size: 1.1rem;
    transition: transform var(--transition-speed);
}

.faq-question.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--bg-white);
}

.faq-answer p {
    padding-top: 0.7rem;
    padding-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.faq-answer.show {
    max-height: 500px;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, 
        var(--bg-light) 0%, 
        rgba(26, 26, 26, 0.02) 100%); /* Slightly reduced opacity */
    padding: 60px 0 30px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, 
        var(--german-black) 0%, 
        var(--german-black) 33%, 
        var(--german-red) 33%, 
        var(--german-red) 66%, 
        var(--german-gold) 66%, 
        var(--german-gold) 100%) 1;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.contact-item i {
    color: var(--german-red);
    margin-right: 0.8rem;
    margin-top: 0.3rem;
    width: 18px;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item a,
.contact-item div {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--german-red);
    text-decoration: underline;
}

.footer .list-unstyled a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed), text-decoration var(--transition-speed);
    font-size: 0.85rem;
}

.footer .list-unstyled a:hover {
    color: var(--german-red);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2.5rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Utilities */
.text-muted {
    color: var(--text-secondary) !important;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: clamp(1.5rem, 3vw, 1.7rem);
    }

    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title,
    .hero-subtitle,
    .hero-description {
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .experience-list {
        margin: 2rem 0;
    }

    .experience-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem;
    }

    .experience-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .d-flex.gap-3.flex-wrap {
        justify-content: center;
    }

    .hero-image {
        height: auto;
        margin-top: 40px;
        padding-bottom: 0;
        display: block;
    }

    .hero-image img {
        max-height: 400px;
    }
    
    /* Show hero image on tablets */
    .col-lg-5.d-none.d-lg-block {
        display: block !important;
    }

    .hero-image::before {
        height: 200px;
        filter: blur(100px);
        opacity: 0.1;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 3rem;
    }

    .card-minimal,
    .testimonial-card,
    .faq-item {
        padding: 1.8rem;
    }

    .cta-section h3 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.8rem;
    }

    .footer-bottom p {
        text-align: center;
    }

    .footer-bottom .col-md-6:last-child p {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 30px;
    }

    .hero-image img {
        max-height: 400px;
    }

    .btn-primary,
    .btn-outline {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }

    .icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .card-minimal h4 {
        font-size: 1.05rem;
    }

    .card-minimal p {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 1.8rem 1.2rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .cta-section h3 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding-top: 0.6rem;
        padding-bottom: 1rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer h5 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .contact-item {
        margin-bottom: 0.8rem;
    }

    .contact-item i {
        margin-right: 0.6rem;
        font-size: 0.9rem;
    }

    .contact-item a,
    .contact-item div {
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
}

/* Smooth animations for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

/* Delay classes for staggered animation */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* Custom CSS for rotating the phone icon */
.rotated-phone-icon {
    transform: rotate(180deg); /* Rotate the icon 180 degrees */
    margin-left: 0.5rem;      /* Add some space between text and icon */
    display: inline-block;    /* Ensure transform works correctly */
}
