/* Color Variables */
:root {
    --dark-blue: rgb(14, 30, 62);
    --teal-green: rgb(62, 203, 155);
    --white: rgb(255, 255, 255);
    --light-grey-bg: rgba(255, 255, 255, 0.03);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    background-color: var(--dark-blue);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--white); }
h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* White Navbar Strip */
.navbar-strip {
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 75px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--teal-green);
}

/* Buttons & Links */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--teal-green);
    color: var(--dark-blue);
    border: 2px solid var(--teal-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--teal-green);
    border-color: var(--teal-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--teal-green);
    border: 2px solid var(--teal-green);
}

.btn-secondary:hover {
    background-color: var(--teal-green);
    color: var(--dark-blue);
    border-color: var(--teal-green);
}

.learn-more {
    color: var(--teal-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(14, 30, 62, 0.95), rgba(10, 25, 50, 0.95));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(62, 203, 155, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: backgroundMove 60s linear infinite;
    opacity: 0.1;
    z-index: 1;
}

@keyframes backgroundMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

.hero-content {
    z-index: 10;
    /* max-width: 700px; */
    padding: 0 20px;
    margin-top: -60px;
}

.hero-content p {
    font-size: 1.15rem;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* General Section Styling */
section {
    padding: 100px 0;
}

/* Services Section */
.services-section {
    background-color: var(--dark-blue);
}

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

.service-card {
    background-color: var(--light-grey-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--teal-green);
}

/* About Section */
.about-section {
    background-color: rgba(62, 203, 155, 0.05);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image, .about-text {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.list-icon {
    font-size: 1.8rem;
    color: var(--teal-green);
    min-width: 30px;
}

/* Featured Solutions Section */
.featured-solutions-section {
    padding: 80px 0;
    background-color: var(--dark-blue);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--light-grey-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.solution-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card h3 {
    margin-top: 20px;
    font-size: 1.3rem;
}

.solution-card p {
    padding: 0 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* CTA Section (The teal one) */
.cta-section {
    text-align: center;
    background-color: var(--teal-green);
    color: var(--dark-blue);
    padding: 80px 0;
}

.cta-section h2, .cta-section p {
    color: var(--dark-blue);
}

.cta-section .btn-primary {
    background-color: var(--dark-blue);
    color: var(--teal-green);
    border-color: var(--dark-blue);
    margin-top: 20px;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    text-align: left;
    background-color: var(--dark-blue);
}

.contact-section h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Two-column layout using Grid */
.contact-content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-form-container {
    padding: 30px;
    background-color: var(--light-grey-bg);
    border-radius: 10px;
    height: 100%;
    align-self: start;
}

.contact-info {
    padding: 30px;
    background-color: var(--light-grey-bg);
    border-radius: 10px;
    height: 100%;
    font-size: 1.1rem;
    align-self: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info .info-block p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.contact-info a {
    color: var(--teal-green);
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal-green);
    background-color: rgba(62, 203, 155, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.contact-form .btn-primary {
    width: auto;
    align-self: flex-start;
    padding: 15px 40px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .cta-buttons { flex-direction: column; gap: 10px; }
    .about-content { flex-direction: column; text-align: center; }
    .about-text h2 { text-align: center; }
    .about-image { order: -1; margin-bottom: 30px; }
    .about-text li { justify-content: center; }
    .navbar-content { flex-direction: column; gap: 15px; }
    .nav-links { flex-direction: column; gap: 10px; }
    .hero-content { margin-top: 0; }
    .contact-content-wrapper { flex-direction: column; }
    .contact-form-container,
    .contact-info {
        height: auto;
        padding: 20px;
    }
    .contact-form-container h2,
    .contact-info h2 {
        text-align: center;
    }
    .contact-form .btn-primary {
        align-self: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .btn { padding: 10px 20px; }
}

.carousel {
  position: relative;
  width: 100%;          
  /* max-width: 1000px; */ /* Remove or comment out this line */
  height: 450px;        
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin: 20px auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  height: 100%;
}

.carousel img {
  width: 100%;    /* image takes full width of carousel */
  height: 100%;   /* fit height */
  flex-shrink: 0;
  object-fit: cover; /* keeps aspect nicely cropped */
}

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;           /* push up from bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;            /* make sure dots are on top */
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);  /* light dots on dark image */
  cursor: pointer;
  transition: background 0.3s;
  border: 2px solid #333; /* outline to be visible even on light backgrounds */
}

.dot.active {
  background: #333;        /* dark active dot */
}
