/* /css/site.css */

:root {
  --brand-bg: #0b132b;        /* deep blue */
  --brand-accent: #1c2541;    /* secondary blue */
  --brand-primary: #3a506b;   /* mid blue */
  --brand-highlight: #5bc0be; /* teal accent */
  --brand-light: #f7f9fc;     /* near white */
  --text-dark: #1b1e23;
    --text-white: white;
  --text-muted: #5b6270;
  --border: #e4e9f2;
  --danger: #c62828;
  --success: #2e7d32;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text-dark);
  background: var(--brand-light);
  line-height: 1.55;
}

a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-highlight); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand-highlight);
  color: var(--brand-bg);
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-outline {
  background: transparent;
  border-color: var(--brand-highlight);
  color: var(--brand-highlight);
}
.btn-outline:hover { background: rgba(91,192,190,.1); }






header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #002e5f;
  border-bottom: 1px solid var(--border);
}

.site-header  .logo img {
    height: 80px;      /* or adjust as needed */
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.header .logo i{
    padding: 0.5rem;
}



.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brand-bg);
  letter-spacing: .5px;
}
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--brand-highlight);
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a { padding: 8px 10px; border-radius: 6px; }
.nav-links a.active { background: rgba(91,192,190,.15); color: var(--brand-bg); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.hero {
  background: linear-gradient(180deg, white, var(--brand-light));
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 40px 20px 60px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--brand-bg);
}
.hero p { color: var(--text-muted); margin: 0 0 18px; }
.hero .badge {
  display: inline-block;
  font-size: 13px;
  color: var(--brand-bg);
  background: rgba(91,192,190,.2);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.section {
  padding: 60px 0;
}
.section h2 {
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--brand-bg);
}
.section p.section-lead {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: whitehero;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.card h3 { margin: 0 0 10px; font-size: 20px; color: var(--brand-primary); }
.card p { color: var(--text-muted); margin: 0; }

.icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(91,192,190,.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.quote {
  background: white; border: 1px solid var(--border); border-radius: 12px; padding: 18px;
}
.quote p { margin: 0 0 8px; }
.quote .author { color: var(--text-muted); font-size: 14px; }

.cta {
  background: var(--brand-bg);
  color: white;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.cta h3 { margin: 0 0 10px; }
.cta p { color: #cbd5e1; }

.form {
  display: grid;
  gap: 12px;
}
.input, textarea.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text-dark);
}
.input:focus { outline: none; border-color: var(--brand-highlight); box-shadow: 0 0 0 3px rgba(91,192,190,.15); }
.form .error { color: var(--danger); font-size: 13px; }
.form .success { color: var(--success); font-size: 13px; }

footer.site-footer {
  border-top: 1px solid var(--border);
  background: #002e5f;
  padding: 18px 0;
  color: var(--text-white); /* or simply 'white' */
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}
.footer-grid h4 { margin: 0 0 10px; color: var(--brand-primary); }
.footer-bottom { margin-top: 12px; font-size: 13px; }

.hero-list {
  display: grid; gap: 8px;
}
.hero-list li {
  display: flex; align-items: center; gap: 8px; color: var(--text-muted);
}
.badge-inline {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(91,192,190,.18); color: var(--brand-bg);
  padding: 4px 8px; border-radius: 999px; font-size: 12px;
}

/* Dropdown menu styling */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: black;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,.1);
  z-index: 200;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-dark);
}

.dropdown-menu a:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: block;
}
/* Force dropdown text to be white */
.dropdown-menu a {
  color: var(--text-white); /* or simply 'white' */
}

/* Optional: adjust hover state for contrast */
.dropdown-menu a:hover {
  background: #0059b3; /* var(--brand-accent); /* darker background */
  color: var(--text-white);
}

/* Mobile-friendly: show when parent is clicked */
.nav-links.open .dropdown-menu {
  position: static;
  box-shadow: none;
  border: none;
}


/* Ensures the boxes have equal height */
.row {
  display: flex;
  flex-wrap: wrap;
}
/* Position nested dropdowns to the right */
.dropdown-menu .dropdown {
  position: relative;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
}

.team{
    min-width: 100vw;
    min-height: 95vh;
    text-align: center;
    background-color: #222;
}

.team .heading{
    color: white;
}

.team .heading::before, .team .heading::after{
    border-color: #9B86BD;
}

.team .row{
    display: inline-block;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.team .row .card{
    height: 35rem;
    width: 25rem;
    background-color: #fff;
    text-align: center;
    margin: 5rem 5rem;
    position: relative;
    overflow: hidden;
    -webkit-box-reflect: below 5px linear-gradient(transparent 70%, #0004);
    transition: 0.5s;
}

.team .row .card:hover{
    transform: translateY(-10px);
    cursor: pointer;
}


.team .row .card .image{
    margin: 1rem 0;
    padding-top: 4rem;
}

.team .row .card .image img{
    height: 13rem;
    width: 13rem;
    border-radius: 50%;
    border: .5rem solid #fff;
    box-shadow: 0 0 .5rem rgba(0,0,0,.3);
    object-fit: cover;
}

.team .row .card .info h3{
    font-size: 2rem;
    color: #333;
}

.team .row .card .info span{
    font-size: 1.8rem;
    color: #00bfff;
}

.team .row .card .info .icons a{
    margin-top: 4rem;
    padding-top: 0 1rem;
    font-size: 2rem;
    color: #333;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.team .row .card .info .icons .fa-facebook-f:hover, .footer .icons .fa-facebook-f:hover{
    color: #4267B2;
    text-decoration: none;
}

.team .row .card .info .icons .fa-twitter:hover, .footer .icons .fa-twitter:hover{
    color: #1DA1F2;
    text-decoration: none;
}

.team .row .card .info .icons .fa-instagram:hover, .footer .icons .fa-instagram:hover{
    color: #C13584;
    text-decoration: none;
}

.team .row .card .info .icons .fa-linkedin:hover, .footer .icons .fa-linkedin:hover{
    color: #2867B2;
    text-decoration: none;
}

.team .row .card::before, .team .row .card::after{
    content: '';
    position: absolute;
    border-radius: 50%;
    height: 13.5rem;
    width: 13.5rem;
    z-index: -1;
}

.team .row .card::before{
    background: #00bfff;
    top: -3rem;
    right: -4rem;
}

.team .row .card::after{
    background: #ccc;
    bottom: -3rem;
    left: -4rem;
}
/* Responsive */
@media (max-width: 960px) {
  .hero .container,
  .cta { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 400px;
  perspective: 1000px;
  margin: 20px auto; /* center the card itself in the row */
}



.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front .image {
  width: 100%;
  height: 60%; /* allocate space for the image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-front .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ensures the image fills the box without distortion */
  border-radius: 12px; /* optional: rounded corners */
}

.flip-card-front .info {
  text-align: center;
  margin-top: 10px;
}

.flip-card-front .icons {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  justify-content: center;
}



.flip-card-front .image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.flip-card-front .image img {
  width: 150px;       /* set equal width */
  height: 150px;      /* set equal height */
  object-fit: cover;  /* crop to fit without distortion */
  border-radius: 50%; /* makes the image circular */
  border: 3px solid #ddd; /* optional: add a subtle border */
}




.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;

  /* Center contents */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
}

.flip-card-back {
  background-color: #f7f7f7;
  transform: rotateY(180deg);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.card .image {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.card .image img {
  width: 150px;   /* adjust size */
  height: 150px;  /* keep square */
  object-fit: cover;
  border-radius: 50%; /* circular portrait */
}

.card .info {
  text-align: center;
}

.card .icons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
}



.card .image {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.card .image img {
  width: 150px;   /* adjust size */
  height: 150px;  /* keep square */
  object-fit: cover;
  border-radius: 50%; /* circular portrait */
}

.card .info {
  text-align: center;
}

.card .icons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.carousel {
    position: relative
}

.carousel.pointer-event {
    -ms-touch-action: pan-y;
    touch-action: pan-y
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden
}

.carousel-inner::after {
    display: block;
    clear: both;
    content: ""
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform .6s ease-in-out;
    transition: transform .6s ease-in-out;
    transition: transform .6s ease-in-out,-webkit-transform .6s ease-in-out
}

@media screen and (prefers-reduced-motion:reduce) {
    .carousel-item {
        transition: none
    }
}

.carousel-item-next,.carousel-item-prev,.carousel-item.active {
    display: block
}

.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left) {
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
}

.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right) {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    -webkit-transform: none;
    transform: none
}

.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active {
    z-index: 1;
    opacity: 1
}

.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right {
    z-index: 0;
    opacity: 0;
    transition: 0s .6s opacity
}

@media screen and (prefers-reduced-motion:reduce) {
    .carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right {
        transition: none
    }
}

.carousel-control-next,.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: .5;
    transition: opacity .15s ease
}

@media screen and (prefers-reduced-motion:reduce) {
    .carousel-control-next,.carousel-control-prev {
        transition: none
    }
}

.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: .9
}

.carousel-control-prev {
    left: 0
}

.carousel-control-next {
    right: 0
}

.carousel-control-next-icon,.carousel-control-prev-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent no-repeat center center;
    background-size: 100% 100%
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e")
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e")
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none
}

.carousel-indicators li {
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease
}

@media screen and (prefers-reduced-motion:reduce) {
    .carousel-indicators li {
        transition: none
    }
}

.carousel-indicators .active {
    opacity: 1
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center
}

.clients {
    position: relative;
    padding: 90px 0;
    text-align: center;
    margin-top: -10rem;
    margin-bottom: -10rem;
}

.clients .section-header p {
    padding-bottom: 10px;
    margin-top: 2.5rem;
    text-align: center;
    font-size: 2rem;
    color: #333;
    padding: 1rem 0;
}

.clients img {
    max-width: 100%;
    opacity: 1;
    transition: 0.3s;
    padding: 15px 0;
}

.clients img:hover {
    opacity: .5;
}

.clients .owl-nav,
.clients .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.clients .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

.clients .owl-dot.active {
    background-color: #4F84C4;
}    

.hero .wave{
    position: absolute;
    bottom: -.5rem;
    left: 0;
    height: 11rem;
    width: 100%;
    background: url(../images/wave.png);
    background-size: 100rem 11rem;
    animation: waves 8s linear infinite;
    background-repeat: repeat-x;
}

.hero .wave2{
    animation-direction: reverse;
    animation-duration: 6s;
    opacity: .3;
}

.hero .wave3{
    animation-duration: 4s;
    opacity: .5;
}
/* Make navigation links white */
header.site-header .nav-links a {
  color: var(--text-white); /* or simply 'white' */
}

/* Keep hover readable */
header.site-header .nav-links a:hover {
  color: var(--brand-highlight); /* teal accent for hover */
}	
        .footer {
            position: relative;
            padding: 0 0 30px 0;
            background: #333;
        }
        
        .footer .footer-top {
            background:#002e5f;
            padding: 60px 0 30px 0;
        }
        
        .footer .footer-top .footer-info,
        .footer .footer-top .footer-links,
        .footer .footer-top .footer-contact,
        .footer .footer-top .footer-newsletter {
            margin-bottom: 30px;
        }
        
        .footer .footer-top .social-links a {
            font-size: 18px;
            display: inline-block;
            background: #ffffff;
             color: var(--text-white); /* or simply 'white' */
            line-height: 1;
            padding: 9px 0;
            margin-right: 4px;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }
        
        .footer .footer-top .social-links a:hover {
            background: #00bfff;
            color: #ffffff;
        }
        
        .footer .footer-top h4 {
            font-size: 16px;
            font-weight: 700;
            color: #ffffff;
            text-transform: uppercase;
            position: relative;
            padding-bottom: 12px;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }
        
        .footer .footer-top h4::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            height: 0;
            width: 50px;
            border-bottom: 2px solid #ffffff;
        }
        
        .footer .footer-top .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer .footer-top .footer-links ul i {
            padding-right: 8px;
            color: #ffffff;
            font-size: 16px;
        }
        
        .footer .footer-top .footer-links ul li {
            border-bottom: 1px solid #ffffff;
            padding: 7px 0;
        }
        
        .footer .footer-top .footer-links ul li:first-child {
            padding-top: 0;
        }
        
        .footer .footer-top .footer-links ul a {
            font-size: 14px;
            color: #ffffff;
        }
        
        .footer .footer-top .footer-links ul a:hover {
            color: #00bfff;
        }
        
        .footer .footer-top .footer-contact p {
            color: #ffffff;
            line-height: 26px;
        }
        
        .footer .footer-top .footer-newsletter input[type="email"] {
            padding: 6px 8px;
            width: 60%;
            border: 1px solid #ffffff;
            background: transparent;
            color: #ffffff;
        }
        
        .footer .footer-top .footer-newsletter input[type="submit"] {
            border: 0;
            width: 40%;
            padding: 6px 0;
            text-align: center;
            color: black;
            border: 1px solid #ffffff;
            background: #ffffff;
            transition: 0.3s;
            cursor: pointer;
        }
        
        .footer .footer-top .footer-newsletter input[type="submit"]:hover {
            color: #ffffff;
            background: #00bfff;
            border: 1px solid #00bfff;
            letter-spacing: .2rem;
        }
        
        .footer .footer-top .footer-newsletter p {
            color: #ffffff;
            font-size: 14px;
        }
        
        .footer .credit,
        .footer .copyright {
            text-align: center;
            padding-top: 30px;
        }
        
        @media (min-width: 768px) {
            .footer .credit {
                text-align: right;
            }
            
            .footer .copyright {
                text-align: left;
            }
        }

        .back-to-top {
            position: fixed;
            display: none;
            background-color: #00bfff;
            color: #ffffff;
            width: 45px;
            height: 45px;
            text-align: center;
            line-height: 1;
            font-size: 44px;
            right: 15px;
            bottom: 15px;
            transition: background 0.3s;
            z-index: 9;
        }
        
        .back-to-top i {
            color: #ffffff;
        }

        .back-to-top i:hover {
            color: black;
        }