@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);

:root {
  --primary-blue: #004AAD;
  --primary-pink: #CD208B;
  --yellow: #FFD700;
  --text-dark: #000000;
  --text-light: #FFFFFF;
  --text-gray: #666;
  /* ===== FONT SIZES (LARGE SCREENS) ===== */
  --font-h1-large: 3.5rem;
  --font-h2-large: 2.5rem;
  --font-h3-large: 2.1rem;
  --font-p-large: 1.8rem;
  --font-small-large: 1.6rem;
  --font-smaller-large: 1.4rem;

  /* ===== FONT SIZES (SMALL SCREENS) ===== */
  --font-h1-small: 2.5rem;
  --font-h2-small: 1.8rem;
  --font-h3-small: 1.2rem;
  --font-p-small: 1rem;
  --font-small-small: 0.8rem;
  --font-smaller-small: 0.6rem;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
        }

        html {
            font-size: 1rem;
            scroll-behavior: smooth;
            scrollbar-gutter: stable !important;
        }

        body {
            font-family: 'Poppins', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
        }

        /* Container Styles */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0;
        }

        /* Header Styles */
        .header {
        background-color: white;
        color: var(--text-dark);
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all var(--transition-speed) ease;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0rem 1rem;
        max-width: 1400px;
        margin: 0 auto;
        height: 5.5rem;
    }

    .logo {
        display: flex;
        align-items: center;
        font-size: 1.5rem;
        color: var(--primary-pink);
        margin-right: 1rem;
        text-decoration: none;
    }

    .logo img {
        width: 3rem;
        height: 3rem;
        margin-right: 0.5rem;
        border-radius: 50%;
        object-fit: cover;
    }

    .logo h1 {
        font-size: 2rem;
        margin: 0;
        font-weight: bold;
        color: var(--primary-pink);
    }

    .nav-links {
        display: flex;
        gap: 1rem;
        list-style: none;
        align-items: center;
    }

    .nav-links a {
        color: var(--primary-blue);
        text-decoration: none;
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        font-weight: 500;
        transition: color var(--transition-speed) ease;
    }

    .nav-links a:hover, .nav-links a.active {
        color: var(--primary-pink);
    }

    .nav-buttons {
        display: flex;
        gap: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-speed) ease;
        border: none;
        font-size: 1rem;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }

    .btn-login {
        background-color: transparent;
        color: var(--primary-blue);
        border: 2px solid var(--primary-blue);
    }

    .btn-login:hover {
        background-color: var(--primary-blue);
        color: var(--text-light);
    }

    .btn-signup {
        background-color: var(--primary-pink);
        color: var(--text-light);
        border: 2px solid var(--primary-pink);
    }

    .btn-signup:hover {
        background-color: #a91a6d;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(205, 32, 139, 0.3);
    }

    .hamburger {
        display: none;
        cursor: pointer;
        background: none;
        border: none;
        color: var(--primary-blue);
        font-size: 1.8rem;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        transition: background-color var(--transition-speed) ease;
    }

    .hamburger:hover {
        background-color: rgba(0, 74, 173, 0.1);
    }

    .hamburger:active {
        background-color: rgba(0, 74, 173, 0.2);
    }

        /* Side Navigation */
        .side-nav {
            position: fixed;
            top: 0;
            left: -100%;
            height: 100vh;
            width: 100%;
            background-color: white;
            z-index: 1000;
            transition: left 0.3s ease;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            overflow-y: auto;
        }

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

        .side-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
            display: none;
        }

        .side-nav-overlay.active {
            display: block;
        }

        .side-nav-content {
            padding: 100px 20px 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            background-color: white;
            min-height: 100vh;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 100%;
            max-width: 300px;
            padding: 20px;
            color: var(--primary-blue);
            text-decoration: none;
            border-bottom: 1px solid #eee;
            transition: all 0.2s ease;
            font-size: 1.2rem;
            text-align: center;
            margin: 10px 0;
            font-weight: 500;
            background-color: white;
        }

        .nav-item:hover {
            color: var(--primary-pink);
            background-color: rgba(205, 32, 139, 0.05);
        }

        .auth-buttons {
            display: flex;
            gap: 1rem;
            align-items: center;
            position: relative;
        }
        .btn-login, .btn-signup {
            padding: 0 1.5rem;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 120px;
            height: 50px;
        }
        .navbar .btn {
            min-width: 100px;
            height: 40px;
            padding: 0 1.2rem;
            font-size: 1.2rem;
        }

        /* Mobile auth buttons in hamburger menu - FIXED VERSION */
        .mobile-auth-buttons {
            display: flex;
            flex-direction: row;
            gap: 0.8rem;
            margin-top: 2rem;
            width: 100%;
            max-width: 320px;
            justify-content: center;
            background-color: white;
            padding: 15px;
        }
        
        .mobile-auth-buttons .btn {
            flex: 1;
            padding: 12px 16px;
            font-size: 0.9rem;
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap;
            min-width: 90px;
            border: 2px solid;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .mobile-auth-buttons .btn-outline {
            background: white;
            color: var(--primary-blue);
            border-color: var(--primary-blue);
        }
        
        .mobile-auth-buttons .btn-outline:hover {
            background: var(--primary-blue);
            color: white;
        }
        
        .mobile-auth-buttons .btn-primary {
            background: var(--primary-pink);
            color: white;
            border-color: var(--primary-pink);
        }
        
        .mobile-auth-buttons .btn-primary:hover {
            background: white;
            color: var(--primary-pink);
        }

        /* Main Content */
        .main-content {
            margin-top: 5rem;
            padding: 2rem;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }

        .account-type-selection h2 {
            font-size: 30px;
            margin: 1rem;
            color: var(--primary-blue);
            text-align: center;
        }

        .account-tabs {
            display: flex;
            justify-content: center;
            border-bottom: 1px solid #ddd;
            margin-bottom: 2rem;
        }

        .account-tab {
            padding: 1rem 2rem;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-size: 20px;
            cursor: pointer;
            font-weight: 500;
            color: var(--primary-blue);
            transition: all 0.3s ease;
        }

        .account-tab.active {
            border-bottom: 3px solid var(--primary-pink);
            color: var(--primary-pink);
        }

        .account-content {
            display: none;
        }

        .account-content.active {
            display: block;
            margin: 4rem auto;
        }

        .cards-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
          gap: 1.5rem; 
          margin-top: 2rem;
          justify-items: center;
        }

        .info-card {
          border: 1px solid #e0e0e0;
          border-radius: 12px;
          padding: 1.5rem; 
          text-align: center;
          background: white;
          width: 100%; 
          max-width: 350px; 
        }

        .card-icon {
          font-size: 70px;
          color: var(--primary-pink);
        }

        .info-card h3 {
          font-size: 25px;
          color: var(--primary-blue);
        }

        .info-card p {
          color: var(--text-gray);
          font-size: 17px;
          line-height: 1.4;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            padding: 2rem;
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            position: relative;
            text-align: center;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-content h2 {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            margin-top: 1.5rem;
        }

        .close {
            position: absolute;
            right: 1rem;
            top: 0.1rem;
            font-size: 2rem;
            cursor: pointer;
        }

        .close:hover {
            color: var(--primary-pink);
        }

        .form-group {
            position: relative;
            margin-bottom: 1rem;
            text-align: left;
        }

        .form-group i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-gray);
        }

        .form-group input {
            width: 100%;
            padding: 0.8rem 1rem 0.8rem 2.5rem;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
        }

        .btn {
            padding: 0.8rem 2rem;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--primary-pink);
            color: white;
            border-color: var(--primary-pink);
        }

        .btn-primary:hover {
            background: white;
            color: var(--primary-pink);
        }

        .btn-outline {
            background: white;
            color: var(--primary-blue);
            border-color: var(--primary-blue);
        }

        .btn-outline:hover {
            background: var(--primary-blue);
            color: white;
        }

        .role-selection {
            margin: 2rem 0;
        }

        .role-option {
            border: 2px solid var(--primary-blue);
            border-radius: 10px;
            padding: 1rem;
            margin: 1rem 0;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .role-option:hover {
            background-color: #f8f9fa;
        }

        .role-option.selected {
            border-color: var(--primary-pink);
            background-color: #f8f9fa;
        }

        .role-option input[type="radio"] {
            margin-right: 0.5rem;
        }

        /* Footer Styles */
        footer {
            background: var(--primary-blue);
            padding: 2.5rem 5%;
            align-items: center;
            padding-bottom: 2rem;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-bottom: 2rem;
        }
        
        .footer-column h3 {
            font-size: var(--font-h3-large);
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        .footer-column a {
            font-size: 21px;
            display: block;
            color: var(--text-light);
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: text-decoration 0.3s ease; 
        }

        .footer-bottom .brand-link {
        color: inherit;
        font-weight: inherit;    
        text-decoration: none;
        }

        .footer-bottom .brand-link:hover,
        .footer-bottom .brand-link:focus-visible {
        color: var(--primary-pink) !important;
        outline: none;
        text-decoration: none;
        }

        .footer-bottom .brand-link:visited {
        color: inherit;
        }

        .footer-column a:hover {
            text-decoration: underline;
        }

        .footer-bottom {
            font-size: 21px;
            color: var(--text-light);
            text-align: center;
            padding-top: 2rem;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10rem;
            border-top: 1px solid white;
        }

        .footer-bottom a {
            color: var(--text-light);
            margin: 0 10px;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

        .footer-bottom .social-icons img {
            width: 1rem;
            height: 1rem;
        }

        .social-icons .bi {
            font-size: 1.5rem; 
            margin-right: 10px;
            border-radius: 50%;
            color: var(--text-light);
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .social-icons .bi:hover {
            transform: scale(1.2);
            color: var(--primary-pink);
        }
        

        .social-icons .bi {
            font-size: 1.5rem;
            margin-right: 10px;
            border-radius: 50%;
            color: white;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .social-icons .bi:hover {
            transform: scale(1.2);
            color: var(--primary-pink);
        }

        /* Prevent body scroll when menu is open */
        body.menu-open {
            overflow: hidden;
            position: fixed;
            width: 100%;
        }

        /* Hamburger Menu Styles */
        .hamburger {
            position: relative; /* Change from fixed to relative */
            display: none;
            cursor: pointer;
            padding: 15px;
            background: none;
            border: none;
            z-index: 1001;
            margin-left: 1rem;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px 0;
            background-color: var(--primary-blue);
            transition: all 0.3s ease;
        }

#paymentModal .modal-dialog {
  margin: 0 auto;                  
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;               
  transform: none !important;     
}

#paymentModalContent {
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}
#paymentModalContent .modal-title {
  width: 100%;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* Body */
#paymentModalContent .modal-body {
  padding: 1.5rem 1rem;
}

#paymentModalContent h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #222;
  text-align: center;
}

#paymentModalContent h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #222;
}

#paymentModalContent .contact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background-color: #f9fafb;
  transition: background-color 0.3s ease;
}

#paymentModalContent .contact-card:hover {
  background-color: #eef3ff;
}

#paymentModalContent .contact-card:last-child {
  border-bottom: none;
}

#paymentModalContent .contact-card i {
  font-size: 1.5rem;
  color: #0d6efd;
  flex-shrink: 0;
  margin-top: 4px;
}

#paymentModalContent .contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary-pink);
  text-align: left;
}

#paymentModalContent .contact-card p {
  margin: 0;
  color: #555;
  line-height: 1.4;
  font-size: 0.95rem;
  text-align: left;
}

#paymentModalContent .modal-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  border-top: none;
}

#paymentModalContent .btn {
  border-radius: 8px;
  padding: 0.6rem 1.3rem;
  font-weight: 500;
  display: flex;               
  align-items: center;           
  justify-content: center;       
  line-height: 1;              
  text-align: center;            
  white-space: nowrap;        
}

#paymentModalContent .btn-primary {
  background-color: var(--primary-blue);
  border: none;
}

#paymentModalContent .btn-primary:hover {
  background-color: white;
  border: 1px var(--primary-blue) solid;
  color: var(--primary-blue);
}

#paymentModalContent .btn-secondary {
  background-color: white;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

#paymentModalContent .btn-secondary:hover {
  opacity: 0.5;
}


@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
  }

  .nav-buttons {
    display: none;
  }

  .navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    cursor: pointer;
  }

  .hamburger span {
    background-color: var(--primary-blue);
  }

  .nav-links {
    display: none;
  }

  .mobile-auth-buttons {
    display: flex;
  }

  .main-content {
    padding: 2rem 1.5rem;
  }

  .account-type-selection h2 {
    font-size: 30px;
  }

  .info-card p {
    margin-top: 0.5rem;
}

.info-card h3 {
    font-size: 22px;
}

  /* Keep 3 columns at 1200px like 1440px */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
  }

  .info-card {
    width: 100%;
    max-width: 380px;
    padding: 1.8rem;
  }

  footer {
        padding: 1rem 5%;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 0.5rem;
    }

    .footer-column h3 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: var(--font-h3-large);
        color: var(--text-light);
        cursor: pointer;
        padding: 0.8rem 0;
        margin: 0;
        position: relative;
    }

    .footer-column h3::after {
        content: '▾';
        font-size: 2rem;
        color: var(--text-light);
        transition: transform 0.3s ease;
    }

    .footer-column h3.active::after {
        transform: rotate(180deg);
    }

    .footer-column .footer-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .footer-column .footer-links.show {
        max-height: 300px;
        opacity: 1;
        margin-top: 0.5rem;
    }

    .footer-column .footer-links a {
        display: block;
        font-size: 24px;
        color: var(--text-light);
        text-decoration: none;
        margin: 0.3rem 0;
    }

    .footer-column .footer-links a:hover {
        text-decoration: underline;
    }

    .footer-bottom {
        flex-direction: column;         
        align-items: center;       
        justify-content: center;
        text-align: center;
        gap: 0.75rem;                   
        font-size: 24px;               
        padding-top: 1.5rem;
        border-top: none;
    }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1, h2, h3, p, a, li, span {
    font-size: inherit;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .logo img {
    height: 3rem;
    width: 3rem;
  }

  .btn,
  .navbar a,
  .nav-item,
  .footer-column a,
  .footer-bottom {
    font-size: var(--font-small-small);
  }

  .btn {
    padding: 0.5rem 1rem;
    height: 42px;
    min-width: 100px;
    font-size: var(--font-small-small);
    border-radius: 8px;
  }

  .auth-buttons .btn {
    min-width: 110px;
    height: 44px;
    font-size: 1.2rem;
  }

  .account-type-selection h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .account-tab {
    font-size: 17px;
  }

  .card-icon {
    font-size: 55px;
  }

  .info-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Footer layout */
    footer {
        padding: 1rem 5%;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        font-size: 16px;  
        text-align: center;
        border-top: none;
    }

    .footer-column h3 {
        font-size: var(--font-h3-small);
    }

    .footer-column h3.active::after {
        font-size: 1.5rem;
    }
    
    .footer-column .footer-links a {
        font-size: 16px;
        text-align: left;
    }

    .social-icons {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .social-icons .bi {
        font-size: 1.4rem;
    }

    .nav-item {
        font-size: var(--font-smaller-large);
    }
}

@media (max-width: 425px) {
  html {
    font-size: 13px;
  }

  .card-icon {
    font-size: 50px;
  }

  .account-type-selection h2 {
    font-size: 20px;
  }
  
  .account-tab {
    font-size: 17px;
  }
}
        