/* ============================================
   CODENZA TECHNOLOGIES - MAIN STYLESHEET
   ============================================ */

/* Root Color Variables */
:root {
    --primary-blue: #2F5DAA;
    --dark-navy: #0D1B2A;
    --accent-gold: #F4B63E;
    --light-section-blue: #EAF1FB;
    --white: #FFFFFF;
    --text-dark: #2B2B2B;
    --text-light: #666666;
    --border-light: #E8E8E8;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 24px rgba(47, 93, 170, 0.15);
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--primary-blue);
}

a:hover {
    color: var(--accent-gold);
}

/* ============================================
   NAVBAR & HEADER
   ============================================ */

.navbar-custom {
    background-color: var(--white);
    padding: 0.75rem 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    box-shadow: var(--shadow-light);
}

.navbar-custom .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.navbar-custom .navbar-brand:hover {
    color: var(--accent-gold);
}

.navbar-custom .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover:after {
    width: 100%;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-custom .nav-link.active {
    color: var(--primary-blue) !important;
}

.navbar-custom .btn-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 93, 170, 0.15);
}

.navbar-custom .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(47, 93, 170, 0.3);
    color: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a7a 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold), #f0a91f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(47, 93, 170, 0.3);
    color: var(--white);
}

.btn-primary-gradient:active {
    transform: translateY(-1px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 0.7rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(47, 93, 170, 0.25);
    border-color: var(--primary-blue);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--dark-navy);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #e6a833;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(244, 182, 62, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 50%, #1a3a7a 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 182, 62, 0.15), rgba(244, 182, 62, 0.05));
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 182, 62, 0.1), rgba(244, 182, 62, 0.02));
    border-radius: 50%;
    bottom: -50px;
    left: -100px;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image-element {
    animation: fadeInUp 1s ease-out 0.3s both;
    background: transparent !important;
    mix-blend-mode: screen;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 92%);
}

.hero-image-element:hover {
    filter: drop-shadow(0 25px 60px rgba(244, 182, 62, 0.4)) drop-shadow(0 15px 40px rgba(47, 93, 170, 0.3)) brightness(1.15) contrast(1.15);
    transform: translateY(-10px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    margin: 1rem auto 0;
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.light-blue-bg {
    background: linear-gradient(135deg, var(--light-section-blue) 0%, rgba(244, 182, 62, 0.05) 100%);
    border-top: 3px solid var(--accent-gold);
}

.navy-bg {
    background-color: var(--dark-navy);
    color: var(--white);
}

.navy-bg h2,
.navy-bg h3 {
    color: var(--white);
}

.navy-bg p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CARDS
   ============================================ */

.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(47, 93, 170, 0.25);
    border-color: var(--primary-blue);
    border-width: 2px;
}

.service-card-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ============================================
   GRID SYSTEMS
   ============================================ */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.process-step[data-icon="search"]::before {
    content: '\f4a5';
    font-family: 'bootstrap-icons';
    font-size: 1.5rem;
}

.process-step[data-icon="pencil-square"]::before {
    content: '\f47e';
    font-family: 'bootstrap-icons';
    font-size: 1.5rem;
}

.process-step[data-icon="code-slash"]::before {
    content: '\f386';
    font-family: 'bootstrap-icons';
    font-size: 1.5rem;
}

.process-step[data-icon="rocket-takeoff"]::before {
    content: '\f47f';
    font-family: 'bootstrap-icons';
    font-size: 1.5rem;
}

.process-step h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.process-step p {
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
    background: white;
    border-left: 5px solid var(--accent-gold);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(47, 93, 170, 0.1);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(47, 93, 170, 0.2);
    border-left-color: var(--primary-blue);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

.rating {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-custom {
    background-color: var(--dark-navy);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--accent-gold);
}

.footer-custom h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-custom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-custom a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-custom a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.footer-contact-item i {
    color: var(--accent-gold);
    margin-right: 1rem;
    margin-top: 0.3rem;
    font-size: 1.1rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(244, 182, 62, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--dark-navy);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(244, 182, 62, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
    padding: 60px 0 40px;
    color: var(--white);
}

.breadcrumb-custom h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item.active {
    color: var(--accent-gold);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item a:hover {
    color: var(--accent-gold);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 50%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(244, 182, 62, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: rgba(244, 182, 62, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================
   FEATURES
   ============================================ */

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   PAGE BANNER
   ============================================ */

.page-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 50%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 60px 0 40px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(244, 182, 62, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(244, 182, 62, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.page-banner nav {
    position: relative;
    z-index: 1;
}

/* ============================================
   HIRING PROCESS
   ============================================ */

.hiring-step {
    position: relative;
    padding-bottom: 2rem;
    text-align: center;
}

.hiring-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.hiring-step h4 {
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
}

.hiring-step p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 80px 0;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .navbar-custom {
        padding: 0.5rem 0;
    }

    .process-step {
        padding-left: 60px;
    }

    .process-step::before {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-section::before {
        width: 300px;
        height: 300px;
        top: -50px;
        right: -50px;
    }

    .hero-section::after {
        width: 200px;
        height: 200px;
        bottom: 0;
        left: -50px;
    }

    .footer-custom {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero-content h1 {
        line-height: 1.2;
    }

    .service-card {
        padding: 1.5rem;
    }

    .navbar-custom .btn-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slideInUp {
    animation: slideInUp 0.6s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}


.form-control,
.form-select {
    border: 2px solid var(--light-section-blue) !important;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(47, 93, 170, 0.15);
    outline: none;
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-primary {
    color: var(--primary-blue) !important;
}

.text-accent {
    color: var(--accent-gold) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.bg-light-blue {
    background-color: var(--light-section-blue) !important;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}
