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

:root {
  --primary-color: #0f2027;
  --secondary-color: #203a43;
  --accent-color: #d4af37; /* Gold */
  --text-color: #333;
  --light-bg: #f4f7f6;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Page Header */
.page-header {
  background: var(--white);
  padding: 15px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.07);
  text-align: center;
  position: relative;
  z-index: 100;
}

.logo {
  max-height: 100px;
  vertical-align: middle;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.9), rgba(44, 83, 100, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 140px 20px 100px;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero.small {
  padding: 100px 20px 80px;
  clip-path: none;
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.95), rgba(44, 83, 100, 0.95)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section.light {
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container.policy {
  max-width: 800px;
  background: var(--white);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: -40px; /* Overlap effect */
  position: relative;
  z-index: 10;
}

.container.policy p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

h3 {
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-bottom-color: var(--accent-color);
}

.service-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.service-card span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.service-card:hover i {
  transform: scale(1.1);
}

/* Contact Section Background */
.contact-section {
  background: linear-gradient(rgba(15, 32, 39, 0.85), rgba(15, 32, 39, 0.85)), url('https://images.unsplash.com/photo-1512453979798-5ea904ac66de?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

/* Contact Box */
.contact-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.05);
  color: var(--text-color);
}

.contact-box p {
  margin: 15px 0;
  font-size: 1.1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.contact-box strong {
  color: var(--primary-color);
  display: inline-block;
  width: 100px;
  text-align: right;
  margin-right: 10px;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
  margin-top: auto;
}

footer a {
  color: #ccc;
  margin: 0 10px;
  font-weight: 500;
}

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

footer p {
  margin-top: 20px;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Back Button */
.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-back:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .contact-box strong { display: block; width: auto; text-align: center; margin: 0 0 5px 0; }
  .container.policy { padding: 30px; margin-top: 0; }
  .logo { max-height: 80px; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
}