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

body {
    font-family: 'Arial', sans-serif;
    background: #ffffff;
    color: #333333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Light Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #e9ecef 50%, #dee2e6 75%, #ced4da 100%);
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 20px 30px, rgba(135, 206, 235, 0.6), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(135, 206, 235, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 98, 51, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(135, 206, 235, 0.55), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(255, 98, 51, 0.35), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: gentleFloat 25s linear infinite;
}

.bg-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 50px 50px, rgba(135, 206, 235, 0.4), transparent),
        radial-gradient(1px 1px at 100px 100px, rgba(255, 98, 51, 0.3), transparent),
        radial-gradient(1px 1px at 150px 150px, rgba(135, 206, 235, 0.45), transparent),
        radial-gradient(2px 2px at 200px 200px, rgba(255, 98, 51, 0.35), transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: gentleFloat 30s linear infinite reverse;
}

@keyframes gentleFloat {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-50px); }
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.25) 0%, rgba(135, 206, 235, 0.12) 50%, transparent 100%);
    animation: orbFloat 15s ease-in-out infinite;
}

.floating-orb:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-orb:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 18s;
    background: radial-gradient(circle, rgba(255, 98, 51, 0.2) 0%, rgba(255, 98, 51, 0.08) 50%, transparent 100%);
}

.floating-orb:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 25s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-40px) translateX(10px) scale(1.05);
        opacity: 1;
    }
}

/* Subtle Geometric Shapes */
.geometric-shape {
    position: absolute;
    opacity: 1;
    animation: shapeRotate 20s linear infinite;
}

.geometric-shape:nth-child(1) {
    top: 25%;
    left: 70%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #87CEEB, transparent);
    transform: rotate(45deg);
    animation-delay: 0s;
}

.geometric-shape:nth-child(2) {
    top: 70%;
    left: 80%;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ff6233, transparent);
    border-radius: 50%;
    animation-delay: 8s;
    animation-duration: 15s;
}

@keyframes shapeRotate {
    0% { transform: rotate(0deg) translateX(0px); }
    100% { transform: rotate(360deg) translateX(20px); }
}

/* Light Particles */
.light-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(135, 206, 235, 0.4);
    border-radius: 50%;
    animation: particleDrift 12s ease-in-out infinite;
}

.light-particle:nth-child(1) {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.light-particle:nth-child(2) {
    top: 50%;
    left: 60%;
    animation-delay: 4s;
    background: rgba(255, 98, 51, 0.3);
}

.light-particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 8s;
}

@keyframes particleDrift {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-50px) translateX(30px);
        opacity: 0.7;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10%);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    animation: logoFloat 3s ease-in-out infinite;
}

.trademark {
    font-size: 0.4em;
    vertical-align: super;
    margin-left: 1px;
    font-weight: normal;
    color: #ff6233;
    position: relative;
    top: -10px;  /* Fine-tune vertical position */
}

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

.logo .logo-text {
    color: #000000;
    margin-left: 0.5rem;
}

.logo .logo-x {
    color: #ff6233;
    animation: xGlow 2s ease-in-out infinite alternate;
}

@keyframes xGlow {
    from { 
        text-shadow: 0 0 15px rgba(255, 98, 51, 0.6);
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 25px rgba(255, 98, 51, 0.9);
        transform: scale(1.05);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #87CEEB;
    transform: translateY(-2px);
    outline: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #87CEEB, #ff6233);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 1050;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    color: #333333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    color: #87CEEB;
    outline: none;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section with Dynamic Title Animation */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 248, 255, 0.8) 100%),
        url('logo.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(240, 248, 255, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #000000, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
    min-height: 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-title .static-text {
    margin-right: 0.5rem;
}

.hero-title .dynamic-text {
    position: relative;
    display: inline-block;
    min-width: 300px;
    text-align: left;
    color: #87CEEB;
    -webkit-text-fill-color: #87CEEB;
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 10px rgba(135, 206, 235, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 98, 51, 0.5)); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #555555;
    animation: slideUp 1s ease-out 0.5s both;
}

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

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #000000, #87CEEB);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideUp 1s ease-out 1s both, pulse 2s infinite;
    border: none;
    cursor: pointer;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(135, 206, 235, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(135, 206, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(135, 206, 235, 0); }
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(135, 206, 235, 0.4);
    outline: none;
}

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

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

/* Sections with Parallax Effect */
section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #000000, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #000000, #87CEEB);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

/* Services Grid with 3D Flip Effect */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    animation: cardFloat 3s ease-in-out infinite;
}

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

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-10px) rotateY(5deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #000000, #ff6233);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before,
.service-card:focus-within::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #87CEEB;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
}

/* Stats Section with Counter Animation */
.stats {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    animation: statFadeIn 1s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #87CEEB;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat-item p {
    color: #555555;
    font-size: 1.1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-member {
    background: #ffffff;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: teamSlideIn 0.6s ease-out both;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

@keyframes teamSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.team-member:hover,
.team-member:focus-within {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.2);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #000000, #87CEEB, #ff6233);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.team-member:hover::before,
.team-member:focus-within::before {
    transform: scaleX(1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #87CEEB, #ff6233);
    padding: 3px;
    transition: all 0.3s ease;
    animation: avatarFloat 3s ease-in-out infinite;
}

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

.team-member:hover .team-avatar {
    transform: scale(1.1) rotate(10deg);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #87CEEB;
    transition: all 0.3s ease;
}

.team-member:hover .avatar-placeholder {
    background: linear-gradient(135deg, #87CEEB, #ff6233);
    color: #ffffff;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #000000;
    transition: color 0.3s ease;
}

.team-member:hover .team-info h3 {
    color: #87CEEB;
}

.team-role {
    color: #555555;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(135, 206, 235, 0.1);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 50%;
    color: #87CEEB;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-social a:hover,
.team-social a:focus {
    background: #87CEEB;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
    outline: none;
}

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

.team-social a:hover::before {
    width: 100px;
    height: 100px;
}

.team-social svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.team-social a:hover svg {
    transform: rotate(360deg);
}

/* Profile Image Styles */
.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.team-member:hover .profile-image {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Portfolio Section with Enhanced Hover Effects */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #ffffff;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 25px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover,
.filter-btn:focus,
.filter-btn.active {
    background: linear-gradient(135deg, #000000, #87CEEB);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
    outline: none;
}

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

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

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

.portfolio-item {
    background: #ffffff;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: portfolioSlideIn 0.6s ease-out both;
}

@keyframes portfolioSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.portfolio-item:hover,
.portfolio-item:focus-within {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
    position: relative;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.8), rgba(255, 107, 53, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: rgba(135, 206, 235, 0.7);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

.portfolio-category {
    color: #87CEEB;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-description {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(135, 206, 235, 0.1);
    color: #87CEEB;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(135, 206, 235, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #87CEEB;
    color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-links {
    display: flex;
    gap: 1rem;
}

.portfolio-link {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #87CEEB;
    color: #87CEEB;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-link:hover,
.portfolio-link:focus {
    background: #87CEEB;
    color: #ffffff;
    transform: translateY(-2px);
    outline: none;
}

.portfolio-link.primary {
    background: linear-gradient(135deg, #87CEEB, #ff6233);
    border: none;
    color: #ffffff;
}

.portfolio-link.primary:hover,
.portfolio-link.primary:focus {
    background: linear-gradient(135deg, #ff6233, #87CEEB);
    transform: translateY(-2px);
}

/* Contact Form with Animated Inputs */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #87CEEB;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 10px;
    background: #ffffff;
    color: #333333;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87CEEB;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
    transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #ff6233;
    transform: translateY(-5px);
}

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

.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

/* Footer with Floating Icons */
footer {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(135, 206, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #555555;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #87CEEB;
    transform: translateY(-2px);
    outline: none;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #87CEEB;
    transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-links a:focus::after {
    width: 100%;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    color: #555555;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-social a:hover::before,
.footer-social a:focus::before {
    opacity: 1;
}

.footer-social a:hover,
.footer-social a:focus {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    outline: none;
}

/* LinkedIn */
.social-linkedin:hover,
.social-linkedin:focus {
    background: linear-gradient(135deg, #0077B5, #005582);
    border-color: #0077B5;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 119, 181, 0.4);
}

.social-linkedin:hover::before,
.social-linkedin:focus::before {
    background: linear-gradient(135deg, #0077B5, #00A0DC);
}

/* X (formerly Twitter) */
.social-x:hover,
.social-x:focus {
    background: linear-gradient(135deg, #000000, #14171A);
    border-color: #000000;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.social-x:hover::before,
.social-x:focus::before {
    background: linear-gradient(135deg, #000000, #333333);
}

/* Facebook */
.social-facebook:hover,
.social-facebook:focus {
    background: linear-gradient(135deg, #1877F2, #0d65d9);
    border-color: #1877F2;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.4);
}

.social-facebook:hover::before,
.social-facebook:focus::before {
    background: linear-gradient(135deg, #1877F2, #4A9FF5);
}

/* GitHub */
.social-github:hover,
.social-github:focus {
    background: linear-gradient(135deg, #333333, #1a1a1a);
    border-color: #333333;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(51, 51, 51, 0.4);
}

.social-github:hover::before,
.social-github:focus::before {
    background: linear-gradient(135deg, #333333, #666666);
}

/* Instagram */
.social-instagram:hover,
.social-instagram:focus {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4, #5851DB);
    border-color: #E4405F;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(228, 64, 95, 0.4);
}

.social-instagram:hover::before,
.social-instagram:focus::before {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

/* YouTube */
.social-youtube:hover,
.social-youtube:focus {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    border-color: #FF0000;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
}

.social-youtube:hover::before,
.social-youtube:focus::before {
    background: linear-gradient(135deg, #FF0000, #FF4444);
}

.footer-social a svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-social a:hover svg,
.footer-social a:focus svg {
    transform: scale(1.1) rotate(5deg);
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatIcon 10s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .dynamic-text {
        min-width: 200px;
    }
    
    .hero {
        background-size: 80%;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .hero-title .static-text {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero-title .dynamic-text {
        min-width: 150px;
        text-align: center;
    }
    
    .hero {
        background-size: 70%;
        background-attachment: scroll;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
}


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

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(135, 206, 235, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #87CEEB, #ff6233);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(135, 206, 235, 0.2);
    border-color: rgba(135, 206, 235, 0.6);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    padding: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: bold;
    color: #87CEEB;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
    color: #ff6233;
}

.faq-answer {
    padding: 0 1.8rem;
    margin: 0;
    color: #444444;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff, #fafcff);
}

.faq-answer.show {
    padding: 0 1.8rem 1.8rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    font-size: 1.05rem;
}

.howto-container {
    max-width: 1000px;
    margin: 0 auto;
}

.howto-article {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    border: 2px solid rgba(135, 206, 235, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.howto-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #000000, #87CEEB);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.howto-article:hover {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(135, 206, 235, 0.2);
    border-color: rgba(135, 206, 235, 0.6);
}

.howto-article:hover::before {
    opacity: 1;
}

.howto-article h3 {
    color: #000000;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(135, 206, 235, 0.4);
    position: relative;
}

.howto-article h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #87CEEB, #ff6233);
    border-radius: 1px;
}

.howto-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: step-counter;
}

.howto-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    padding: 0.6rem;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.08), rgba(135, 206, 235, 0.02));
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
    width: 100%;
    min-height: 0;
    line-height: 1.4;
}

.howto-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #87CEEB, #ff6233);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.howto-step:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.15), rgba(135, 206, 235, 0.05));
    transform: translateX(8px);
    border-color: rgba(135, 206, 235, 0.4);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.2);
}

.howto-step:hover::before {
    opacity: 1;
}

.howto-step.completed {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border-color: rgba(40, 167, 69, 0.3);
}

.howto-step.completed::before {
    background: linear-gradient(180deg, #28a745, #20c997);
    opacity: 1;
}

.step-number {
    background: linear-gradient(135deg, #000000, #87CEEB);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1.2rem;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(135, 206, 235, 0.3);
    min-width: 36px;
    min-height: 36px;
}

.howto-step.completed .step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.step-text {
    color: #444444;
    line-height: 1.4;
    flex: 1;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
}

/* Section spacing improvements */
section {
    padding: 4rem 0;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
}

section:not(:last-child) {
    margin-bottom: 0;
}

#contact {
    margin-top: 0;
}

/* Override for FAQ and HowTo sections */
#faq-section, #howto-section {
    padding: 2.5rem 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.9));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(135, 206, 235, 0.4);
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.15);
    position: relative;
    overflow: hidden;
}

#faq-section::before, #howto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #000000, #87CEEB, #ff6233);
}

#faq-section .section-title, #howto-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #000000;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.6rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#faq-section .section-title::after, #howto-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #000000, #87CEEB);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(135, 206, 235, 0.3);
}

/* Print Styles */
@media print {
    .bg-animation,
    .floating-icon,
    .hamburger,
    .mobile-menu,
    .overlay {
        display: none;
    }
    
    header {
        position: static;
        box-shadow: none;
        background: white;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .service-card,
    .portfolio-item {
        break-inside: avoid;
        animation: none;
        transform: none;
    }
}
