/* --- Global Style & Brand Colors --- */
:root {
    --brand-red: #E74C3C;
    --brand-sky-blue: #3498DB;
    --brand-white: #FFFFFF;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
}

/* --- Navigation Bar --- */
.navbar {
    background-color: var(--brand-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}
.navbar .logo {
    max-height: 50px;
}
.navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--brand-red);
}
.navbar .btn-primary {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s;
}
.navbar .btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* --- Footer --- */
.footer-section {
    background-color: var(--text-dark);
    color: var(--brand-white);
    padding: 4rem 0 2rem 0;
}
.footer-section h5 {
    color: var(--brand-sky-blue);
    margin-bottom: 1rem;
}
.footer-section a.social-icon {
    color: var(--brand-white);
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.footer-section a.social-icon:hover {
    color: var(--brand-sky-blue);
}
/* --- Hero Section --- */
.hero-section {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.pexels.com/photos/271624/pexels-photo-271624.jpeg');
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    color: var(--brand-white);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0;
}
/* --- Global Section Styles --- */
.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}
.py-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.bg-light {
    background-color: var(--background-light) !important;
}

/* --- Services Section --- */
.service-card {
    background-color: var(--brand-white);
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 1.5rem;
}
.service-title {
    font-weight: 700;
    margin-bottom: 1rem;
}
.btn-outline-primary {
    border-color: var(--brand-red);
    color: var(--brand-red);
    border-radius: 50px;
    padding: 0.75rem 2rem;
}
.btn-outline-primary:hover {
    background-color: var(--brand-red);
    color: var(--brand-white);
    border-color: var(--brand-red);
}


/* --- Testimonials Section --- */
.testimonial-card {
    background: var(--brand-white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--brand-sky-blue);
    text-align: left;
    height: 100%;
}
.testimonial-quote {
    font-style: italic;
    color: var(--text-light);
}
.testimonial-client {
    font-weight: 700;
    text-align: right;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0;
}
/* --- About Us Snippet --- */
.about-snippet-section .text-start {
    text-align: left !important;
}
.about-snippet-section .section-subtitle {
    margin-left: 0;
    max-width: 100%;
}
.about-snippet-section img {
    border: 5px solid var(--brand-white);
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    background: linear-gradient(45deg, var(--brand-red), #c0392b);
    padding: 5rem 0;
    color: var(--brand-white);
}
.cta-title {
    font-weight: 700;
    font-size: 2.5rem;
}
.cta-subtitle {
    max-width: 600px;
    margin: 1rem auto 2rem auto;
    font-size: 1.1rem;
    opacity: 0.9;
}
.cta-section .btn-light {
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    font-weight: 700;
    color: var(--brand-red);
}

/* --- Page Header --- */
.page-header {
    background-color: var(--brand-sky-blue);
    padding: 3rem 0;
    text-align: center;
    color: var(--brand-white);
}

/* --- Team Section --- */
.team-card {
    background-color: var(--brand-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s;
}
.team-card:hover {
    transform: translateY(-5px);
}
.team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.team-info {
    padding: 1.5rem;
}
.team-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.team-title {
    color: var(--text-light);
    font-size: 0.9rem;
}
/* --- Portfolio Page --- */
.portfolio-section .btn-group .btn {
    border-radius: 0 !important;
}
.portfolio-section .btn-group .btn:first-child {
    border-top-left-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
}
.portfolio-section .btn-group .btn:last-child {
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}
.portfolio-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s;
}
.portfolio-card:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s;
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-info {
    color: var(--brand-white);
    transform: translateY(20px);
    transition: transform 0.4s;
}
.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}
.portfolio-title {
    font-weight: 700;
}
.portfolio-category {
    font-size: 0.9rem;
    opacity: 0.8;
}
/* --- Contact Page --- */
.contact-details p {
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.contact-details i {
    color: var(--brand-red);
    font-size: 1.2rem;
    width: 25px; /* Ensures text alignment */
}
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.contact-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.contact-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
    border-color: var(--brand-red);
}