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

body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

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

html {
    scroll-behavior: smooth;
}


.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 70, 120, 0.85), rgba(0, 70, 120, 0.85)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab') center/cover no-repeat;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 25px 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0px;
    color: white;
    text-decoration: none;
    animation: fadeIn 0.6s ease 0.1s forwards;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.6;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* Replace .hero-content h1 */
.hero-content h1 {
    font-size: 48px;
    max-width: 800px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Replace .hero-content p */
.hero-content p {
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

/* Replace .cta-btn */
.cta-btn {
    padding: 14px 32px;
    background-color: white;
    color: #004678;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s, background-color 0.3s ease;
}

/* Add this — shared visible state */
.hero-content h1.visible,
.hero-content p.visible,
.cta-btn.visible,
.info-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add these at the bottom — responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .navbar {
        padding: 20px 30px;
    }

    .info-strip {
        flex-direction: column;
        align-items: center;
        padding: 40px 6%;
    }

    .info-box {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

.cta-btn:hover {
    background-color: #e6e6e6;
}

/* Replace .info-strip */
.info-strip {
    background: #f7f9fc;
    display: flex;
    justify-content: space-around;
    padding: 60px 10%;
    text-align: center;
    flex-wrap: wrap;
}

/* Replace .info-box */
.info-box {
    width: 300px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Add this — visible state triggered by JS */
.info-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Replace .info-box h3 */
.info-box h3 {
    margin-bottom: 15px;
    color: #004678;
    text-align: center;
}

/* Replace .info-box p */
.info-box p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* Add this — icon styling */
.info-icon {
    font-size: 36px;
    color: #004678;
    display: block;
    margin-bottom: 15px;
}

.section {
    padding: 80px 10%;
}

.light-bg {
    background: #f7f9fc;
}

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

.center {
    text-align: center;
}

.two-col {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
}

.two-col > div {
    flex: 1;
    min-width: 300px;
}

.highlight-box {
    background: #004678;
    color: white;
    padding: 40px;
    border-radius: 6px;
}

.highlight-box ul {
    margin-top: 20px;
    line-height: 2;
}

.services-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card,
.blog-card {
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.service-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
}

/* Replace .sdg-grid */
.sdg-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
    /* hide scrollbar visually but keep it functional */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sdg-scroll::-webkit-scrollbar {
    display: none;
}

.sdg-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 40px;
    width: max-content;
}

.sdg-tag {
    padding: 10px 18px;
    border: 1px solid #004678;
    border-radius: 6px;
    color: #004678;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    background: white;
    cursor: default;
    transition: background 0.3s ease, color 0.3s ease;
}

.sdg-tag:hover {
    background: #004678;
    color: white;
}

.newsletter {
    background: linear-gradient(rgba(0, 70, 120, 0.90), rgba(0, 70, 120, 0.90)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab') center/cover no-repeat;
    color: white;
    padding: 80px 10%;
}

.newsletter h2,
.newsletter p,
.subscribe-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.newsletter p {
    transition-delay: 0.15s;
}

.subscribe-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    transition-delay: 0.3s;
}

.newsletter h2.visible,
.newsletter p.visible,
.subscribe-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.subscribe-form input {
    padding: 14px;
    width: 280px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.subscribe-form input:focus {
    border: 1px solid #004678;
}

.subscribe-form button {
    padding: 14px 30px;
    border: 1px solid #004678;
    border-radius: 6px;
    background: white;
    color: #004678;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.subscribe-form button:hover {
    background: #e6e6e6;
    color: #004678;
}

.footer {
    background: #f7f9fc;
    color: #aaa;
    text-align: center;
    padding: 30px;
    font-size: 14px;
}

/* Add this */
.about-text p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-spacing: -0.05em;
}

/* Add this */
.about-text,
.about-highlights {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-highlights {
    transition-delay: 0.2s;
}

/* Add .about-text.visible and .about-highlights.visible to your existing visible rule */
.hero-content h1.visible,
.hero-content p.visible,
.cta-btn.visible,
.info-box.visible,
.about-text.visible,
.about-highlights.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add this — service icon contrasting color */
.service-icon {
    font-size: 36px;
    color: #004678;
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

/* Add this — override service-card to work as a link */
.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #004678;
}

.service-card p {
    text-align: center;
    text-decoration: none;
    font-size: 14px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 70, 120, 0.15);
    background-color: #f0f6ff;
}

.contact-heading {
    color: #004678;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-sub {
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}



.contact-heading.visible,
.contact-sub.visible,
.social-icons.visible,
.contact-details.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.social-btn.whatsapp  { background: #25D366; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.facebook  { background: #1877F2; }
.social-btn.email     { background: #004678; }
.social-btn.website { background: #6b7280; }


/* Typewriter navbar animation */
.typewriter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;  /* ← this pushes it to the right */
}
.tw-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tw-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.typewriter-text {
  display: inline-flex;
  align-items: center;
  min-width: 90px;
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  white-space: nowrap;
}
/* Cursor lives AFTER the text via ::after — moves with it */
.typewriter-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #ffffff;
  margin-left: 1px;
  flex-shrink: 0;
  animation: twBlink 0.6s step-end infinite;
}
@keyframes twBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

@media (max-width: 600px) {
  .tw-label { display: none; }
  .tw-divider { display: none; }
  .typewriter-wrap {
    margin-left: auto;
    flex-shrink: 0;        /* ← stops it from being squished */
  }
  .typewriter-text {
    min-width: 0;
    font-size: 13px;
    color: #ffffff;
  }
}

@media (max-width: 380px) {
  .navbar {
    flex-wrap: nowrap;     /* ← keeps logo and typewriter on one line */
    padding: 18px 20px;
  }
  .logo {
    font-size: 16px;       /* ← slightly smaller logo on very small screens */
  }
  .typewriter-text {
    font-size: 12px;
  }
}

.typewriter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  animation: fadeIn 0.6s ease 0.1s forwards;  /* ← add this line */
  opacity: 0;                                   /* ← add this line */
}