/*
Theme Name: Sigma Institute of Statistics and Data Science
Theme URI: https://example.com/sigma-institute-theme
Author: Your Name
Author URI: https://example.com
Description: A clean, premium-style academic institute theme inspired by aitrs.org, tailored for Sigma Institute of Statistics and Data Science.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sigma-institute
*/

/* Basic Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f5f7fb;
}

a {
  color: #0056a4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0056a4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  overflow: hidden;
  flex-shrink: 0;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-logo a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.site-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: none;
}

.site-subtitle {
  font-size: 0.8rem;
  color: #666;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #0056a4, #0f8ed8);
  color: #fff;
}

.btn-outline {
  background: #ffffff;
  border-color: #0056a4;
  color: #0056a4;
}

.hero {
  background: radial-gradient(circle at top left, #e0f0ff 0, #f5f7fb 50%, #ffffff 100%);
  padding: 3rem 1rem 2.5rem;
  border-bottom: 1px solid #e1e5ee;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f8ed8;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #162447;
  margin-bottom: 1rem;
}

.hero-highlight {
  color: #0f8ed8;
}

.hero-text {
  font-size: 0.98rem;
  color: #4b4b4b;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #555;
}

.hero-badge {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-badge-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.hero-badge-stat {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f8ed8;
}

.hero-badge-note {
  font-size: 0.8rem;
  color: #555;
}

.hero-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.75rem;
}

.hero-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.88rem;
  color: #444;
}

.hero-card-list li {
  padding: 0.25rem 0;
}

.section {
  padding: 2.5rem 1rem;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #162447;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #666;
  max-width: 420px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf0f7;
}

.card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f8ed8;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.list-unstyled {
  list-style: none;
}

.bullet-list li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 0.4rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0f8ed8;
}

.notice-board {
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #edf0f7;
}

.notice-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f3f9;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  font-size: 0.78rem;
  color: #888;
}

.notice-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
}

.site-footer {
  background: #12172c;
  color: #d5d9f3;
  padding: 2.5rem 1rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.footer-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7ca7ff;
  margin-bottom: 0.75rem;
}

.footer-text,
.footer-links a {
  font-size: 0.86rem;
  color: #d5d9f3;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Announcement Bar */
.announcement-bar {
  background: #0056a4;
  color: #ffffff;
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.announcement-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

.announcement-link {
  color: #ffffff;
  text-decoration: none;
  display: block;
}

.announcement-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* CEO Section */
.ceo-section {
  background: #f8f9fb;
}

.ceo-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.ceo-image {
  flex-shrink: 0;
}

.ceo-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ceo-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #162447;
  margin-bottom: 0.5rem;
}

.ceo-title {
  font-size: 0.95rem;
  color: #0f8ed8;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ceo-message {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.ceo-message p {
  margin-bottom: 1rem;
}

.ceo-message p:last-child {
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
  background: #f5f7fb;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .site-header-inner {
    flex-wrap: wrap;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .primary-nav {
    display: none;
  }

  .ceo-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ceo-image {
    margin: 0 auto;
  }

  .ceo-image img {
    width: 150px;
    height: 150px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}


