/* Base Variables */
:root {
    --primary: #FF5722;
    /* Orange Vibrante */
    --primary-hover: #e64a19;
    --secondary: #000851;
    /* Navy Blue */
    --text-dark: #1a237e;
    --text-gray: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--secondary);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    z-index: 2000;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--secondary);
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    /* Default for Hero overlay */
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-btn.btn-primary {
    padding: 8px 24px;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .hamburger {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    background-color: var(--secondary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 8, 81, 0.95) 0%, rgba(0, 8, 81, 0.85) 100%), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.text-orange {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Tech Graphic Placeholder */
.tech-graphic {
    width: 400px;
    height: 400px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: rotate 20s linear infinite;
}

.c1 {
    width: 120%;
    height: 120%;
    animation-duration: 30s;
}

.c2 {
    width: 150%;
    height: 150%;
    border-style: solid;
    border-width: 1px;
    animation-direction: reverse;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Common Section Styles */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

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

.about-placeholder {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-placeholder:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bad-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

/* Services */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.icon-box {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
}

.service-list li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Tech Grid */
.tech {
    background: var(--secondary);
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    text-align: center;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* Advantages */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.adv-item {
    padding: 30px;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: var(--transition);
}

.adv-item i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Process Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.content {
    background: white;
    padding: 20px 30px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Portfolio Placeholder */
.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.port-img {
    height: 200px;
    background: #ccc;
    background-size: cover;
    background-position: center;
}

.p1 {
    background-image: url('assets/images/bakepro.jpg');
}

.p2 {
    background-image: url('assets/images/nero.jpg');
}

.p3 {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=2070&auto=format&fit=crop');
}

.port-desc {
    padding: 20px;
}

/* CTA */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a237e 100%);
    padding: 80px 0;
}

.cta-banner h2 {
    color: var(--white);
}

.cta-banner p {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: #000428;
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary);
}

.email-text {
    font-size: 0.9rem;
}

.mt-6 {
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link,
    .nav-menu .nav-btn,
    .navbar.scrolled .nav-menu .nav-link,
    .navbar.scrolled .nav-menu .nav-btn {
        color: #ffffff !important;
        padding: 15px 0 !important;
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 2;
        margin-top: 40px;
    }

    .about-placeholder {
        height: 400px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 8, 81, 0.8);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalScale 0.4s ease;
}

@keyframes modalScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a237e 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-heading);
    transition: var(--transition);
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
    background: white;
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
}

.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-size: 0.9rem;
}

.form-status.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
