/* ========================================
   CSS STARTER FILE - WEB DEVELOPMENT
   Complete foundation for modern websites
======================================== */

/* ========== CSS RESET & NORMALIZE ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none !important;

}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: #fff;
}

/* ========== CUSTOM VARIABLES - YOUR BRAND COLORS ========== */
:root {
  /* Your Custom Color Palette */
  --primary-color: #01155A;
  /* Deep Navy Blue */
  --secondary-color: #FF5F15;
  /* Vibrant Orange */
  --light-color: #F4F4F4;
  /* Light Gray */
  --muted-color: #d2dce4bb;
  /* Light Blue-Gray (with transparency) */

  /* Extended Color System */
  --dark-color: #01155A;
  --accent-color: #FF5F15;
  --background-color: #F4F4F4;
  --text-muted: #d2dce4;

  /* Status Colors (keeping standard for accessibility) */
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;

  /* Typography */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;

  /* Design Tokens */
  --border-radius: 0.25rem;
  --box-shadow: 0 0.5rem 1rem rgba(1, 21, 90, 0.15);
  --box-shadow-light: 0 0.125rem 0.25rem rgba(1, 21, 90, 0.075);

  --transition: all 0.3s ease;
}


/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

blockquote {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--secondary-color);
  background-color: var(--light-color);
  font-style: italic;
}

code {
  padding: 0.2rem 0.4rem;
  background-color: var(--light-color);
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

pre {
  background-color: var(--light-color);
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1rem 0;
}

/* ========== LISTS ========== */
ul,
ol {
  margin: 0 0 1rem 2rem;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

ul.unstyled,
ol.unstyled {
  list-style: none;
  margin-left: 0;
}

/* ========== IMAGES & MEDIA ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 1rem 0;
}

figcaption {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* ========== FORMS ========== */
form {
  margin: 0;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}



label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

/* ========== BUTTONS ========== */
button,
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: var(--primary-color);
  color: #fff;
  transition: all 0.3s ease;
}

button:hover,
.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(1, 21, 90, 0.1);
}

button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(1, 21, 90, 0.1);
}

button:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}






/* ========== LAYOUT UTILITIES ========== */

.container-fluid {
  width: 100%;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col {
  flex: 1;
  padding: 0 0.5rem;
}

/* ========== SPACING UTILITIES ========== */
.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

/* ========== TEXT UTILITIES ========== */
.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-justify {
  text-align: justify !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-lowercase {
  text-transform: lowercase !important;
}

.text-capitalize {
  text-transform: capitalize !important;
}

.font-weight-light {
  font-weight: 300 !important;
}

.font-weight-normal {
  font-weight: 400 !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.text-light {
  color: var(--light-color) !important;
}

.text-dark {
  color: var(--dark-color) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-danger {
  color: var(--danger-color) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

.text-info {
  color: var(--info-color) !important;
}

/* ========== BACKGROUND UTILITIES ========== */
.bg-primary {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
  color: #fff !important;
}

.bg-light {
  background-color: var(--light-color) !important;
  color: var(--primary-color) !important;
}

.bg-muted {
  background-color: var(--muted-color) !important;
  color: var(--primary-color) !important;
}

.bg-white {
  background-color: #fff !important;
}

.bg-transparent {
  background-color: transparent !important;
}

/* Gradient backgrounds with your colors */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
  color: #fff !important;
}

.bg-gradient-light {
  background: linear-gradient(135deg, #fff, var(--light-color)) !important;
  color: var(--primary-color) !important;
}

/* ========== DISPLAY UTILITIES ========== */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

/* ========== FLEXBOX UTILITIES ========== */
.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

/* ========== POSITION UTILITIES ========== */
.position-static {
  position: static !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: sticky !important;
}

/* ========== BORDER UTILITIES ========== */
.border {
  border: 1px solid #dee2e6 !important;
}

.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.border-left {
  border-left: 1px solid #dee2e6 !important;
}

.border-right {
  border-right: 1px solid #dee2e6 !important;
}

.rounded {
  border-radius: 0.25rem !important;
}

.rounded-0 {
  border-radius: 0 !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

/* ========== SHADOW UTILITIES ========== */
.shadow-sm {
  box-shadow: var(--box-shadow-light) !important;
}

.shadow {
  box-shadow: var(--box-shadow) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(1, 21, 90, 0.175) !important;
}

.shadow-none {
  box-shadow: none !important;
}

/* Custom brand shadows */
.shadow-primary {
  box-shadow: 0 0.5rem 1rem rgba(1, 21, 90, 0.25) !important;
}

.shadow-secondary {
  box-shadow: 0 0.5rem 1rem rgba(255, 95, 21, 0.25) !important;
}

/* ========== OVERFLOW UTILITIES ========== */
.overflow-auto {
  overflow: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.overflow-visible {
  overflow: visible !important;
}

.overflow-scroll {
  overflow: scroll !important;
}

/* ========== ANIMATIONS & TRANSITIONS ========== */
.fade {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fade.show {
  opacity: 1;
}

.slide-up {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide-up.show {
  transform: translateY(0);
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* ========== RESPONSIVE UTILITIES ========== */
@media (max-width: 575.98px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-block {
    display: block !important;
  }

  .text-sm-center {
    text-align: center !important;
  }
}


@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }

  .text-md-left {
    text-align: left !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-block {
    display: block !important;
  }
}



/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Focus styles for better accessibility */


/* ========== PRINT STYLES ========== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  .d-print-none {
    display: none !important;
  }

  .d-print-block {
    display: block !important;
  }
}


/* ========== HELPER CLASSES ========== */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.float-left {
  float: left !important;
}

.float-right {
  float: right !important;
}

.float-none {
  float: none !important;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.h-100 {
  height: 100% !important;
}

.h-auto {
  height: auto !important;
}



.btn_bg {
  background-color: #F4F4F4;
  width: 300px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  gap: 30px;
}

.learn_btn {
  background-color: #FF5F15;
  width: 75%;
  text-align: center;
  line-height: 50px;
  color: white;
  font-weight: 550;
  border-radius: 50px;
  cursor: pointer;

}

.learn_btn a{
  color: white;
  font-weight: 550;
}

.arrow_btn {
  background-color: #01155A;
  width: 18%;
  text-align: center;
  line-height: 50px;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;

}


.btn_bg:hover {
  background-color: #01155A;
  transition: background-color 0.3s ease;
}

.btn_bg:hover .learn_btn {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

/* 
===========================
BANNER SECTION
=========================== 

*/
.carousel_header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide_header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide_header.active {
  opacity: 1;
  z-index: 1;
}

.content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 600px;
}

.content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff5c1c;
  /* orange */
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s ease;
}

.content h1 span {
  color: #fff;
}

.content p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s ease;
}

.slide_header.active .content h1 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.slide_header.active .content p {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1s;
}

@media (max-width: 768px) {
  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 0.9rem;
  }
}

/* initial state (hidden & shifted right) */
.content .style_btn {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s ease;
}

/* when slide is active, fade/slide in */
.slide_header.active .content .style_btn {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.5s; /* comes AFTER <p> */
}
