/* ============================================
   RJK SOFTECH SOLUTIONS - PROFESSIONAL CSS
   ============================================
   Color Palette:
   Primary Navy: #0B1F3A
   Accent Gold: #C9A24D
   Background: #FFFFFF
   ============================================ */

/* ============ RESET & BASE STYLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    background-color: #0B1F3A;
    color: #ffffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(11, 31, 58, 0.1);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #C9A24D;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #C9A24D;
    border-bottom-color: #C9A24D;
}

/* ============ MOBILE MENU BUTTON ============ */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #C9A24D;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #C9A24D;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: #C9A24D;
    color: #0B1F3A;
    border-color: #C9A24D;
}

.btn-primary:hover {
    background-color: #B5932D;
    border-color: #B5932D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #C9A24D;
    border-color: #C9A24D;
}

.btn-secondary:hover {
    background-color: #C9A24D;
    color: #0B1F3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.3);
}

/* ============ INTRO SECTION ============ */
.intro {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 2rem;
    font-weight: 700;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* ============ SERVICES SECTION ============ */
.services-section {
    padding: 4rem 2rem;
}

.services-section h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid #C9A24D;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
    border-left-color: #0B1F3A;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #0B1F3A;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* ============ WHY CHOOSE US SECTION ============ */
.why-choose {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.benefits-list {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 162, 77, 0.3);
    font-size: 1.1rem;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C9A24D;
    font-weight: bold;
    font-size: 1.3rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* ============ PARTNERSHIPS SECTION ============ */
.partnerships {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.partnerships h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 3rem;
    font-weight: 700;
}

.partnerships-content {
    max-width: 700px;
    margin: 0 auto;
}

.partnerships-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2rem;
    color: #C9A24D;
}

/* ============ ABOUT CONTENT ============ */
.about-content {
    padding: 4rem 2rem;
}

.about-article {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.about-article p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-article h2 {
    font-size: 1.8rem;
    color: #0B1F3A;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.highlight-card h3 {
    font-size: 2rem;
    color: #C9A24D;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.highlight-card p {
    color: #ddd;
}

/* ============ SERVICES DETAILED PAGE ============ */
.services-detailed {
    padding: 4rem 2rem;
}

.service-detail-card {
    background-color: #f9f9f9;
    border-left: 4px solid #C9A24D;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.service-detail-card h2 {
    font-size: 1.5rem;
    color: #0B1F3A;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
}

.service-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #C9A24D;
    font-weight: bold;
}

/* ============ CAPABILITIES ============ */
.capabilities {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
}

.capabilities h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capability-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
}

.capability-item h3 {
    color: #0B1F3A;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.capability-item p {
    color: #666;
}

/* ============ TEMENOS PAGE ============ */
.temenos-overview {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.temenos-overview h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 2rem;
    font-weight: 700;
}

.lead-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.temenos-overview p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.temenos-offerings {
    padding: 4rem 2rem;
}

.temenos-offerings h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.offering-card {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(201, 162, 77, 0.3);
}

.offering-card h3 {
    color: #C9A24D;
    margin-bottom: 1rem;
    font-weight: 600;
}

.offering-card p {
    color: #ddd;
}

.vendor-status {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
}

.vendor-status h2 {
    font-size: 2.5rem;
    color: #0B1F3A;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.status-content {
    max-width: 700px;
    margin: 0 auto;
}

.status-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.vendor-benefits {
    list-style: none;
}

.vendor-benefits li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
}

.vendor-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C9A24D;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============ CASE STUDIES ============ */
.case-studies-section {
    padding: 4rem 2rem;
}

.case-study-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.1);
    transform: translateY(-3px);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-study-header h2 {
    color: #0B1F3A;
    font-size: 1.5rem;
    font-weight: 700;
}

.case-study-category {
    background-color: #C9A24D;
    color: #0B1F3A;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.case-study-description {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-study-highlights {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.case-study-highlights p {
    color: #0B1F3A;
    font-weight: 500;
}

.approach {
    background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 4rem 2rem;
}

.approach h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.approach-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.approach-item h3 {
    color: #C9A24D;
    margin-bottom: 1rem;
    font-weight: 600;
}

.approach-item p {
    color: #ddd;
}

/* ============ CONTACT PAGE ============ */
.contact-info {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

.contact-item h3 {
    color: #0B1F3A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-item p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #C9A24D;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0B1F3A;
}

.text-muted {
    color: #999 !important;
    font-size: 0.95rem !important;
}

.contact-form-section {
    padding: 4rem 2rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    color: #0B1F3A;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0B1F3A;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #C9A24D;
    box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.1);
}

.form-message {
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============ FOOTER ============ */
.footer {
    background-color: #0B1F3A;
    color: #ffffff;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #C9A24D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: #bbb;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #C9A24D;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(201, 162, 77, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #0B1F3A;
        padding: 1rem;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-link {
        padding: 0.75rem 0;
        display: block;
        border-bottom: 1px solid rgba(201, 162, 77, 0.2);
    }

    .nav-link:hover,
    .nav-link.active {
        padding-left: 1rem;
        background-color: rgba(201, 162, 77, 0.1);
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

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

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

    .case-study-header {
        flex-direction: column;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .intro h2,
    .why-choose h2,
    .partnerships h2,
    .services-section h2,
    .temenos-offerings h2,
    .vendor-status h2,
    .approach h2,
    .capabilities h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 3rem 2rem;
    }

    .intro,
    .services-section,
    .why-choose,
    .partnerships,
    .services-detailed,
    .capabilities,
    .temenos-offerings,
    .vendor-status,
    .case-studies-section,
    .approach,
    .contact-form-section {
        padding: 3rem 2rem;
    }

    .page-header {
        padding: 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .nav {
        gap: 0;
    }

    .nav-link {
        font-size: 0.95rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

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

    .service-card h3,
    .offering-card h3,
    .capability-item h3 {
        font-size: 1.1rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.6rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============ PRINT STYLES ============ */
@media print {
    .header,
    .footer,
    .mobile-menu-btn {
        display: none;
    }

    a {
        color: #0B1F3A;
    }

    body {
        line-height: 1.5;
    }
}
