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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
}

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

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

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-decoration::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.bg-decoration::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.hero {
    text-align: center;
    padding: 80px 0;
    color: white;
    position: relative;
}

.hero-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.logo-container {
    flex-shrink: 0;
}

.logo-container img {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

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

.title-container {
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.6rem;
    color: #3498db;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero .description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
    line-height: 1.7;
    color: #bdc3c7;
    font-weight: 300;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 0;
    color: white;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    border-radius: 2px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 100;
    margin-bottom: 15px;
    color: #ecf0f1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.2rem;
    color: #bdc3c7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-section {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 200;
    color: #ecf0f1;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #bdc3c7;
    font-weight: 300;
}

.contact-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.contact-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.portfolio-button {
    background: rgba(236, 240, 241, 0.1);
    border: 2px solid rgba(236, 240, 241, 0.3);
    color: white;
}

.portfolio-button:hover {
    background: rgba(236, 240, 241, 0.2);
    border-color: rgba(236, 240, 241, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 300;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ecf0f1;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(236, 240, 241, 0.2);
    border-radius: 8px;
    background: rgba(236, 240, 241, 0.05);
    color: #ecf0f1;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(236, 240, 241, 0.1);
}

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

.recaptcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #7f8c8d;
    cursor: not-allowed;
    transform: none;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.success-message {
    background: #27ae60;
    color: white;
}

.error-message {
    background: #e74c3c;
    color: white;
}

.services-section {
    padding: 80px 0;
    color: white;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 200;
    color: #ecf0f1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: rgba(236, 240, 241, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #3498db;
}

.service-icon i {
    color: #3498db;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    font-weight: 400;
}

.service-card p {
    color: #bdc3c7;
    line-height: 1.6;
    font-weight: 300;
}

.portfolio-section {
    padding: 80px 0;
    color: white;
    text-align: center;
}

.portfolio-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 200;
    color: #ecf0f1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-item {
    background: rgba(236, 240, 241, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.4);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 8px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.placeholder-image {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.portfolio-content {
    padding: 30px;
    text-align: left;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    font-weight: 400;
}

.portfolio-content p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

.portfolio-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.portfolio-link {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.portfolio-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.testimonials-section {
    padding: 80px 0;
    color: white;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 200;
    color: #ecf0f1;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial {
    background: rgba(236, 240, 241, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.1);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: #bdc3c7;
    line-height: 1.7;
    font-weight: 300;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-name {
    color: #ecf0f1;
    font-weight: 500;
    margin-bottom: 5px;
}

.author-role {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer {
    text-align: center;
    padding: 60px 0 30px;
    color: #7f8c8d;
    border-top: 1px solid rgba(236, 240, 241, 0.1);
    margin-top: 80px;
    background: rgba(236, 240, 241, 0.02);
}

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

.footer-main {
    margin-bottom: 30px;
}

.footer-main h3 {
    color: #ecf0f1;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.footer-main p {
    color: #3498db;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-links span {
    color: #7f8c8d;
}

.footer-bottom {
    border-top: 1px solid rgba(236, 240, 241, 0.05);
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.footer-tagline {
    font-style: italic;
    color: #95a5a6 !important;
    font-size: 0.85rem !important;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: complexFloat 12s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.4;
}

.floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.08) 0%, transparent 70%);
    top: 45%;
    right: 12%;
    animation-delay: 4s;
}

.floating-element:nth-child(3) {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
    bottom: 25%;
    left: 15%;
    animation-delay: 8s;
}

.floating-element:nth-child(4) {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
    top: 65%;
    left: 45%;
    animation-delay: 2s;
}

@keyframes complexFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-15px) translateX(-20px) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-25px) translateX(10px) rotate(270deg);
        opacity: 0.3;
    }
}

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

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

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

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

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-header { 
        flex-direction: row;
        gap: 20px;
        text-align: center;
    }
    .title-container {
        text-align: center;
    }
    .logo-container img { max-width: 60px; }
    .stats { gap: 40px; }

    .modal-content { margin: 10% auto; width: 95%; }
    .modal-body { padding: 20px; }
    
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 0 20px;
    }
    
    .service-card { 
        padding: 30px 20px; 
    }
    
    .portfolio-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 0 20px;
    }
    
    .testimonials-container { 
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 0 20px;
    }
    
    .testimonial { 
        padding: 25px 20px; 
    }
    
    .services-section h2,
    .portfolio-section h2,
    .testimonials-section h2 { 
        font-size: 2rem; 
        margin-bottom: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image img {
        max-width: 180px;
    }
} 