/* FILE: assets/css/mywebsite-style.css */



/* 1. Color Palette & Fonts */

:root {

    --primary-color: #0d6efd;  /* Professional Bootstrap Blue */

    --secondary-color: #f8f9fa; /* Light Gray Background */

    --text-color: #212529;      /* Dark Charcoal for Text */

    --heading-font: 'Poppins', sans-serif;

    --body-font: 'Arial', sans-serif;

}



/* 2. General Body Styles */

body {

    font-family: var(--body-font);

    color: var(--text-color);

    background-color: #ffffff; /* Clean white background */

    line-height: 1.6;

}



h1, h2, h3, h4, h5, h6 {

    font-family: var(--heading-font);

    font-weight: 700; /* Bold headings */

}



/* =================================

3. HEADER & NAVIGATION STYLING (MERGED & FIXED)

=================================

*/

.main-header {

    background-color: #ffffff;

    border-bottom: 1px solid #dee2e6;

    position: sticky;

    top: 0;

    z-index: 1020;

}



/* Fixes the main header layout to be horizontal */

.main-header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



/* Fixes the Logo (Image + Text) layout */

.logo a {

    display: flex;

    align-items: center;

    text-decoration: none;

}

.logo a:hover {

    text-decoration: none;

}

.navbar-logo {

    height: 40px;

    width: auto;

    margin-right: 10px;

}

.logo-text {

    font-family: var(--heading-font);

    font-size: 1.25rem;

    font-weight: 700;

    color: var(--text-color);

}



/* Fixes the Navigation Menu layout */

.main-nav .nav {

    display: flex;

    flex-direction: row; /* Forces links into one line */

    flex-wrap: nowrap; /* <-- THIS STOPS 'CONTACT' FROM WRAPPING */

    align-items: center;

}



/* Beautifies the nav links */

.main-header .nav-link {

    color: #495057;

    font-weight: 500;

    transition: color 0.3s ease;



    font-family: var(--heading-font); /* Use Poppins font */

    text-transform: uppercase;

    font-size: 0.9rem;

    letter-spacing: 0.5px;

    padding: 0.8rem 1rem;

}



.main-header .nav-link:hover {

    color: var(--primary-color);

}





/* 4. Main Content & Card Styling */

main {

    padding-top: 2rem;

    padding-bottom: 2rem;

}



.section-bg {

    background-color: var(--secondary-color);

    border-top: 1px solid #dee2e6;

    border-bottom: 1px solid #dee2e6;

}



.card {

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.card:hover {

    transform: translateY(-5px); /* Lift card on hover */

    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; /* Deeper shadow on hover */

}



/* 5. Button Styling */

.btn-primary {

    background-color: var(--primary-color);

    border-color: var(--primary-color);

    transition: background-color 0.3s ease, border-color 0.3s ease;

    font-weight: 500;

    padding: 0.75rem 1.5rem;

}



.btn-primary:hover {

    background-color: #0b5ed7; /* Darker blue on hover */

    border-color: #0a58ca;

}



/* 6. Footer Styling */

.main-footer {

    background-color: #343a40; /* Dark background for footer */

    color: #f8f9fa; /* Light text on dark background */

    padding-top: 3rem;

    padding-bottom: 3rem;

    margin-top: 2rem;

}



.main-footer a {

    color: #adb5bd;

    text-decoration: none;

    transition: color 0.3s ease;

}



.main-footer a:hover {

    color: #ffffff;

}

/*

=================================

Widescreen Carousel Style

=================================

*/



#adCarousel .carousel-item {

    height: 260px;

    overflow: hidden;

}



#adCarousel .carousel-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}

/* 7. Carousel Image Sizing */



.carousel-inner .carousel-item {

  height: 450px;

  background-color: #555;

}



.carousel-inner .carousel-item img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}

/* 8. Floating WhatsApp Button */



.whatsapp-fl {

    position: fixed;

    bottom: 25px;

    right: 25px;

    width: 60px;

    height: 60px;

    background-color: #25D366;

    color: #FFF;

    border-radius: 50%;

    text-align: center;

    font-size: 28px;

    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);

    z-index: 1000;

    display: flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;

    transition: transform 0.3s ease;

}



.whatsapp-fl:hover {

    transform: scale(1.1);

    color: #FFF;

}

/* 9. Social Media Icons in Footer */



.social-icon {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background-color: #495057;

    color: #fff;

    font-size: 18px;

    text-decoration: none;

    transition: background-color 0.3s ease, transform 0.3s ease;

}



.social-icon:hover {

    background-color: var(--primary-color);

    transform: translateY(-3px);

    color: #fff;

}

/* 10. About Page - Team Member Image Sizing */



.team-section .team-member img {

    width: 120px;

    height: 120px;

    object-fit: cover;

}

/* 11. About Page - Mission Section Image Sizing */



.about-mission-img {

    max-height: 400px;

    width: 100%;

    object-fit: cover;

}

/* 12. Portfolio Page Styling */



.portfolio-item {

    position: relative;

    overflow: hidden;

    border-radius: 0.25rem;

}



.portfolio-item img {

    width: 100%;

    height: 250px;

    object-fit: cover;

    transition: transform 0.4s ease;

}



.portfolio-item:hover img {

    transform: scale(1.1);

}



.portfolio-info {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);

    color: #fff;

    padding: 2.5rem 1.5rem 1.5rem 1.5rem;

    text-align: left;

    opacity: 1;

    transition: opacity 0.4s ease;

}



.portfolio-item .btn {

    position: absolute;

    top: 20px;

    right: 20px;

    opacity: 0;

    transform: translateY(10px);

    transition: opacity 0.4s ease, transform 0.4s ease;

}



.portfolio-item:hover .btn {

    opacity: 1;

    transform: translateY(0);

}



.portfolio-info h5 {

    font-weight: 700;

}

/* 13. Single Blog Post Image Styling */



.blog-post-image {

    max-height: 400px !important;

    width: 100% !important;

    object-fit: cover;

    display: block;

    margin-left: auto;

    margin-right: auto;

}

/* 16. Responsive Header & Hamburger Menu */



.nav-toggle {

    display: none; /* Hidden on desktop */

    background: none;

    border: none;

    font-size: 1.5rem;

    cursor: pointer;

    color: var(--primary-color);

    z-index: 1001;

}



/* --- Mobile View (< 992px) --- */

@media (max-width: 991.98px) {

    .main-header .logo a {

        font-size: 1.2rem;

    }

    .logo-text {

        font-size: 1.1rem;

    }

    .navbar-logo {

        height: 35px;

    }



    .nav-toggle {

        display: block; /* Show hamburger button */

    }



    .main-nav {

        display: none;

        position: absolute;

        top: 65px;

        left: 0;

        width: 35%;

        background-color: #343a40;

        box-shadow: 0 4px 8px rgba(0,0,0,0.1);

        z-index: 1000;

    }



    .main-nav.is-active {

        display: block;

    }



    .main-nav .nav {

        flex-direction: column; /* Stack nav links vertically */

        padding: 0.5rem 0;

        flex-wrap: wrap; /* Allow wrapping on mobile */

    }



    .main-nav .nav-item {

        width: 100%;

        text-align: center;

    }



    .main-nav .nav-link {

        padding: 0.8rem 1rem;

        display: block;

        border-bottom: 1px solid #495057;
        color: #f8f9fa; /* <-- NEW: Light text color */
    }



    .main-nav .nav-item:last-child .nav-link {

        border-bottom: none;

    }

}

/* 17. Project Carousel Styling */

#projectCarousel .carousel-item {

    height: 250px;

}



#projectCarousel .carousel-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



#projectCarousel .carousel-caption {

    background-color: rgba(0, 0, 0, 0.5);

    border-radius: 0.25rem;

    padding: 0.5rem 1rem;

}

/* =======================================================

   --- 18. NEW ISP PRICING CARD STYLES (Beautified) ---

   ======================================================= */



.pricing-card {

    background: #ffffff;

    border: 1px solid #e9ecef;

    border-radius: 10px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);

    padding: 30px;

    text-align: center;

    transition: all 0.3s ease;

    height: 100%;

    display: flex;

    flex-direction: column;

    position: relative; /* Needed for the ribbon */

    overflow: hidden; /* Hides the ribbon overflow */

}



.pricing-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}



.pricing-card .card-header {

    padding-bottom: 20px;

    margin-bottom: 20px;

    border-bottom: 1px solid #e9ecef;

    background: none; /* Ensure no bg */

}



.pricing-card .card-header h3 {

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--primary-color); /* Changed to primary color */

    margin: 0;

}



.pricing-card .card-header h3 small {

    font-size: 1rem;

    color: #6c757d;

    font-weight: 400;

}



.pricing-card .feature-list {

    list-style: none;

    padding: 0;

    margin: 0 0 30px 0;

    text-align: left;

    flex-grow: 1; /* Pushes the button to the bottom */

}



.pricing-card .feature-list li {

    margin-bottom: 15px;

    color: #495057;

    display: flex;

    align-items: center;

}



.pricing-card .feature-list .fa-check {

    color: #28a745; /* Green checkmark */

    margin-right: 10px;

}



.pricing-card .btn-get-started {

    background-color: var(--primary-color); /* Changed to primary color */

    color: #ffffff;

    border: none;

    border-radius: 50px; /* Modern pill shape */

    padding: 12px 25px;

    text-decoration: none;

    font-weight: 600;

    transition: background-color 0.3s ease;

    display: inline-block;

    margin-top: auto; /* Stays at the bottom */

    text-transform: uppercase;

    letter-spacing: 0.5px;

}



.pricing-card .btn-get-started:hover {

    background-color: #0b5ed7; /* Darker blue on hover */

    color: #ffffff;

}



/* --- Featured Card Styling --- */

.pricing-card.featured {

    border: 2px solid var(--primary-color);

    transform: scale(1.03); /* Makes it "pop" */

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}



.pricing-card .best-value-tag {

    position: absolute;

    top: 15px;

    right: -30px; /* Moves ribbon outside the card */

    background-color: #ffc107; /* Bootstrap yellow */

    color: #212529;

    padding: 5px 30px;

    font-size: 0.9rem;

    font-weight: 700;

    transform: rotate(45deg); /* Creates the angle */

    box-shadow: 0 2px 5px rgba(0,0,0,0.2);

}



.pricing-card.featured .btn-get-started {

    background-color: var(--primary-color);

}



.pricing-card.featured .btn-get-started:hover {

    background-color: #0b5ed7;

}
