/* Reset and basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000814;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: #ffffff !important;
}


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

/* Header */
header {
    background-color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

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

.logo span {
    font-weight: 700;
    font-size: 1.4rem;
    color: #001f3f;
    /* same as nav links */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

nav ul li a {
    color: #001f3f;
    text-decoration: none;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    transition: color 0.3s ease;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00ffff;
    background-color: #001f3f;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    /* changed from 4rem 0 to add horizontal padding */
    gap: 2rem;
    background: linear-gradient(135deg, #001d3d 40%, #003566 100%);
}

.hero-content {
    flex: 1 1 400px;
    padding-left: 1.5rem;
    /* add left padding to push content away from edge */
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #00bcd4;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
}

.btn-primary {
    display: inline-block;
    background-color: #00bcd4;
    color: #000814;
    padding: 0.8rem 2rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0096a1;
    color: #fff;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.6);
}

/* Services Section */
.services-section {
    background-color: #001f3f;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.services-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: #00bcd4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.8rem;
    padding: 0 1rem;
}

.service-card {
    background-color: #003566;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-card h3 {
    padding: 1rem;
    font-size: 1.3rem;
    color: #00bcd4;
}

.service-card p {
    padding: 0 1rem 1.2rem;
    font-size: 1rem;
    color: #e0f7fa;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #000814 0%, #001d3d 100%);
    padding: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    color: #fff;
}

.about-content {
    flex: 1 1 500px;
    max-width: 700px;
}

.about-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #00bcd4;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content img {
    flex: 1 1 300px;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
    background-color: #001f3f;
    text-align: center;
    color: #fff;
}

.portfolio-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: #00bcd4;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.portfolio-grid img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
    transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
}

.lead-text {

    margin-bottom: 1.5rem;
}


/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #000814 40%, #001d3d 100%);
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: #00bcd4;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: #003566;
    border-radius: 15px;
    padding: 1.8rem;
    max-width: 320px;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    font-style: italic;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 0 30px #00bcd4;
}

.testimonial-card h4 {
    margin-top: 1rem;
    font-weight: 700;
    color: #00bcd4;
}

/* Contact Section */
.contact-section {
    background-color: #001f3f;
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: #00bcd4;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-details {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-details div {
    margin: 0.6rem 0;
}

.contact-details a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #00e5ff;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 5px 10px rgba(37, 211, 102, 0.4);
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128c3e;
}

/* Footer */
footer {
    background-color: #000814;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #00bcd4;
}

/* Animations for slide-in */

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease forwards;
}

.slide-in-bottom {
    animation: slideInBottom 1s ease forwards;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
    }

    .about-section {
        flex-direction: column;
    }

    nav ul {
        gap: 1rem;
    }

    .testimonial-cards {
        flex-direction: column;
    }
}

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

.blog-card {
  background-color: #003566;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.blog-card h3 {
  color: #00bcd4;
  margin-bottom: 0.8rem;
}

.blog-card p {
  color: #e0f7fa;
  font-size: 1rem;
}

.blog-section h1 {
  color: #00bcd4;
  text-align: center;
  margin-bottom: 2rem;
}




/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #001f3f;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header-container {
    position: relative;
  }

  .hero-section,
  .about-section,
  .testimonial-cards {
    flex-direction: column;
  }

  .hero-content {
    padding: 0;
  }

  .hero-image {
    margin-top: 1rem;
  }

  .service-card,
  .testimonial-card {
    max-width: 100%;
  }
}

.social-icons {
  margin-bottom: 0.8rem;
  text-align: center;
}

.social-icons a {
  margin: 0 0.5rem;
  display: inline-block;
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}
