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

:root {
  --primary: #0b3259;
  --primary-hover: #16528e;
  --secondary: #1a63a6;
  --accent: #d4af37;
  --bg: #FDFDFE;
  --bg-card: rgba(255, 255, 255, 0.9);
  --text-main: #0b3259;
  --text-muted: #475569;
  --border-light: rgba(11, 50, 89, 0.1);
  --glass-bg: rgba(253, 253, 254, 0.85);
  --glass-border: rgba(11, 50, 89, 0.08);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

html,
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section {
  padding: 50px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
}

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(11, 50, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 99, 166, 0.5);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.glass-card:hover::before {
  left: 150%;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0;
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem 0;
  }
  .navbar.scrolled {
    padding: 0.5rem 0;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.0rem;
  letter-spacing: -0.04em;
}

.logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-right: -23px;
}

.logo span {
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  opacity: 0.8;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
}

@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    width: 280px;
    height: calc(100vh - 70px);
    padding: 3rem 2rem;
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--border-light);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 10vw, 4.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-inline: auto;
}

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

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Services */
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(26, 99, 166, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-smooth);
}

#services .glass-card {
  padding: 1.75rem;
}

#services .glass-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

#services .glass-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.glass-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(11, 50, 89, 0.3);
  transform: scale(1.1);
}

/* Projects */
.project-card {
  padding: 0;
}

.project-img-wrapper {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-info {
  padding: 1.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 99px;
  color: var(--primary);
}

/* Founders */
.founder-card {
  text-align: center;
  padding: 1.5rem;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card.founder-card:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.founder-img {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 4px;
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.testimonial-card {
  width: 380px;
  max-width: 85vw;
  scroll-snap-align: center;
  flex: 0 0 auto;
}

.stars {
  color: #FBBF24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}



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

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 50, 89, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Intl-tel-input override */
.iti {
  display: block;
  width: 100%;
}

.iti input {
  padding-left: 52px !important;
}

/* Scroll Revel (AOS Alternative) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s !important;
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  background: rgba(241, 245, 249, 0.8);
  margin-top: 4rem;
}

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

@media(max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-smooth);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* Branded Colors on Hover */
.social-icons a[href*="linkedin"]:hover {
  background: #0077b5;
  border-color: #0077b5;
}

.social-icons a[href*="instagram"]:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.social-icons a[href*="youtube"]:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Announcement System */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-size: clamp(0.7rem, 2.5vw, 0.8125rem);
  font-weight: 500;
  position: relative;
  z-index: 1001;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.announcement-bar span {
  display: inline-block;
}

.announcement-bar a {
  color: #fff;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .announcement-bar {
    font-size: 0.75rem;
  }
}

.news-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  margin: 2rem 0;
}

.news-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-slide {
  min-width: 100%;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .news-slide {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.news-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 250px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.news-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(26, 99, 166, 0.1);
  color: var(--primary);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Slide Control Button */
.slide-control {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  gap: 1rem;
  z-index: 10;
}

@media (max-width: 768px) {
  .slide-control {
    position: static;
    justify-content: center;
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
}

.btn-slide {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-slide:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Announcements Archive Page */
.announcement-card {
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.announcement-card:hover {
  transform: translateX(10px);
}

.announcement-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}