/* ========================================================================
   BASE RESET
   ======================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: #eee;
  background: #111;
  line-height: 1.6;
}
a {
  color: #00a0dc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ========================================================================
   3D NET BACKDROP & OVERLAY
   ======================================================================== */
#vanta-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10,25,47,0.6);
  z-index: 1;
}
#content {
  position: relative;
  z-index: 2;
}

/* ========================================================================
   Navigation SECTION
   ======================================================================== */
/* New Fixed Top Navigation Bar Styling */
#main-nav {
    background-color: rgba(10, 25, 47, 0.95); /* Slightly transparent dark blue */
    padding: 15px 0;
    position: fixed; /* Makes the navigation stick to the top */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures nav is always on top */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Arranges list items horizontally */
    justify-content: center; /* Centers the navigation links */
    flex-wrap: wrap; /* Allows links to wrap on smaller screens */
}

#main-nav ul li {
    margin: 0 15px; /* Spacing between navigation items */
}

#main-nav ul li a {
    color: #00a0dc; /* A contrasting color for links */
    text-decoration: none; /* Removes underline */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    padding: 8px 0; /* Vertical padding to give clickable area */
    transition: color 0.3s ease, border-bottom 0.3s ease;
    display: block; /* Make the whole padding area clickable */
}

#main-nav ul li a:hover {
    color: #64ffda; /* Lighter hover color */
    border-bottom: 2px solid #64ffda; /* Underline effect on hover */
}

/* position parent relative so dropdown can be absolute */
#main-nav ul li {
  position: relative;
}

/* hide dropdown by default */
#main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;        /* position below the parent li */
  left: 0;
  background: rgba(10,25,47,0.95);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 100;
}

/* show on hover */
#main-nav ul li.has-dropdown:hover > .dropdown {
  display: block;
}

/* dropdown links styling */
#main-nav .dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  white-space: nowrap;
}

/* hover state for dropdown links */
#main-nav .dropdown li a:hover {
  background: rgba(0,160,220,0.2);
}

/* optional caret styling */
#main-nav .has-dropdown > a {
  position: relative;
  padding-right: 1rem;
}
#main-nav .has-dropdown > a::after {
  content: "▾";
  position: absolute;
  right: 0.5rem;
  font-size: 0.75rem;
}

/* adjust z-index so dropdown sits above overlay */
#main-nav {
  z-index: 200;
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.subtitle {
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 1rem;
}
.tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  background: rgba(0,160,220,0.2);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.btn {
  background: #00a0dc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover {
  background: #008bb5;
}

/* ========================================================================
   GLOBAL SECTIONS
   ======================================================================== */
section {
  padding: 5rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
/* ABOUT */


/* keep your heading centered */
#about h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* fully justify all paragraph lines, including the last */
#about p {
  text-align: justify;            /* justify every line */
  -webkit-text-align-last: justify;
     -moz-text-align-last: justify;
          text-align-last: justify;/* force the last line to justify too */
  text-justify: inter-word;       /* how to spread the words */
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* in case you still see a ragged last line (old browsers), you can add this little “fill” hack */
#about p::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* ========================================================================
   SKILLS
   ======================================================================== */
#skills p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.skill-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.skill-logos a {
  width: 60px;
  height: 60px;
  display: inline-block;
  transition: transform 0.2s,filter 0.2s;
  border-radius: 10px;
  background-color: #eee;
  
}
.skill-logos a:hover {
  transform: scale(1.55);
  filter: drop-shadow(0 0 8px rgba(0, 160, 220, 0.5));
}
.skill-logos img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

/* ========================================================================
   EXPERIENCE TIMELINE
   ======================================================================== */
#experience .timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  /* align-items: left; */
}
#experience .item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  text-align: center;
  
}
#experience .item h4 {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
#experience .item ul {
  list-style: disc inside;
  align-items: center;
}

/* --------------- */
/* EXPERIENCE LOGOS */
/* --------------- */
.company-header {
    margin-bottom: 15px;
}
.logo-title-container a:hover{
    transform: scale(1.55);
    filter: drop-shadow(0 0 8px rgba(0, 160, 220, 0.5));
}

.logo-title-container a:hover{
    transform: scale(1.55);
    filter: drop-shadow(0 0 8px rgba(0, 160, 220, 0.5));
}


.logo-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.title-container {
    flex: 1;
}

.title-container h3, .title-container h4 {
    margin: 0;
}

.title-container h4 {
    margin-top: 5px;
    color: #666;
}
/* remove the white box behind your logo wrapper */
#experience .timeline .item .company-link {
  background: none;    /* instead of #fff */
  /* — or if you can’t edit the original rule — */
  background-color: transparent !important;
}

#experience .timeline .item .company-logo {
  flex-shrink: 0;
  width: 55px;        /* adjust to taste */
  height: 45px;       /* keep square or change as needed */
  object-fit: contain;
  margin-right: 1rem;
  /* optional styling */
  border-radius: 10px; /* rounded corners */
  background: #fff;   /* if your logos have transparency */
}

#experience .timeline .item .item-content {
  flex: 1;
}


/* mobile: stack logo & text */
@media (max-width: 600px) {
  #experience .timeline .item {
    flex-direction: column;
    align-items: flex-start;
  }
  #experience .timeline .item .company-logo {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
}



/* ========================================================================
   PROJECTS
   ======================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  flex: 1;
  margin-bottom: 1rem;
}

/* ========================================================================
   CONTACT
   ======================================================================== */
#contact form {
  max-width: 500px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#contact input,
#contact textarea {
  padding: 0.75rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: #222;
  color: #eee;
}
#contact button {
  align-self: center;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}
footer .location {
    margin-top: 0.4em;
    font-size: 0.95rem;
    color: #77cdf2;
    opacity: 0.85;
}
/* Ensure the wrapper is positioned for absolute children */
.iti--separate-dial-code {
  position: relative;
  width: 100%;
  margin-bottom: 1em; /* match your other inputs */
}

/* Style the actual <input> */
#phone {
  width: 100%;
  padding: 0.5em 1em 0em 2em;     /* top/right/bottom/left */
  padding-left: 3em;    /* space for flag + dial code */
  background: #112044;
  color: #e3eaf5;
  border: 1.5px solid #00a0dc;
  border-radius: 8px;
  background: #112044;
  font-size: 1.02rem;
  outline: none;
  font-family: inherit;
}

/* Focus state matches other inputs */
#phone:focus {
  border-color: #fcd55a;
}

/* Position the flag */
.iti__selected-flag {
  position: absolute;
  top: 50%;
  left: -.39em;
  transform: translateY(-50%);
  z-index: 2;
}

/* Position the dial code */
.iti__selected-dial-code {
  position: absolute;
  top: 50%;
  left: 1.55em;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #e3eaf5;
  pointer-events: none;
  z-index: 2;
}

/* Style the dropdown */
.iti__country-list {
  background: #112044;
  border: 1px solid #00a0dc;
  box-shadow: 0 4px 16px rgba(0,160,220,0.2);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  font-family: inherit;
}

/* Countries */
.iti__country {
  padding: 0.45em 0.9em;
  color: #f4f7f9;
  background-color: #0a192f;
}
.iti__country:hover,
.iti__country.iti__highlight {
  background: rgba(252,213,90,0.15);
  color: black;
}

/* Hide plugin’s built-in search if you prefer */
.iti__country-filter {
  display: none;
}
/* LOCATION MAP */
#location {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(18,33,70,0.85);
  border-radius: 16px;
  box-shadow: 0 3px 25px rgba(0,30,90,0.13);
}
#location h2 {
  color: #00a0dc;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}
#location p {
  color: #cce3ee;
  margin-bottom: 1rem;
}
.map-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 1.2rem;
  }
}
/* ========================================================================
   pricing
   ======================================================================== */
/* Header and Navigation */
#main-nav {
    background-color: rgba(10, 25, 47, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 50px;
}

.nav-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #00a0dc;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    padding: 8px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-menu a:hover {
    color: #64ffda;
    border-bottom: 2px solid #64ffda;
}

/* Page Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.plan {
    background: rgba(20, 30, 50, 0.85);
    padding: 20px;
    margin: 10px;
    text-align: center;
    width: 28%;
    border: 1px solid #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.plan h3, .plan p {
    margin-bottom: 15px;
}

