/* Base Styles */
:root {
    --primary-color: #0A2472;
    --secondary-color: #071E5C;
    --accent-color: #2E51A2;
    --metallic-accent: #1CD8D2;
    --metallic-accent-dark: #14B1AB;
    --text-color: #000000;
    --text-light: #4A4A4A;
    --bg-light: #F0F8FF;
    --bg-white: #FFFFFF;
    --bg-dark: #0D1B4A;
    --shadow: 0 4px 6px -1px rgba(10, 36, 114, 0.1), 0 2px 4px -1px rgba(10, 36, 114, 0.06);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--metallic-accent);
    margin: 15px auto 0;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    z-index: 5;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-metallic {
    background-color: var(--metallic-accent);
    color: var(--bg-dark);
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), 0 0 15px rgba(28, 216, 210, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-metallic: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: 0.5s;
    z-index: -1;
}

.btn-metallic:hover:before {
    left: 100%;
}

.btn-metallic:hover {
    background-color: var(--metallic-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.3), 0 0 20px rgba(28, 216, 210, 0.6);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(10, 36, 114, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    padding-top: 150px;
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: var(--primary-color);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.15'%3E%3Cpath d='M60 60v-4h-3v4h-4v3h4v4h3v-4h4v-3h-4zm0-50V6h-3v4h-4v3h4v4h3v-4h4V10h-4zM10 60v-4H7v4H3v3h4v4h3v-4h4v-3h-4zM10 10V6H7v4H3v3h4v4h3v-4h4V10h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 150px 150px;
    opacity: 0.25;
    z-index: 0;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bg-white);
    animation: slideInLeft 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.4);
    position: relative;
    display: inline-block;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
}

.hero-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 30' width='600' height='30'%3E%3Cpath d='M5,20 Q50,5 100,18 Q150,30 200,20 Q250,10 300,15 Q350,20 400,15 Q450,10 500,15 Q550,20 595,12' fill='none' stroke='%231CD8D2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' stroke-dasharray='0,0'%3E%3Canimate attributeName='stroke-width' from='2' to='12' dur='1.8s' begin='0.8s' fill='freeze' /%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: left center;
    transform: scaleX(0);
    transform-origin: left;
    animation: brushStroke 1.8s 0.8s forwards;
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(28, 216, 210, 0.8)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    z-index: 10;
}

.hero-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--bg-white);
    margin-bottom: 25px;
    animation: slideInLeft 1s ease 0.2s forwards;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.hero-content p {
    font-size: 18px;
    color: var(--bg-white);
    margin-bottom: 30px;
    animation: slideInLeft 1s ease 0.4s forwards;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: slideInLeft 1s ease 0.6s forwards;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

/* USP Section */
#usp {
    background-color: var(--bg-white);
}

.usp-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.usp-box {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.usp-box:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--metallic-accent);
    box-shadow: 0 10px 20px rgba(28, 216, 210, 0.2);
}

.usp-icon {
    font-size: 40px;
    color: var(--metallic-accent);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.usp-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.usp-box p {
    color: var(--text-light);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border-radius: var(--border-radius);
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-left: 3px solid var(--metallic-accent);
    padding-left: 25px;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(to right, rgba(28, 216, 210, 0.1), rgba(255, 255, 255, 1));
}

.feature-icon {
    font-size: 30px;
    color: var(--metallic-accent);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(28, 216, 210, 0.1);
    border-radius: 50%;
}

.feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-light);
    font-size: 15px;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(10, 36, 114, 0.85);
    color: white;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 20px;
}

.portfolio-overlay .btn-outline {
    color: var(--metallic-accent);
    border-color: var(--metallic-accent);
}

.portfolio-overlay .btn-outline:hover {
    background-color: var(--metallic-accent);
    border-color: var(--metallic-accent);
    color: var(--primary-color);
}

/* Testimonials Section */
#testimonials {
    background-color: var(--bg-white);
    background-image: linear-gradient(120deg, #e0f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231CD8D2' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonial-slider {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.testimonial-item {
    background-color: var(--bg-white);
    padding: 35px 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(10, 36, 114, 0.1), 0 5px 15px rgba(28, 216, 210, 0.1);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border-left: 4px solid var(--metallic-accent);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 216, 210, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
}

.testimonial-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px rgba(10, 36, 114, 0.15), 0 10px 20px rgba(28, 216, 210, 0.1);
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
    padding: 10px 30px;
    z-index: 1;
}

.testimonial-content:before, 
.testimonial-content:after {
    font-family: 'Georgia', serif;
    font-size: 120px;
    position: absolute;
    color: var(--metallic-accent);
    line-height: 1;
    z-index: -1;
}

.testimonial-content:before {
    content: '"';
    top: -30px;
    left: -15px;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.testimonial-content:after {
    content: '"';
    bottom: -80px;
    right: -15px;
    opacity: 0.15;
    animation: float 8s ease-in-out 1s infinite;
}

.testimonial-content p {
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(28, 216, 210, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-author img {
    transform: scale(1.05);
    border-color: var(--metallic-accent);
}

.testimonial-author h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.testimonial-author p {
    color: var(--metallic-accent);
    font-size: 14px;
    font-weight: 500;
}

/* Độ nét và nổi bật các dấu quote */
@media (min-width: 768px) {
    .testimonial-content:before {
        font-size: 150px;
        top: -40px;
        left: -20px;
    }
    
    .testimonial-content:after {
        font-size: 150px;
        bottom: -100px;
        right: -20px;
        opacity: 0.15;
    }
}

/* Stats section in testimonials */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(28, 216, 210, 0.15) 0%, rgba(46, 81, 162, 0.1) 100%);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(10, 36, 114, 0.15);
    border-bottom: 3px solid var(--metallic-accent);
    backdrop-filter: blur(5px);
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 20px 10px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(28, 216, 210, 0.2);
    animation: countUp 2s ease-out forwards;
    opacity: 0;
}

.stat-item h3:after {
    content: '+';
    position: absolute;
    font-size: 28px;
    right: -20px;
    top: 0;
    color: var(--metallic-accent);
    animation: pulse 2s infinite;
}

.stat-item p {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    animation: fadeIn 1s ease 0.5s forwards;
}

/* Animation cho các số liệu thống kê */
@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhance FAQ interactions */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-item.active {
    transform: translateX(10px);
}

.faq-item.active .faq-question {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--metallic-accent);
    animation: pulse 2s infinite;
}

.faq-item.active .faq-question h3 {
    color: var(--bg-white);
}

/* Update footer with accent colors */
footer {
    background: linear-gradient(to bottom, var(--bg-dark), #061024);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--metallic-accent));
}

.footer-logo h2 {
    color: var(--metallic-accent);
    text-shadow: 0 0 5px rgba(28, 216, 210, 0.3);
}

/* Add floating effect to contact info icons */
.info-item i {
    color: var(--metallic-accent);
    animation: pulse 3s infinite;
}

/* Make social icons more interactive */
.social-icons a {
    transition: all 0.3s ease;
    background-color: rgba(28, 216, 210, 0.1);
}

.social-icons a:hover {
    background-color: var(--metallic-accent);
    color: var(--bg-white);
    transform: translateY(-5px) rotate(360deg);
}

/* Add JavaScript for animation trigger on scroll */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .animate-on-scroll.show {
        opacity: 1;
    }
}

/* Header scroll effect */
header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.header-scrolled .logo h1 {
    font-size: 22px;
}

header.header-scrolled nav ul li a {
    font-size: 15px;
}

/* Success button effect */
.contact-form button.success {
    background-color: #28a745;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(40, 167, 69, 0.3);
}

/* Fix for animation visibility */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Add shimmer effect to pricing plans */
.pricing-plan.popular::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(28, 216, 210, 0.2), 
                transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    z-index: -1;
}

/* Additional section gradient backgrounds */
#features {
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

#portfolio {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

#testimonials {
    background-image: linear-gradient(120deg, #e0f7fa 0%, #ffffff 100%);
}

#commitment {
    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
}

#faq {
    background-image: linear-gradient(to top, #f3e7e9 0%, #f0f8ff 99%, #e0eafc 100%);
}

#contact {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #dbe5f5 100%);
}

/* Add a new keyframe animation specifically for hero background */
@keyframes heroGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Thêm animation keyframes mới */
@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes glowText {
    from { text-shadow: 0 0 5px rgba(28, 216, 210, 0.2); }
    to { text-shadow: 0 0 15px rgba(28, 216, 210, 0.8), 0 0 20px rgba(255, 255, 255, 0.6); }
}

/* Thêm animation keyframes mới cho nét bút lông */
@keyframes brushStroke {
    0% { 
        transform: scaleX(0); 
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(28, 216, 210, 0));
    }
    50% {
        opacity: 0.8;
        transform: scaleX(0.5);
        filter: drop-shadow(0 0 3px rgba(28, 216, 210, 0.5)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
    }
    100% { 
        transform: scaleX(1); 
        opacity: 1;
        filter: drop-shadow(0 0 4px rgba(28, 216, 210, 0.8)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    }
}

/* Commitment Section */
.commitment-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.commitment-box {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s ease;
    border-top: 3px solid var(--metallic-accent);
    position: relative;
    overflow: hidden;
}

.commitment-box::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 216, 210, 0.1), transparent);
    transition: all 0.5s ease;
    z-index: 0;
}

.commitment-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 36, 114, 0.1), 0 5px 15px rgba(28, 216, 210, 0.15);
}

.commitment-box:hover::before {
    top: 0;
}

.commitment-icon {
    font-size: 44px;
    color: var(--metallic-accent);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.commitment-box:hover .commitment-icon {
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

.commitment-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.commitment-box p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.pricing-plan {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    border-top: 3px solid transparent;
}

.pricing-plan:hover {
    transform: translateY(-15px);
    border-top: 3px solid var(--metallic-accent);
    box-shadow: 0 20px 30px rgba(10, 36, 114, 0.1), 0 10px 20px rgba(28, 216, 210, 0.1);
}

.pricing-plan.popular {
    transform: scale(1.05);
    border: 2px solid var(--metallic-accent);
    box-shadow: 0 10px 25px rgba(28, 216, 210, 0.25);
    z-index: 2;
}

.pricing-plan.popular:before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background-color: var(--metallic-accent);
    border-radius: 5px 5px 0 0;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--metallic-accent);
    color: var(--bg-white);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.plan-header {
    text-align: center;
    padding: 35px 30px 25px;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--metallic-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-plan:hover .plan-header::after,
.pricing-plan.popular .plan-header::after {
    opacity: 1;
}

.plan-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.plan-price {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.plan-price span {
    font-size: 36px;
    font-weight: 700;
    color: var(--metallic-accent);
    position: relative;
}

.pricing-plan:hover .plan-price span,
.pricing-plan.popular .plan-price span {
    animation: pulse 2s infinite;
}

.plan-header p {
    color: var(--text-light);
    font-size: 15px;
}

.plan-features {
    padding: 30px;
}

.plan-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.plan-features ul li:hover {
    transform: translateX(5px);
}

.plan-features ul li i {
    color: var(--metallic-accent);
    font-size: 16px;
}

.plan-features ul li.not-included {
    color: var(--text-light);
    opacity: 0.7;
}

.plan-features ul li.not-included i {
    color: #e11d48;
}

.plan-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 16px rgba(10, 36, 114, 0.1);
}

.faq-item.active {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(10, 36, 114, 0.15);
}

.faq-item.active .faq-question {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--metallic-accent);
    animation: pulse 2s infinite;
}

.faq-item.active .faq-question h3 {
    color: var(--bg-white);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-icon {
    transition: var(--transition);
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA Section */
#cta {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--metallic-accent));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.contact-form {
    flex: 1;
    min-width: 350px;
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 30px rgba(10, 36, 114, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: #fbfbfb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--metallic-accent);
    box-shadow: 0 0 0 3px rgba(28, 216, 210, 0.2);
    background-color: var(--bg-white);
}

.contact-info {
    flex: 1;
    min-width: 350px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    font-size: 24px;
    color: var(--metallic-accent);
    min-width: 40px;
    animation: pulse 3s infinite;
}

.info-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.social-media {
    margin-top: 40px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.social-media h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(28, 216, 210, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--metallic-accent);
    color: var(--bg-white);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(28, 216, 210, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--bg-dark), #061024);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 60px 0 20px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--metallic-accent));
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--metallic-accent);
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(28, 216, 210, 0.3);
}

.footer-column p {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #9ca3af;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--metallic-accent);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--metallic-accent);
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 50px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #9ca3af;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--metallic-accent);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #374151;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background-color: #1f2937;
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--metallic-accent);
    background-color: #2d3748;
}

.newsletter-form button {
    background-color: var(--metallic-accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(28, 216, 210, 0.3);
    background-color: var(--metallic-accent-dark);
}

.copyright {
    text-align: center;
    border-top: 1px solid #374151;
    padding-top: 20px;
    color: #9ca3af;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Float Contact & Social Icons */
.float-contact-wrapper {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-contact-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow: hidden;
}

.float-contact-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--metallic-accent), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.float-contact-item:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.float-contact-item:hover::before {
    opacity: 1;
}

.float-contact-item.phone {
    background-color: var(--metallic-accent);
    color: white;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.float-contact-item.phone:hover {
    animation: none;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(28, 216, 210, 0.4);
}

.float-contact-item:not(.phone):hover {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97);
    color: white;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.float-contact-item span {
    position: absolute;
    right: 120%;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.float-contact-item span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-left: 8px solid var(--bg-white);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.float-contact-item:hover span {
    opacity: 1;
    visibility: visible;
    right: 100%;
    margin-right: 15px;
}

/* Mobile Sticky Menu */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    
    header .container {
        justify-content: space-between;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active i:before {
        content: "\f00d";
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-white);
        z-index: 1000;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 20px 30px;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--metallic-accent), var(--primary-color));
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px dashed rgba(10, 36, 114, 0.1);
    }
    
    nav ul li a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }
    
    nav ul li a:hover {
        background-color: rgba(28, 216, 210, 0.1);
        padding-left: 15px;
    }
    
    nav ul li:last-child {
        margin-top: 20px;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.6);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .float-contact-wrapper {
        bottom: 20px;
        top: auto;
        right: 10px;
        transform: none;
        flex-direction: row;
    }
    
    .float-contact-item {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .float-contact-item span {
        display: none;
    }
}

/* New Animations */
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

@keyframes bounceIn {
    0% { 
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--metallic-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.6s;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

/* Float icon animations */
.float-contact-wrapper .float-contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.float-contact-wrapper .float-contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.float-contact-wrapper .float-contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

.float-contact-wrapper .float-contact-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Animation for icons when they appear */
.float-contact-item {
    animation: fadeInRight 0.5s forwards;
} 