/* Variables */
:root {
    --primary-color: #6ec1e4;
    --primary-hover: #96e9ff;
    --secondary-color: #155176;
    --footer-bg: #155176;
    --footer-bottom-bg: #155176;
    --text-muted: #666;
    --section-header: #717171;
    --border-color: #ddd;
    --secondary-bg-color: #f5f5f5;
}

@font-face {
    font-family:'Montserrat Thin';
    url('fonts/Montserrat-Thin.woff2') format('woff2'),
    url('fonts/Montserrat-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-var.woff2') format('woff2'),
    url('fonts/inter-var.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-var-italic.woff2') format('woff2'),
    url('fonts/inter-var-italic.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
}

body {
    font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

h2 {
    font-family: "Montserrat Thin", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 35px;
    font-weight: 700;
    font-style: normal;
    color: #000;
}

a {
    overflow-wrap: break-word;
}

:target {
    scroll-margin-block: 5ex;
}

.btn:hover {
    border-color: #6ec1e4;
    background-color: #6ec1e4;
}

.icon-blue {
    color: #6ec1e4;
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.navbar-brand img {
    width: 177px;
    max-width: 100%;
    height: 76px;
    object-fit: contain;
    object-position: center center;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    text-align: center;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    text-align: center;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0;
}

.dropdown-menu.show {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 300px;
    text-wrap: wrap;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px - 400px); /* Adjust based on header and footer height */
}

/* Footer Styles */
.main-footer {
    background-color: var(--footer-bg);
    color: white;
}

.footer-top {
    background-color: var(--footer-bg);
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
}

.footer-logo {
    max-height: 50px;
    width: auto;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer Bottom Links */
.footer-bottom-links {
    display: flex;
    flex-direction: row;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .list-inline-item:not(:last-child)::after {
    content: "|";
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
}

.btn-secondary {
    border: solid var(--secondary-color) 1px;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
}

.btn-no-background {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    background-color: #FFFFFF00;
    font-family: "Inter", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    fill: #000;
    color: #000;
    padding: 0;
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.header-title-container {
  background: rgba(255,255,255,.2) !important;
  backdrop-filter: blur(31.5px) !important;
  -webkit-backdrop-filter: blur(31.5px);
  max-width: 55%;
  width: fit-content;
  padding: 20px 30px !important;
  min-height: 0 !important;
  max-height: initial !important;
  border-radius: 20px;
  text-align: left;
}

.header-title-container > h1 {
    font-family: "Inter", Sans-serif;
    font-size: 56px;
    font-weight: 700;
    text-transform: capitalize;
    font-style: normal;
    line-height: 54.613px;
    text-shadow: 0px 0px 10px rgba(10.200000000000001, 10.200000000000001, 10.200000000000001, .3);
    color: #fff;
}

.header-title-container > h2 {
    font-family: "Arial", Sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 19px;
    color: #fff;
}

.header-title-container > p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }

    .footer-bottom-links {
        text-align: center !important;
        margin-top: 1rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .header-title-container {
        max-width: none;
        width: -webkit-fill-available;
        text-align: center;
    }

    .header-title-container h1 {
        font-size: 25px;
        line-height: normal;
    }

    .header-title-container p {
        font-size: 16px;
    }
}


/* 5 Good Reasons Section Enhanced Styles */
.reasons-section {
    position: relative;
    background: var(--secondary-color);
    padding: 150px 0;
    overflow: hidden;
}

/* Wave borders */
.wave-top, .wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 10;
    overflow: hidden;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
}

.wave-top svg, .wave-bottom svg {
    width: 100%;
    height: 100%;
}

/* Container and header */
.reasons-section .container {
    position: relative;
    z-index: 5;
}

.reasons-section .section-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reasons-section .section-header h2 {
    color: #fff;
}

/* Visual container */
.reasons-visual {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: visible;
}

/* SVG for connecting line and dots */
.connecting-svg {
    width: 100vw;
    height: 400px;
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    min-width: 100vw;
}

/* Reasons grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
    padding-top: 120px;
    max-width: 1405px;
    margin: 0 auto;
}

/* Individual reason items */
.reason-item {
    text-align: center;
    position: relative;
}

/* Position items to match the wavy line */
.reason-item:nth-child(1) { transform: translateY(-15px); }
.reason-item:nth-child(2) { transform: translateY(-20px); }
.reason-item:nth-child(3) { transform: translateY(5px); }
.reason-item:nth-child(4) { transform: translateY(25px); }
.reason-item:nth-child(5) { transform: translateY(20px); }

/* Number styling */
.reason-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Text styling */
.reason-text {
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 26px;
    color: #fff;
}

/* Optional: Also scale the entire reason item on hover */
.reason-item {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(var(--hover-y, 0)) scale(1.05);
}

/* Maintain vertical positioning on hover */
.reason-item:nth-child(1) {
    transform: translateY(-15px);
    --hover-y: -15px;
}
.reason-item:nth-child(2) {
    transform: translateY(-20px);
    --hover-y: -20px;
}
.reason-item:nth-child(3) {
    transform: translateY(5px);
    --hover-y: 5px;
}
.reason-item:nth-child(4) {
    transform: translateY(25px);
    --hover-y: 25px;
}
.reason-item:nth-child(5) {
    transform: translateY(20px);
    --hover-y: 20px;
}

/* Alternative approach - items 4 and 5 centered with offset */
@media (max-width: 1024px) {
    .connecting-svg {
        display: none;
    }

    .reasons-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 40px;
        padding-top: 0;
    }

    .reason-item:nth-child(1),
    .reason-item:nth-child(2),
    .reason-item:nth-child(3) {
        grid-column: span 2;
    }

    .reason-item:nth-child(4) {
        grid-column: 2 / 4;
    }

    .reason-item:nth-child(5) {
        grid-column: 4 / 6;
    }

    .reason-item:nth-child(n) {
        transform: translateY(0);
    }

    .reason-number {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .reasons-section {
        padding: 100px 0;
    }

    .reasons-section .section-header h2 {
        font-size: 2rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;  /* Back to single column */
        gap: 40px;
        padding-top: 0;
    }

    /* Reset all grid column spans for mobile */
    .reason-item:nth-child(n) {
        grid-column: auto;
    }

    .reason-number {
        font-size: 3.5rem;
    }

    .wave-top, .wave-bottom {
        height: 40px;
    }
}