/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
.header {
    width: 100%;
    height: 40vh;
    background-image: 
        linear-gradient(to right, rgba(61, 217, 82, 0.95), rgba(61, 217, 82, 0.95), rgba(61, 217, 82, 0.95)), 
        url(../images/banner.png);
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    overflow: hidden;
    position: relative;
    
}






/* Adjust header background and gradient on mobile */
@media (max-width: 500px) {
    .header {
        height: 400px; 
        background-position: center;
        background-size: cover; 
    }
}

@media (max-width: 500px) {
    .header {
        height: 300px; 
        background-size: cover; 
        background-position: center; 
    }
}

/* Header Section Styling */
.header-section {
    width: 100%;
    height: 40vh; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    position: relative;
    color: white;
    background-image: 
    linear-gradient(to right, rgba(61, 217, 82, 0.95), rgba(61, 217, 82, 0.95), rgba(61, 217, 82, 0.95)), 
    

    
}

/* Center the text and make the div responsive */
.center-div {
    width: 100%;
    max-width: 900px; /* Set max-width for larger screens */
    padding: 20px;
    margin: 0 auto;
    text-align: center;
    display: flex;
}

h1 {
    font-size: 48px;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.2;
    font-weight: bolder !important;
    margin: 0 auto;
    word-wrap: break-word; /* Ensures long text wraps */
    animation: fadeInUp 1s ease-out forwards; /* Animation applied here */
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px); /* Starts below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Ends in the normal position */
    }
}



/* Mobile Responsive Adjustments */
@media (max-width: 500px) {
    .header-section {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .center-div {
        width: 100%; /* Full width for mobile */
        max-width: none;
        padding: 20px;
    }

    h1 {
        font-size: 16px; /* Smaller font size on mobile */
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: px; /* Further reduction for smaller devices */
    }
}

/* Card Styling */
.card-container {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.card {
    width: 500px;
    background: white;
    display: flex;
    flex-direction: column;
    border-style: none !important;
    opacity: 0; /* Initially hidden */
    transform: translateY(100px); /* Start slightly below */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out
    
}

.navbar-nav .nav-link[href="features.html"] {
    font-weight: bold;
    color: #3DD952 !important; /* Make it green */
}




.card.in-view {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}

.card-content {
    padding: 15px;
    font-size: 16px;
    color: #333;
    word-wrap: break-word;
    max-width: 100%;
}

.card-content h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #222;
    font-weight: bold;
}

/* Responsive Design for Cards */
@media (max-width: 850px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

/* Additional Styling for Header Offer Section */
.header-offer {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.col-lg-4 img {
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Navbar Image Size Adjustments */
.navbar-brand img {
    height: 50px;
    width: auto;
    margin-right: 50px;
}

/* Adjust Navbar Image on Smaller Screens */
@media (max-width: 992px) {
    .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 500px) {
    .navbar-brand img {
        height: 40px;
    }
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0; /* Remove the margin from the last item */
}

.navbar-nav .nav-item .btn {
    background-color:#0D9920; /* Normal state background */
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.navbar-nav .nav-item .btn:hover {
    background-color:#3DD952; /* Hover state background */
    border: none;
    transform: scale(1.05); /* Slightly grow on hover */

}



/* Why Choose SIG Section start */



    .header-Whychoose {
        background: linear-gradient(to left, #32A7BF 50%, #590295 100%);
        padding: 60px 0;
        text-align: left;
    }
    
    .header-Whychoose .title h2 {
        font-size: 32px;
        margin-bottom: 40px;
        color: #fff;
    }
    
    .why-card {
        background: #fff;
        border-radius: 4px;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 200px;
    }
    

    @media (max-width: 600px) {
        .why-card {
            height: auto; /* Allow card to adjust its height based on content */
            min-height: 250px; /* Optional: set a minimum height for consistency */
        }
    }
    
    
    .why-card h4 {
        font-size: 24px;
        margin-bottom: 15px;
        color: #000;
    }
    
  .why-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    
    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

    
    



    /* *********************** Role Available at SIG Section ******************** */
    .role-available {
        background-color: #F5F5F5;
        padding: 50px 0;
    }
    
    .role-available .container {
        display: flex;
        flex-direction: column;
        align-items: left;
        width: 100%;
    }
    
    .role-available .title h2 {
        text-align: left;
        font-size: 32px;
        color: #000000;
        margin-bottom: 40px;
    }
    
    .role-available .card {
        width: 100%; /* This allows cards to stretch across container width */
        padding: 20px;
        margin-bottom: 30px;
        border-radius: 10px;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .role-available .card h4 {
        font-size: 18px;
        font-weight: bold;
        color: #000;
        margin-bottom: 15px;
    }
    
    .role-available .card p {
        font-size: 16px;
        color: #000;
        margin-bottom: 10px;
    }
    
    .role-available .card p strong {
        font-weight: bold;
    }
    
    .role-available .text-right {
        text-align: right;
    }
    
    .role-available .btn {
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        display: inline-block; /* Ensures the buttons are treated as inline elements */
        outline: none !important; /* Force outline removal */
        box-shadow: none !important; /* Remove box-shadow */
        border: none !important; /* Force no border */
    }
    
    /* Primary Button */
    .role-available .btn-primary {
        background-color: #D5D5D5;
        color: #000000;
        transition: background-color 0.3s ease;
    }
    
    /* Remove all focus, active, visited, and other states */
    .role-available .btn-primary:focus,
    .role-available .btn-primary:active,
    .role-available .btn-primary:focus-visible,
    .role-available .btn-primary:visited,
    .role-available .btn-primary:link {
        background-color: #D5D5D5 !important;
        color: #000000 !important;
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
        -webkit-focus-ring-color: transparent !important; /* For Webkit-based browsers */
    }
    
    /* Hover effect for primary button */
    .role-available .btn-primary:hover {
        background-color: #E4E4E4;
        color: #000000;
    }
    
    /* Secondary Button */
    .role-available .btn-secondary {
        background-color: #0D9920;
        color: white;
        transition: background-color 0.3s ease;
    }
    
    /* Remove all focus, active, visited, and other states */
    .role-available .btn-secondary:focus,
    .role-available .btn-secondary:active,
    .role-available .btn-secondary:focus-visible,
    .role-available .btn-secondary:visited,
    .role-available .btn-secondary:link {
        background-color: #0D9920 !important;
        color: white !important;
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
        -webkit-focus-ring-color: transparent !important; /* For Webkit-based browsers */
    }
    
    /* Hover effect for secondary button */
    .role-available .btn-secondary:hover {
        background-color: #3DD952;
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .role-available .card {
            width: 95%; /* Make it take more space on smaller screens */
        }
    
        .role-available .title h2 {
            font-size: 28px;
        }
    
        .role-available .card h4 {
            font-size: 20px;
        }
    
        .role-available .card p {
            font-size: 14px;
        }
    
        .role-available .btn {
            font-size: 12px;
            padding: 8px 15px;
        }
        
     
        
    }



        /* *********************** Get in touch Section ******************** */
        .get-in-touch {
            padding: 60px 0;
            background-image: url('../images/banner.png'), linear-gradient(to right, #D5365E, #590295); /* Image and Gradient */
            background-size: cover;
            background-position: center;
            background-blend-mode: multiply; /* Apply blend mode */
            color: #fff;
            position: relative;
        }
        
        .get-in-touch .container {
            max-width: 1150px;
            margin: 0 auto;
            
        }
        
        .get-in-touch .row {
            display: flex;
            flex-wrap: wrap;
        }
        
        .get-in-touch .col-md-6 {
            width: 50%;
            padding: 15px;
        }
        
        .get-in-touch .contact-info h2 {
            font-size: 32px;
            color: #fff;
            margin-bottom: 20px;
        }
        
        .get-in-touch .contact-info p {
            font-size: 16px;
            color: #fff;
        }
        
        .get-in-touch .contact-details p {
            font-size: 16px;
            color: #fff;
        }
        
        .get-in-touch .contact-details a {
            color: #fff;
            text-decoration: none;
        }
        
        .get-in-touch .contact-details a:hover {
            text-decoration: underline;
        }
        
        .get-in-touch .contact-form .form-group {
            margin-bottom: 20px;
        }
        
        .get-in-touch .contact-form label {
            font-size: 16px;
            color: #fff;
        }
        
        .get-in-touch .contact-form input,
        .get-in-touch .contact-form textarea {
            width: 100%;
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #ddd;
            background-color: #fff;
            color: #333;
        }
        
        .get-in-touch .contact-form button {
            width: 100%;
            padding: 12px 20px;
            background-color: #0D9920;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        
        .get-in-touch .contact-form button:hover {
            background-color: #3DD952;
        }
        
        @media (max-width: 768px) {
            .get-in-touch .col-md-6 {
                width: 100%;
                margin-bottom: 20px;
            }
        
            .get-in-touch .contact-info h2 {
                font-size: 28px;
            }
        
            .get-in-touch .contact-form label {
                font-size: 14px;
            }
        
            .get-in-touch .contact-form button {
                padding: 10px 15px;
            }
        }




        /* Footer Styles */
        .footer {
            background-color: #f1f1f1;
            color: #000;
            padding: 20px 0;
        }
        
        .footer-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #ccc;
            padding-bottom: 10px;
            margin-bottom: 10px;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 10px;
            font-size: 14px;
            color: #000;
            margin-top: 10px;  /* Add some space above */
        }
        




/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;  /* Hidden by default */
    background-color:#3DD952;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.1s ease;
    animation: pulse 2s infinite;

}

.back-to-top:hover {
    background-color: #3DD952;
    color: #fff;
}

/* Pulsing Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(61, 217, 82, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}


html {
    scroll-behavior: smooth;
}




/* Toast Message Styles */
.get-in-touch {
    padding: 50px 0;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.5;
}

.contact-details h4 {
    font-size: 20px;
    color: #ffffff;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Toast Message Styles */
#toast-message {
    visibility: hidden;
    min-width: 250px;
    background-color: #4caf50;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 15px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: visibility 0s, opacity 0.5s ease;
    opacity: 0;
}

#toast-message.show {
    visibility: visible;
    opacity: 1;
}



.header-welcome .row .col-md-6 h2 {
    margin-bottom: 1rem;  /* Space below heading */
}

.header-welcome .row .col-md-6 ul {
    margin-top: 0;       /* Remove extra space above list */
    padding-left: 1.2rem; /* Indent bullets slightly */
}



.image-cropper {
    height: 320px;      /* fixed height */
    overflow: hidden;   /* hide overflow, crop image */
    width: 100%;        /* full width of column */
    position: relative; /* needed for object-fit */
  }
  
  .cropped-image {
    height: 100%;       /* image fills container height */
    width: 100%;        /* image fills container width */
    object-fit: cover;  /* crop image to cover container */
    object-position: center; /* crop from center */
    display: block;     /* remove inline spacing */
  }
  

  .image-cropper-second {
    height: 450px; /* Set desired cropped height */
    overflow: hidden; /* Crop overflow */
    border-radius: 8px; /* Optional: maintain rounded corners */
}

.image-cropper-second img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills and crops nicely */
    object-position: center; /* Keep the focus in the center */
}


