html {
    font-size: 14px;
    overflow-x: hidden !important;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

:root {
    --primary-color: #1565C0;
    --accent-color: #FFA726;
    --light-bg: #FAFAFA;
    --text-color: #212121;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    overflow-x: hidden !important;
}

.navbar {
    background-color: var(--primary-color);
}

    .navbar .nav-link,
    .navbar-brand {
        color: #fff !important;
    }

        .navbar .nav-link:hover {
            color: var(--accent-color) !important;
        }
/*Start Carousel*/
#heroCarousel {
    margin-left: -20px;
    margin-right: -12px;
}

.carousel-img {
    height: 800px; /* or 350px, adjust as needed */
    width: 100%;
    object-fit: cover; /* ensures image fills without distortion */
}

@media (max-width: 768px) {
    .carousel-img {
        height: 250px;
    }
}

/* Optional: caption overlay dark gradient */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}
/* Slide-in animation */
@keyframes slideInUp {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-caption {
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    animation: slideInUp 1s ease forwards;
    opacity: 0; /* initial hidden */
}

.carousel-item.active .carousel-caption {
    opacity: 1;
}
.carousel-fade .carousel-item {
    transition: opacity 1.2s ease-in-out;
}
.carousel-indicators [data-bs-target] {
    background-color: #FFA726; /* Accent orange */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

.carousel-indicators .active {
    opacity: 1;
}
/*End Carousel*/

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
    }

h2, h3, h5 {
    color: var(--primary-color);
}

.card-title {
    color: var(--accent-color);
}

footer a {
    color: #FFA726;
    text-decoration: none;
}

    footer a:hover {
        text-decoration: underline;
    }


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    /*background-color: #25d366;*/
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        transition: 0.3s;
    }

/*Contact Form*/
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* softer flat shadow */
}

/* General flat style for all input fields */
.form-control,
.input-group-text {
    border: none;
    border-radius: 6px;
    box-shadow: none;
    color: #2C3E50;
    background-color: #F9FAFC;
}

/* Individual colors for each input */
#name {
    background-color: #FDEBD0;
}

#email {
    background-color: #FCF3CF;
}

#phone {
    background-color: #D5F5E3;
}

#subject {
    background-color: #D6EAF8;
}

#message {
    background-color: #F8F9F9;
}

/* Input group icons */
.input-group-text i {
    color: #7F8C8D;
}

/* Button styling */
.btn-primary {
    background-color: #E67E22;
    border: none;
    color: white;
}

    .btn-primary:hover {
        background-color: #D35400;
    }

/*Team Page*/
.card-img-top {
    max-height: 300px;
    object-fit: cover;
}

.team-card .social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #1565C0;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .team-card .social-links a:hover {
        color: #FFA726; /* Accent color on hover */
        transform: scale(1.2);
    }

.team-card .text-muted.small {
    font-size: 0.8rem; /* Previously 0.9rem */
    font-weight: 400;
    color: #777; /* Slightly softer */
    margin-bottom: 0.75rem;
}

footer a {
    color: #ffc107; /* flat yellow */
    text-decoration: none;
}

    footer a:hover {
        text-decoration: underline;
    }

/* Button Styling */
.btn-bluegreen {
    background-color: #2196f3; /* Flat Blue */
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    transition: background 0.3s ease;
}

    .btn-bluegreen:hover {
        background-color: #1e88e5;
        color: white;
    }

/* Modal Background */
.bg-light-subtle {
    background-color: #f8f9fa;
}

/* Flat Input with underline */
.material-input {
    position: relative;
}

.logmodhead{
    background-color:#3071a1;
}

#loginModalLabel{
    color:#bddaf2;
}

.flat-input {
    border: none;
    border-bottom: 2px solid #aacfeb;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none !important;
    padding-left: 0;
    font-size: 1rem;
    transition: all 0.3s;
}

    .flat-input:focus {
        border-color: #4c859f;
        outline: none;
    }

.underline {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #0D47A1;
    transition: 0.3s ease;
}

.flat-input:focus + .underline {
    width: 100%;
}

/* Toggle password icon */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 35px;
    cursor: pointer;
    color: #0D47A1;
    font-size: 1.2rem;
}

/* Flat Buttons */
.btn-flat {
    border: none !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    font-weight: 500;
    padding: 6px 16px;
    transition: background-color 0.3s ease;
}

    .btn-flat.btn-outline-dark {
        background-color: transparent;
        color: #333;
        border: 1px solid #aaa !important;
    }

        .btn-flat.btn-outline-dark:hover {
            background-color: #f1f1f1;
        }

    .btn-flat.btn-primary {
        background-color: #0D47A1;
    }

        .btn-flat.btn-primary:hover {
            background-color: #093170;
        }


.underline {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #0D47A1;
    transition: 0.3s ease;
}

.flat-input:focus + .underline {
    width: 100%;
}



