/* Base Styles and Variables */
:root {
    --primary-color: #4a90e2;
    --primary-color-rgb: 74, 144, 226;
    --secondary-color: #357abd;
    --text-color: #ffffff;
    --dark-bg-1: #f3f1f0;
    --dark-bg-2: #c8beb6;
    --light-text: #ffffffe6;
    --light-text-secondary: #ffffffb3;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 20px;
    --container-width: 1200px;
}

/* Reset and Global Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.5;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: linear-gradient(90deg, var(--dark-bg-1) 0%, var(--dark-bg-2) 100%);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark-bg-1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-medium);
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Background Gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 50% 100%, rgba(249, 175, 57, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(239, 139, 25, 0.4) 0%, transparent 70%),
        radial-gradient(circle at 50% 100%, rgba(255, 121, 130, 0.5) 0%, transparent 80%);
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    height: 60px; /* Fixed height for navbar */
}

.navbar.scrolled {
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    padding: 0.5rem 0;
}

.nav-logo {
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-height: 150px; /* Maximum height for logo */
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
    .navbar {
        height: 70px; /* Slightly smaller on mobile */
    }

    .nav-logo {
        max-height: 50px; /* Smaller logo on mobile */
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;  /* Reduced from 2.5rem */
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--light-text) !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;  /* Reduced horizontal padding */
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: translateY(-5px);
}

.feature span {
    font-size: 1rem;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-yellow);
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-orange);
    bottom: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 5s ease-in-out infinite;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Section Styles */
section {
    padding: 4rem 5%;
    position: relative;
    z-index: 1;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Stats Banner */
.stats-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3rem 0;
    margin-bottom: 4rem;
    position: relative;
}

.stat-item {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-number.with-plus::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    top: 0;
    right: -1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.stat-number.with-plus.active::after {
    opacity: 1;
    transform: translateX(0);
}

.stat-label {
    font-size: 1rem;
    color: var(--light-text-secondary);
    margin: 0;
}

/* Story Section */
.story-section {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

/* Specializations */
.specializations {
    margin-bottom: 6rem;
    text-align: center;
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.spec-item {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.spec-item:hover::before {
    transform: scale(1);
    opacity: 1;
}

.spec-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.spec-item:hover i {
    transform: translateY(-10px) scale(1.1);
}

.spec-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 1rem;
}

/* Why Choose Us */
.why-choose-section {
    margin-bottom: 6rem;
    text-align: center;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.benefit-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
}

.benefit-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    text-align: left;
}

/* Service Areas */
.service-areas {
    text-align: center;
    margin-bottom: 4rem;
}

.areas-container {
    max-width: 800px;
    margin: 0 auto;
}

.area-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.area-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.area-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.area-tag {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.area-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

/* Animations */
@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-box {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-hover {
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.service-box:hover .service-hover {
    opacity: 1;
    transform: scale(1);
}

.hover-content {
    text-align: center;
}

.hover-content i {
    font-size: 4rem;
    color: var(--white);
    animation: float 3s ease-in-out infinite;
}

.service-box:hover .service-content {
    opacity: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 1rem;
    opacity: 0.8;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.plan-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.category-title:hover::after {
    width: 100%;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.plan-card::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;
}

.plan-card:hover::before {
    left: 100%;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.featured-tag, .premium-tag {
    position: absolute;
    top: -2rem;
    right: -2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    transform: rotate(45deg);
    width: 200px;
    text-align: center;
}

.premium-tag {
    background: #FFD700;
    color: var(--text-color);
}

.plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Pricing Section Styles */
.plan-price {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 1rem;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 1.5rem;
    color: var(--light-text);
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

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

.asterisk {
    font-size: 1rem;
    color: var(--primary-color);
    position: absolute;
    top: 0;
    right: -8px;
    transform: translateX(100%);
}

/* Optimize existing styles */
.plan-card {
    --card-padding: 2rem;
    --card-radius: var(--border-radius);
    
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    transition: transform var(--transition-medium),
                border-color var(--transition-medium),
                box-shadow var(--transition-medium);
    will-change: transform, border-color, box-shadow;
}

@media (prefers-reduced-motion: no-preference) {
    .plan-card {
        transform: translateZ(0);
    }
}

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

/* Performance optimizations */
.plan-features {
    contain: content;
}

.speed-feature {
    contain: layout style;
}

/* Reduce paint operations */
.featured-tag, 
.premium-tag {
    transform: translateZ(0);
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    .plan-card {
        transition: none;
    }
    
    .plan-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .plan-price {
        break-inside: avoid;
    }
    
    .asterisk {
        position: static;
        transform: none;
    }
}

.plan-features {
    margin: 2rem 0;
}

.speed-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.speed-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.plan-cta {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: 0.5s;
}

.plan-cta:hover::before {
    left: 100%;
}

.plan-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.pricing-notes {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.pricing-notes p {
    margin: 0.5rem 0;
}

/* Featured and Premium Plan Styles */
.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.premium {
    border-color: #FFD700;
}

.featured:hover, .premium:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Featured and Custom Plan Styles */
.featured-tag, .custom-tag {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 20px;
    transform: rotate(25deg);
    z-index: 1;
}

.custom-tag {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: rotate(0);
    top: 1rem;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

/* Custom Plan Card */
.custom-plan {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.custom-plan:hover {
    border-color: #6366f1;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.custom-icon {
    font-size: 3rem;
    color: #6366f1;
    margin: 2rem 0;
    animation: pulse 2s infinite;
}

.custom-features {
    text-align: center;
    margin: 2rem 0;
}

.custom-features p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.custom-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: var(--text-color);
}

.custom-features li i {
    color: #6366f1;
}

.custom-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.custom-cta:hover {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

/* Contact Info Styles */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-header {
    margin-bottom: 2rem;
    text-align: left;
}

.info-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-header p {
    color: var(--text-color);
    opacity: 0.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
    margin-bottom: 2rem;
    text-align: left;
}

.form-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-color);
    opacity: 0.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.input-wrapper:focus-within i {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn i {
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Title Separator */
.title-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.title-separator span {
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.title-separator i {
    color: var(--primary-color);
    font-size: 1rem;
    animation: rotate 3s linear infinite;
}

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

/* Updated Contact Section Styles */
.contact-info, .contact-form-container {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info:hover, .contact-form-container:hover {
    border-color: rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Footer Styles */
.footer {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.separator-line {
    height: 2px;
    width: 200px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.separator-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.social-link:hover i {
    transform: scale(1.2);
}

.footer-copyright {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Instagram specific style */
.social-link:has(.fa-instagram) {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-size: 200% 200%;
    animation: gradientBG 3s ease infinite;
    opacity: 0.8;
    color: white;
}

.social-link:has(.fa-instagram):hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* WhatsApp specific style */
.social-link:has(.fa-whatsapp) {
    background: #25D366;
    opacity: 0.8;
    color: white;
}

.social-link:has(.fa-whatsapp):hover {
    opacity: 1;
    transform: translateY(-3px);
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-separator {
        gap: 1rem;
    }

    .separator-line {
        width: 100px;
    }

    .footer-social {
        flex-direction: column;
        gap: 1rem;
    }

    .social-link {
        padding: 0.6rem 1.2rem;
    }

    .social-link span {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-link {
        padding: 1rem;
    }

    .contact-btn {
        margin: 1rem auto;
        display: inline-block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 2rem;
    }

    .circle-1 {
        width: 200px;
        height: 200px;
    }

    .circle-2 {
        width: 150px;
        height: 150px;
    }

    .circle-3 {
        width: 100px;
        height: 100px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .year-badge {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

    .year-badge .years {
        font-size: 1.5rem;
    }

    .year-badge .text {
        font-size: 0.8rem;
    }

    .specialization-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-banner {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .spec-list {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .benefit-item p {
        text-align: center;
    }

    .area-tags {
        gap: 0.5rem;
    }

    .area-tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .service-box {
        height: 250px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .hover-content i {
        font-size: 3rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .featured {
        transform: scale(1);
    }

    .featured:hover {
        transform: translateY(-10px) scale(1);
    }

    .featured-tag, .premium-tag {
        transform: rotate(45deg) scale(0.8);
        top: -2.5rem;
        right: -2.5rem;
    }

    .featured-tag, .custom-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    .custom-tag {
        top: 0.5rem;
    }

    .amount {
        font-size: 2rem;
    }

    .asterisk {
        font-size: 1rem;
    }

    .custom-features p {
        font-size: 1.1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-item:hover {
        transform: none;
    }

    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }

    .form-header h3,
    .info-header h3 {
        font-size: 1.8rem;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        font-size: 0.9rem;
    }
} 

/* Performance Optimizations */
.hardware-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

/* Apply hardware acceleration to animated elements */
.navbar,
.nav-logo,
.service-box,
.plan-card,
.cta-button,
.submit-btn,
.social-link,
.featured-tag,
.premium-tag {
    transform: translateZ(0);
    will-change: transform;
}

/* Optimize animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes shine {
    from {
        transform: translate3d(-100%, 0, 0);
    }
    to {
        transform: translate3d(100%, 0, 0);
    }
}

/* Optimize transitions */
.service-box,
.plan-card,
.info-item,
.social-link {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading optimization */
.page-loader {
    transform: translateZ(0);
    will-change: opacity;
}

/* Smooth scrolling optimization */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

/* High-performance animations for hover effects */
.service-box:hover,
.plan-card:hover,
.social-link:hover {
    transform: translate3d(0, -10px, 0);
}

/* Optimize background gradient */
body::before {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Add content-visibility for better performance */
.services-section,
.pricing-section,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
} 