@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #34495E; /* Darker text for better readability */
    background-color: #ECF0F1; /* Very light grey for general backgrounds */
}

main img {
    border: 1px solid #BDC3C7;
    background-color: #F8F9FA;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Header */
.navbar {
    border-bottom: 1px solid #BDC3C7; /* Subtle grey border */
    background-color: #FFFFFF; /* Keep navbar white for contrast */
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #2C3E50; /* Dark blue/charcoal for primary elements */
}

.nav-link {
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
    color: #34495E; /* Default nav link color */
    padding: 8px 15px; /* Default padding */
    border-radius: 5px; /* Slightly rounded corners */
}

.nav-link:hover {
    color: #FFFFFF; /* White text on hover */
    background-color: #3498DB; /* Accent blue background on hover */
    padding: 8px 20px; /* Slightly increased padding on hover */
}

/* Tab-oriented navigation styles */
.nav-tabs-custom .nav-item {
    margin: 0 5px;
}

.nav-tabs-custom .nav-link {
    border: 1px solid transparent;
    border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    color: #2C3E50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs-custom .nav-link.active,
.nav-tabs-custom .nav-link:hover {
    border-color: #BDC3C7 #BDC3C7 #FFFFFF;
    background-color: #FFFFFF;
    color: #3498DB;
}

.nav-tabs-custom .nav-link.active {
    border-bottom-color: transparent; /* Hide bottom border for active tab */
}

/* Hero Section for About Page */
.hero-section-about {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1507679799967-c9225375f5c2?auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
    height: 75vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Typing animation */
.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid orange; /* The caret */
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* The typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* The typewriter caret effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
}


/* Card Styles for Services, Process, Why Choose Us, Blog */
.card {
    border: 1px solid #BDC3C7; /* Subtle border */
    border-radius: 8px; /* Slightly rounded corners */
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,.08); /* Softer, more pronounced shadow */
    margin-bottom: 20px; /* Add some spacing between cards */
    background-color: #FFFFFF; /* White card background */
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0,0,0,.12); /* Enhanced shadow on hover */
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.card-text {
    color: #555;
}

/* Icons in cards */
.card-body i {
    font-size: 3rem;
    color: #3498DB; /* Accent blue for icons */
    margin-bottom: 15px;
}

/* Modern Form Styles */
.modern-form .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #BDC3C7;
    transition: all 0.3s ease;
}

.modern-form .form-control:focus {
    border-color: #3498DB;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.modern-form .btn-primary {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modern-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.modern-form label {
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

/* Contact Info Icons */
.contact-info i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #3498DB;
}


/* Sections */
section {
    padding: 40px 0;
}

section:nth-of-type(even) {
    background-color: #F8F9FA; /* Lighter background for alternating sections */
}

/* Testimonials Section */
#testimonials .card {
    background-color: #FFFFFF; /* Ensure testimonial cards are white */
}

/* Footer */
footer {
    border-top: 1px solid #BDC3C7; /* Subtle grey border */
    padding: 30px 0;
    background-color: #2C3E50; /* Dark blue footer */
    color: #ECF0F1; /* Light text in footer */
}

footer p {
    margin-bottom: 0;
}

/* Card Styles for Values Section */
.card.h-100.shadow-sm.border-0.rounded-3.p-4 {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Blog Post Styles */
.blog-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

#progress-bar {
    height: 5px;
    background-color: #3498DB;
    width: 0%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: width 0.2s ease-out;
}

.info-box {
    background-color: #F8F9FA;
    border-left: 5px solid #3498DB;
    padding: 20px;
    display: flex;
    align-items: center;
}

.info-box-icon {
    font-size: 2rem;
    color: #3498DB;
    margin-right: 20px;
}

.section-divider {
    border-top: 1px solid #BDC3C7;
}

.social-sharing-buttons a {
    margin: 0 5px;
}


.card.h-100.shadow-sm.border-0.rounded-3.p-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.blog-hero-main {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/blog_hero.jpg') no-repeat center center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-post {
    transition: transform 0.3s ease-in-out;
}

.blog-post:hover {
    transform: scale(1.05);
}


.card-body i {
    font-size: 4rem; /* Larger icons for impact */
    color: #3498DB; /* Accent blue for icons */
    margin-bottom: 1rem;
}

.card-title.fw-bold {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
}

.btn-orange {
    background-color: #E67E22;
    border-color: #E67E22;
    color: #fff;
}

.btn-orange:hover {
    background-color: #D35400;
    border-color: #D35400;
    color: #fff;
}
