:root {
    --primary: #ff6b35;
    --secondary: #004e89;
    --accent: #f77f00;
    --dark: #1a1a2e;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--dark), var(--secondary));
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: white !important;
    margin: 0 1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Banner */
.banner {
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 8%;
}

.banner::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.banner-content {
    z-index: 2;
}

.banner h1 {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.banner p {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-custom {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s 0.6s backwards;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.home-3d {
    width: 400px;
    height: 400px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.home-3d i {
    font-size: 20rem;
    color: var(--primary);
    opacity: 0.9;
    filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.5));
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--dark);
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.about-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.about-box {
    text-align: center;
    padding: 30px;
    transition: all 0.3s;
}

.about-box:hover {
    transform: translateY(-10px);
}

/* Services */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    height: auto;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-desc {
    color: #666;
    margin-bottom: 15px;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s;
}

.service-card:hover .service-details {
    max-height: 500px;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details li {
    padding: 8px 0;
    color: var(--secondary);
    font-weight: 500;
}

.service-details li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

/* Why Choose Us */
.why-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.why-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: 20px 0;
    transition: all 0.3s;
}

.why-box:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: scale(1.05);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark);
}

/* Subscribe Form */
.subscribe-section {
    padding: 100px 0;
    background: var(--light);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 20px;
    border: 2px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
}

.overlay-alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.overlay-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-item {
    background: var(--light);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0 20px;
    color: #666;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
}

.contact-info {
    color: white;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.newsletter-input {
    display: flex;
    margin-top: 15px;
}

.newsletter-input input {
    flex: 1;
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 10px 20px;
}

.newsletter-input button {
    border-radius: 0 25px 25px 0;
    border: none;
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-input button:hover {
    background: var(--accent);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}