/* 
   Groupe Amorovi BTP - Design System & Modern Vitrine Style Sheet
   Created: June 2026
   Author: Antigravity AI
*/

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

/* --- CUSTOM VARIABLES --- */
:root {
    --bg-main: #060913;
    --bg-darker: #03050a;
    --bg-glass: rgba(13, 19, 36, 0.65);
    --bg-glass-active: rgba(20, 30, 55, 0.85);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-accent-glass: rgba(249, 115, 22, 0.2);
    
    --accent: #f97316; /* Orange BTP */
    --accent-glow: rgba(249, 115, 22, 0.4);
    --accent-light: #fdba74;
    --accent-dark: #c2410c;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #eab308 100%);
    --bg-gradient: radial-gradient(circle at 50% -20%, #1e1b4b 0%, #060913 70%);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --font-title: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-accent: 0 10px 30px -10px rgba(249, 115, 22, 0.3);
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.3);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* --- UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 600;
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-accent);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(249, 115, 22, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 27px;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 600;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.logo-text {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link-item {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-fast);
}

.nav-link-item:hover {
    color: var(--text-primary);
}

.nav-link-item:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(6, 9, 19, 0.5) 0%, var(--bg-main) 95%), url('../images/close-up-city-asphalt-road-with-palm-trees-along-road-sunset.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid var(--border-accent-glass);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.hero-tag i {
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 16px;
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-title);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: rotate3d(0, 1, 0, -10deg);
    transition: var(--transition-smooth);
}

.visual-container:hover {
    transform: rotate3d(0, 0, 0, 0deg) scale(1.02);
}

.visual-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.visual-overlay-card {
    position: absolute;
    bottom: 24px;
    left: -24px;
    padding: 20px;
    max-width: 260px;
}

.voc-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.voc-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.voc-text {
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- ABOUT SECTION & TIMELINE --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    color: var(--accent);
    font-size: 1.25rem;
}

.about-feature span {
    font-weight: 500;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.about-visual img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Interactive Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
}

.timeline-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: var(--accent-gradient);
    transition: height 0.5s ease-out;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    right: -8px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--accent);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent);
    transition: transform var(--transition-fast);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
    right: auto;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
}

.timeline-card {
    padding: 30px;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 100px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.timeline-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent-glass);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.05);
}

.service-img-wrap {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.service-card:hover .service-card-img {
    transform: scale(1.08);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
}

.service-card:hover .service-link {
    color: var(--accent-light);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* --- DIRECTORS WORD (MOT DU DG) --- */
.dg-section {
    position: relative;
    overflow: hidden;
}

.dg-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.dg-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.dg-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.dg-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 16px;
    text-align: center;
}

.dg-name {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.dg-role {
    font-size: 0.85rem;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.dg-quote-container {
    position: relative;
    padding-left: 40px;
}

.dg-quote-icon {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 3rem;
    color: rgba(249, 115, 22, 0.15);
    font-family: serif;
}

.dg-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.dg-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

.dg-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.dg-info-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dg-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
}

.dg-info-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.dg-info-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

/* --- TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    padding: 40px 24px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent-glass);
}

.team-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    padding: 4px;
    background: var(--border-glass);
    transition: var(--transition-fast);
}

.team-card:hover .team-avatar-wrap {
    background: var(--accent-gradient);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-name {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-method-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-glass-active);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid var(--border-accent-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-links-card {
    padding: 30px;
}

.cl-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cl-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cl-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    transition: var(--transition-fast);
}

.cl-btn-sport {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.cl-btn-sport:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.cl-btn-edu {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.cl-btn-edu:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.contact-form-panel {
    padding: 40px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--bg-main);
    padding: 0 6px;
    border-radius: 4px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    margin-top: 16px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    color: #10b981;
    display: block;
}

.form-status.error {
    color: #ef4444;
    display: block;
}

/* --- FOOTER & COPYRIGHT --- */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h4 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-logo-box img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
}

.footer-title {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-link-item:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-info-item i {
    color: var(--accent);
    margin-top: 4px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- MODAL WINDOWS (OVERLAYS) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.modal-header-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-glass);
}

.modal-content-wrap {
    padding: 40px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 8px;
}

.modal-body-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.modal-detail-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.modal-detail-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.modal-detail-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.modal-detail-value {
    font-size: 1.05rem;
    font-weight: 600;
}

.modal-bullets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-bullet-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.modal-bullet-item i {
    color: var(--accent);
    font-size: 1.15rem;
    margin-top: 3px;
}

.modal-bullet-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- ANIMATIONS & REVEAL ON SCROLL --- */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media screen and (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-tag {
        justify-content: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .visual-container {
        transform: none;
    }
    
    .visual-img {
        height: 380px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual img {
        height: 320px;
    }
    
    .dg-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dg-img {
        height: 360px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-line {
        left: 24px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 56px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 16px !important;
        right: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(3, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-glass);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .modal-content-wrap {
        padding: 24px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}
