:root {
    --gold: #d4af37;
    --gold-light: #f4d47e;
    --gold-dark: #b8941f;
    --teal: #1a5f7a;
    --teal-light: #2a7f9a;
    --teal-dark: #0f3f52;
    --dark: #0a1929;
    --dark-light: #1a2f42;
    --light: #ffffff;
    --gray: #f8f9fa;
    --gray-dark: #6c757d;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Custom Properties for Glow Effect */
@property --hue {
    syntax: "<number>";
    inherits: true;
    initial-value: 45;
}
@property --rotate {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --bg-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --bg-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --glow-translate-y {
    syntax: "<number>";
    inherits: true;
    initial-value: -65;
}
@property --bg-size {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}
@property --glow-opacity {
    syntax: "<number>";
    inherits: true;
    initial-value: 0.6;
}
@property --glow-blur {
    syntax: "<number>";
    inherits: true;
    initial-value: 6;
}
@property --glow-scale {
    syntax: "<number>";
    inherits: true;
    initial-value: 1.5;
}
@property --glow-radius {
    syntax: "<number>";
    inherits: true;
    initial-value: 100;
}
@property --white-shadow {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-main {
        margin-top: 0;
    }
    
    p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.4));
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(212, 175, 55, 0.7); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--gold);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--teal-dark) 50%, var(--dark) 100%);
    overflow: hidden;
    padding-top: 80px;
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 95, 122, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.3"/></svg>');
    animation: particleFloat 30s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: block;
    color: var(--gold);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-main {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--light);
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 30px;
}

.hero-highlight {
    display: block;
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold), var(--gold-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 30px 0 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    background-position: right center;
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border-color: var(--light);
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--light);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollAnimation 2s infinite;
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-description {
    color: var(--gray-dark);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--gray);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: transparent;
    perspective: 1000px;
    height: 480px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card-front {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-back {
    background: linear-gradient(135deg, var(--teal), #267899);
    color: var(--light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--teal);
}

.service-card.featured .service-card-back {
    background: linear-gradient(135deg, var(--teal), #267899);
    color: var(--light);
    border-color: var(--teal);
}

.service-card-back h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--light);
}

.service-card-back p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--light);
}

.service-card-back ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.service-card-back ul li {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
}

/* Responsive pour les cartes service */
@media (max-width: 768px) {
    .service-card-back {
        padding: 20px 15px;
        overflow-y: auto;
    }
    
    .service-card-back h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-card-back p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .service-card-back ul {
        margin: 10px 0;
    }
    
    .service-card-back ul li {
        padding: 4px 0;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .service-card-back {
        padding: 18px 15px;
    }
    
    .service-card-back h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .service-card-back p {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.5;
    }
    
    .service-card-back ul li {
        padding: 5px 0;
        font-size: 14px;
    }
}

.service-card-back ul li:last-child {
    border-bottom: none;
}

.service-card.featured .service-card-back ul li {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.glow {
    display: none;
}


.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--dark);
    transition: var(--transition);
}


.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.service-description {
    color: var(--gray-dark);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: center;
}

.service-features {
    list-style: none;
    margin-bottom: 15px;
    width: 100%;
}

.service-features li {
    padding: 6px 0;
    color: var(--dark);
    font-size: 12px;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-top: 10px;
    text-align: center;
}

.service-card.featured .service-price {
    color: var(--light);
}

/* Section SEO avec effet de révélation 3D */
.seo-content {
    background: var(--light) !important;
    position: relative;
    transition: background 1.5s ease-out 0.3s;
}

#reveal-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s;
}

#seo-page {
    visibility: visible;
    opacity: 0;
    position: relative;
    z-index: 5;
    transition: opacity 1s ease-out 0.3s;
}

/* Couleurs du texte */
#seo-page h2,
#seo-page h3 {
    transition: color 1.5s ease-out 0.3s;
}

#seo-page p,
#seo-page li {
    transition: color 1.5s ease-out 0.3s;
}

/* Quand les cubes apparaissent (loaded) */
.seo-content.loaded #reveal-effect {
    opacity: 1;
}

/* Quand l'animation démarre (animating) */
.seo-content.animating {
    background: linear-gradient(135deg, var(--teal), var(--teal-light)) !important;
}

.seo-content.animating #seo-page {
    opacity: 1;
}

.seo-content.animating #seo-page h2,
.seo-content.animating #seo-page h3 {
    color: var(--light) !important;
}

.seo-content.animating #seo-page p,
.seo-content.animating #seo-page li {
    color: var(--light) !important;
}

.seo-content.animating #seo-page p strong {
    color: var(--gold) !important;
}

/* Quand l'animation est terminée */
.seo-content.revealed #reveal-effect {
    opacity: 0;
}

.accordion-main-title {
    font-size: 36px;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
}

.accordion-scroll-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-scroll-container h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 30px;
}

.accordion-scroll-container h3 {
    font-size: 24px;
    color: var(--dark);
    margin: 30px 0 20px;
    font-weight: 600;
}

.accordion-scroll-container p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.accordion-scroll-container ul {
    list-style: none;
    padding: 0;
}

.accordion-scroll-container ul li {
    padding: 8px 0;
    color: var(--gray-dark);
}

/* Responsive Section SEO */
@media (max-width: 768px) {
    /* Désactiver l'effet 3D sur mobile */
    #reveal-effect {
        display: none !important;
    }
    
    /* Afficher le contenu directement sans animation */
    #seo-page {
        opacity: 1 !important;
    }
    
    .seo-content {
        padding: 60px 0 !important;
        background: var(--light) !important;
    }
    
    .seo-content.loaded,
    .seo-content.animating {
        background: var(--light) !important;
    }
    
    .accordion-main-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .accordion-scroll-container {
        padding: 0 15px;
    }
    
    .accordion-scroll-container h2 {
        font-size: 26px;
    }
    
    .accordion-scroll-container h3 {
        font-size: 20px;
        margin: 20px 0 15px;
    }
    
    .accordion-scroll-container p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .accordion-scroll-container ul li {
        font-size: 15px;
        padding: 6px 0;
    }
    
    /* Couleurs normales sur mobile (pas de changement) */
    #seo-page h2,
    #seo-page h3,
    #seo-page p,
    #seo-page li {
        color: var(--dark) !important;
    }
    
    #seo-page p strong {
        color: var(--teal) !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 17px;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    p {
        font-size: 17px;
        line-height: 1.8;
    }
    
    h2 {
        font-size: 30px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .seo-content {
        padding: 40px 0 !important;
    }
    
    .accordion-main-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .accordion-scroll-container h3 {
        font-size: 20px;
    }
    
    .accordion-scroll-container p {
        font-size: 16px;
    }
}

/* Pricing Section */
.Des {
    font-size: 20px;
    font-weight: 1200;
    color: grey;
    margin-bottom: 15px;
}
.pricing {
    position: relative;
    overflow: hidden;
}

#pricing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid #e0e0e0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition);
}

.pricing-card:hover::after {
    left: 100%;
    transition: left 0.8s ease;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.25), 0 0 0 2px var(--gold);
    border-color: var(--gold);
}

.pricing-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    box-shadow: 0 20px 60px rgba(26, 95, 122, 0.3), 0 0 0 2px var(--gold);
    transform: scale(1.05);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(26, 95, 122, 0.3), 0 0 0 2px var(--gold); }
    50% { box-shadow: 0 25px 70px rgba(212, 175, 55, 0.4), 0 0 0 3px var(--gold); }
}

.pricing-card.featured .pricing-name,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period,
.pricing-card.featured .pricing-features li {
    color: var(--light);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
    z-index: 1;
}

.pricing-card.featured .pricing-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.pricing-price {
    margin: 20px 0;
}

.price-amount {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}

.pricing-card.featured .price-amount {
    color: var(--light);
}

.price-period {
    display: block;
    color: var(--gray-dark);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--dark);
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Portfolio Section */
.portfolio {
    background: var(--gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.portfolio-item:hover {
    transform: translateY(-15px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.3);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 24px;
    font-weight: 700;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.portfolio-description {
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--gray);
    color: var(--teal);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Process Section */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-description {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-description {
    color: var(--gray-dark);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray-dark);
}

.contact-form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.ring {
    position: relative;
    width: 500px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring i {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: 0.5s;
}

.ring i:nth-child(1) {
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: animate 6s linear infinite;
}

.ring i:nth-child(2) {
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
    animation: animate 4s linear infinite;
}

.ring i:nth-child(3) {
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
    animation: animate2 10s linear infinite;
}

.ring:hover i {
    border: 6px solid var(--clr);
    filter: drop-shadow(0 0 20px var(--clr));
}

@keyframes animate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes animate2 {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.contact-form {
    position: absolute;
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.contact-form h3 {
    font-size: 1.6em;
    color: var(--dark);
    margin-bottom: 0;
    font-family: 'Playfair Display', serif;
}

.contact-form .inputBx {
    position: relative;
    width: 100%;
}

.contact-form .inputBx input,
.contact-form .inputBx select,
.contact-form .inputBx textarea {
    position: relative;
    width: 100%;
    padding: 10px 18px;
    background: transparent;
    border: 2px solid var(--teal);
    border-radius: 40px;
    font-size: 0.95em;
    color: var(--dark);
    box-shadow: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contact-form .inputBx textarea {
    border-radius: 20px;
    resize: none;
    height: 60px;
}

.contact-form .inputBx select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a5f7a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form .inputBx input:focus,
.contact-form .inputBx select:focus,
.contact-form .inputBx textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-form .inputBx input[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    cursor: pointer;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1em;
    transition: var(--transition);
}

.contact-form .inputBx input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.contact-form .inputBx input::placeholder,
.contact-form .inputBx textarea::placeholder {
    color: rgba(26, 95, 122, 0.6);
}

.contact-form .inputBx select option {
    background: var(--light);
    color: var(--dark);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    line-height: 1.8;
}

.footer-column h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollAnimation {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-main {
        font-size: 42px;
    }

    .hero-highlight {
        font-size: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ring {
        width: 450px;
        height: 550px;
    }

    .contact-form {
        width: 320px;
        gap: 8px;
    }

    .contact-form h3 {
        font-size: 1.4em;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-main {
        font-size: 32px;
    }

    .hero-highlight {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .service-card,
    .pricing-card {
        padding: 25px;
    }

    .ring {
        width: 340px;
        height: 520px;
    }

    .contact-form {
        width: 290px;
        gap: 8px;
    }

    .contact-form h3 {
        font-size: 1.3em;
    }

    .contact-form .inputBx input,
    .contact-form .inputBx select,
    .contact-form .inputBx textarea {
        padding: 9px 15px;
        font-size: 0.9em;
    }

    .contact-form .inputBx textarea {
        height: 50px;
    }
}
