/* Base Styles */
:root {
  --primary-color: #0077C8; /* ACM Blue */
  --secondary-color: #38B6FF;
  --accent-color: #FF5F1F;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --error-color: #F44336;
  --dark-color: #333333;
  --light-color: #F8F9FA;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --transition-fast: 0.3s;
  --transition-medium: 0.5s;
  --transition-slow: 0.8s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 16px;
}

section {
  padding: 80px 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 200, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 200, 0.2);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  margin-left: 8px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 24px;
}

nav ul li a {
  color: var(--gray-700);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: 0;
  transition: width var(--transition-fast);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--gray-700);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--gray-900);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(33, 37, 41, 0.7), rgba(33, 37, 41, 0.7)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQX_8X7eh8hht09IqCJ0tIl33Sb_d748PFvjg&s');
  background-size: cover;
  background-position: center;
  animation: scale 20s linear infinite alternate;
  z-index: -1;
}

@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-content {
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  color: white;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* About Preview Section */
.about-preview {
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.underline {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto;
  margin-top: -8px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 16px;
}

.read-more i {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Events Section */
.events {
  background-color: var(--gray-100);
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.event-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  transition: all var(--transition-fast);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 1rem;
}

.event-details {
  padding: 16px;
  flex: 1;
}

.event-details h3 {
  margin-bottom: 8px;
  color: var(--gray-800);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.event-meta span {
  margin-right: 16px;
  display: flex;
  align-items: center;
}

.event-meta i {
  margin-right: 4px;
}

/* Join Us Section */
.join-us {
  background: linear-gradient(rgba(0, 119, 200, 0.9), rgba(0, 119, 200, 0.9)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQX_8X7eh8hht09IqCJ0tIl33Sb_d748PFvjg&s');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.join-content {
  max-width: 700px;
  margin: 0 auto;
}

.join-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.join-content p {
  margin-bottom: 32px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer Styles */
footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  display: block;
}

.footer-links, .footer-social {
  flex: 1;
  min-width: 200px;
}

footer h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: white;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Team Section */
.team-section {
  background-color: white;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-fast);
}

.team-member:hover .member-social {
  opacity: 1;
  transform: translateY(0);
}

.member-info {
  padding: 16px;
  text-align: center;
}

.member-info h3 {
  margin-bottom: 4px;
}

.designation {
  color: var(--primary-color);
  font-weight: 500;
}

/* Vision & Mission */
.vision-mission {
  background-color: var(--gray-100);
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.vm-card {
  background-color: white;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vm-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 119, 200, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.vm-icon i {
  font-size: 32px;
  color: var(--primary-color);
}

/* Achievements */
.achievements {
  background: linear-gradient(rgba(0, 119, 200, 0.9), rgba(0, 119, 200, 0.9)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQX_8X7eh8hht09IqCJ0tIl33Sb_d748PFvjg&s');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
}

.achievements .section-header h2 {
  color: white;
}

.achievements .underline {
  background-color: white;
}

.achievement-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.counter-item {
  padding: 24px;
}

.counter {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.counter-item h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.contact-info, .contact-form {
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h2, .contact-form h2 {
  margin-bottom: 24px;
  color: var(--gray-900);
}

.info-item {
  display: flex;
  margin-bottom: 24px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 119, 200, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 20px;
  color: var(--primary-color);
}

.info-details h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.1);
}

.social-links h3 {
  margin: 24px 0 16px;
}

#formStatus {
  margin-top: 16px;
  padding: 10px;
  border-radius: 4px;
  display: none;
}

#formStatus.success {
  background-color: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success-color);
  color: var(--success-color);
  display: block;
}

#formStatus.error {
  background-color: rgba(244, 67, 54, 0.1);
  border: 1px solid var(--error-color);
  color: var(--error-color);
  display: block;
}

/* Map Section */
.map-section {
  background-color: var(--gray-100);
  padding-bottom: 0;
}

.map-container {
  margin-top: 40px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transform: translateY(50px);
  transition: clip-path var(--transition-medium), transform var(--transition-medium);
}

.reveal-text.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(0);
}