@font-face {
    font-family: 'Blanka';
    src: url('font/Blanka-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Custom styles for the header */
:root {
    --primary-color: #f8f9fa;
    /* Light gray - 60% */
    --secondary-color: #343a40;
    /* Dark gray - 30% */
    --accent-color: #000000;
    /* Black - 10% */
}

body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    padding-top: 56px;
    /* Add padding to body to account for fixed header */
}

.navbar {
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px 0px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar.scrolled {
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Ensure vertical alignment */
.navbar-brand {
    position: relative;
    font-weight: 700;
    color: var(--accent-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Consistent spacing */
}

.navbar-brand .logo-text {
    font-family: 'Blanka', sans-serif;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(0);
    /* Remove vertical offset */
    animation: fadeIn 0.5s ease forwards 0.2s;
    line-height: 1;
    /* Improves vertical alignment */
    margin: 0;
    /* Remove any default margins */
    padding: 0;
    /* Remove any default padding */
}

.navbar-brand .logo-img {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.5s ease forwards;
}

.navbar-brand .logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
    /* Helps with alignment */
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.nav-item:nth-child(1) .nav-link {
    animation: fadeInUp 0.5s ease forwards 0.3s;
}

.nav-item:nth-child(2) .nav-link {
    animation: fadeInUp 0.5s ease forwards 0.4s;
}

.nav-item:nth-child(3) .nav-link {
    animation: fadeInUp 0.5s ease forwards 0.5s;
}

.nav-item:nth-child(4) .nav-link {
    animation: fadeInUp 0.5s ease forwards 0.6s;
}

.nav-item:nth-child(5) .nav-link {
    animation: fadeInUp 0.5s ease forwards 0.7s;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link:focus:after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    outline: none !important;
}

.navbar-toggler-icon {
    width: 24px;
    height: 17px;
    position: relative;
    margin: 10px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.navbar-toggler-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.navbar-toggler-icon span:nth-child(1) {
    top: 0px;
}

.navbar-toggler-icon span:nth-child(2),
.navbar-toggler-icon span:nth-child(3) {
    top: 7px;
}

.navbar-toggler-icon span:nth-child(4) {
    top: 14px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
    top: 7px;
    width: 0%;
    left: 50%;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
    transform: rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(4) {
    top: 7px;
    width: 0%;
    left: 50%;
}

/* Removed hero-related styles as requested */

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
    transform: translateX(5px);
}

.cta-btn {
    background-color: var(--accent-color);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease !important;
    animation: fadeInUp 0.5s ease forwards 0.8s !important;
    opacity: 0;
    transform: translateY(10px);
}

.cta-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background-color: #222 !important;
}

.cta-btn:after {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0;
        transform: translate(-100%, -100%) rotate(25deg);
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translate(100%, 100%) rotate(25deg);
    }
}

/* Removed waterDrop animation keyframes as they're no longer needed */

/* Media Queries */
/* Added styles for better symmetry */
.navbar .container {
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    /* Removed hero-related media queries */
}

/* Footer */
/* Footer Styles */
.footer {
    /* position: relative; */
    background-color: var(--secondary-color);
    color: var(--primary-color);
    overflow: hidden;
    /* margin-top: 100px; */
}

.footer-top {
    position: relative;
    padding: 80px 0 40px;
    z-index: 3;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.footer-info p {
    color: rgba(248, 249, 250, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.1s;
}

.social-links {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.2s;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(248, 249, 250, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.social-icon:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.social-icon:hover:after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.footer h4 {
    position: relative;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.3s;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.5s ease;
}

.footer-links:hover h4:after,
.footer-contact:hover h4:after {
    width: 60px;
}

.footer-links {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.4s;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 12px;
}

.footer-links li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(248, 249, 250, 0.5);
    transition: all 0.3s ease;
}

.footer-links li:hover:before {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.footer-links a {
    color: rgba(248, 249, 250, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.5s;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(248, 249, 250, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 3px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: rotate(360deg);
}

.contact-item p {
    margin: 0;
    color: rgba(248, 249, 250, 0.8);
    font-size: 14px;
    line-height: 1.6;
}



.footer-bottom {
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    z-index: 3;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(248, 249, 250, 0.7);
}

.copyright span {
    font-weight: 600;
    color: var(--primary-color);
}

.powered-by {
    position: relative;
    margin-left: 15px;
    padding-left: 15px;
    display: inline-block;
    animation: fadeInRight 0.5s ease forwards;
}

.powered-by:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 12px;
    width: 1px;
    background-color: rgba(248, 249, 250, 0.4);
    transform: translateY(-50%);
}

.powered-by strong {
    background: linear-gradient(to right, var(--primary-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    transition: all 0.3s ease;
}

.powered-by strong:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.powered-by:hover strong:after {
    width: 100%;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom-links li {
    position: relative;
    margin-left: 20px;
}

.footer-bottom-links li:not(:last-child):after {
    content: '•';
    position: absolute;
    right: -12px;
    top: 0;
    color: rgba(248, 249, 250, 0.4);
}

.footer-bottom-links a {
    color: rgba(248, 249, 250, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Water Wave Animation */
.footer-waves {
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.waves {
    position: relative;
    width: 100%;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
}

.parallax>use {
    animation: moveForever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

/* Water Droplet Animation */
.water-drops {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.drop {
    position: absolute;
    background: rgba(248, 249, 250, 0.1);
    border-radius: 50%;
    transform-origin: center bottom;
    animation: dropFall linear infinite, dropSway ease-in-out infinite alternate;
}

.drop-1 {
    width: 20px;
    height: 20px;
    top: -20px;
    left: 10%;
    animation-duration: 3s, 2s;
}

.drop-2 {
    width: 15px;
    height: 15px;
    top: -15px;
    left: 30%;
    animation-duration: 4s, 3s;
    animation-delay: 1s, 0.5s;
}

.drop-3 {
    width: 25px;
    height: 25px;
    top: -25px;
    left: 60%;
    animation-duration: 3.5s, 2.5s;
    animation-delay: 0.5s, 1s;
}

.drop-4 {
    width: 10px;
    height: 10px;
    top: -10px;
    left: 80%;
    animation-duration: 2.5s, 3.5s;
    animation-delay: 1.5s, 0.2s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveForever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@keyframes dropFall {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(800px) scale(0.5);
        opacity: 0;
    }
}

@keyframes dropSway {
    0% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(10px);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .footer-top {
        padding: 60px 0 30px;
    }

    .footer-waves {
        top: -15px;
    }

    .waves {
        height: 20px;
        min-height: 20px;
        max-height: 20px;
    }
}

@media (max-width: 767.98px) {
    .footer h4 {
        margin-top: 25px;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .footer-bottom-links li {
        margin-left: 0;
        margin-right: 20px;
    }

    .footer-bottom-links li:not(:last-child):after {
        right: -12px;
    }
}

@media (max-width: 575.98px) {
    .footer-logo {
        justify-content: center;
    }

    .footer-info p {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer h4 {
        text-align: center;
    }

    .footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links li {
        text-align: center;
    }

    .footer-links li:before {
        display: none;
    }

    .contact-item {
        justify-content: center;
    }

    .subscribe-form h5 {
        text-align: center;
    }

    .copyright,
    .footer-bottom-links {
        text-align: center;
        justify-content: center;
    }

    .footer-bottom-links li {
        margin: 0 10px;
    }
}