/* ICRCCEES'25 Conference Website Styles */

/* Variables */
:root {
  --primary-color: #1a3a6e; /* Deep Blue */
  --secondary-color: #2e6b4a; /* Forest Green */
  --accent-color: #d4af37; /* Gold */
  --text-color: #333333;
  --light-text: #ffffff;
  --bg-color: #ffffff;
  --light-bg: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

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

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

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #15305d;
  color: var(--light-text);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-secondary:hover {
  background-color: #255a3d;
  color: var(--light-text);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-color);
}

.btn-accent:hover {
  background-color: #c19f2e;
  color: var(--text-color);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

/* Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  padding: 10px 0; /* Reduced padding */
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  max-width: 180px; /* Slightly reduced logo size */
  margin-right: 15px;
}

.logo-text h1 {
  font-size: 1.4rem; /* Slightly reduced font size */
  margin-bottom: 0;
}

.logo-text p {
  font-size: 0.75rem; /* Slightly reduced font size */
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

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

nav ul li a {
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(26, 58, 110, 0.8), rgba(46, 107, 74, 0.8)), url(\'../images/engineering-bg.png\');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 100px; /* Added padding to push content down */
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem; /* Adjusted font size for better fit */
  margin-bottom: 20px;
  color: var(--light-text);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.countdown-item {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 20px;
  min-width: 100px;
  border-radius: var(--border-radius);
  text-align: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
}

.countdown-label {
  font-size: 0.9rem;
}

/* About Section */
.about {
  background-color: var(--bg-color);
}

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

.about-text {
  flex: 1;
}

.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Topics Section */
.topics {
  background-color: var(--light-bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(\'../images/blueprint-bg.png\');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

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

.topic-card {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.topic-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.topic-title {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Dates Section */
.dates {
  background-color: var(--bg-color);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.date-card {
  display: flex;
  align-items: center;
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.date-icon {
  font-size: 2rem;
  margin-right: 20px;
  color: var(--primary-color);
}

.date-info h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.date-info p {
  color: var(--accent-color);
  font-weight: 600;
}

/* Registration Section */
.registration {
  background-color: var(--light-bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(\'../images/engineering-bg.png\');
  background-size: cover;
  background-position: center;
}

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

.registration-card {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.registration-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--accent-color);
}

.registration-card.featured::before {
  content: "Recommended";
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

.registration-header {
  margin-bottom: 20px;
}

.registration-header i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.registration-header h3 {
  font-size: 1.5rem;
}

.registration-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.registration-features {
  list-style: none;
  margin-bottom: 30px;
}

.registration-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.registration-features li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Committee Section */
.committee {
  background-color: var(--bg-color);
}

.committee-section {
  margin-bottom: 50px;
}

.committee-section h3 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color);
  font-size: 1.8rem;
}

.committee-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.committee-member {
  text-align: center;
  width: 200px;
}

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  color: var(--primary-color);
  font-size: 2.5rem;
}

.committee-member h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.committee-member p {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.committee-member-small {
  background-color: var(--light-bg);
  padding: 15px;
  border-radius: var(--border-radius);
  text-align: center;
  width: 200px;
}

.committee-member-small h4 {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Venue Section */
.venue {
  background-color: var(--light-bg);
}

.venue-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.venue-info {
  flex: 1;
}

.venue-image {
  flex: 1;
}

.venue-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.venue-details {
  margin: 20px 0;
}

.venue-details p {
  margin-bottom: 10px;
}

.venue-details i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.venue-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Call to Action */
.cta {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: var(--light-text);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--light-text);
  opacity: 0.8;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-col p {
  margin-bottom: 10px;
}

.footer-col p a {
  color: var(--light-text);
}

.footer-col p a:hover {
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  color: var(--light-text);
  font-size: 1.2rem;
}

.social-icons a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background-color: var(--bg-color);
  padding: 50px 20px;
}

.close-menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-menu ul li a {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content, .venue-content {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .registration-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 1.8rem; /* Further reduced for mobile */
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    min-width: 80px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .dates-grid {
    grid-template-columns: 1fr;
  }
  
  .topics-grid {
    grid-template-columns: 1fr;
  }
  
  .registration-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}


