@import url('https://fonts.googleapis.com/css2?family=Oleo+Script+Swash+Caps:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Colors */
:root {
  --primary: #007bd1;
  --secondary: #f8ad13;
  --bg: #ffffff;
  --text-dark: #333333;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

body {
  background: url(../images/bg.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-dark);
}

a {
  text-decoration: none;
}

.navbar {
  background-color: var(--bg);
}

.navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
}

.navbar .nav-link.active {
  color: var(--secondary) !important;
}

.navbar .nav-link:hover {
  color: var(--primary) !important;
}

.hero-section {
  background-color: var(--primary);
  height: 100vh;
  background: url(../images/abhishekdhillon.png) no-repeat top right 10%;
  background-size: 30%;
}

.hero-section .container {
  height: 100vh;

}

.banner-img {

  height: 100vh;
}

.headerbar {

  padding: 10px 0px;
  height: 50px;
}

.logo-name {
  font-size: 3rem;
  font-family: "Oleo Script Swash Caps", system-ui;
  font-weight: 700;
  font-style: normal;
  color: #fff;
}

.hero-section h1 {
  font-size: 5rem;
  font-family: "Oleo Script Swash Caps", system-ui;
  font-weight: 700;
  font-style: normal;

}

.circle {
  width: 300px;
  height: 300px;
  border-radius: 75%;
  position: absolute;
  top: 40px;
  left: 0px;
  right: 0px;
  margin: 0 auto;
  background-color: var(--secondary);
}

.btn-primary {
  background-color: var(--secondary);
}

footer {
  background: var(--secondary);
  color: #fff;
  padding: 20px 0;
}

footer a {
  color: #fff;
  text-decoration: underline;
}


.social-strip {

  padding: 0px;
  border-radius: 40px;
  display: inline-flex;
  gap: 12px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #007bd1;
  color: #fff;
}

.social-icon.active {
  background: #f8ad13;
  color: #fff;
}

.inner-sect {
  padding-top: 46px;
}

.inner-con {
  background-color: white;
  min-height: 400px;
}

.inner-con h4 {
  color: var(--primary);
  border-bottom: 1px var(--secondary) solid;
  text-transform: uppercase;
  font-size: 18px;
}

.int-icon {
  width: 50px;
  height: 50px;
  padding-top: 12px;
}

.blog-card {
  border-radius: 16px;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-img img {
  border-radius: 16px;
}

.about-section .col-lg-6 p {
  text-align: justify;
}

.about-card {
  border: solid 2px var(--secondary) !important;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: ease-in-out all 0.3s;
}

.about-card-heater {
  background: var(--secondary);
  transition: ease-in-out all 0.3s;
}

.about-card:hover {
  border: solid 2px var(--primary) !important;
}

.about-card:hover .about-card-heater {
  background: var(--primary)
}

.category-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #ffb703;
  color: #000;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 500;
}

.social-strip {
  display: flex;
  gap: 12px;
}

.social-icon {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.5s ease forwards;
}

/* Stagger delays */
.social-icon:nth-child(1) {
  animation-delay: 0.1s;
}

.social-icon:nth-child(2) {
  animation-delay: 0.2s;
}

.social-icon:nth-child(3) {
  animation-delay: 0.3s;
}

.social-icon:nth-child(4) {
  animation-delay: 0.4s;
}

.social-icon:nth-child(5) {
  animation-delay: 0.5s;
}

.social-icon:nth-child(6) {
  animation-delay: 0.6s;
}

.social-icon:nth-child(7) {
  animation-delay: 0.7s;
}

.social-icon:nth-child(8) {
  animation-delay: 0.8s;
}

.social-icon:nth-child(9) {
  animation-delay: 0.9s;
}

.social-icon:nth-child(10) {
  animation-delay: 1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger position: top-right */
.hamburger {
  position: fixed;
  top: 15px;
  right: 20px;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  margin: 5px 0;
  transition: 0.4s;
}

/* Side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #007bd1;
  padding: 60px 20px;
  transition: right 0.4s ease;
  z-index: 1050;
}

.side-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  margin: 20px 0;
}

/* Active states */
.side-menu.active {
  right: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hamburger animation (optional) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 767px) {
  .hero-section {
    background-size: cover;
    background-position: 190px 90px;
    margin-top: 10%;
  }

  .hero-section h1 {
    font-size: 3rem !important;
    margin-top: 20px !important;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-strip {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 10px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}



/* timeline */

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Timeline Container */
.timeline-container {
  position: relative;
  margin: 60px auto;
  /* padding: 20px 0; */
}

/* The Centered Red Line */
.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #ffb703;
  top: 0;
  bottom: 0;
  /* left: 50%; */
  margin-left: -1px;
}

.timeline-item {
  position: relative;
  /* width: 50%; */
  opacity: 0;
  /* For scroll animation */
  transition: opacity 0.6s ease-out;
  margin-bottom: 20px;
}

.timeline-item.left {
  padding-right: 20px;
}
/* .timeline-item.left .timeline-content{
  padding-left: 0px;
} */

.timeline-item.right {
  padding-left: 20px;
}

/* .timeline-item.right .timeline-content{
  padding-right: 0px;
} */

/* The Dot (Ring) */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: white;
  border: 2px solid #ffb703;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 2;
}

/* Alternating sides */
.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 0;
  /* left: 50%; */
}

.timeline-item.right::after {
  left: -8px;
}

/* Date Styling (On opposite side of line) */
.timeline-date {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #ffb703;
  width: 200px;
  white-space: nowrap;
}

.left .timeline-date {
  left: calc(100% + 30px);
  text-align: left;
}

.right .timeline-date {
  right: calc(100% + 30px);
  text-align: right;
}

/* Content Card */
.timeline-content {
  background: white;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: left;
  border-right: 4px solid #eee;
}

.right .timeline-content {
  border-right: none;
  border-left: 4px solid #eee;
}

.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2d3436;
}

.timeline-content .company {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: block;
  font-size: 0.9rem;
}

.timeline-content .description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 0;
}

/* Pointer/Arrow */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

.left .timeline-content::before {
  right: -12px;
  border-width: 10px 0 10px 12px;
  border-color: transparent transparent transparent #eee;
}

.right .timeline-content::before {
  left: -12px;
  border-width: 10px 12px 10px 0;
  border-color: transparent #eee transparent transparent;
}

/* Gemini Features Styling */
.ai-controls {
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.gemini-btn {
  background: linear-gradient(90deg, var(--ai-blue), var(--ai-purple));
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
}

.gemini-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
  color: white;
}

.gemini-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ai-response-box {
  background: #f8fbff;
  border: 1px dashed var(--ai-blue);
  padding: 15px;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #444;
  display: none;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-container::after {
    left: 0px;
  }

  .hero-section h1 {
    font-size: 2.7rem !important;
  }

  .timeline-item {
    width: 100%;
    padding-left: 65px;
    padding-right: 0px;
    text-align: left !important;
  }

  .timeline-item.right {
    left: 0;
    padding-left: 10px;
  }

  .timeline-item::after {
    left: -8px !important;
  }

  .timeline-date {
    position: relative;
    top: 0;
    transform: none;
    left: 0 !important;
    right: 0 !important;
    display: block;
    margin-bottom: 10px;
    width: auto;
  }

  .timeline-content::before {
    display: none;
  }
}

.is-visible {
  opacity: 1 !important;
}