/* Global Styles */
:root {
    --primary-color: #6fa3da;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #333;
    --white: #fff;
    --dark: #1a1a1a;
}

html {
    scroll-behavior: smooth;
  }

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

.transparent-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    background-color: transparent;
}

.transparent-header .nav-links a {
    color: var(--white) !important;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
}

.logo img {
    height: 80px;
    width: auto;
    margin-right: 1rem;
}

.nav-links a {
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section for Homepage */
.hero-home {
    position: relative;
    background: url('img/bg.png') center center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background: none;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif; 
    font-style: italic;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 100;
    font-style: italic;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Dark Footer */
.dark-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-left p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--white);
}

.contact-info p {
    color: #999;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-info i {
    margin-top: 0.3rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design for Index Page */
@media (max-width: 1200px) {
    .main-nav {
        padding: 1.5rem 2rem;
    }
    
    .footer-content {
        padding: 0 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-logos {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-logo {
        height: 40px;
        max-width: 120px;
    }
}

@media (max-width: 576px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content .date {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.news-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.news-content p {
  color: #444;
  font-size: 1rem;
  margin: 0;
  flex: 1;
}