/* css/style.css */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #0a2463;
    --growth-green: #2e8b57;
    --light-blue: #3e78b2;
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --medium-grey: #e9ecef;
    --dark-grey: #343a40;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--deep-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--growth-green);
    letter-spacing: 1px;
}

.navbar-nav .nav-item {
    margin: 0 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-grey);
    position: relative;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--deep-blue);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--growth-green);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary {
    background-color: var(--growth-green);
    border-color: var(--growth-green);
    color: var(--white);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #267347;
    border-color: #267347;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.2);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #1a365d 100%);
    color: var(--white);
    padding: 5rem 0;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--growth-green);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 90%;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image-container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--growth-green);
    transition: var(--transition);
}

.hero-stat:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.hero-stat h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.hero-stat p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Section Common Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--growth-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-grey) !important;
}

/* Introduction Section */
.section-intro {
    padding: 5rem 0;
}

/* Services Cards */
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--growth-green);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--growth-green);
    font-size: 1.8rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--growth-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Mission & Vision */
.section-mission {
    padding: 5rem 0;
    /* background: linear-gradient(to right, var(--light-grey) 50%, var(--white) 50%); */
}

.mission-card, .vision-card {
    padding: 3rem;
    border-radius: 10px;
    height: 100%;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
}

.mission-card {
    /* background-color: var(--white); */
    border-left: 5px solid var(--deep-blue);
}

.vision-card {
    /* background-color: var(--white); */
    border-left: 5px solid var(--growth-green);
}

.mission-title, .vision-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.mission-title i, .vision-title i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.mission-title i {
    color: var(--deep-blue);
}

.vision-title i {
    color: var(--growth-green);
}

.mission-text, .vision-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Values */
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.value-icon.integrity {
    background-color: var(--deep-blue);
}

.value-icon.trust {
    background-color: #0d6efd;
}

.value-icon.transparency {
    background-color: #6f42c1;
}

.value-icon.growth {
    background-color: var(--growth-green);
}

.value-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-description {
    color: var(--dark-grey);
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--deep-blue) 0%, #1a365d 100%);
    color: var(--white);
    padding: 4rem 0;
}

.cta-title {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 90%;
}

.btn-light {
    background-color: var(--white);
    color: var(--deep-blue);
    font-weight: 600;
}

.btn-light:hover {
    background-color: var(--light-grey);
    color: var(--deep-blue);
}

/* Footer */
.footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-company-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-tagline {
    color: var(--growth-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-description {
    opacity: 0.8;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--growth-green);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--growth-green);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--growth-green);
    margin-top: 0.2rem;
}

.footer-address {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    opacity: 0.8;
}

.copyright a {
    color: var(--growth-green);
    font-weight: 500;
}

.copyright a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    max-width: 500px;
    margin-left: auto;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-mission {
        background: var(--light-grey);
    }
    
    .mission-card, .vision-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .ms-3 {
        margin-left: 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .cta-text {
        text-align: center;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-section {
        font-size: 1.8rem;
        
    }
    
    .hero-stat h3 {
        font-size: 1.5rem;
    }
    
    .service-card, .mission-card, .vision-card {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these to the existing style.css file */

/* Page-specific hero sections */
.hero-about, .hero-services, .hero-approach, .hero-contact, .hero-calculators {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(26, 54, 93, 0.9) 100%);
    color: var(--white);
    padding: 6rem 0 3rem;
    position: relative;
}

.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--growth-green);
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive adjustments for all pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
}

/* Additional utility classes */
.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-grey);
}

.text-primary {
    color: var(--deep-blue) !important;
}

.text-success {
    color: var(--growth-green) !important;
}

.bg-primary {
    background-color: var(--deep-blue) !important;
}

.bg-success {
    background-color: var(--growth-green) !important;
}

.btn-outline-primary {
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.btn-outline-primary:hover {
    background-color: var(--deep-blue);
    border-color: var(--deep-blue);
    color: var(--white);
}