:root {
    --luxury-red: #8B0000;
    --dark-silver: #707070;
    --light-silver: #E8E8E8;
    --dark: #1A1A1A;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

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

/* Enhanced Header Styles */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--luxury-red) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.luxury-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(139, 0, 0, 0.1) 25%, transparent 25%) -40px 0,
        linear-gradient(-45deg, rgba(139, 0, 0, 0.1) 25%, transparent 25%) -40px 0,
        linear-gradient(45deg, transparent 75%, rgba(139, 0, 0, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(139, 0, 0, 0.1) 75%);
    background-size: 80px 80px;
    animation: overlayShimmer 15s linear infinite;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--luxury-red) 1px, transparent 1px),
        radial-gradient(circle, var(--light-silver) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: particleFloat 20s infinite linear;
    opacity: 0.3;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.luxury-border {
    display: inline-block;
    padding: 20px;
    position: relative;
}

.luxury-border::before, .luxury-border::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--luxury-red);
    opacity: 0.8;
}

.luxury-border::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation: borderRotate 6s infinite linear;
}

.luxury-border::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation: borderRotate 6s infinite linear reverse;
}

.main-title {
    font-size: 4.2rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 15px;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 
        0 0 10px rgba(139, 0, 0, 0.3),
        0 0 20px rgba(139, 0, 0, 0.2),
        0 0 30px rgba(139, 0, 0, 0.1);
}

.title-effect {
    display: inline-block;
    animation: titleFloat 3s ease-in-out infinite;
    opacity: 0;
    transform: translateY(20px);
}

.title-spacer {
    display: inline-block;
    width: 15px;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.luxury-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    animation: lineShimmer 2s infinite;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--light-silver);
    letter-spacing: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 300;
}

.subtitle-separator {
    color: #FFFFFF;
    font-size: 0.9rem;
    animation: rotateStar 4s linear infinite;
}

.subtitle-text {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.subtitle-text:hover {
    color: var(--white);
    text-shadow: 0 0 10px var(--luxury-red);
}

/* Enhanced About Section */
.about-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--dark), #2A2A2A);
    position: relative;
    overflow: hidden;
}

.luxury-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--luxury-red) 1px, transparent 1px),
        radial-gradient(circle, var(--light-silver) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    animation: particleShimmer 30s infinite linear;
    opacity: 0.15;
    pointer-events: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
    position: relative;
}

.luxury-divider {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    position: relative;
    animation: dividerPulse 3s infinite ease-in-out;
}

.luxury-divider.left {
    margin-right: 30px;
}

.luxury-divider.right {
    margin-left: 30px;
}

.luxury-divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--luxury-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--luxury-red), 0 0 20px var(--luxury-red);
    animation: dividerGlow 3s infinite alternate;
}

.luxury-divider.left::after {
    right: 0;
}

.luxury-divider.right::after {
    left: 0;
}

.about-section h2 {
    font-size: 3.2rem;
    color: var(--white);
    margin: 0 20px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 300;
}

.about-section h2 .highlight {
    color: var(--luxury-red);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.about-section h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    animation: lineShimmer 3s infinite;
}

.about-content {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
}

.image-frame {
    position: relative;
    padding: 20px;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--luxury-red);
    opacity: 0.8;
    z-index: 1;
    transition: all 0.5s ease;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation: cornerPulse 3s infinite ease-in-out;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    animation: cornerPulse 3s infinite ease-in-out 0.75s;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    animation: cornerPulse 3s infinite ease-in-out 1.5s;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation: cornerPulse 3s infinite ease-in-out 2.25s;
}

.image-frame:hover .corner {
    width: 40px;
    height: 40px;
    border-color: var(--white);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
}

.about-image {
    flex: 1;
    position: relative;
}

.image-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(139, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: perspective(1000px) rotateY(0deg);
    transform-style: preserve-3d;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.3), transparent);
    z-index: 1;
    opacity: 0.7;
    transition: all 0.5s ease;
}

.image-card:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 10px 20px rgba(139, 0, 0, 0.5);
}

.image-card:hover .image-overlay {
    opacity: 0.4;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.4), rgba(255, 255, 255, 0.1));
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
    filter: grayscale(20%);
}

.image-card:hover img {
    filter: grayscale(0%);
}

.about-text-container {
    flex: 1;
    position: relative;
    padding: 20px 40px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-text-container:hover {
    background: rgba(26, 26, 26, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(139, 0, 0, 0.2);
    transform: translateY(-5px);
}

.quote-mark {
    font-size: 4rem;
    color: var(--luxury-red);
    opacity: 0.5;
    position: absolute;
    line-height: 1;
}

.quote-mark.left {
    top: 0;
    left: 10px;
}

.quote-mark.right {
    bottom: 0;
    right: 10px;
}

.about-text {
    font-size: 1.2rem;
    color: var(--light-silver);
    position: relative;
    z-index: 2;
}

.elegant-text {
    margin-bottom: 25px;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.elegant-text:hover {
    color: var(--white);
}

.signature-block {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.signature-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red));
    margin-bottom: 10px;
    animation: signatureGrow 3s infinite alternate;
}

.signature-text {
    font-family: 'Great Vibes', cursive, 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--luxury-red);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.luxury-accent-elements {
    position: relative;
    margin-top: 80px;
    height: 30px;
    display: flex;
    justify-content: space-between;
}

.accent-element {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, var(--luxury-red), transparent);
    position: relative;
}

.accent-element.right {
    background: linear-gradient(90deg, transparent, var(--luxury-red));
}

.accent-element::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--luxury-red);
    top: -2px;
    animation: accentPulse 3s infinite alternate;
}

.accent-element.left::after {
    right: 0;
}

.accent-element.right::after {
    left: 0;
}

/* Ultra Luxury About Section Enhancements */
.luxury-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.6;
    animation: glowPulse 8s infinite alternate;
    pointer-events: none;
    z-index: 1;
}

.luxury-letter {
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    animation: letterFloat 5s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

.luxury-letter:nth-child(1) { --i: 1; }
.luxury-letter:nth-child(2) { --i: 2; }
.luxury-letter:nth-child(3) { --i: 3; }
.luxury-letter:nth-child(4) { --i: 4; }
.luxury-letter:nth-child(5) { --i: 5; }
.luxury-letter:nth-child(6) { --i: 6; }
.luxury-letter:nth-child(7) { --i: 7; }
.luxury-letter:nth-child(8) { --i: 8; }
.luxury-letter:nth-child(9) { --i: 9; }
.luxury-letter:nth-child(10) { --i: 10; }
.luxury-letter:nth-child(11) { --i: 11; }
.luxury-letter:nth-child(12) { --i: 12; }
.luxury-letter:nth-child(13) { --i: 13; }
.luxury-letter:nth-child(14) { --i: 14; }
.luxury-letter:nth-child(15) { --i: 15; }

.diamond-accent {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--luxury-red);
    transform: rotate(45deg);
    top: 50%;
    margin-top: -6px;
    box-shadow: 0 0 10px var(--luxury-red), 0 0 20px rgba(139, 0, 0, 0.5);
    animation: diamondGlow 3s infinite alternate;
}

.luxury-divider.left .diamond-accent {
    right: -6px;
}

.luxury-divider.right .diamond-accent {
    left: -6px;
}

.corner-accent {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--luxury-red);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 8px var(--luxury-red);
    animation: accentPulse 2s infinite alternate;
}

.top-left .corner-accent {
    bottom: 0;
    right: 0;
}

.top-right .corner-accent {
    bottom: 0;
    left: 0;
}

.bottom-left .corner-accent {
    top: 0;
    right: 0;
}

.bottom-right .corner-accent {
    top: 0;
    left: 0;
}

.luxury-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 6s infinite;
    z-index: 2;
    pointer-events: none;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.image-card:hover .image-caption {
    opacity: 1;
    transform: translateY(0);
}

.caption-text {
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 10px;
}

.caption-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--light-silver), transparent);
}

.text-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, var(--dark) 25%, transparent 25%),
        linear-gradient(-45deg, var(--dark) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--dark) 75%),
        linear-gradient(-45deg, transparent 75%, var(--dark) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.03;
    z-index: 0;
}

.luxury-drop-cap {
    float: left;
    font-size: 3.5rem;
    line-height: 0.8;
    margin-right: 10px;
    color: var(--luxury-red);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.luxury-drop-cap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--luxury-red), transparent);
}

.key-qualities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.quality-tag {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--light-silver);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quality-tag::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--luxury-red), transparent, var(--luxury-red));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-tag:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quality-tag:hover::before {
    opacity: 0.3;
    animation: borderRotate 3s linear infinite;
}

.signature-flourish {
    color: var(--luxury-red);
    font-size: 1.5rem;
    margin-top: 10px;
    opacity: 0.8;
    animation: flourishFloat 3s ease-in-out infinite;
}

.accent-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -20px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.accent-scroll-indicator:hover {
    opacity: 1;
    transform: translateY(3px);
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background-color: var(--luxury-red);
    border-radius: 50%;
    margin-bottom: 8px;
    animation: scrollDotBounce 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    color: var(--light-silver);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.accent-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--luxury-red);
    border-radius: 50%;
    top: -3px;
    animation: dotPulse 3s infinite alternate;
}

.accent-element.left .accent-dot {
    right: 0;
}

.accent-element.right .accent-dot {
    left: 0;
}

/* Luxurious Certificate Section */
.certificate-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #2A2A2A, var(--dark));
    position: relative;
    overflow: hidden;
}

.certificate-particles {
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
}

.certificate-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.6;
    animation: certificateGlow 10s infinite alternate;
    pointer-events: none;
    z-index: 1;
}

.certificate-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1500px;
}

.certificate-frame {
    position: relative;
    width: 100%;
    padding: 15px;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(139, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.certificate-wrapper:hover .certificate-frame {
    transform: rotateX(0deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.certificate-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--luxury-red);
    z-index: 10;
}

.certificate-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.certificate-corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.certificate-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.certificate-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.certificate-border {
    position: relative;
    padding: 3px;
    background: linear-gradient(45deg, var(--luxury-red), transparent, var(--luxury-red), transparent);
    background-size: 400% 400%;
    animation: borderGradient 8s ease infinite;
}

.certificate-content {
    background: rgba(26, 26, 26, 0.95);
    padding: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border: 1px solid rgba(139, 0, 0, 0.3);
}

.certificate-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.certificate-logo {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark), var(--luxury-red));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
    overflow: hidden;
}

.logo-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: logoShine 6s infinite;
}

.logo-icon {
    color: var(--white);
    font-size: 2rem;
    animation: logoRotate 10s linear infinite;
}

.certificate-title {
    display: flex;
    flex-direction: column;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-word {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.title-word:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.certificate-wrapper:hover .title-word:after {
    transform: translateX(0);
    transition-delay: calc(var(--i, 0) * 0.2s);
}

.title-word:nth-child(1) { --i: 1; }
.title-word:nth-child(2) { --i: 2; }
.title-word:nth-child(3) { --i: 3; }

.certificate-divider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.divider-emblem {
    width: 20px;
    height: 20px;
    background-color: var(--luxury-red);
    transform: rotate(45deg);
    position: relative;
    animation: emblemPulse 3s infinite alternate;
}

.divider-emblem:before, .divider-emblem:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--luxury-red);
    animation: emblemRotate 6s linear infinite;
}

.divider-emblem:before {
    animation-delay: -3s;
}

.certificate-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.certificate-text {
    flex: 1;
    text-align: center;
}

.certificate-description {
    font-size: 1.1rem;
    color: var(--light-silver);
    margin-bottom: 15px;
}

.certificate-highlight {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.powered-by {
    font-size: 1.2rem;
    color: var(--light-silver);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.ai-text {
    font-size: 2.5rem;
    color: var(--luxury-red);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin: 10px 0;
}

.ai-text:before, .ai-text:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 30px;
    background-color: var(--luxury-red);
    top: 50%;
    transform: translateY(-50%);
}

.ai-text:before {
    left: -40px;
}

.ai-text:after {
    right: -40px;
}

.certificate-attribution {
    font-size: 1rem;
    color: var(--light-silver);
    margin-top: 20px;
}

.fonte-aperta {
    font-size: 2.2rem;
    color: var(--white);
    font-family: 'Great Vibes', cursive;
    margin-top: 10px;
    position: relative;
    display: inline-block;
}

.fonte-aperta:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.certificate-qr {
    position: relative;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.certificate-wrapper:hover .certificate-qr {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
}

.qr-code {
    width: 90%;
    height: 90%;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-image {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: contain;
    z-index: 2;
    opacity: 0.9;
    mix-blend-mode: screen;
}

.qr-code:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--luxury-red) 2px, transparent 2px);
    background-size: 20px 20px;
    background-position: -5px -5px;
    opacity: 0.5;
}

.qr-scanner {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    top: 0;
    animation: qrScan 3s ease-in-out infinite;
}

.qr-corners {
    position: absolute;
    width: 100%;
    height: 100%;
}

.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--luxury-red);
}

.qr-corner-tl {
    top: 5px;
    left: 5px;
    border-right: none;
    border-bottom: none;
}

.qr-corner-tr {
    top: 5px;
    right: 5px;
    border-left: none;
    border-bottom: none;
}

.qr-corner-bl {
    bottom: 5px;
    left: 5px;
    border-right: none;
    border-top: none;
}

.qr-corner-br {
    bottom: 5px;
    right: 5px;
    border-left: none;
    border-top: none;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certificate-date {
    font-size: 1rem;
    color: var(--light-silver);
    letter-spacing: 1px;
}

.certificate-serial {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--luxury-red);
    letter-spacing: 2px;
}

.certificate-authenticity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.authenticity-icon {
    color: var(--luxury-red);
    font-size: 1.2rem;
    animation: pulseIcon 2s infinite;
}

.authenticity-text {
    font-size: 0.9rem;
    color: var(--light-silver);
    letter-spacing: 1px;
}

/* Certificate Animations */
@keyframes certificateGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

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

@keyframes logoShine {
    0% { transform: rotate(45deg) translateX(-100%); }
    50%, 100% { transform: rotate(45deg) translateX(100%); }
}

@keyframes logoRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes emblemPulse {
    0% { transform: rotate(45deg) scale(1); }
    100% { transform: rotate(45deg) scale(1.2); }
}

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

@keyframes qrScan {
    0% { top: 0; opacity: 0.8; }
    50% { top: 100%; opacity: 1; }
    100% { top: 0; opacity: 0.8; }
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Styles for Certificate Section */
@media (max-width: 992px) {
    .certificate-body {
        flex-direction: column;
    }
    
    .certificate-qr {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .certificate-content {
        padding: 30px 20px;
    }
    
    .certificate-title {
        font-size: 1.8rem;
    }
    
    .ai-text {
        font-size: 2rem;
    }
    
    .certificate-corner {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .certificate-header {
        flex-direction: column;
        text-align: center;
    }
    
    .certificate-logo {
        margin: 0 auto;
    }
    
    .certificate-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Company Partnerships Section */
.partnerships-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #2A2A2A, var(--dark));
    position: relative;
    overflow: hidden;
}

.partnerships-particles {
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
}

.partnerships-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.partnership-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.partnership-card {
    flex: 0 0 calc(33.333% - 40px);
    max-width: 380px;
    position: relative;
    perspective: 1000px;
    transition: transform 0.6s ease;
}

.partnership-card:hover {
    transform: translateY(-15px);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.academy-card .card-glow {
    background: radial-gradient(ellipse at center, rgba(207, 207, 207, 0.4) 0%, transparent 70%);
}

.ai-card .card-glow {
    background: radial-gradient(ellipse at center, rgba(207, 207, 207, 0.4) 0%, transparent 70%);
}

.echo-card .card-glow {
    background: radial-gradient(ellipse at center, rgba(207, 207, 207, 0.4) 0%, transparent 70%);
}

.partnership-card:hover .card-glow {
    opacity: 1;
}

.card-frame {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(139, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.ai-card .card-frame {
    border: 1px solid rgba(192, 192, 192, 0.568);
}

.echo-card .card-frame {
    border: 1px solid rgba(139, 0, 0, 0.5);
}

.card-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 10;
}

.academy-card .card-corner {
    border: 2px solid var(--luxury-red);
}

.ai-card .card-corner {
    border: 2px solid rgba(192, 192, 192, 0.568);
}

.echo-card .card-corner {
    border: 2px solid var(--luxury-red);
}

.card-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.card-corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.card-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.card-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.company-logo-wrapper {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 10px;
}

.logo-border {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 5px;
    position: relative;
    overflow: hidden;
}

.academy-card .logo-border {
    background: linear-gradient(45deg, transparent, var(--luxury-red), transparent);
    animation: rotateBorder 8s linear infinite;
}

.ai-card .logo-border {
    background: linear-gradient(45deg, transparent, rgba(192, 192, 192, 0.568), transparent);
    animation: rotateBorder 8s linear infinite reverse;
}

.echo-card .logo-border {
    background: linear-gradient(45deg, transparent, var(--luxury-red), transparent);
    animation: rotateBorder 8s linear infinite;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: var(--dark);
    padding: 15px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.partnership-card:hover .company-logo {
    transform: scale(1.1);
}

.logo-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: logoShine 6s infinite;
    z-index: 3;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    letter-spacing: 2px;
}

.name-part {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.name-part:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.academy-card .name-part:after {
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.ai-card .name-part:after {
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.568), transparent);
}

.echo-card .name-part:after {
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.partnership-card:hover .name-part:after {
    transform: translateX(0);
}

.partnership-card:hover .name-part:nth-child(2):after {
    transition-delay: 0.2s;
}

.partnership-divider {
    display: flex;
    align-items: center;
    width: 80%;
    gap: 15px;
    margin: 10px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
}

.academy-card .divider-line {
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.ai-card .divider-line {
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.568), transparent);
}

.echo-card .divider-line {
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.divider-diamond {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    position: relative;
}

.academy-card .divider-diamond {
    background-color: var(--luxury-red);
    animation: diamondPulse 3s infinite alternate;
}

.ai-card .divider-diamond {
    background-color: rgba(192, 192, 192, 0.568);
    animation: diamondPulse 3s infinite alternate-reverse;
}

.echo-card .divider-diamond {
    background-color: var(--luxury-red);
    animation: diamondPulse 3s infinite alternate;
}

.partnership-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    margin: 10px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    position: relative;
}

.detail-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.detail-label {
    font-size: 0.9rem;
    color: var(--light-silver);
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.academy-card .detail-value {
    color: var(--luxury-red);
}

.ai-card .detail-value {
    color: rgba(192, 192, 192, 0.568);
}

.echo-card .detail-value {
    color: var(--luxury-red);;
}

.partnership-footer {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.partnership-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.academy-card .partnership-badge {
    background: rgba(139, 0, 0, 0.2);
    border: 1px solid rgba(139, 0, 0, 0.5);
    color: var(--white);
}

.ai-card .partnership-badge {
    background: rgba(192, 192, 192, 0.568);
    border: 1px solid rgba(192, 192, 192, 0.568);
    color: var(--white);
}

.echo-card .partnership-badge {
    background: rgba(139, 0, 0, 0.2);
    border: 1px solid rgba(139, 0, 0, 0.5);
    color: var(--white);
}

.partnership-card:hover .partnership-badge {
    transform: scale(1.05);
}

.academy-card:hover .partnership-badge {
    background: rgba(139, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.ai-card:hover .partnership-badge {
    background: rgba(192, 192, 192, 0.568);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.568);
}

.echo-card:hover .partnership-badge {
    background: rgba(139, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

/* Partnership Animations */
@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes diamondPulse {
    0% { transform: rotate(45deg) scale(1); }
    100% { transform: rotate(45deg) scale(1.3); }
}

/* Responsive Styles for Partnership Section */
@media (max-width: 1200px) {
    .partnership-card {
        flex: 0 0 calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .partnership-card {
        flex: 0 0 100%;
        max-width: 400px;
    }
    
    .card-content {
        padding: 25px 20px;
    }
    
    .company-name {
        font-size: 1.6rem;
    }
}

/* Footer Styles */
footer {
    position: relative;
    padding: 80px 0 60px;
    background-color: var(--dark);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    opacity: 0.7;
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.signature {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.signature::before,
.signature::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.signature::before {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.signature::after {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.signature:hover::before,
.signature:hover::after {
    width: 200px;
}

.signature-text {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--white);
    position: relative;
    display: inline-block;
    transition: all 0.5s ease;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.signature-text::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--luxury-red);
    border-radius: 50%;
    top: -15px;
    left: -15px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.signature-text::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--luxury-red);
    border-radius: 50%;
    bottom: -15px;
    right: -15px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.signature:hover .signature-text {
    color: var(--white);
    text-shadow: 0 0 15px rgba(139, 0, 0, 0.5), 0 0 30px rgba(139, 0, 0, 0.3);
    transform: scale(1.05);
}

.signature:hover .signature-text::before,
.signature:hover .signature-text::after {
    opacity: 1;
    transform: scale(1);
}

.social-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 10px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, transparent 50%, rgba(139, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.social-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.8s ease;
}

.social-card:hover {
    transform: translateY(-10px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(139, 0, 0, 0.3);
    border-color: rgba(139, 0, 0, 0.6);
    background-color: rgba(26, 26, 26, 0.9);
}

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

.social-card:hover::after {
    opacity: 1;
    animation: socialCardShine 2s forwards;
}

.social-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--white);
    transition: all 0.5s ease;
}

.social-card span {
    font-size: 0.9rem;
    color: var(--light-silver);
    transition: all 0.5s ease;
    position: relative;
}

.social-card span::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--luxury-red);
    transition: width 0.5s ease;
}

.social-card:hover i {
    color: var(--luxury-red);
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.social-card:hover span {
    color: var(--white);
}

.social-card:hover span::before {
    width: 100%;
}

.insights {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.insight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 1px solid var(--luxury-red);
    opacity: 0;
    transition: all 0.5s ease;
}

.insight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid var(--luxury-red);
    opacity: 0;
    transition: all 0.5s ease;
}

.insight-card:hover::before,
.insight-card:hover::after {
    width: 40px;
    opacity: 1;
}

.insight-card .number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 5px;
    position: relative;
    transition: all 0.5s ease;
}

.insight-card .label {
    font-size: 0.9rem;
    color: var(--light-silver);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

.insight-card:hover .number {
    color: var(--luxury-red);
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
    transform: translateY(-5px);
}

.insight-card:hover .label {
    color: var(--white);
}

@keyframes socialCardShine {
    0% {
        top: -50%;
        left: -50%;
        opacity: 0.7;
    }
    100% {
        top: 50%;
        left: 50%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .social-cards {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .social-card {
        width: 100px;
        height: 100px;
    }
    
    .insights {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .signature-text {
        font-size: 2.8rem;
    }
}

/* AI Training Section */
.ai-training-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-bg);
    overflow: hidden;
}

.training-particles {
    opacity: 0.6;
}

.training-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.training-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.training-details {
    width: 28%;
}

.training-gallery {
    width: 40%;
}

.detail-card {
    position: relative;
    margin-bottom: 30px;
    transition: transform 0.5s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.detail-card:hover .detail-glow {
    opacity: 1;
}

.detail-frame {
    position: relative;
    padding: 30px;
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 0, 0, 0.3);
    z-index: 2;
}

.detail-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--luxury-red);
    z-index: 3;
}

.detail-corner.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.detail-corner.top-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.detail-corner.bottom-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.detail-corner.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--luxury-red), rgba(139, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.5);
}

.detail-icon i {
    font-size: 24px;
    color: var(--white);
}

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--white);
    margin: 0;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.detail-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.detail-divider .divider-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
}

.detail-divider .divider-diamond {
    width: 10px;
    height: 10px;
    background-color: var(--luxury-red);
    transform: rotate(45deg);
    margin: 0 10px;
    animation: diamondPulse 3s infinite alternate;
}

.detail-content p {
    color: var(--light-silver);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--light-silver);
}

.feature-icon {
    color: var(--luxury-red);
    margin-right: 10px;
    display: inline-flex;
    animation: pulse 2s infinite;
}

/* Gallery Styles */
.gallery-container {
    display: flex;
    justify-content: center;
    position: relative;
    height: 450px;
}

.gallery-card {
    position: absolute;
    width: 250px;
    height: 350px;
    transition: all 0.5s ease;
}

.gallery-card.card-1 {
    transform: translateX(-50%) rotate(-5deg);
    z-index: 1;
}

.gallery-card.card-2 {
    z-index: 3;
}

.gallery-card.card-3 {
    transform: translateX(50%) rotate(5deg);
    z-index: 2;
}

.gallery-container:hover .card-1 {
    transform: translateX(-100%) rotate(-10deg);
}

.gallery-container:hover .card-3 {
    transform: translateX(100%) rotate(10deg);
}

.card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(139, 0, 0, 0.3);
    overflow: hidden;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--luxury-red);
    z-index: 3;
}

.frame-corner.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.top-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bottom-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.frame-corner.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: opacity 0.3s ease;
}

.overlay-text {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 18px;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.8);
}

/* CTA Button Styles */
.cta-container {
    text-align: center;
    margin-top: 60px;
}

.legacy-button {
    display: inline-block;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.legacy-button:hover {
    transform: translateY(-5px);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.legacy-button:hover .button-glow {
    opacity: 1;
}

.button-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(139, 0, 0, 0.5);
    z-index: 2;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon {
    margin-right: 10px;
    color: var(--luxury-red);
    font-size: 18px;
    animation: starPulse 2s infinite alternate;
}

.button-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes starPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .training-details {
        width: 30%;
    }
    
    .training-gallery {
        width: 36%;
    }
    
    .gallery-card {
        width: 220px;
        height: 320px;
    }
}

@media (max-width: 992px) {
    .training-content {
        flex-direction: column;
    }
    
    .training-details {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .training-details.right {
        margin-top: 40px;
        margin-bottom: 0;
    }
    
    .training-gallery {
        width: 100%;
    }
    
    .gallery-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .gallery-card {
        width: 200px;
        height: 300px;
    }
    
    .gallery-container:hover .card-1 {
        transform: translateX(-80%) rotate(-10deg);
    }
    
    .gallery-container:hover .card-3 {
        transform: translateX(80%) rotate(10deg);
    }
    
    .button-frame {
        padding: 12px 25px;
    }
    
    .button-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .gallery-card {
        width: 180px;
        height: 260px;
    }
    
    .gallery-container {
        height: 350px;
    }
    
    .gallery-container:hover .card-1 {
        transform: translateX(-70%) rotate(-10deg);
    }
    
    .gallery-container:hover .card-3 {
        transform: translateX(70%) rotate(10deg);
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .detail-frame {
        padding: 20px;
    }
}

/* Web Design Service Section */
.web-design-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #2A2A2A, var(--dark));
    position: relative;
    overflow: hidden;
}

.web-design-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--luxury-red) 1px, transparent 1px),
        radial-gradient(circle, var(--light-silver) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    animation: particleShimmer 30s infinite linear;
    opacity: 0.15;
    pointer-events: none;
}

.web-design-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, rgba(139, 0, 0, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: glowPulse 8s infinite alternate;
}

.web-design-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.web-design-details {
    flex: 1;
    max-width: 55%;
}

.web-design-showcase {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-card {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    perspective: 1000px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.showcase-card .card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.4) 0%, rgba(139, 0, 0, 0.2) 30%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.showcase-card:hover .card-glow {
    opacity: 1;
    animation: cardGlowPulse 2s infinite alternate;
}

.showcase-card .card-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

.showcase-card:hover .card-frame {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(139, 0, 0, 0.3),
        0 0 20px rgba(139, 0, 0, 0.2);
}

.showcase-card .card-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.showcase-card .card-corner::before,
.showcase-card .card-corner::after {
    content: '';
    position: absolute;
    background-color: var(--luxury-red);
    transition: all 0.3s ease;
}

.showcase-card .card-corner.top-left {
    top: 0;
    left: 0;
}

.showcase-card .card-corner.top-right {
    top: 0;
    right: 0;
}

.showcase-card .card-corner.bottom-left {
    bottom: 0;
    left: 0;
}

.showcase-card .card-corner.bottom-right {
    bottom: 0;
    right: 0;
}

.showcase-card .card-corner.top-left::before {
    top: 0;
    left: 0;
    width: 2px;
    height: 20px;
}

.showcase-card .card-corner.top-left::after {
    top: 0;
    left: 0;
    width: 20px;
    height: 2px;
}

.showcase-card .card-corner.top-right::before {
    top: 0;
    right: 0;
    width: 2px;
    height: 20px;
}

.showcase-card .card-corner.top-right::after {
    top: 0;
    right: 0;
    width: 20px;
    height: 2px;
}

.showcase-card .card-corner.bottom-left::before {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 20px;
}

.showcase-card .card-corner.bottom-left::after {
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
}

.showcase-card .card-corner.bottom-right::before {
    bottom: 0;
    right: 0;
    width: 2px;
    height: 20px;
}

.showcase-card .card-corner.bottom-right::after {
    bottom: 0;
    right: 0;
    width: 20px;
    height: 2px;
}

.showcase-card:hover .card-corner::before,
.showcase-card:hover .card-corner::after {
    background-color: var(--luxury-red);
    box-shadow: 0 0 10px var(--luxury-red), 0 0 20px rgba(139, 0, 0, 0.5);
}

.showcase-card:hover .card-corner.top-left::before,
.showcase-card:hover .card-corner.top-right::before,
.showcase-card:hover .card-corner.bottom-left::before,
.showcase-card:hover .card-corner.bottom-right::before {
    height: 30px;
}

.showcase-card:hover .card-corner.top-left::after,
.showcase-card:hover .card-corner.top-right::after,
.showcase-card:hover .card-corner.bottom-left::after,
.showcase-card:hover .card-corner.bottom-right::after {
    width: 30px;
}

.showcase-card .card-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.showcase-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}

/* Luxury SVG Styling */
.luxury-web-design-svg {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 50%, #1A1A1A 100%);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover .luxury-web-design-svg {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.luxury-web-design-svg text {
    user-select: none;
    pointer-events: none;
}

.luxury-web-design-svg rect,
.luxury-web-design-svg circle,
.luxury-web-design-svg line,
.luxury-web-design-svg path {
    transition: all 0.3s ease;
}

.showcase-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.showcase-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.showcase-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-icon {
    font-size: 2rem;
    color: var(--luxury-red);
    margin-bottom: 10px;
    animation: iconFloat 3s ease-in-out infinite;
}

.overlay-text {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.showcase-details {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.detail-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--luxury-red);
    border-radius: 20px;
    padding: 5px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.showcase-card:hover .detail-badge {
    background: rgba(139, 0, 0, 0.2);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(139, 0, 0, 0.5);
    transform: translateY(-5px);
}

.detail-badge i {
    color: var(--luxury-red);
    font-size: 0.9rem;
}

.detail-badge span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.service-cta {
    margin-top: 25px;
    display: flex;
    justify-content: flex-start;
}

.service-button {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.1), rgba(139, 0, 0, 0.3));
    border: 1px solid rgba(139, 0, 0, 0.3);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-button:hover {
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.3), rgba(139, 0, 0, 0.5));
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(139, 0, 0, 0.3);
    transform: translateY(-3px);
}

.service-button:hover::before {
    left: 100%;
}

.service-button .button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.3) 0%, transparent 70%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-button:hover .button-glow {
    opacity: 1;
}

@keyframes cardGlowPulse {
    0% { opacity: 0.7; filter: blur(20px); }
    100% { opacity: 1; filter: blur(25px); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsive styles for Web Design section */
@media (max-width: 992px) {
    .web-design-content {
        flex-direction: column;
        gap: 60px;
    }
    
    .web-design-details,
    .web-design-showcase {
        max-width: 100%;
    }
    
    .showcase-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .showcase-card {
        aspect-ratio: 1/1.2;
    }
}

/* Portfolio Showcase Styles */
.showcase-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px 0 40px;
}

.showcase-title {
    position: relative;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--white);
    margin: 0 30px;
    letter-spacing: 3px;
}

.showcase-title .title-text {
    position: relative;
    display: inline-block;
}

.showcase-title .title-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-red), transparent);
    transition: width 0.6s ease;
}

.showcase-title:hover .title-text::after {
    width: 100%;
    animation: lineShimmer 2s infinite;
}

.showcase-title .title-accent {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--luxury-red);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.showcase-title:hover .title-accent {
    opacity: 1;
    box-shadow: 0 0 10px var(--luxury-red), 0 0 20px rgba(139, 0, 0, 0.5);
    animation: pulsate 2s infinite;
}

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

.portfolio-item {
    position: relative;
    width: 100%;
    height: 350px;
    perspective: 1000px;
    overflow: hidden;
}

.portfolio-frame {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .portfolio-frame {
    transform: translateY(-10px) scale(1.02) rotateX(5deg);
}

.portfolio-frame .frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 3;
    pointer-events: none;
}

.portfolio-frame .frame-corner::before,
.portfolio-frame .frame-corner::after {
    content: '';
    position: absolute;
    background-color: var(--luxury-red);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-frame .frame-corner.top-left {
    top: 0;
    left: 0;
}

.portfolio-frame .frame-corner.top-right {
    top: 0;
    right: 0;
}

.portfolio-frame .frame-corner.bottom-left {
    bottom: 0;
    left: 0;
}

.portfolio-frame .frame-corner.bottom-right {
    bottom: 0;
    right: 0;
}

.portfolio-frame .frame-corner.top-left::before {
    top: 0;
    left: 0;
    width: 2px;
    height: 20px;
}

.portfolio-frame .frame-corner.top-left::after {
    top: 0;
    left: 0;
    width: 20px;
    height: 2px;
}

.portfolio-frame .frame-corner.top-right::before {
    top: 0;
    right: 0;
    width: 2px;
    height: 20px;
}

.portfolio-frame .frame-corner.top-right::after {
    top: 0;
    right: 0;
    width: 20px;
    height: 2px;
}

.portfolio-frame .frame-corner.bottom-left::before {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 20px;
}

.portfolio-frame .frame-corner.bottom-left::after {
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
}

.portfolio-frame .frame-corner.bottom-right::before {
    bottom: 0;
    right: 0;
    width: 2px;
    height: 20px;
}

.portfolio-frame .frame-corner.bottom-right::after {
    bottom: 0;
    right: 0;
    width: 20px;
    height: 2px;
}

.portfolio-item:hover .frame-corner::before,
.portfolio-item:hover .frame-corner::after {
    background-color: var(--luxury-red);
    box-shadow: 0 0 10px var(--luxury-red), 0 0 20px rgba(139, 0, 0, 0.5);
}

.portfolio-item:hover .frame-corner.top-left::before,
.portfolio-item:hover .frame-corner.top-right::before,
.portfolio-item:hover .frame-corner.bottom-left::before,
.portfolio-item:hover .frame-corner.bottom-right::before {
    height: 40px;
}

.portfolio-item:hover .frame-corner.top-left::after,
.portfolio-item:hover .frame-corner.top-right::after,
.portfolio-item:hover .frame-corner.bottom-left::after,
.portfolio-item:hover .frame-corner.bottom-right::after {
    width: 40px;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.portfolio-image .image-shine {
    position: absolute;
    top: -150%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 1s ease;
    pointer-events: none;
    z-index: 2;
}

.portfolio-item:hover .image-shine {
    top: -50%;
    left: -50%;
    animation: shineEffect 2s forwards;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
}

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

.portfolio-overlay .overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 100%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.1) 150%);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .overlay-bg {
    transform: translateY(0);
}

.portfolio-overlay .overlay-content {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.project-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.project-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--luxury-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease 0.4s;
}

.portfolio-item:hover .project-title::before {
    transform: scaleX(1);
}

.project-divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    width: 100%;
}

.project-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.5), transparent);
}

.project-divider .divider-diamond {
    width: 8px;
    height: 8px;
    background-color: var(--luxury-red);
    transform: rotate(45deg);
    margin: 0 10px;
    animation: diamondPulse 2s infinite alternate;
}

.project-description {
    font-size: 0.95rem;
    color: var(--light-silver);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

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

.project-tags .tag {
    padding: 5px 12px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--light-silver);
    transition: all 0.3s ease;
}

.portfolio-item:hover .tag {
    background: rgba(139, 0, 0, 0.2);
    border-color: rgba(139, 0, 0, 0.5);
    color: var(--white);
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
    transform: translateY(-3px);
}

@keyframes shineEffect {
    0% {
        top: -150%;
        left: -50%;
    }
    100% {
        top: 150%;
        left: 150%;
    }
}

@keyframes diamondPulse {
    0% { transform: rotate(45deg) scale(1); box-shadow: 0 0 5px var(--luxury-red); }
    100% { transform: rotate(45deg) scale(1.2); box-shadow: 0 0 10px var(--luxury-red), 0 0 20px rgba(139, 0, 0, 0.3); }
}

@keyframes pulsate {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
}

/* Responsive styles for Portfolio showcase */
@media (max-width: 992px) {
    .portfolio-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-item {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .portfolio-item {
        height: 250px;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-description {
        font-size: 0.85rem;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
}

/* Animations */
@keyframes overlayShimmer {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

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

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

@keyframes titleFloat {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes rotateStar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes particleShimmer {
    0% { background-position: 0 0, 30px 30px; }
    100% { background-position: 60px 60px, 90px 90px; }
}

@keyframes dividerPulse {
    0% { width: 100px; opacity: 0.7; }
    50% { width: 120px; opacity: 1; }
    100% { width: 100px; opacity: 0.7; }
}

@keyframes dividerGlow {
    0% { box-shadow: 0 0 5px var(--luxury-red), 0 0 10px var(--luxury-red); }
    100% { box-shadow: 0 0 15px var(--luxury-red), 0 0 30px var(--luxury-red); }
}

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

@keyframes signatureGrow {
    0% { width: 80px; }
    100% { width: 120px; }
}

@keyframes accentPulse {
    0% { transform: scale(1); box-shadow: 0 0 5px var(--luxury-red); }
    100% { transform: scale(1.5); box-shadow: 0 0 15px var(--luxury-red); }
}

/* Apply sequential animation to title letters */
.title-effect:nth-child(1) { animation-delay: 0.1s; }
.title-effect:nth-child(2) { animation-delay: 0.2s; }
.title-effect:nth-child(3) { animation-delay: 0.3s; }
.title-effect:nth-child(4) { animation-delay: 0.4s; }
.title-effect:nth-child(6) { animation-delay: 0.6s; }
.title-effect:nth-child(7) { animation-delay: 0.7s; }
.title-effect:nth-child(8) { animation-delay: 0.8s; }
.title-effect:nth-child(9) { animation-delay: 0.9s; }
.title-effect:nth-child(10) { animation-delay: 1.0s; }
.title-effect:nth-child(11) { animation-delay: 1.1s; }
.title-effect:nth-child(12) { animation-delay: 1.2s; }
.title-effect:nth-child(13) { animation-delay: 1.3s; }

/* New Animations */
@keyframes glowPulse {
    0% { opacity: 0.4; width: 70%; height: 70%; }
    100% { opacity: 0.7; width: 85%; height: 85%; }
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes diamondGlow {
    0% { box-shadow: 0 0 5px var(--luxury-red), 0 0 10px rgba(139, 0, 0, 0.3); }
    100% { box-shadow: 0 0 10px var(--luxury-red), 0 0 20px rgba(139, 0, 0, 0.6); }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes flourishFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

@keyframes scrollDotBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes dotPulse {
    0% { transform: scale(1); box-shadow: 0 0 5px var(--luxury-red); }
    100% { transform: scale(1.5); box-shadow: 0 0 10px var(--luxury-red); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.8rem;
        letter-spacing: 10px;
    }
    
    .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
        gap: 8px;
    }
    
    .luxury-line {
        width: 60px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 50px;
    }

    .about-section h2 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .luxury-divider {
        width: 70px;
    }

    .luxury-divider.left {
        margin-right: 15px;
    }

    .luxury-divider.right {
        margin-left: 15px;
    }

    .image-frame {
        padding: 15px;
    }

    .corner {
        width: 20px;
        height: 20px;
    }

    .about-text-container {
        padding: 15px 25px;
    }

    .quote-mark {
        font-size: 3rem;
    }

    .elegant-text {
        font-size: 1.1rem;
    }

    .signature-text {
        font-size: 1.8rem;
    }

    .luxury-accent-elements {
        margin-top: 50px;
    }

    .accent-element {
        width: 100px;
    }
    
    .social-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .insights {
        flex-direction: column;
        gap: 30px;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .luxury-letter {
        font-size: 0.9em;
    }
    
    .diamond-accent {
        width: 8px;
        height: 8px;
        margin-top: -4px;
    }
    
    .luxury-drop-cap {
        font-size: 2.8rem;
    }
    
    .key-qualities {
        justify-content: center;
    }
    
    .accent-scroll-indicator {
        display: none;
    }
}

/* ============================================
   WEB APPLICATION SERVICE SECTION
   ============================================ */

.web-app-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--dark), #1A1A1A, var(--dark));
    position: relative;
    overflow: hidden;
}

.web-app-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--luxury-red) 1px, transparent 1px),
        radial-gradient(circle, var(--light-silver) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: particleShimmer 40s infinite linear;
    opacity: 0.1;
    pointer-events: none;
}

.web-app-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.25) 0%, rgba(139, 0, 0, 0.1) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: glowPulse 10s infinite alternate;
}

/* 3-Column Grid Layout */
.app-service-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
    align-items: center;
}

/* Feature Cards (Left & Right) */
.app-feature-card {
    position: relative;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.app-feature-card:hover {
    transform: translateY(-10px);
}

.feature-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: blur(20px);
}

.app-feature-card:hover .feature-glow {
    opacity: 1;
}

.feature-frame {
    position: relative;
    padding: 40px 30px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 2;
    text-align: center;
}

/* Large Icon with Orbit Animation */
.feature-icon-large {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(139, 0, 0, 0.4));
    border: 2px solid var(--luxury-red);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(139, 0, 0, 0.5),
        inset 0 0 20px rgba(139, 0, 0, 0.2);
}

.feature-icon-large i {
    font-size: 36px;
    color: var(--white);
    z-index: 2;
}

.icon-orbit {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-top-color: var(--luxury-red);
    border-radius: 50%;
    animation: rotateStar 3s linear infinite;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.feature-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    color: var(--light-silver);
    font-size: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-benefits li:hover {
    color: var(--white);
    transform: translateX(5px);
}

.feature-benefits i {
    color: var(--luxury-red);
    margin-right: 12px;
    font-size: 14px;
    animation: pulse 2s infinite;
}

/* Center SVG Showcase */
.app-showcase-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.showcase-sphere {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sphere-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.4) 0%, rgba(139, 0, 0, 0.2) 30%, transparent 70%);
    filter: blur(40px);
    opacity: 0.8;
    animation: glowPulse 6s infinite alternate;
}

.sphere-frame {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.app-illustration-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(139, 0, 0, 0.3));
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.app-showcase-center:hover .app-illustration-svg {
    transform: scale(1.05) rotate(5deg);
}

/* Tech Badges */
.tech-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tech-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(139, 0, 0, 0.4);
    border-radius: 20px;
    color: var(--light-silver);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tech-badge:hover {
    background: rgba(139, 0, 0, 0.2);
    border-color: var(--luxury-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

/* Bottom CTA Section */
.app-cta-section {
    text-align: center;
    margin-top: 80px;
    padding: 60px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-headline {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.cta-subtext {
    color: var(--light-silver);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 1px;
}

/* Luxury CTA Button */
.luxury-cta-button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-cta-button:hover {
    transform: translateY(-8px) scale(1.05);
}

.button-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: blur(15px);
}

.luxury-cta-button:hover .button-shine {
    opacity: 1;
    animation: buttonShine 2s infinite;
}

.button-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(139, 0, 0, 0.4));
    border: 2px solid var(--luxury-red);
    border-radius: 4px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(139, 0, 0, 0.3),
        inset 0 0 20px rgba(139, 0, 0, 0.1);
}

.luxury-cta-button:hover .button-frame {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.4), rgba(139, 0, 0, 0.6));
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(139, 0, 0, 0.5),
        inset 0 0 30px rgba(139, 0, 0, 0.2);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.button-icon {
    font-size: 20px;
    color: var(--luxury-red);
    animation: iconFloat 3s ease-in-out infinite;
}

.button-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.button-arrow {
    font-size: 24px;
    color: var(--luxury-red);
    transition: transform 0.3s ease;
}

.luxury-cta-button:hover .button-arrow {
    transform: translateX(10px);
}

/* Animations */
@keyframes buttonShine {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    50% { 
        transform: translateY(-5px) rotate(10deg);
    }
}

/* Responsive Design for Web App Section */
@media (max-width: 1200px) {
    .app-service-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .app-showcase-center {
        order: -1;
    }
}

@media (max-width: 768px) {
    .web-app-section {
        padding: 80px 0;
    }
    
    .feature-frame {
        padding: 30px 20px;
    }
    
    .feature-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon-large i {
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .cta-headline {
        font-size: 28px;
    }
    
    .cta-subtext {
        font-size: 16px;
    }
    
    .button-frame {
        padding: 15px 35px;
    }
    
    .button-text {
        font-size: 16px;
    }
    
    .tech-badges {
        gap: 10px;
    }
    
    .tech-badge {
        padding: 6px 15px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .showcase-sphere {
        max-width: 320px;
    }
    
    .feature-benefits li {
        font-size: 14px;
    }
    
    .button-content {
        gap: 10px;
    }
    
    .button-arrow {
        display: none;
    }
}

/* ============================================
   MY CLIENTS SECTION
   ============================================ */

.clients-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, #1A1A1A, var(--dark), #1A1A1A);
    position: relative;
    overflow: hidden;
}

.clients-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--luxury-red) 1px, transparent 1px),
        radial-gradient(circle, var(--light-silver) 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: 0 0, 50px 50px;
    animation: particleShimmer 50s infinite linear;
    opacity: 0.08;
    pointer-events: none;
}

.clients-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.2) 0%, rgba(139, 0, 0, 0.08) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: glowPulse 12s infinite alternate;
}

.clients-subtitle {
    text-align: center;
    color: var(--light-silver);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 60px;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* Client Card */
.client-card {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.client-card:hover {
    transform: translateY(-15px);
}

.client-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: blur(30px);
}

.client-card:hover .client-glow {
    opacity: 1;
}

.client-frame {
    position: relative;
    padding: 40px 30px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 2;
    text-align: center;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.client-card:hover .client-frame {
    border-color: rgba(139, 0, 0, 0.6);
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(139, 0, 0, 0.3);
}

/* Client Logo */
.client-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-top-color: var(--luxury-red);
    border-right-color: var(--luxury-red);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    animation: rotateStar 4s linear infinite;
}

.client-card:hover .logo-glow-ring {
    opacity: 1;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(139, 0, 0, 0.2);
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.client-card:hover .client-logo {
    border-color: var(--luxury-red);
    box-shadow: 
        0 0 30px rgba(139, 0, 0, 0.5),
        inset 0 0 20px rgba(139, 0, 0, 0.2);
    transform: scale(1.05);
}

.client-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.client-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.client-description {
    color: var(--light-silver);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 48px;
}

/* Client Stats */
.client-stats {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: var(--luxury-red);
    transform: translateY(-3px);
}

.stat-item i {
    font-size: 20px;
    color: var(--luxury-red);
    animation: pulse 2s infinite;
}

.stat-item span {
    font-size: 12px;
    color: var(--light-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Client Testimonial */
.client-testimonial {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-frame {
    position: relative;
    padding: 60px 50px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 0, 0, 0.4);
    border-radius: 4px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(139, 0, 0, 0.2);
}

.testimonial-content {
    position: relative;
    text-align: center;
}

.quote-icon {
    font-size: 40px;
    color: var(--luxury-red);
    margin-bottom: 25px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 20px;
    color: var(--light-silver);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.testimonial-divider {
    display: flex;
    align-items: center;
    margin: 30px auto;
    max-width: 300px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(139, 0, 0, 0.5));
    border: 2px solid var(--luxury-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
}

.author-avatar i {
    font-size: 24px;
    color: var(--white);
}

.author-info {
    text-align: left;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.author-title {
    font-size: 14px;
    color: var(--light-silver);
    letter-spacing: 1px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rating-stars i {
    font-size: 18px;
    color: var(--luxury-red);
    animation: starPulse 2s ease-in-out infinite;
}

.rating-stars i:nth-child(1) { animation-delay: 0s; }
.rating-stars i:nth-child(2) { animation-delay: 0.2s; }
.rating-stars i:nth-child(3) { animation-delay: 0.4s; }
.rating-stars i:nth-child(4) { animation-delay: 0.6s; }
.rating-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive Design for Clients Section */
@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 80px 0;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .client-frame {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .client-logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .client-name {
        font-size: 20px;
    }
    
    .client-description {
        font-size: 14px;
        min-height: auto;
    }
    
    .testimonial-frame {
        padding: 40px 30px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .clients-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .client-logo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .client-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-item {
        flex-direction: row;
        justify-content: center;
    }
    
    .testimonial-frame {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
}

/* ============================================
   FORM PAGES STYLES
   ============================================ */

.form-page {
    background: var(--dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.form-section {
    min-height: 100vh;
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--dark), #1A1A1A, var(--dark));
    position: relative;
    overflow: hidden;
}

.form-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--luxury-red) 1px, transparent 1px),
        radial-gradient(circle, var(--light-silver) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: particleShimmer 30s infinite linear;
    opacity: 0.1;
    pointer-events: none;
}

.form-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.3) 0%, rgba(139, 0, 0, 0.1) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: glowPulse 8s infinite alternate;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 4px;
    color: var(--light-silver);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.back-button:hover {
    background: rgba(139, 0, 0, 0.2);
    border-color: var(--luxury-red);
    color: var(--white);
    transform: translateX(-5px);
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--white);
    margin: 30px 0 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

.form-subtitle {
    color: var(--light-silver);
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Form Container */
.luxury-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-frame {
    position: relative;
    padding: 60px 50px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 0, 0, 0.4);
    border-radius: 4px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(139, 0, 0, 0.2);
}

/* Form Section Titles */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--luxury-red);
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-section-title i {
    font-size: 24px;
}

/* Form Layout */
.luxury-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-silver);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--luxury-red);
    font-size: 16px;
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 4px;
    color: var(--white);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--luxury-red);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(232, 232, 232, 0.4);
}

.form-group 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='%238B0000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select option {
    background: #1A1A1A;
    color: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Submit Button */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

.luxury-submit-button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-submit-button:hover {
    transform: translateY(-5px) scale(1.02);
}

.luxury-submit-button .button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    filter: blur(15px);
}

.luxury-submit-button:hover .button-glow {
    opacity: 1;
    animation: buttonShine 2s infinite;
}

.luxury-submit-button .button-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 50px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(139, 0, 0, 0.5));
    border: 2px solid var(--luxury-red);
    border-radius: 4px;
    z-index: 2;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(139, 0, 0, 0.3),
        inset 0 0 20px rgba(139, 0, 0, 0.1);
}

.luxury-submit-button:hover .button-frame {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.5), rgba(139, 0, 0, 0.7));
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(139, 0, 0, 0.5),
        inset 0 0 30px rgba(139, 0, 0, 0.2);
}

.luxury-submit-button .button-content {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.luxury-submit-button .button-icon {
    font-size: 20px;
    color: var(--luxury-red);
    animation: iconFloat 3s ease-in-out infinite;
}

.luxury-submit-button .button-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.luxury-submit-button .button-arrow {
    font-size: 24px;
    color: var(--luxury-red);
    transition: transform 0.3s ease;
}

.luxury-submit-button:hover .button-arrow {
    transform: translateX(10px);
}

/* Form Note */
.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px;
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: 4px;
    color: var(--light-silver);
    font-size: 13px;
    text-align: center;
}

.form-note i {
    color: var(--luxury-red);
    font-size: 16px;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .form-section {
        padding: 60px 0;
    }

    .form-title {
        font-size: 32px;
    }

    .form-subtitle {
        font-size: 16px;
    }

    .form-frame {
        padding: 40px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-section-title {
        font-size: 18px;
    }

    .luxury-submit-button .button-frame {
        padding: 15px 35px;
    }

    .luxury-submit-button .button-text {
        font-size: 16px;
    }

    .luxury-submit-button .button-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .form-frame {
        padding: 30px 20px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .luxury-submit-button .button-content {
        gap: 10px;
    }
}
