
/* ==========================================================================
   01. VARIABLES
   ========================================================================== */
:root {
  --primary: #3A3A3A;
  --secondary: #013281;
  --accent: #013281;
  --light: #F2F2F2;
  --border: #F2F2F2;
  --text: #333;
  --gray: #666;
  --white: #fff;
  --lightblue: #7BA9D3;
  --darkblue: #021936;
}

/* ==========================================================================
   02. GLOBAL / REUSABLE COMPONENTS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {  scroll-behavior: smooth;}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
 /* line-height: 1.6;*/
}
/*
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}
*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Button Component Base */
.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: #082150;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(10, 42, 102, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
    font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;  
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}

.btn-large {
  padding: 1.3rem 3.5rem;
  font-size: 1.1rem;
}

/* Reusable Section Headers */
.section-header {
  text-align: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-header h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 750px;
  margin: 1rem auto;
  line-height: 1.8;
}

/* Reusable Section Dividers */
.hr-style {
  height: 1.5px;
  border-width: 0;
  color: var(--white);
  background-color: var(--border);
  margin-top: 6rem;
  margin-bottom: 5rem;
}

.hr-style2 {
  border-top: 1px solid #e0e0e0;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Shared Responsiveness */
@media (max-width: 768px) {
  .btn {
    width: 100%;
    text-align: center;
  }
  .section-header h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   03. CLOUDFLARE ALERTS
   ========================================================================== */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* ==========================================================================
   04. NAVIGATION
   ========================================================================== */
/* Desktop / Base Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-logo {
  height: 15px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Base Desktop States for Mobile Selectors */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 200px;
    height: 100vh;
    background: #0A2A66;
    z-index: 1000;
    transition: 0.4s ease-in-out;
    padding: rem;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
  }
  .mobile-menu.active {
    left: 0;
  }


.hamburger {
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	  display: flex;
	padding: 15px;
	z-index: 1001;
	position: fixed;
	top: 10px;
	right: 20px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: 0.3s;
}
  .menu-links {
    list-style: none;
    padding: 0;
  }
/* Responsive Styles */
@media (min-width: 768px) {
  .mobile-menu {
    width: 280px;
    padding: 2rem;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {    right: 0;  }
  .hamburger span {    width: 30px;  }
  .menu-logo img {    width: 180px;    margin-bottom: 3rem;  }
  .menu-links {    list-style: none;    padding: 0;  }
  .menu-links li {    margin-bottom: 1.5rem;  }
  .menu-links a {    color: white;    text-decoration: none;    font-size: 1.2rem;    font-weight: 500;    display: block;  }
  .menu-links a.active {    color: white;    font-weight: 800;    border-bottom: 2px solid white;  }
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
  }

  .menu-overlay.active {    display: block;  }
 }


@media (min-width: 1024px) {
  .menu-logo img {
    width: 120px;
  }

  .menu-links li {
    margin-bottom: 1rem;
  }

  .menu-links a {
    font-size: 1rem;
  }

  .menu-links a.active {
    font-weight: 700;
  }	
	.nav-brand {
		font-size: 1.8rem;
	}
	.nav-logo {
		height: 30px;
	}
	.mobile-menu {
		display: none;
	}  
	.hamburger {
		display: none;
	}
}
