/* General Reset */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Header and Video */
#header {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #85ABD9, );
}

.container {
    padding: 0px;
    position: relative;
    z-index: 1;
}

.navbar-brand {
    display: inline-block;
    text-decoration: none;
}

.brand-text {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Navbar */
.btn-primary {
    color: #ffffff;
    background-color: #ff5700;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #000e79;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::after {
    content: '';
    width: 0;
    height: 3px;
    background: #000e79 !important;
    position: absolute;
    left: 0;
    margin-left: 10px;
    bottom: 0px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #000e79 !important;
}

.nav-link:hover::after {
    width: 90%;
}

.header {
    margin-top: 15%;
    font-size: 30px;
}

/* Navbar Button */
.btn-primary {
    color: #ffffff;
    background-color: #ff5700 !important;
    border: none;
    margin-left: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #000e79 !important;
}

/* Sidebar styles for small screens */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        width: 250px;
        height: 100%;
        background: linear-gradient(to bottom, #85ABD9, #c1def3);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        z-index: 1050;
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar ul {
        padding: 20px 0;
        list-style: none;
    }

    .sidebar ul li {
        padding: 15px;
        border-bottom: 1px solid #ddd;
    }

    .sidebar ul li a {
        text-decoration: none;
        color: #000e79;
        font-size: 18px;
        display: flex;
        align-items: center;
    }

    .sidebar ul li a i {
        margin-right: 10px;
    }

    .close-btn {
        font-size: 24px;
        position: absolute;
        right: 15px;
        top: 15px;
        cursor: pointer;
    }
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .brand-text {
        font-size: 20px;
        letter-spacing: 1.5px;
        text-shadow: none;
        transform: none;
    }

    .navbar-brand:hover .brand-text {
        transform: none;
        text-shadow: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .navbar-toggler {
        margin-right: 40px;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }

    .brand-text {
        font-size: 20px;
        letter-spacing: 1.5px;
        margin-left: 30px;
        text-shadow: none;
        transform: none;
    }

    .navbar-brand:hover .brand-text {
        transform: none;
        text-shadow: none;
    }

    .quote-container h1 {
        font-size: 2rem;
    }

    #header {
        height: 120px;
    }

}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn-primary {
        padding: 8px 16px;
    }

    .quote-container h1 {
        font-size: 1.5rem;
    }
}

/*------------------------------------------------------------- Feedback Form --------------------------------------------------*/

:root {
    --primary: #4f94d4;
    --primary-dark: #3777b7;
    --primary-light: #73a5d8;
    --primary-lighter: #a4caef;
    --primary-lightest: #e6f0fa;
    --success: #22c55e;
    --success-light: #dcfce7;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-500: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

body {
    background: linear-gradient(to bottom, #4f94d4, #73a5d8, #a4caef);
}

.feedbackcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback-form,
.thank-you-message {
    max-width: 500px;
    width: 100%;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    margin: 0 20px;
}

.feedback-form:hover,
.thank-you-message:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
    margin-bottom: 1.5rem;
}

.rating-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rating-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.rating-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s ease;
    background-position: center;
    user-select: none;
}

.rating-button:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: scale(1.05);
    background: radial-gradient(circle, transparent 1%, rgba(243, 244, 246, 1) 1%) center/15000%;
}

.rating-button:active {
    transform: scale(0.95);
    background-color: rgba(229, 231, 235, 1);
    background-size: 100%;
    transition: background 0s;
}

.rating-button.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
    transform: scale(1.05);
}

.rating-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-position: center;
    background-size: 100%;
}

.form-control:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(79, 148, 212, 0.2);
    transform: scale(1.01);
}

textarea.form-control {
    min-height: 100px;
    resize: none;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background-position: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    background-color: var(--primary-dark);
    transition: background 0s;
}

.btn-primary .icon {
    transition: transform 0.2s ease;
}

.btn-primary:hover .icon {
    transform: translateX(3px);
}

/* Feedback-form footer (kept as-is) */
.footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.brand {
    font-weight: 600;
}

/* Thank you message styling */
.thank-you-message {
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--success-light);
    border-radius: 50%;
    color: var(--success);
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.thank-you-message h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.thank-you-message p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.center-button {
    display: flex;
    justify-content: center;
}

.center-button .btn-primary {
    width: auto;
    min-width: 200px;
}

/* Animations */
.pulse {
    animation: pulse 0.5s ease-in-out;
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.loading {
    position: relative;
}

.spinner {
    animation: rotate 1s linear infinite;
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
}

.spinner circle {
    stroke-dasharray: 60, 150;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Ripple effect for buttons */
.rating-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--primary-lightest) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .3s, opacity .5s;
}

.rating-button:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/* Media Queries */
@media (max-width: 640px) {

    .feedback-form,
    .thank-you-message {
        padding: 1.5rem;
    }

    .rating-button {
        width: 2.25rem;
        height: 2.25rem;
    }

    h2 {
        font-size: 1.1rem;
    }
}

/*------------------------------------------------------------- Footer--------------------------------------------------*/
.footer {
    background-color: #111;
    color: #fff;
    padding: 50px 20px;
    position: relative;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-contact h4 {
    color: #a4c2ff;
    margin-top: -7px;
    font-size: 30px;
}

.footer-contact p {
    margin-left: 5px;
    color: #fff;
}

.footer-logo {
    flex: 1;
    margin-right: 100px;
    align-items: center;
    gap: 0;
}

.footer-logo img {
    max-width: 250px;
    margin: 0;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px !important;
    margin: 0;
}

.footer-logo span {
    font-size: 13px;
    color: #999;
}

.footer-links {
    flex: 1;
    margin: 0 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

/* Updated Social Icons Styles with outline border and border-radius */
.social-icons a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #ffffff;
    border-radius: 50%;
    padding: 8px;
}

.social-icons a:hover {
    color: #f60;
    border-color: #f60;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .footer-links,
    .footer-newsletter,
    .footer-contact {
        flex: 1 1 100%;
        margin: 20px 0;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto;
        max-width: 180px;
    }

    .footer-logo p,
    .footer-logo span,
    .footer-links ul li a {
        font-size: 12px;
    }

    .footer-contact h4 {
        font-size: 24px;
    }

    .footer-contact p {
        font-size: 14px;
        margin-left: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 10px;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto;
        max-width: 180px;
    }

    .footer-logo p,
    .footer-logo span,
    .footer-links ul li a {
        font-size: 11px;
    }

    .footer-contact h4 {
        font-size: 20px;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .social-icons a {
        font-size: 16px;
    }
}

/* --- Additional Enhancements --- */

/* Add a subtle gradient overlay and shadow to the footer */
.footer {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* Smooth transition for all links in footer-links */
.footer-links ul li a {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links ul li a:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Add a hover scale effect to the footer logo image */
.footer-logo img {
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

/* Enhance footer headings with a text shadow */
.footer-contact h4,
.footer-links h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

