/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Nouvelle Palette Premium */
    --primary-color: #0F172A;
    /* Deep Midnight Blue */
    --secondary-color: #C5A065;
    /* Champagne Gold / Bronze */
    --secondary-hover: #B08D55;
    --accent-color: #38bdf8;
    /* Sky Blue */

    --text-main: #334155;
    --text-light: #64748b;
    --text-white: #ffffff;

    --bg-light: #F8FAFC;
    --bg-white: #ffffff;

    --nav-height: 100px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Legacy mapping to keep code running before full refactor */
    --text-color: var(--text-main);
    --light-color: var(--bg-light);
    --gray-color: #E2E8F0;
    --dark-gray: var(--text-light);
    --success-color: #25D366;
    --shadow: var(--shadow-md);
    --border-radius: var(--radius-sm);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    /* Increased padding for better spacing */
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
}

.section {
    padding: 60px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    text-align: center;
}

/* Button Global Styles */
.btn-primary,
.btn-secondary,
.btn-category,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-category {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--gray-color);
    padding: 12px 24px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.btn-category:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: white;
    font-size: 1.1rem;
    padding: 16px 48px;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(197, 160, 101, 0.4);
}

.btn-map {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 10px;
}

.btn-map:hover {
    text-decoration: underline;
}

/* Header et Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    height: var(--nav-height);
    position: relative;
    /* Needed for mobile menu positioning */
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

/* Old logo styles kept for reference or backup
.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.logo-text strong {
    color: var(--secondary-color);
}
*/

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-whatsapp-container {
    display: none;
}


.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.3;
}

.nav-links a:not(.btn-whatsapp):hover,
.nav-links a:not(.btn-whatsapp).active {
    color: var(--primary-color);
}

.nav-links a:not(.btn-whatsapp)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-whatsapp):hover::after,
.nav-links a:not(.btn-whatsapp).active::after {
    width: 100%;
}

.cta-nav {
    /* Legacy override if class still exists in some old html */
    display: none;
}

.whatsapp-container {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-whatsapp {
    background: linear-gradient(90deg, #FFC145 0%, #FFB016 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(255, 176, 22, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 220px;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: linear-gradient(90deg, #FFB016 0%, #E69900 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 176, 22, 0.3);
}

.whatsapp-hint {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.1) 0%, rgba(197, 160, 101, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Button Overrides for Better Contrast */
.hero .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: white;
    border: none;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-hover) 0%, #9d7a47 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 101, 0.4);
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: rotate(0deg) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.hero-video-element {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
    transition: all 0.3s ease;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

.hero-video-element:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-placeholder p {
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Services Overview */
.services-overview {
    background-color: var(--bg-white);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    /* Slight overlap with hero */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-category {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 5px solid var(--secondary-color);
}

.service-category:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.category-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.benefit-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}


.service-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-category ul {
    margin: 25px 0;
}

.service-category ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
}

.service-category ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-category .btn-category,
.service-category .btn-primary {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
}

.service-category .btn-primary {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-category .btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 101, 0.3);
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.service-form {
    background-color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--secondary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group label::after {
    content: '*';
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(197, 160, 101, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 35px;
    text-align: center;
}

.form-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note::before {
    content: 'ℹ️';
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    background: linear-gradient(to bottom right, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(197, 160, 101, 0.15);
    border-left-color: #9d7a47;
}

.benefit-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(197, 160, 101, 0.1) 0%, rgba(197, 160, 101, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--secondary-color);
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}

/* Page Hero (for other pages) */
.page-hero {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-white) 0%, transparent 100%);
    opacity: 0.1;
}

.page-hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Detail Page */
.services-detail {
    background-color: var(--light-color);
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    width: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-content {
    padding: 30px;
    flex: 1;
}

.service-features {
    margin-top: 15px;
}

.service-features li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Modern Alternating Service Cards Layout */
.services-list-modern {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

/* Reverse layout for alternating effect */
.service-card.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.service-card.reverse::before {
    left: auto;
    right: 0;
}

.service-card.reverse .service-visual {
    order: 2;
}

.service-card.reverse .service-content-modern {
    order: 1;
}

.service-visual {
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.service-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    z-index: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-visual::before {
    background: rgba(15, 23, 42, 0.5);
}

.service-icon-modern {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--secondary-color);
    border: 3px solid rgba(197, 160, 101, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon-modern {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(197, 160, 101, 0.4);
}

.service-content-modern {
    padding: 45px 50px 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card.reverse .service-content-modern {
    padding: 45px 30px 45px 50px;
}

.service-content-modern h3 {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-size: 1.75rem;
    font-weight: 700;
}

.service-content-modern p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-features-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features-modern li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.98rem;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.service-features-modern li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.service-features-modern li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 20px;
    transition: all 0.2s ease;
}

.service-features-modern li:hover i {
    transform: scale(1.2);
    color: var(--secondary-hover);
}


.student-price {
    color: var(--success-color);
    font-weight: 600;
    margin-top: 10px;
    font-style: italic;
}

.student-discount {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 50px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--accent-color);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.discount-badge i {
    margin-right: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.services-detail {
    background-color: #e2e8f0;
}

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: var(--secondary-color);
    color: white;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(197, 160, 101, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(197, 160, 101, 0.6);
}

/* Concept Page */
.concept-detail {
    background: linear-gradient(180deg, #fdfcfb 0%, #f7f4ef 50%, #f0ebe3 100%);
}

.concept-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.concept-steps {
    margin: 60px 0;
}

.step {
    display: flex;
    margin-bottom: 50px;
    align-items: flex-start;
    background: linear-gradient(to right, rgba(197, 160, 101, 0.03) 0%, transparent 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(197, 160, 101, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.concept-features {
    margin: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(to bottom right, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(197, 160, 101, 0.15);
}

.feature-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(197, 160, 101, 0.1) 0%, rgba(197, 160, 101, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.values-section {
    margin: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    border-radius: var(--radius-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.value-item {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(197, 160, 101, 0.15);
}

.value-item h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h3 i {
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: white;
    padding: 80px 0;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-section h2 {
    color: white;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(197, 160, 101, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-detail {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-map {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-urgent {
    background-color: #fff3cd;
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 5px solid #ffc107;
}

.contact-urgent h4 {
    display: flex;
    align-items: center;
    color: #856404;
}

.contact-urgent h4 i {
    margin-right: 10px;
}

.contact-preferences {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-preferences label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.contact-preferences input {
    margin-right: 8px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
    border-top: 5px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #cbd5e1;
}

.contact-info i {
    margin-right: 12px;
    color: var(--secondary-color);
    width: 20px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-bottom a {
    color: var(--secondary-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Commander Button in Service Cards */
.btn-commander {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 32px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-commander:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 101, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero::before {
        top: -20%;
        right: -50%;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
    }

    .service-icon {
        width: 100%;
        height: 100px;
        min-height: 100px;
    }

    /* Modern service cards responsive */
    .service-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-card.reverse {
        grid-template-columns: 1fr;
    }

    .service-card.reverse .service-visual {
        order: 1;
    }

    .service-card.reverse .service-content-modern {
        order: 2;
    }

    .service-visual {
        padding: 50px 30px;
    }

    .service-content-modern,
    .service-card.reverse .service-content-modern {
        padding: 35px 30px;
    }

    /* Services grid on tablet */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    /* Benefits grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Navbar mobile */
    .navbar {
        justify-content: space-between;
    }

    .logo {
        position: static;
        transform: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background-color: white;
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--gray-color);
        gap: 0;
        /* Reset desktop transform */
        transform: none;
    }

    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Hide the external desktop whatsapp container on mobile */
    .whatsapp-container {
        display: none;
    }

    /* Show the internal mobile whatsapp button */
    .mobile-whatsapp-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin-top: 20px;
        width: 100%;
    }

    .mobile-whatsapp-container .btn-whatsapp {
        width: 100%;
        position: static;
        box-shadow: none;
    }

    .mobile-whatsapp-container .whatsapp-hint {
        text-align: center;
    }

    /* .btn-whatsapp rule removed as it is now handled by container structure */

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Form responsive */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Hero responsive */
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Benefits grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Concept steps */
    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Service form */
    .service-form {
        padding: 30px 25px;
    }

    /* Category icons */
    .category-icon {
        width: 65px;
        height: 65px;
        font-size: 1.7rem;
    }

    .category-icon img {
        width: 36px;
        height: 36px;
    }

    /* Service category cards */
    .service-category {
        padding: 30px 25px;
    }

    /* Benefit cards */
    .benefit-card {
        padding: 35px 25px;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.9rem;
    }

    .benefit-icon img {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-category {
        width: 100%;
        padding: 14px 24px;
    }

    .logo img {
        max-height: 40px;
    }

    /* Sections */
    section,
    .section {
        padding: 50px 0;
    }

    /* Page hero */
    .page-hero {
        padding: 70px 0;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1.05rem;
    }

    /* Service cards modern */
    .services-list-modern {
        gap: 40px;
    }

    .service-card {
        border-radius: var(--radius-md);
    }

    .service-visual {
        padding: 40px 20px;
    }

    .service-icon-modern {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .service-content-modern,
    .service-card.reverse .service-content-modern {
        padding: 30px 20px;
    }

    .service-content-modern h3 {
        font-size: 1.4rem;
    }

    .service-content-modern p {
        font-size: 0.95rem;
    }

    .service-features-modern li {
        font-size: 0.9rem;
    }

    /* Service category */
    .service-category {
        padding: 25px 20px;
    }

    .service-category h3 {
        font-size: 1.3rem;
    }

    /* Benefits */
    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .benefit-icon img {
        width: 32px;
        height: 32px;
    }

    /* Category icon */
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .category-icon img {
        width: 32px;
        height: 32px;
    }

    /* Form */
    .service-form {
        padding: 25px 20px;
    }

    .form-header h2 {
        font-size: 1.6rem;
    }

    .form-header p {
        font-size: 0.95rem;
    }

    /* Stats */
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Concept intro */
    .concept-intro,
    .service-intro {
        margin-bottom: 40px;
    }

    /* Step number */
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        gap: 25px;
        margin-bottom: 40px;
    }

    footer {
        padding: 60px 0 25px;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}