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

:root {
    --primary: #1a1f2e;
    --secondary: #f97316;
    --accent: #60a5fa;
    --background: #ffffff;
    --text: #1a1f2e;
    --text-muted: #6b7280;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2d3748 50%, rgba(249, 115, 22, 0.2) 100%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920');
    background-size: cover;
    background-position: center;
    mix-blend-mode: overlay;
    opacity: 0.4;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.2;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

.particle-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: rgba(249, 115, 22, 0.3);
}

.particle-2 {
    bottom: 80px;
    right: 40px;
    width: 384px;
    height: 384px;
    background: rgba(96, 165, 250, 0.2);
    animation-delay: 0.7s;
}

.particle-3 {
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    background: rgba(26, 31, 46, 0.3);
    animation-delay: 1s;
}

.hero-diagonal {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-diagonal::after {
    content: '';
    position: absolute;
    right: -80px;
    top: 0;
    width: 33.333%;
    height: 100%;
    background: linear-gradient(to left, rgba(249, 115, 22, 0.3), transparent);
    transform: skewX(12deg);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 80px 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(249, 115, 22, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    position: relative;
    display: inline-block;
}

.hero-title-main {
    display: block;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #ffffff, #ffffff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out 0.2s both;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-title-sub {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    animation: slideInLeft 1s ease-out 0.4s both;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 128px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    animation: pulse 2s ease-in-out infinite;
}

.hero-description {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 300;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.highlight {
    color: var(--secondary);
    font-weight: 600;
}

.hero-subdescription {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 1s both;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.5);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #ea580c;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
}

.scroll-icon::before {
    content: '';
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* Services */
.services {
    background: #f9fafb;
}

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

.service-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
}

/* Portfolio */
.portfolio-swiper {
    padding: 20px 0 60px;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.location {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.description {
    color: var(--text-muted);
}

.swiper-pagination-bullet {
    background: var(--secondary);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--secondary);
}

/* Videos */
.videos {
    background: #f9fafb;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal video player */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.video-modal .video-inner {
    max-width: 1200px;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal video {
    width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
    background: black;
    object-fit: contain;
}

.video-modal .close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
}

/* Slightly smaller thumbnail height on small screens */
@media (max-width: 640px) {
    .video-thumbnail {
        height: 160px;
    }

    .portfolio-card img {
        height: 220px;
    }
}

/* Footer developer link style */
.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* Improve responsiveness overall */
@media (max-width: 768px) {
    .hero-content {
        padding: 40px 12px;
    }

    .services {
        padding: 40px 12px;
    }

    .section {
        padding: 40px 12px;
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    padding: 16px 20px 8px;
    font-size: 1.25rem;
    color: var(--primary);
}

.video-card p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Contact */
.contact {
    background: #f9fafb;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 48px 20px 24px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.12s ease, color 0.12s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    color: var(--secondary);
}

.social-icon {
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}

.social-text {
    font-size: 14px;
}

.footer-phones p {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 6px 0;
}

.phone-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
}

.footer-phones a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.footer-phones a:hover {
    color: var(--secondary);
}

.phone-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}