/* --- CSS STYLES --- */
/* Variables and Base Styles */
:root {
    --deep-blue: #0A192F;
    --slate-blue: #1E3A5F;
    --vibrant-amber: #FFC107;
    --light-gray: #F8F9FA;
    --off-white: #E6F1FF;
    --dark-slate: #334155;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-slate);
    background-color: #FFF;
    overflow-x: hidden;
}

/* --- Keyframe Animations --- */
@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--off-white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--vibrant-amber);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--vibrant-amber);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--off-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--vibrant-amber);
    color: var(--deep-blue);
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--space-sm);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 25px rgba(255, 193, 7, 0.4);
    background: #ffca2c;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background-color: var(--deep-blue);
    color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 var(--space-lg);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(125deg, var(--deep-blue), var(--slate-blue), var(--deep-blue));
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: var(--space-md);
}

.hero p {
    font-size: 20px;
    margin: 0 auto var(--space-lg) auto;
    max-width: 650px;
    color: rgba(230, 241, 255, 0.85);
}

.loading-animation {
    font-family: 'Fira Code', monospace;
    color: var(--vibrant-amber);
    font-size: 24px;
    margin-bottom: var(--space-md);
    height: 26px;
}

/* --- Sections --- */
.section {
    padding: var(--space-xl) var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-align: center;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center; 
    font-size: 18px; 
    max-width: 700px; 
    margin: 0 auto var(--space-xl) auto;
    color: #566479;
}
        
/* --- Services Calculator --- */
.services-calculator {
    background: var(--light-gray);
    padding: var(--space-xl);
    border-radius: 16px;
    margin-top: var(--space-lg);
    border: 1px solid #e7eaf0;
}

.question {
    text-align: center;
    margin-bottom: var(--space-lg);
    transition: opacity 0.3s ease-in-out;
}

.question h3 {
    font-size: 32px;
    font-weight: 600;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.option-tag {
    background: #fff;
    color: var(--slate-blue);
    border: 2px solid #dde2e9;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--space-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.option-tag:hover {
    border-color: var(--vibrant-amber);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.08);
}

.option-tag.selected {
    border-color: var(--vibrant-amber);
    background-color: var(--vibrant-amber);
    color: var(--deep-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.project-brief {
    background: var(--deep-blue);
    color: var(--off-white);
    padding: var(--space-lg);
    border-radius: var(--space-sm);
    margin-top: var(--space-lg);
    display: none;
    font-family: 'Fira Code', monospace;
    transition: all 0.5s ease-in-out;
}

.project-brief.visible {
    display: block;
}

.brief-content {
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    color: var(--vibrant-amber);
}

.conclusion {
    text-align: center;
    margin-top: var(--space-lg);
    display: none;
}

.conclusion.visible {
    display: block;
}

/* --- Pricing Section --- */
#pachete {
    background-color: #fff;
}
        
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.1);
}
        
.pricing-card.highlight {
    border-color: var(--vibrant-amber);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.pricing-card h3 {
    font-size: 26px;
    margin-bottom: var(--space-sm);
}

.pricing-card .price {
    font-size: 52px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: var(--space-md);
}
        
.pricing-card .price span {
    font-size: 20px;
    font-weight: 400;
    color: var(--dark-slate);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: var(--space-lg);
    text-align: left;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
}
        
.pricing-card ul li::before {
    content: '✔';
    color: var(--vibrant-amber);
    font-weight: bold;
    margin-right: 12px;
    margin-top: 2px;
}

/* --- Contact Section --- */
#contact {
    background-color: var(--light-gray);
}

.contact-details-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 900px;
    margin: var(--space-xl) auto 0 auto;
}

.contact-card {
    background-color: #fff;
    border-radius: 12px;
    padding: var(--space-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e7eaf0;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.1);
}

.contact-card h4 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: var(--space-xs);
}

.contact-card p {
    color: var(--dark-slate);
    margin-bottom: var(--space-md);
    min-height: 48px; 
}

.contact-link {
    display: inline-block;
    background-color: var(--vibrant-amber);
    color: var(--deep-blue);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--space-sm);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    word-break: break-all;
}

.contact-link:hover {
    background-color: #ffcd39;
}

/* --- Footer --- */
.footer {
    background-color: var(--deep-blue);
    color: var(--off-white);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(310deg, var(--deep-blue), var(--slate-blue), var(--deep-blue));
    background-size: 400% 400%;
    animation: aurora 20s ease infinite;
    z-index: 0;
}


.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.footer h4 {
    margin-bottom: var(--space-md);
    color: var(--vibrant-amber);
}

.footer p, .footer a {
    color: var(--off-white);
    text-decoration: none;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a:hover {
    color: var(--vibrant-amber);
    text-decoration: underline;
}

.footer address {
    font-style: normal;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--slate-blue);
    text-align: center;
    font-size: 14px;
    color: rgba(230, 241, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 var(--space-md);
        justify-content: flex-end; /* Push content to the right */
    }
    .logo {
        position: absolute;
        left: var(--space-md);
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--deep-blue);
        padding: var(--space-md) 0;
        text-align: center;
        border-bottom: 1px solid var(--slate-blue);
        transform: translateX(0);
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: var(--space-sm) 0;
    }

    .nav-links a::after {
        display: none; /* Hide underline on mobile nav */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }
    
    .hero p {
        font-size: 18px;
    }

    .section {
        padding: var(--space-xl) var(--space-md);
    }

    .section h2 {
        font-size: 36px;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.highlight {
        transform: scale(1); /* Reset highlight scaling on mobile */
    }
}

@media (min-width: 768px) {
    .contact-details-container {
        grid-template-columns: 1fr 1fr;
    }
}
/* --- Process Section --- */
.process-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-md);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--vibrant-amber);
    color: var(--deep-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto var(--space-md) auto;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px var(--vibrant-amber);
}

.process-step h3 {
    margin-bottom: var(--space-sm);
    font-size: 22px;
}

.process-cta {
    text-align: center;
    margin-top: var(--space-lg);
    background: var(--light-gray);
    padding: var(--space-lg);
    border-radius: 12px;
}
.process-cta h4 {
    font-size: 24px;
    margin-bottom: var(--space-md);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid #e7eaf0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--dark-slate);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dde2e9;
    border-radius: var(--space-sm);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vibrant-amber);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.contact-form .btn-primary {
    align-self: center; /* Aligns button to the left */
    margin-top: var(--space-sm);
}

/* Add this to your style.css */

.contact-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* The form takes up 2/3 of the space */
    gap: var(--space-xl);
    align-items: flex-start;
    margin-top: var(--space-xl);
}

.contact-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Make the layout stack on smaller screens */
@media (max-width: 992px) {
    .contact-layout-container {
        grid-template-columns: 1fr;
    }
}
.contact-form-container {
    max-width: none; /* Remove the max-width to let it fill the grid space */
}

.leftalign {
    text-align: left;
}