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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensures the container spans the full width of its parent */
    padding: 0 20px 0 20px; /* Sets 0 vertical padding, 20px right padding, 0 bottom padding, and 0 left padding */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start;
    flex-shrink: 0;
}

.logo h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: #1e90ff;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #3498db;
}

.hamburger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    padding-right: 20px; /* Add padding to the hamburger icon on the right */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6e86ee 0%, #1e90ff 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 0;
}

.hero-content {
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}


.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Particle background styles */

/* Floating hero icons (FontAwesome) */

.floating-hero-icon {
    color: #fff;
    opacity: 0.33;
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
    animation: floatSpinXY 8s ease-in-out infinite alternate;
    transition: opacity 0.3s;
}

@keyframes floatSpinXY {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    20% {
        transform: translate(-18px, -12px) scale(1.08) rotate(8deg);
    }
    50% {
        transform: translate(24px, -28px) scale(1.12) rotate(-12deg);
    }
    80% {
        transform: translate(-16px, 18px) scale(1.08) rotate(8deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes floatSpin {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-18px) scale(1.08) rotate(8deg);
    }
    50% {
        transform: translateY(-32px) scale(1.12) rotate(-8deg);
    }
    75% {
        transform: translateY(-18px) scale(1.08) rotate(8deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.4);
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.hero-cta {
    margin-top: 2rem;
    position: relative;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pulse-animation {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

/* Service Sections */
.service-section {
    padding: 80px 0;
    background: white;
}

.service-section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Button Styles */
.cta-button-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #ff4500;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #e03e00;
    transform: scale(1.05);
}
.attention-line {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    animation: fadeInUp 1s ease;
}


/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background: #3498db;
}

.contact-section .section-description {
    color: #bdc3c7;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-link i {
    font-size: 1.2rem;
}

.whatsapp:hover {
    background: #25d366;
}

.email:hover {
    background: #ea4335;
}

.linkedin:hover {
    background: #0077b5;
    color: #fff;
}
.x:hover {
    background: #000;
    color: #fff;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.scroll-top-btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.scroll-top-btn.show {
    display: block;
    animation: slideInUp 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Responsive Design */
/* Updated media query for better mobile responsiveness */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on smaller screens */
    }

    .nav-menu {
        position: fixed;
        top: -100%; /* Hidden by default, above the viewport */
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        text-align: center;
        transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999; /* Ensure it's below the header but above other content */
        opacity: 0;
        pointer-events: none;
        animation: none;
    }

    .nav-menu.active {
        top: 70px; /* Slide in from top, just below header */
        opacity: 1;
        pointer-events: auto;
        animation: slideDownMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu:not(.active) {
        animation: slideUpMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
@keyframes slideDownMenu {
    from {
        top: -100%;
        opacity: 0;
    }
    to {
        top: 70px;
        opacity: 1;
    }
}

@keyframes slideUpMenu {
    from {
        top: 70px;
        opacity: 1;
    }
    to {
        top: -100%;
        opacity: 0;
    }
}

    .hero-title {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }

    .hero-subtitle {
        font-size: 1.1rem; /* Adjust font size for smaller screens */
    }

    .section-title {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .cards-container {
        grid-template-columns: 1fr; /* Stack cards vertically on smaller screens */
        padding: 0 20px; /* Add padding to card container */
    }

    .service-card {
        margin-bottom: 1rem; /* Add space between stacked cards */
    }

    .contact-links {
        flex-direction: column; /* Stack contact links vertically */
        align-items: center;
    }

    .contact-link {
        width: 250px;
        justify-content: center;
        margin-bottom: 10px; /* Add space between stacked links */
    }

    .footer .container {
        padding: 0 20px; /* Add padding to footer content */
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem; /* Further adjust font size for very small screens */
    }

    .hero-subtitle {
        font-size: 1rem; /* Further adjust font size for very small screens */
    }

    .service-card {
        padding: 1.5rem; /* Adjust padding for smaller cards */
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .logo h2 {
        font-size: 1.5rem; /* Adjust logo font size */
    }
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
