/* General Styling */
html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.page-container {
    flex: 1 0 auto;
}

/* General Section Styling */
.workflow-section, .pricing-section, .about-us-section {
    padding: 120px 0;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 80px auto;
}

/* Navigation Bar Styling */
.navbar {
    background-color: #162022;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
}
.navbar-brand img { height: 60px; }
.navbar-nav .nav-link { color: #ffffff; font-weight: 500; margin: 0 10px; transition: color 0.3s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #99db05; }
.contact-btn { background-color: #99db05; border-color: #99db05; color: #111827; font-weight: bold; padding: 8px 20px; border-radius: 8px; transition: all 0.3s; }
.contact-btn:hover { background-color: #7caf04; border-color: #7caf04; transform: translateY(-2px); }

/* Hero Section Styling */
.hero-section { min-height: 100vh; display: flex; align-items: center; }
.hero-content .tags span { display: inline-block; border: 1px solid #99db05; color: #99db05; padding: 5px 15px; border-radius: 20px; margin-right: 10px; font-size: 0.9rem; margin-bottom: 20px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; font-weight: 300; max-width: 550px; color: rgba(255, 255, 255, 0.85); margin-bottom: 30px; }
.hero-content .start-project-btn { background-color: #99db05; border-color: #99db05; color: #111827; font-weight: bold; padding: 12px 30px; border-radius: 8px; font-size: 1.1rem; transition: all 0.3s ease; }
.hero-content .start-project-btn:hover { background-color: #7caf04; border-color: #7caf04; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.features-list { list-style: none; padding: 0; margin-top: 30px; display: flex; gap: 25px; color: rgba(255, 255, 255, 0.9); }
.features-list li::before { content: '✓'; color: #ffffff; margin-right: 10px; font-weight: bold; }

/* Sphere animation */
.globe-container { display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.globe { width: 400px; height: 400px; position: relative; transform-style: preserve-3d; animation: rotate-globe 30s infinite linear; }
.globe-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 50%; }
.globe-ring:nth-child(1) { transform: rotateY(30deg); } .globe-ring:nth-child(2) { transform: rotateY(60deg); } .globe-ring:nth-child(3) { transform: rotateY(90deg); } .globe-ring:nth-child(4) { transform: rotateY(120deg); } .globe-ring:nth-child(5) { transform: rotateY(150deg); } .globe-ring:nth-child(6) { transform: rotateX(90deg); }
@keyframes rotate-globe { from { transform: rotateY(0deg) rotateX(10deg); } to { transform: rotateY(360deg) rotateX(10deg); } }

/* Workflow Section Styling */
.workflow-container { display: flex; justify-content: center; align-items: stretch; gap: 20px; }
.workflow-step { background: rgba(22, 32, 34, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); padding: 35px 30px; border-radius: 16px; flex: 1; max-width: 280px; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.workflow-step:hover { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); border-color: rgba(153, 219, 5, 0.4); }
.step-number { width: 50px; height: 50px; border: 2px solid #99db05; color: #99db05; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; margin-bottom: 25px; flex-shrink: 0; }
.step-title { font-size: 1.3rem; font-weight: 600; color: #ffffff; margin-bottom: 15px; }
.step-description { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.arrow-separator { display: flex; align-items: center; color: #99db05; opacity: 0.4; align-self: center; }
.arrow-separator svg { width: 45px; height: 45px; }

/* Pricing Section Styling */
.pricing-card { background: rgba(22, 32, 34, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); padding: 40px; border-radius: 16px; height: 100%; display: flex; flex-direction: column; text-align: left; transition: all 0.3s ease; position: relative; overflow: hidden; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.plan-name { font-weight: 600; font-size: 1.8rem; color: #ffffff; }
.plan-tagline { color: rgba(255, 255, 255, 0.6); margin-bottom: 25px; min-height: 40px; }
.price { font-size: 3.5rem; font-weight: 700; color: #ffffff; margin-bottom: 25px; }
.price .per-month { font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, 0.6); }
.features { list-style: none; padding: 0; margin-bottom: 30px; flex-grow: 1; }
.features li { margin-bottom: 15px; color: rgba(255, 255, 255, 0.8); display: flex; align-items: flex-start; }
.features li::before { content: '✓'; color: #99db05; margin-right: 12px; font-weight: bold; margin-top: 2px; }
.btn-pricing, .btn-pricing-popular { width: 100%; padding: 12px; font-weight: bold; border-radius: 8px; transition: all 0.3s ease; }
.btn-pricing { background-color: transparent; border: 2px solid #99db05; color: #99db05; }
.btn-pricing:hover { background-color: #99db05; color: #111827; }
.btn-pricing-popular { background-color: #99db05; border: 2px solid #99db05; color: #111827; }
.btn-pricing-popular:hover { background-color: #7caf04; border-color: #7caf04; transform: translateY(-2px); }
.popular-plan { border-color: #99db05; transform: scale(1.05); }
.popular-plan:hover { transform: scale(1.05) translateY(-10px); }
.popular-badge { position: absolute; top: 20px; right: -30px; background-color: #99db05; color: #111827; padding: 5px 30px; font-size: 0.8rem; font-weight: bold; transform: rotate(45deg); }

/* About Us Section Styling */
.about-us-text { font-size: 1.05rem; color: rgba(255, 255, 255, 0.8); line-height: 1.7; margin-bottom: 20px; text-align: left; }
.about-us-icon-container { width: 250px; height: 250px; display: flex; justify-content: center; align-items: center; background: rgba(22, 32, 34, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; }
.about-us-icon-container svg { color: #99db05; }
.about-us-section .section-title, .about-us-section .section-subtitle { text-align: left; margin-left: 0; margin-right: 0; }

/* Footer Styling */
.site-footer { background-color: #162022; padding: 60px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); border-top: 1px solid rgba(255, 255, 255, 0.1); flex-shrink: 0; }
.footer-widget .widget-title { color: #ffffff; font-weight: 600; margin-bottom: 20px; font-size: 1.1rem; }
.footer-logo { max-height: 60px; opacity: 0.9; }
.site-footer .list-unstyled li { margin-bottom: 10px; }
.site-footer .list-unstyled a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: all 0.3s ease; }
.site-footer .list-unstyled a:hover { color: #99db05; text-decoration: underline; }
.footer-bottom { background-color: #0c1214; padding: 20px 0; margin-top: 40px; }
.footer-bottom .copyright-text { font-size: 0.85rem; margin: 0; }
.social-icons a { color: rgba(255, 255, 255, 0.7); margin-left: 15px; display: inline-block; transition: all 0.3s ease; }
.social-icons a:hover { color: #99db05; transform: translateY(-2px); }

/* Modal Styling (Contact & Legal) */
.modal-content { background-color: #162022; border: 1px solid rgba(153, 219, 5, 0.2); color: #ffffff; border-radius: 12px; }
.modal-header { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.modal-title { color: #ffffff; font-weight: 600; font-size: 1.5rem; }
.btn-close { filter: invert(1) grayscale(100) brightness(200%); }
.modal-body .form-label { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.modal-body .form-control { background-color: #0c1214; color: #ffffff; border: 1px solid #364144; padding: 12px 15px; border-radius: 8px; transition: all 0.3s ease; }
.modal-body .form-control:focus { background-color: #0c1214; color: #ffffff; border-color: #99db05; box-shadow: 0 0 0 0.25rem rgba(153, 219, 5, 0.15); }
.modal-footer { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.modal-footer .btn-secondary { background-color: #364144; border-color: #364144; }
.btn-submit-modal { background-color: #99db05; border-color: #99db05; color: #111827; font-weight: bold; padding: 10px 25px; transition: all 0.3s ease; }
.btn-submit-modal:hover { background-color: #7caf04; border-color: #7caf04; color: #ffffff; }
.legal-text { text-align: left; color: rgba(255, 255, 255, 0.8); }
.legal-text h6 { color: #99db05; margin-top: 20px; font-weight: 600; }

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .arrow-separator { display: none; }
    .workflow-container { flex-wrap: wrap; gap: 30px; justify-content: center;}
    .workflow-step { flex-basis: 45%; max-width: 320px; }
}

@media (max-width: 991px) {
    .popular-plan { transform: scale(1); }
    .hero-section { padding-top: 100px; text-align: center; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { margin: 0 auto 30px auto; }
    .features-list { justify-content: center; }
    .about-us-section .section-title, .about-us-section .section-subtitle { text-align: center; }
}

@media (max-width: 768px) {
    .navbar-nav { text-align: center; background-color: rgba(22, 32, 34, 0.95); border-radius: 8px; padding: 10px; margin-top: 10px; }
    .section-title { font-size: 2.5rem; }
    .workflow-container { flex-direction: column; align-items: center; gap: 30px; }
    .workflow-step { width: 100%; max-width: 400px; flex-basis: auto; }
}