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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================= */
/* NAVBAR STYLES */
/* ========================= */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* Logo Styles */
.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {

    margin-top: 10px;
    height: 30px;
    width: auto;
    transition: 0.3s ease-in-out;
}

.nav-logo img:hover {
    transform: scale(1.1);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-item {
    position: relative;
}

#home {
    background: none;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* Removed blue underline animation */
/* .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #349dd1 0%, #2e21bd 100%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4280d1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 24px 0;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 12px 0;
        padding: 0 24px;
    }

    .nav-link {
        font-size: 17px;
        display: block;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
        height: 65px;
    }

    .nav-logo img {
        height: 26px;
    }

    
}

/* Small Mobile Devices (360px and below) */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 12px;
        height: 60px;
    }

    .nav-logo img {
        height: 24px;
    }

    
    
}
/* ========================= */
/* FOOTER SECTION */
/* ========================= */
.footer {
    background: linear-gradient(135deg, #001f3f, #004b8d, #0074d9);
    padding: 40px 6% 25px;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: white;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-col {
    flex: 0 0 280px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}

.footer-company {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 1rem;
    color: #b8d4ff;
    margin: 0;
}

.footer-columns {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #aee0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col ul li a {
    color: #e0ecff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: #00e1ff;
    transform: translateX(4px);
}

.bottom {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 15px;
}

.bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-links a {
    color: #cde9ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #00e1ff;
}

.bottom p {
    font-size: 0.8rem;
    color: #b8d4ff;
    margin-top: 8px;
}
.bottom {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 15px;
    padding-bottom: 20px;
    width: 100%;
    display: block;
}

.bottom p {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 8px;
    white-space: normal !important;
    overflow-wrap: break-word;
}

/* Footer Responsive */
/* Tablet: Adjust footer columns */
@media screen and (max-width: 1200px) {
    .footer-main {
        gap: 10px;
    }

    .footer-logo-col {
        flex: 0 0 240px;
        min-width: 220px;
    }

    .footer-columns {
        gap: 30px;
    }
}

/* Tablet layout (761px–1024px): keep two columns — logo left, sections right */
@media (min-width: 761px) and (max-width: 1024px) {
  .footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: start;
    gap: 20px;
  }

  .footer-logo-col {
    align-items: flex-start;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    grid-template-areas:
      "head navigation"
      "follow follow";
    width: 100%;
    justify-items: start;
    text-align: left;
    column-gap: 28px;
    row-gap: 24px;
  }

  .footer-columns .footer-col:nth-child(1) { grid-area: head; }
  .footer-columns .footer-col:nth-child(2) { grid-area: navigation; }
  .footer-columns .footer-col:nth-child(3) { grid-area: follow; margin-top: 4px; }
}

@media (max-width: 760px) {
    .footer {
        padding: 40px 5% 20px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-col {
        align-items: center;
        flex: 1;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
    }

    .footer-col h3 {
        font-size: 0.85rem;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 35px 4% 18px;
    }

    .footer-logo {
        width: 120px;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* ========================= */
/* TERMS AND CONDITIONS CONTENT */
/* ========================= */

.terms-hero {
    background: linear-gradient(135deg, #001f3f, #004b8d, #0074d9);
    padding: 120px 20px 60px;
    text-align: center;
    color: white;
    margin-top: 75px;
}

.terms-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.terms-hero p {
    font-size: 1.1rem;
    color: #b8d4ff;
    max-width: 600px;
    margin: 0 auto;
}

.terms-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px 80px;
}

.terms-section {
    margin-bottom: 50px;
}

.terms-section h2 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 3px solid #0074d9;
    padding-bottom: 10px;
}

.terms-section h3 {
    font-size: 1.4rem;
    color: #004b8d;
    margin: 25px 0 15px;
    font-weight: 600;
}

.terms-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.terms-section ul,
.terms-section ol {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.terms-section li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 10px;
}

.terms-section strong {
    color: #001f3f;
    font-weight: 600;
}

.terms-section em {
    color: #004b8d;
}

.last-updated {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-left: 4px solid #0074d9;
    border-radius: 4px;
}

.highlight-box {
    background: #f0f8ff;
    border-left: 4px solid #0074d9;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-hero {
        padding: 100px 20px 40px;
    }

    .terms-hero h1 {
        font-size: 2.2rem;
    }

    .terms-hero p {
        font-size: 1rem;
    }

    .terms-content {
        margin: 40px auto;
        padding: 0 20px 60px;
    }

    .terms-section h2 {
        font-size: 1.5rem;
    }

    .terms-section h3 {
        font-size: 1.2rem;
    }

    .terms-section p,
    .terms-section li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .terms-hero {
        padding: 90px 16px 30px;
    }

    .terms-hero h1 {
        font-size: 1.8rem;
    }

    .terms-hero p {
        font-size: 0.95rem;
    }

    .terms-content {
        margin: 30px auto;
        padding: 0 16px 50px;
    }

    .terms-section h2 {
        font-size: 1.3rem;
    }

    .terms-section h3 {
        font-size: 1.1rem;
    }

    .terms-section p,
    .terms-section li {
        font-size: 0.95rem;
        text-align: left;
    }

    .terms-section ul,
    .terms-section ol {
        margin-left: 20px;
    }
}

/* Tablet navbar logo alignment (760px–1024px) */
@media (min-width: 760px) and (max-width: 1024px) {
  .nav-container { padding: 0 40px; height: 75px; align-items: center; }
  .nav-logo a { display: flex; align-items: center; }
  .nav-logo img { display: block; height: 30px; width: auto; margin-top: 10px; }
  .nav-menu { margin-left: auto; align-items: center; }
}

/* Mid-range tablets/large phones (500px–760px) navbar logo alignment */
@media (min-width: 500px) and (max-width: 760px) {
  .nav-container { padding: 0 20px; height: 70px; align-items: center; }
  .nav-logo a { display: flex; align-items: center; }
  .nav-logo img { display: block; height: 28px; width: auto; margin-top: 10px; }
  .nav-menu { margin-left: auto; align-items: center; }
}


/* ========================= */
/* ACCESSIBILITY & TOUCH ENHANCEMENTS */
/* ========================= */

/* Focus states for keyboard navigation */
.nav-link:focus {
    outline: none; /* Remove blue border on navbar links */
}

.button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #0462a5;
    outline-offset: 2px;
}

/* Touch-friendly active states */
@media (hover: none) {
    .button:active {
        transform: scale(0.97);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enforce consistent navbar logo on tablets / iPad sizes */
@media (min-width: 760px) and (max-width: 1024px),
       (max-width: 768px) {
  .nav-container {
    padding: 0 20px !important;
    height: 75px !important;
    align-items: center !important;
  }

  .nav-logo,
  .nav-logo a { display: flex; align-items: center; }

  .nav-logo img {
    height: 30px !important;
    width: auto !important;
    margin-top: 10px !important;
    display: block !important;
    transform: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}
/* Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .nav-logo img {
        height: 28px;
        margin-top: 10px;
    }
}