/* ===================================================
   GLOBAL RESET & FONT IMPORTS
=================================================== */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Cooldex';
  src: url('fonts/Cooldex.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AnimalChariot';
  src: url('fonts/AnimalChariot.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ===================================================
   BASE STYLES
=================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #161619;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 0;
}

h2, h3 {
  color: #00b4d8;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ccc;
}

/* ===================================================
   NAVIGATION BAR
=================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.442);
  padding: 0.5rem 0;
  z-index: 999;
  transition: top 0.3s ease-in-out;
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
 margin-left: -100px;

}

.nav-right {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
  margin-right: -150px
}

.nav-right li a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.nav-right li a:hover,
.nav-right li a.active {
  color: #cef7ff;
  text-shadow: 0 0 10px #00b4d8, 0 0 12px #00b4d8;
  border-bottom: 2px solid #00b4d8;
  padding-bottom: 3px;
}


/* ===================================================
   HERO SECTION
=================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  background: url('images/BG.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomInBg 5s ease-in-out infinite alternate;
}

.hero-content p {
  margin-top: -30px;
  margin-bottom: 15px;
}

section.container {
  text-align: center;
  margin-top: 100px;
}
section.container h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
 font-style: italic;
}

section.container p {
  max-width: 700px;
  margin: 0.5rem auto 1rem; 
  line-height: 1.6;
  text-align: left;
  margin-left: 384px;
  font-style: italic;
}

@keyframes zoomInBg {
  from { background-size: 100%; }
  to { background-size: 110%; }
}

.overlay {
  background-color: rgba(0, 0, 0, 0.186);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  width: 100%;
}

.hero-content h1 {
  font-family: 'AnimalChariot', cursive;
  font-size: 7rem;
  color: #fff;
  font-weight: lighter;
  transition: text-shadow 0.3s ease;
  margin-bottom: 1px;

}

.hero-content h1:hover {
  text-shadow: 0 0 10px #dddddd, 0 0 20px #c6c6c6;
  transition: all 0.4s ease;
}


.btn {
  display: inline-block;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #ffffff; 
  background: transparent;   
  margin: 0 10px;
}

.btn:hover {
  background: #618496;
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.789)
}
/* ===== CONTACT FORM (INDEX PAGE) ===== */

.contact-form {
  max-width: 500px;
  margin: 2.5rem auto 0;
  margin-bottom: 300px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2.5rem 2rem;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.25);
  border: 1px solid rgba(0, 180, 216, 0.4);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 180, 216, 0.5);
  padding: 14px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.3rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.6);
  background: rgba(0, 0, 0, 0.6);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.85);
}


/* ===================================================
   PROFILE IMAGE
=================================================== */
.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: -30px;
}
.ayan-image {
    position: absolute;
  top: 865px;
  left: 23%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #ffffff;
}


/* ===================================================
   SECTIONS
=================================================== */
section {
  padding: 3rem 0;
}

/* ===================================================
   FOOTER
=================================================== */
footer {
  background: #1c1c1c;
  color: #e0e0e0;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
  font-size: 0.95rem;
  color: #aaa;
  letter-spacing: 0.5px;
}

/* ===================================================
   ABOUT SECTION
=================================================== */


.profile-photo {
  position: relative;
}

.profile-photo img {
  position: absolute;
  top: -190px; 
  left: 14%;
  transform: translateX(-50%);
  width: 175px;
  height: 190px;
  border-radius: 0%;
  object-fit: cover;
  border: 3px solid #ffffff;
}


.about-hero {
  position: relative;
  height: 50vh;
  background: url('images/BG.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomInBg 15s ease-in-out infinite alternate;
}

.about-section {
  padding: 4rem 1rem;       
  background-color: #1a1a1a;
  color: #e0e0e0;
  max-width: 1100px;        
  margin: 0 auto;           
  box-sizing: border-box;   
}


.about-section h2 {
  font-family: 'Cooldex', cursive;
  font-size: 60px !important;
  color: #00b4d8;
  text-align: center;
  transition: text-shadow 0.3s ease, color 0.3s ease;
  cursor: default;
}


.about-section h2:hover {
  color: #9cdbff;
  text-shadow: 0 0 10px #9cdbffca, 0 0 25px #80ddff5c;
  transition: all 0.4s ease;

}

.about-section h3 {
  color: #00b4d8;
  margin-bottom: 1rem;
}

.about-section h5 {
  font-size: 1.1rem;
  text-align: left;
  color: #ccc;
  margin-left:258px;
  margin-top: 50px;

  font-weight: 400;
}

.about-section p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  text-align: left;
  color: #ccc;
  
}


.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
  line-height: 1.5;
}


.edu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.edu-card {
  background: #2a2a2a;
  padding: 1rem;
  border-left: 4px solid #00b4d8;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.edu-card h4 {
  color: #00b4d8;
  margin-bottom: 0.5rem;
}


.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.skill-card {
  background: #0077b6;
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}

.skill-card:hover {
  background: #00b4d8;
  transform: translateY(-5px);
  transition: all 0.4s ease;
}


.job-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.job-card {
  background: #2a2a2a;
  border-left: 4px solid #00b4d8;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.job-card h4 {
  color: #00b4d8;
  margin-bottom: 0.3rem;
}

.job-card span {
  font-size: 0.9rem;
  color: #ccc;
}

/* ===================================================
   CONTACT SECTION
=================================================== */
.contact-section {
  padding: 4rem 0;
  background-color: #121212;
  color: #e0e0e0;
  text-align: center;
}

.contact-section h2 {
  font-family: 'Cooldex', cursive;
 font-size: 60px !important;
  color: #00b4d8;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
}

.contact-section h2:hover {
  color: #9cdbff;
  text-shadow: 0 0 10px #9cdbffca, 0 0 25px #80ddff5c;
  transition: all 0.4s ease;
}


.contact-section p {
  color: #666;
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  width: 85%;
  margin: auto;
}

.contact-card {
  background: #181a1f;
  border-radius: 10px;
  padding: 1.5rem;
  border-top: 2px solid #5b5b5b;
  border-bottom: 1px solid #5b5b5b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-top: 3px solid #00b4d8;
  border-bottom: 2px solid  #00b4d8;
  box-shadow: 0 0 18px rgba(0, 180, 216, 0.622);
  transition: all 0.4s ease;
}

.contact-card h3 {
  margin-bottom: 15px;
  font-family:'Kristen ITC', cursive;
  color: #ffffff;
}

.social-icon {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgb(167, 240, 255));
  transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Footer */
footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}
/* ===== PROJECTS SECTION (Glass Style) ===== */

.projects-section {
  padding: 4rem 0;
  background: radial-gradient(circle at top, #0f0f0f 0%, #121212 100%);
  color: #e0e0e0;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.projects-section h2 {
  font-family: 'Cooldex', cursive;
  font-size: 60px !important;
  color: #00b4d8;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(0,180,216,0.5);
}

.projects-section h2:hover {
  color: #9cdbff;
  text-shadow: 0 0 10px #9cdbffca, 0 0 25px #80ddff5c;
  transition: all 0.4s ease;
}
.projects-section p {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 3rem;
  line-height: 1.6;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}


.project-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  border: 1px solid rgba(203, 203, 203, 0.597);
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.777);
  border: 4px solid rgb(0, 180, 216);
  transition: all 0.4s ease;
}


.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.project-card:hover img {
  transform: scale(1.06);

}


.project-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(18,18,18,0.45);
  backdrop-filter: blur(5px);
  padding: 0.8rem 1rem;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.1);
  height: 80px; 
  overflow: hidden;
  transition: height 0.3s ease, background 0.3s ease;
}


.project-card:hover .project-content {
  background: rgba(18,18,18,0.6);
  height: 110px;
}

.project-content h3 {
  font-size: 1.05rem;
  color: #00b4d8;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.project-content p {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.3;
}



.more-projects {
  margin-top: 3rem;
}

.more-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  color: #00b4d8;
  border: 1px solid #00b4d8;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
}

.more-btn:hover {
  background: #00b4d8;
  color: #121212;
  box-shadow: 0 0 20px #00b4d8;
}

/* Main design width */
:root {
  --design-width: 1600px;
}

/* Wrapper holds your full desktop layout */
.wrapper {
  width: var(--design-width);
  margin: 0 auto;        /* center it */
  transform-origin: top center;
}

/* Scale only the wrapper, not the whole HTML */
@media (max-width: 1600px) {
  .wrapper {
    transform: scale(calc(100vw / var(--design-width)));
  }
  
  /* Prevent scrollbar */
  body {
    overflow-x: hidden;
    height: auto;
  }
}

