/* Kirkor IT Solutions - Custom Styles */

/* Google Fonts - Rajdhani */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Color Variables */
:root {
    --teal: #1b9295;
    --dark-blue: #00466b;
    --grey: #4b5e6b;
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --cream: #faf8f5;
}

/* Base Styles */
body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--grey);
    font-size: 18px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--dark-blue);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
}

h3 {
    font-size: 1.8rem;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--teal);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-brand img {
    max-height: 100px;
}

.navbar-nav .nav-link {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--teal);
}

/* Login Button */
.btn-login {
    background-color: var(--teal);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-login.active {
    background-color: var(--dark-blue);
    color: var(--white);
}

/* Services Cards Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--light-grey);
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.service-card.border-teal {
    border-top-color: var(--teal);
}

.service-card.border-dark-blue {
    border-top-color: var(--dark-blue);
}

.service-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.service-card-link .service-card {
    cursor: pointer;
}

.service-card-link:hover .service-card {
    border-top-color: var(--teal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-card .icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.service-card .icon-wrapper.teal {
    background-color: var(--teal);
}

.service-card .icon-wrapper.dark-blue {
    background-color: var(--dark-blue);
}

.service-card .icon-wrapper i {
    font-size: 3rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.service-card p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.7;
    color: var(--grey);
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .service-card .icon-wrapper i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Page Header - Consistent header area for all pages */
.page-header {
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header .lead {
    margin-bottom: 0;
}

/* Page Section - Generic wrapper for pages with page-header */
.page-section {
    padding-bottom: 3rem;
}

/* Form Section - for card-based form pages */
.form-section {
    min-height: 60vh;
}

.login-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--teal);
}

.login-card h1 {
    font-size: 2rem;
    color: var(--dark-blue);
}

.login-card .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
}

.login-card .form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(27, 146, 149, 0.25);
}

/* Grant Management Numbered Sections */
.gm-section {
    padding: 5rem 0;
}

.gm-section.bg-cream {
    background-color: var(--cream);
}

.gm-section.bg-white {
    background-color: var(--white);
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--teal);
    border-color: var(--teal);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
    background-color: var(--grey);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--teal);
}

.site-footer a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer p {
    margin: 0;
    font-size: 1rem;
}

/* Utility Classes */
.text-teal {
    color: var(--teal);
}

.text-dark-blue {
    color: var(--dark-blue);
}

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

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

/* Contact Info */
.contact-info {
    padding: 3rem 0;
    text-align: center;
}

.contact-item {
    margin: 2rem 0;
}

.contact-item i {
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--teal);
}

/* Portfolio */
.portfolio-item {
    margin-bottom: 2rem;
    text-align: center;
}

.portfolio-item img {
    max-width: 200px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    padding: 1rem;
}

.portfolio-item img:hover {
    filter: grayscale(0%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .icon-section {
        padding: 3rem 0;
    }
    
    .icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .icon-wrapper i {
        font-size: 2.5rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* About Page */
.about-leader {
    padding: 2rem 0;
}

.about-headshot-lg {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--light-grey) 0%, #e9ecef 100%);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--teal);
}

.about-headshot-lg i {
    font-size: 6rem;
    color: var(--grey);
}

.about-headshot-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1rem;
}

.about-team-section {
    padding: 4rem 0;
    background-color: var(--cream);
}

.about-team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--teal);
}

.about-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about-headshot {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--light-grey) 0%, #e9ecef 100%);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--dark-blue);
}

.about-headshot i {
    font-size: 4rem;
    color: var(--grey);
}

.about-headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.about-team-card p {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-headshot-lg {
        width: 180px;
        height: 180px;
    }

    .about-headshot-lg i {
        font-size: 5rem;
    }

    .about-headshot {
        width: 120px;
        height: 120px;
    }

    .about-headshot i {
        font-size: 3rem;
    }

    .about-team-section {
        padding: 3rem 0;
    }
}

/* Client Cards */
.client-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--teal);
}

.client-logo-placeholder {
    width: 140px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--light-grey) 0%, #e9ecef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--grey);
}

.client-logo {
    width: 140px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    padding: 0.5rem;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-logo-placeholder i {
    font-size: 2.5rem;
    color: var(--grey);
}

.client-card:hover .client-logo-placeholder {
    border-color: var(--teal);
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
}

.client-card:hover .client-logo-placeholder i {
    color: var(--teal);
}

.client-card h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.client-location {
    color: var(--grey);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.placeholder-card {
    opacity: 0.6;
    border-style: dashed;
}

.placeholder-card:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .client-card {
        padding: 1.5rem 1rem;
    }

    .client-logo-placeholder,
    .client-logo {
        width: 120px;
        height: 80px;
    }

    .client-logo-placeholder i {
        font-size: 2rem;
    }
}