/* style.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --primary: #0056b3;
  --primary-glow: rgba(0, 86, 179, 0.2);
  --secondary: #00d2ff;
  --text-dark: #12151c;
  --text-muted: #4a5568;
  --bg-color: #f7fafc;
  --footer-bg: #e2e8f0;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 1);
  --radius: 20px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Google Sans", "Product Sans", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);

  background-color: var(--bg-color);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

h1 { font-size: 4rem; line-height: 1.1; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

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

a { text-decoration: none; color: inherit; }

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  max-width: 1600px;
  margin: 0 auto;
}
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

/* Containers */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.section { position: relative; }
.section-light { background-color: var(--white); }
.section-alt { background-color: var(--bg-color); }
.section-footer { background-color: var(--footer-bg); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Hero / Background sections */
.hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg > img.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-bg .overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.hero-bg .overlay-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
  z-index: 2;
}
.hero-bg .container { z-index: 3; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.8rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  cursor: pointer;
}
.btn:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-3px);
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.glass-card img.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
}

/* Futuristic Accents */
.futuristic-accent {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-bottom: 2.5rem;
  border-radius: 3px;
}
.text-center .futuristic-accent {
  margin-left: auto;
  margin-right: auto;
}
.text-center { text-align: center; }

/* Image Wrapper */
.image-showcase {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.image-showcase img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.image-showcase:hover img {
  transform: scale(1.05);
}

/* Forms */
.form-group { margin-bottom: 2rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.8rem; color: var(--text-dark); }
.form-control {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: var(--white);
  font-family: inherit;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-glow);
}
textarea.form-control { min-height: 180px; resize: vertical; }

#successMessage {
  display: none;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  background: var(--white);
  padding: 6rem 0 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Dropdown Menu */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; top: 100%; left: -20px; background: var(--glass-bg); backdrop-filter: blur(25px); min-width: 250px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-radius: 12px; border: 1px solid var(--glass-border); padding: 0.5rem 0; z-index: 1000; }
.dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.4s; }
.dropdown-content a { display: block; padding: 1.2rem 1.8rem; text-transform: none; color: var(--text-dark); font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid rgba(0,0,0,0.05); transition: background 0.3s, color 0.3s; }
.dropdown-content a:hover { color: var(--primary); background: rgba(0,0,0,0.03); }

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

/* Motion Effects */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.slide-up-active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  
  .mobile-toggle { display: block; }
  .nav-container { display: flex; justify-content: space-between; align-items: center; }
  .nav-links {
    display: none; 
    flex-direction: column; 
    width: 100%; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: var(--white); 
    padding: 1rem 5%; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-links.active { display: flex; }
  .nav-links a { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-links a:last-child { border-bottom: none; }
  .dropdown-content { position: relative; box-shadow: none; border: none; background: transparent; min-width: 100%; padding-left: 1rem; left: 0; display: none; }
  .dropdown.active .dropdown-content { display: block; }
}
