
.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*main file */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav, footer {
  margin-left: -40px;
  margin-right: -40px;
}

@media (max-width: 768px) {
  body {
    padding: 0 20px;
  }
  
  nav, footer {
    margin-left: -20px;
    margin-right: -20px;
  }
}
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
}

h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.highlight {
  color: #f7c745;
  font-weight: bold;
}

/* Navigation Bar */
nav {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 80px;
}

.logo-text {
  font-size: 1.5rem;
  color: #f7c745;
  margin-left: 10px;
}

.menu {
  display: flex;
  gap: 15px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}


.menu a:hover {
  color: #f7c745;
  text-shadow: 0 0 10px #f7c745, 0 0 20px #f7c745;
}

/* Hero Section with adjusted spacing */
/* Hero Section adjustments */
/* Hero Section adjustments */
/* Hero Section adjustments */
./* Keep all existing code but update these specific sections: */

/* Base styles remain the same... */

/* Keep existing base styles and navigation styles... */

/* Hero Section */
/* Hero Section */
.hero {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
  white-space: nowrap;
  text-align: center; /* Added */
  width: 100%; /* Added */
}

.hero h3 {
  font-size: 1.8rem;
  color: #f7c745;
  margin-bottom: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out;
  text-align: center; /* Added */
  width: 100%; /* Added */
}

.hero p {
  font-size: 1.2rem;
  margin: 10px auto; /* Changed from left/right margins */
  margin-bottom: 20px;
  max-width: 800px; /* Added */
  text-align: center; /* Added */
  padding: 0 20px; /* Added */
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .hero {
      padding-top: 120px;
      padding-left: 20px; /* Added */
      padding-right: 20px; /* Added */
  }

  .hero h1 {
      font-size: 2.8rem;
  }

  .hero p {
      margin: 10px auto;
      padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
      font-size: 2.2rem;
  }

  .hero p {
      padding: 0 5px;
  }
}
.icon-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 20px;
  position: relative;
  z-index: 3;
}

.icon-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 80px;
  min-height: 220px;
  padding: 20px 0;
  position: relative;
  z-index: 4;
}

.icon-container .animated-icon {
  font-size: 9rem;
  color: #f7c745;
  filter: drop-shadow(0 0 25px rgba(247, 199, 69, 0.6));
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
  }

  .hero {
      padding-top: 300px; /* Increased to prevent hiding */
      margin-bottom: 0;
  }

  .icon-section {
      padding-top: 0;
      margin-top: -60px;
  }

  .icon-container {
      gap: 40px;
      min-height: 300px; /* Increased height */
      padding: 20px 0;
      margin-top: 0;
  }

  .icon-container .animated-icon {
      font-size: 6.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero {
      padding-top: 280px;
  }

  .icon-section {
      margin-top: -50px;
  }

  .icon-container {
      gap: 25px;
      min-height: 280px;
      margin-top: 0;
  }

  .icon-container .animated-icon {
      font-size: 5rem;
  }
}

/* Keep all existing styles after this... */
footer .social-media-buttons {
  display: flex;
  justify-content: center;
  gap: 25px; /* Increased gap */
  margin: 15px 0;
}

footer .social-media-buttons .social-btn {
  color: #fff;
  font-size: 1.3rem; /* Increased from 0.9rem */
  display: inline-block;
  transition: all 0.3s ease;
  padding: 8px;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
  }

  .hero {
      padding-top: 250px; /* Increased to prevent hiding under nav */
      margin-bottom: 0;
  }

  .icon-section {
      padding-top: 0;
  }

  .icon-container {
      gap: 40px;
      min-height: 180px;
      padding: 0;
      margin-top: -30px; /* Negative margin to reduce space */
  }

  .icon-container .animated-icon {
      font-size: 6.5rem;
  }
}
@media screen and (max-width: 480px) {
  .hero {
      padding-top: 220px;
  }

  .icon-container {
      gap: 25px;
      margin-top: -40px; /* Further reduced space */
  }

  .icon-container .animated-icon {
      font-size: 5rem;
  }
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
  white-space: nowrap; /* Keeps "E-Cell" on same line */
}
.hero h3 {
  font-size: 1.8rem;
  color: #f7c745;
  margin-bottom: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out;
}
.hero p {
  font-size: 1.2rem;
  margin: 10px 0;
  margin-bottom: 20px;
  margin-left: 100px;
  margin-right: 100px;
}

.cta-btn {
  background-color: #f7c745;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #ffdb6d;
  box-shadow: 0 0 15px #f7c745, 0 0 30px #f7c745;
}

/* About Us Section */
/* About Us Section - Updated spacing */
.about-us-container {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 50px;
  gap: 100px;
  animation: slideIn 1s ease forwards;
}

/* Mobile responsiveness adjustments */
@media screen and (max-width: 768px) {
  .hero {
      min-height: auto; /* Changed from 60vh */
      padding: 40px 20px;
  }

  .about-us-container {
      padding: 20px; /* Reduced from 30px */
      gap: 30px; /* Reduced from 50px */
      margin-top: -40px; /* Added negative margin to reduce space */
  }

  .about-logo {
      width: 200px;
      height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .about-us-container {
      padding: 15px; /* Further reduced padding */
      gap: 20px; /* Further reduced gap */
      margin-top: -50px; /* Increased negative margin for smaller screens */
  }

  .about-logo {
      width: 180px;
      height: 180px;
  }
}

.about-logo {
  width: 250px;  /* Decreased from 300px */
  height: 215px; /* Decreased from 300px */
  border: 5px solid #f7c745;
  border-radius: 0px;
  box-shadow: 0 0 15px 5px #f7c745;
  object-fit: cover;
}
/* ...existing code... */

.about-text-box {
  max-width: 1000px;
  font-size: 1.3rem;
  color: #ddd;
}

/* ...existing code... */

.about-text-box h2 {
  font-size: 2rem;
  color: #f7c745;
  margin-bottom: 15px;
}

/* Events Section */
/* Events Section */
.events-heading {
  font-size: 3rem;
  text-align: center;
  color: #f7c745;
  margin: 60px auto 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(247, 199, 69, 0.3);
  animation: fadeIn 1s ease;
}

/* Remove the ::before and ::after pseudo-elements that create the lines */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    margin-left: 50px;
    margin-right: 50px;
  }

  .about-us-container {
    padding: 30px;
    gap: 50px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  nav {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .menu {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
  }

  .hero {
    min-height: 60vh;
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h3 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-left: 20px;
    margin-right: 20px;
  }

  .about-us-container {
    flex-direction: column;
    text-align: center;
  }

  .about-logo {
    width: 200px;
    height: 200px;
  }

  .about-text-box {
    font-size: 1.1rem;
  }

  .events-heading {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h3 {
    font-size: 1.2rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .event-card {
    padding: 15px;
  }

  .event-card img {
    width: 80px;
  }

  .event-card h3 {
    font-size: 1.3rem;
  }

  .social-media-buttons {
    gap: 10px;
  }

  .social-media-buttons .social-btn {
    font-size: 1.3rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) {
  .menu a,
  .social-btn,
  button {
    padding: 12px 20px;
    min-height: 44px;
  }

  .event-card button {
    width: 100%;
    margin-top: 10px;
  }
}
/* ...existing code... */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-left: 5px;
  margin-right: 2px;
  margin-bottom: 60px;
}

.event-card {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  animation: slideIn 1s ease forwards;
}

.event-card img {
  width: 100px;
  margin: 0 auto 15px;
}

.event-card h3 {
  color: #f7c745;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.event-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}

.event-card button {
  background-color: #f7c745;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.event-card button:hover {
  background-color: #ffdb6d;
  box-shadow: 0 0 15px #f7c745, 0 0 30px #f7c745;
}
.event-card button:hover {
  background-color: #ffdb6d;
  box-shadow: 0 0 15px #f7c745, 0 0 30px #f7c745;
}

/* Footer */
footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background-color: #111;
}

footer p {
  margin-bottom: 10px;
}

/* Social Media Icons */
/* Social Media Icons - Footer specific */
.social-media-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}

.social-media-buttons .social-btn {
  color: #fff;
  font-size: 0.9rem; /* Significantly reduced size */
  display: inline-block;
  transition: transform 0.3s ease;
  padding: 6px;
}

/* Mobile responsive footer icons */
@media screen and (max-width: 768px) {
  .social-media-buttons {
      gap: 10px;
  }

  .social-media-buttons .social-btn {
      font-size: 0.85rem;
      padding: 5px;
  }
}

@media screen and (max-width: 480px) {
  .social-media-buttons {
      gap: 8px;
  }

  .social-media-buttons .social-btn {
      font-size: 0.8rem;
      padding: 4px;
  }
}
.social-media-buttons .social-btn:hover {
  transform: scale(1.2);
  color: #f7c745;
}
.author-name {
  color: #e55858;  /* Light grey color */
  font-size: 1.1rem;  /* Smaller font size */
  font-weight: normal;
  letter-spacing: 0.5px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: block;
}
.text 
{
  font-family: 'popins', sans-serif;
  color: red;
}

/* Replace snowfall with Innovation Particles Effect */
@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg);
      opacity: 0;
  }
  50% {
      opacity: 0.8;
  }
  100% {
      transform: translateY(-100vh) rotate(360deg);
      opacity: 0;
  }
}

.particle {
  position: fixed;
  width: 6px;          /* Increased from 4px */
  height: 7px;         /* Increased from 5px */
  background: linear-gradient(45deg, #f7c745, #ffdb6d);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 15px #f7c745;  /* Increased glow effect */
}

.particle:nth-child(3n) {
  width: 4px;          /* Increased from 2px */
  height: 4px;         /* Increased from 2px */
  animation-duration: 8s;
}

.particle:nth-child(3n+1) {
  width: 8px;          /* Increased from 4px */
  height: 8px;         /* Increased from 4px */
  animation-duration: 12s;
}

/* Optional: Increase glow effect for larger particles */
.particle:nth-child(3n+1) {
  box-shadow: 0 0 20px #f7c745;
}
.particle:nth-child(5n) {
  filter: blur(1px);
}
@media (max-width: 768px) {
  nav {
    padding: 15px 30px; /* Reduced padding for mobile */
  }
  
  .menu {
    gap: 20px; /* Reduced gap for mobile */
  }
}
/* Add to HTML via JavaScript */
/* Hamburger Menu - Initially hidden */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #f7c745;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
  nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(17, 17, 17, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1000;
  }

  .logo-container {
      width: 100%;
      justify-content: space-between;
      padding: 10px 20px;
  }

  .hamburger {
      display: flex;
  }

  .menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 75%;
      height: 100vh;
      background-color: rgba(17, 17, 17, 0.98);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      transition: right 0.3s ease;
      padding: 80px 20px;
  }

  .menu.active {
      right: 0;
  }

  .hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }

  .menu a {
      font-size: 1.2rem;
      width: 100%;
      text-align: center;
      padding: 15px;
  }
}