/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    content-visibility: auto;
}

.hero-visual,
.about-image,
.service-card,
.contact-item {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #0f172a;
    overflow-x: hidden;
    background-color: #fafafa;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

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

.logo-graphic {
    width: 45px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.logo-blue {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 18px solid;
    border-image: linear-gradient(135deg, #6DD5ED, #2193B0) 1;
    background: linear-gradient(135deg, #6DD5ED, #2193B0);
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo-orange {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid;
    border-image: linear-gradient(135deg, #FFA500, #E65100) 1;
    background: linear-gradient(135deg, #FFA500, #E65100);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.logo-squares {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 1px;
}

.square-1 {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6DD5ED, #2193B0);
}

.square-2 {
    top: 12px;
    left: 60%;
    background: linear-gradient(135deg, #6DD5ED, #2193B0);
}

.square-3 {
    bottom: 8px;
    right: 60%;
    background: linear-gradient(135deg, #FFA500, #E65100);
}

.square-4 {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFA500, #E65100);
}

.nav-logo h2 {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: #0f172a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -8px;
    left: 0;
    background: #0f172a;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    margin: 4px 0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    top: -10%;
    right: -5%;
    animation: float 20s ease-in-out infinite, colorShift 8s ease-in-out infinite;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    bottom: 10%;
    left: -5%;
    animation: float 20s ease-in-out infinite, colorShift 8s ease-in-out infinite;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    top: 40%;
    left: 50%;
    animation: float 20s ease-in-out infinite, colorShift 8s ease-in-out infinite;
    animation-delay: 14s;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease, gradientShift 3s ease infinite;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
    color: #64748b;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: -0.01em;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
}

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

.hero-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

.floating-card i {
    font-size: 1.8rem;
    color: #0f172a;
}

.floating-card span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

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

/* Services Section */
.services {
    padding: 120px 0;
    background-color: #fafafa;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    animation: pulse 1.5s ease-in-out infinite;
}

.service-icon i {
    font-size: 1.5rem;
    color: #0f172a;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon i {
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Staggered animation for service cards */
.service-card:nth-child(1) {
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.service-card:nth-child(2) {
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.service-card:nth-child(3) {
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.service-card:nth-child(4) {
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.service-card:nth-child(5) {
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.service-card:nth-child(6) {
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

/* About Section */
.about {
    padding: 120px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

.about-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: left;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

.stat p {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.about-graphic {
    width: 400px;
    height: 400px;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: relative;
}

.about-graphic i {
    font-size: 5rem;
    color: #0f172a;
    opacity: 0.1;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #fafafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
}

.contact-item i {
    font-size: 1.3rem;
    color: #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: rotate(360deg) scale(1.1);
}

.contact-label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
    font-weight: 400;
    font-size: 0.95rem;
}

.contact-item p.contact-label {
    margin-bottom: 0.3rem;
}

.contact-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background-color: #ffffff;
    color: #0f172a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    animation: inputGlow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-section h3 {
    font-size: 1.4rem;
}

.footer-section h4 {
    font-size: 1.1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    border: none;
}

.social-links a:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    transform: translateY(-2px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #475569;
    color: #94a3b8;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Reduce animations on mobile for performance */
    .gradient-orb {
        animation: none;
        opacity: 0.15;
    }
    
    .section-header h2,
    .about-text h2,
    .stat h3,
    .hero-badge {
        animation: none;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-main-image {
        max-width: 400px;
    }

    .floating-card {
        padding: 18px 22px;
    }

    .floating-card i {
        font-size: 1.5rem;
    }

    .floating-card span {
        font-size: 0.85rem;
    }

    .about-main-image {
        max-width: 400px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.8rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        display: none;
    }

    .footer-section:first-child {
        margin-bottom: 0;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .logo-container {
        gap: 10px;
    }

    .logo-graphic {
        width: 35px;
        height: 35px;
    }

    .logo-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-main-image {
        max-width: 300px;
        border-radius: 16px;
    }

    .about-main-image {
        max-width: 300px;
        border-radius: 16px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
    }

    .hero-graphic i {
        font-size: 3.5rem;
    }

    .about-graphic {
        width: 220px;
        height: 220px;
    }

    .about-graphic i {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about-stats {
        gap: 0.8rem;
    }

    .stat h3 {
        font-size: 1.8rem;
    }

    .stat p {
        font-size: 0.75rem;
    }
}

/* Smooth scrolling animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fafafa;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection styling */
::selection {
    background: #2563eb;
    color: #ffffff;
}

::-moz-selection {
    background: #2563eb;
    color: #ffffff;
}

/* Advanced Animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes colorShift {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.25;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}