/*
Theme Name: Ilearn-Ishare
Theme URI: http://localhost/ilearn-ishare
Author: Shreya
Description: A custom theme for personal journaling and sharing knowledge.
Version: 1.0
*/

:root {
  /* Typography */
  --font-family-base: "Nunito Sans", sans-serif;

  /* Heading Sizes */
  --h1-size: 48px;
  --h2-size: 40px;
  --h3-size: 32px;
  --h4-size: 24px;
  --h5-size: 20px;
  --h6-size: 16px;

  /* Heading Line Heights */
  --h1-line: 57px;
  --h2-line: 48px;
  --h3-line: 42px;
  --h4-line: 31px;
  --h5-line: 28px;
  --h6-line: 22px;

  /* Font Weights */
  --fw-bold: 700;
  --fw-semi: 600;
  --fw-regular: 400;
  --fw-medium: 500;

  /* Body Text */
  --body-regular-size: 18px;
  --body-small-size: 16px;
  --button-text-size: 16px;
  --input-label-size: 14px;

  /* Body Line Heights */
  --body-regular-line: 32px;
  --body-small-line: 24px;
  --button-text-line: 19px;
  --input-label-line: 20px;

  /* Primary Colors */
  --primary-100: #C63092;
  --primary-70: #D76EB3;
  --primary-50: #E397C8;
  --primary-30: #EEC1DE;
  --primary-10: #F9EAF4;

  /* Secondary Colors */
  --secondary-100: #C63092;
  --secondary-70: #79C6DB;
  --secondary-50: #9FD7E3;
  --secondary-30: #C5E7EE;
  --secondary-10: #ECF7F9;

  /* Text Colors */
  --text-100: #1A1A1A;
  --text-70: #5F5F5F;
  --text-50: #8C8C8C;
  --text-30: #BABABA;
  --text-10: #E8E8E8;

  /* Border & Background */
  --border-color: #E8E8E8;
  --background-color: #FEF6F2;
}

/* ---------- TYPOGRAPHY ---------- */

h1 {
  font-family: var(--font-family-base);
  font-size: var(--h1-size);
  font-weight: var(--fw-bold);
  line-height: var(--h1-line);
  color: var(--text-100);
}

h2 {
  font-family: var(--font-family-base);
  font-size: var(--h2-size);
  font-weight: var(--fw-semi);
  line-height: var(--h2-line);
  color: var(--text-100);
}

h3 {
  font-family: var(--font-family-base);
  font-size: var(--h3-size);
  font-weight: var(--fw-semi);
  line-height: var(--h3-line);
  color: var(--text-100);
}

h4, h5, h6 {
  font-family: var(--font-family-base);
  font-weight: var(--fw-semi);
  color: var(--text-100);
}

h4 { font-size: var(--h4-size); line-height: var(--h4-line); }
h5 { font-size: var(--h5-size); line-height: var(--h5-line); }
h6 { font-size: var(--h6-size); line-height: var(--h6-line); }

p {
  font-family: var(--font-family-base);
  font-size: var(--body-regular-size);
  font-weight: var(--fw-regular);
  line-height: var(--body-regular-line);
  color: var(--text-70);
}

/* ---------- BUTTONS ---------- */

button, .btn {
  font-family: var(--font-family-base);
  font-size: var(--button-text-size);
  font-weight: var(--fw-medium);
  line-height: var(--button-text-line);
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-70);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-100);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-70);
  color: var(--primary-70);
}

.btn-outline:hover {
  background-color: var(--primary-10);
}

/* ---------- LINKS ---------- */

a {
  font-family: var(--font-family-base);
  font-size: var(--body-small-size);
  font-weight: var(--fw-medium);
  color: var(--secondary-70);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-100) !important;
}

/* ---------- INPUT LABELS ---------- */

label {
  font-family: var(--font-family-base);
  font-size: var(--input-label-size);
  font-weight: var(--fw-medium);
  line-height: var(--input-label-line);
  color: var(--text-70);
}


/*--------- Header Navigation Bar ---------*/
/* Header Base */
/* ===========================
   MAIN HEADER STYLES
=========================== */
.main-header {
  position: sticky;
  top: 0;
  width: 80%;
  background-color: #fff;
  z-index: 1030;
  justify-self: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: visible;
  transition: all 0.3s ease;
}

.main-header .container {
  max-width: 100%;
  padding: 0 5%;
}

/* NAV LINKS */
.nav-link {
  position: relative;
  font-family: var(--font-family-base);
  font-size: 18px;
  font-weight: var(--fw-regular);
  color: var(--secondary-70);
  text-decoration: none;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-70);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--primary-70);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* ACTIVE LINK */
.nav-link.active {
  color: var(--secondary-70);
  font-weight: var(--fw-bold);
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--secondary-70);
}

/* Reset Bootstrap default blue hover */
.navbar-nav .nav-link.show,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active {
  color: var(--primary-70);
}

/* ===========================
   DROPDOWN MENU STYLING
=========================== */

/* Wrapper */
.dropdown-menu {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  min-width: 220px;
  transition: all 0.25s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

/* Dropdown visible */
.dropdown:hover .dropdown-menu,
.nav-item.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
  font-size: 16px;
  color: var(--text-100);
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.25s ease;
  border-radius: 6px;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--primary-70);
}

/* Divider */
.dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Caret / arrow color fix */
.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border-top-color: var(--text-100);
  transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Optional hover for dropdown parent link */
.dropdown:hover > .nav-link {
  color: var(--primary-70);
}

/* Mobile responsiveness */
@media (max-width: 992px) {
  .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .dropdown-item {
    padding-left: 2rem;
  }
}



/* Logo Text */
.logo-text {
  line-height: 1.1;
}

.logo-text span {
  font-size: 12px;
  text-transform: lowercase;
}

/* Sticky Shadow Fade (optional) */
.main-header.sticky-top {
  transition: all 0.3s ease;
}


/* Hero Section */
.hero-section {
  background-color: #fff;
  position: relative;
}

.hero-heading {
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-100);
}

.hero-heading .highlight {
  color: var(--secondary-70);
  font-weight: 600;
}

/* Image Splash (optional background brush stroke) */
.hero-image-wrapper {
  position: relative;
}

/* Footer Logos */
.hero-footer {
  background-color: var(--secondary-70);
  color: white;
}

.strip-link {
  color: white;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.strip-link:hover {
  opacity: 1;
}


/*----About me Section----*/
.about-section {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

/* Image styling */
.about-img-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.about-img-wrapper img {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Gradient Circles */
.circle-gradient {
  position: absolute;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  z-index: -1;
}

.circle-top {
  top: -40px;
  right: -40px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-70));
  opacity: 0.3;
}

.circle-bottom {
  bottom: -40px;
  left: -40px;
  background: linear-gradient(135deg, var(--secondary-100), var(--highlight-blue, #79C6DB));
  opacity: 0.3;
}

/* Text styling */
.about-title {
  font-family: var(--font-family-base);
  font-size: 32px;
  font-weight: var(--fw-bold);
  color: var(--highlight-blue, #79C6DB);
  margin-bottom: 1rem;
}

.about-description {
  color: var(--text-70);
  font-size: var(--body-regular-size);
  line-height: var(--body-regular-line);
}

.about-subtitle {
  color: var(--highlight-blue, #79C6DB);
  font-weight: var(--fw-semi);
  font-size: 18px;
  margin-top: 1.5rem;
}

.about-text p {
  color: var(--text-70);
  font-size: 16px;
  line-height: 26px;
}







.my4-section {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

/* LEFT CONTENT */
.my4-title {
  font-family: var(--font-family-base);
  font-size: 36px;
  font-weight: var(--fw-bold);
  color: var(--highlight-blue, #79C6DB);
  margin-bottom: 1rem;
}

.my4-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-70, #5F5F5F);
}

.my4-list h5 {
  font-family: var(--font-family-base);
  font-size: 20px;
  font-weight: var(--fw-semi);
  color: var(--text-50, #8C8C8C);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.my4-list h5:hover,
.my4-list h5.active {
  color: var(--highlight-blue, #79C6DB);
}

/* RIGHT IMAGE */
.my4-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.my4-img-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* OVERLAY CARD */
.my4-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #1A1A1A;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 320px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.my4-img-wrapper:hover .my4-overlay,
.my4-overlay.active {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content .overlay-number {
  font-size: 14px;
  opacity: 0.8;
  display: block;
  margin-bottom: 5px;
}

.overlay-content h5 {
  font-size: 20px;
  font-weight: var(--fw-semi);
  margin-bottom: 10px;
}

.overlay-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #eaeaea;
}





















/* Footer Base */
.site-footer {
  position: relative;
  width: 100%;
  background-color: var(--primary-30, #A8D8E8); /* light aqua tone */
  overflow: hidden;
  text-align: center;
}

/* Top Section */
.footer-top {
  background-color: #A8D8E8;
}

.footer-logo-img {
  height: 70px;
}

.footer-nav {
  display: flex !important;
  justify-content: center;
    flex-direction: row !important;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  font-family: var(--font-family-base);
  font-weight: var(--fw-semi);
  color: var(--primary-100) !important;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-50) !important;
}

/* Description Text */
.footer-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-100);
  line-height: 1.7;
}

/* Social Icons */
.footer-section {
  background-color: #A8D8E8; /* top light blue */
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* --- Footer Bottom Layout --- */
.footer-bottom {
  background-color: #A8D8E8;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Left and Right Curves */
.footer-curve-left,
.footer-curve-right {
  width: 35%;
  height: 100%;
  background-color: #3EAAC4; /* darker aqua tone */
}

.footer-curve-left {
  border-top-right-radius: 90px;
}

.footer-curve-right {
  border-top-left-radius: 90px;
}

/* --- Social Icons --- */
.footer-icons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-100); /* match footer bg */
  padding: 10px 30px;
  border-radius: 50px;
  z-index: 5;
}

.footer-icons a {
  color: #000;
  font-size: 22px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.footer-icons a:hover {
  color: var(--primary-50);
  transform: scale(1.1);
}
