/* ==========================================================================
   Sri Venkateswara Degree College, Atmakur - Modern Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-dark: #0f172a;
  --primary-blue: #1e3a8a;
  --primary-accent: #2563eb;
  --secondary-emerald: #059669;
  --emerald-light: #10b981;
  --accent-gold: #d97706;
  --gold-hover: #b45309;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-dark);
  line-height: 1.25;
}

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

a:hover {
  color: var(--primary-blue);
}

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

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-accent);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Top Notification Bar */
.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-badge {
  background: var(--secondary-emerald);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Ticker Bar */
.ticker-wrap {
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-gold);
}

.ticker-label {
  background: var(--accent-gold);
  color: white;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-items {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
  font-size: 0.95rem;
}

.ticker-items span {
  display: inline-block;
  padding: 0 2rem;
}

.ticker-items span strong {
  color: #fbbf24;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Header & Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--secondary-emerald);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-accent);
  background: rgba(37, 99, 235, 0.06);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 230px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-link:hover {
  background: var(--bg-alt);
  color: var(--primary-accent);
  padding-left: 1.5rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-blue));
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--primary-dark);
  color: white;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 0.50;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.72) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-principal-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.hero-principal-card:hover {
  transform: translateY(-5px);
  border-color: #fbbf24;
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.35);
}

.principal-avatar-wrap {
  width: 130px;
  height: 150px;
  margin: 0 auto 1rem auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

.hero-principal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.principal-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--accent-gold);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.hero-principal-info h3 {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-principal-info p {
  color: #cbd5e1;
  font-size: 0.8rem;
  line-height: 1.3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--gold-hover));
  color: white;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-3px);
}

/* Quick Stats Bar */
.stats-banner {
  background: white;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* About & Leadership Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img-box:hover img {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary-dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--accent-gold);
}

.experience-badge h4 {
  color: var(--accent-gold);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.8rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.value-item i {
  color: var(--secondary-emerald);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Principal Message Card */
.principal-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-xl);
  margin: 4rem 0;
}

.principal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.principal-photo-box {
  text-align: center;
}

.principal-photo {
  width: 220px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  margin: 0 auto 1rem auto;
}

.principal-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.principal-title {
  color: #fbbf24;
  font-size: 0.9rem;
  font-weight: 600;
}

.principal-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e2e8f0;
  font-style: italic;
  position: relative;
}

.principal-quote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.15);
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  font-family: Georgia, serif;
}

/* Courses Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-accent);
}

.course-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: white;
  padding: 1.5rem;
}

.course-degree {
  display: inline-block;
  background: var(--accent-gold);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.35rem;
  color: white;
}

.course-body {
  padding: 1.5rem;
  flex: 1;
}

.course-subs {
  list-style: none;
  margin-bottom: 1.5rem;
}

.course-subs li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.course-subs li i {
  color: var(--secondary-emerald);
}

.course-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Departments Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.dept-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-emerald);
}

.dept-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

.dept-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dept-category {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Infrastructure Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

/* Modal Lightbox */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  text-align: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 75vh;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Official Downloads Hub */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.download-card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-accent);
}

.download-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.download-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.download-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-box {
  background: var(--primary-dark);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.contact-info-box h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Footer */
.main-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: white;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-credits strong {
  color: var(--accent-gold);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.4rem; }
  .hero-grid { grid-template-columns: 1fr 240px; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .principal-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-principal-card { max-width: 280px; width: 100%; margin-top: 1rem; }
  .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
  .top-bar-content { flex-direction: column; align-items: flex-start; }
  .mobile-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; padding: 0.8rem 1rem; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--bg-alt);
    display: none;
  }
  .nav-item.active .dropdown-menu { display: block; }
  .hero-title { font-size: 1.85rem; }
  .hero-section { min-height: 480px; }
  .stats-banner { margin-top: -2rem; padding: 1.25rem; }
  .values-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
