/********** Template CSS **********/
:root {
    --primary: #003459;     /* Dark Blue - Primary brand color */
    --secondary: #F7DBA7;   /* Mon Yellow - Secondary brand color */
    --accent: #00A7E7;      /* Blue Sea - For highlights and accents */
    --background: #FDFDFD;  /* Neutral 00 - Clean background */
    --dark: #00171F;        /* Neutral 100 - Deep text and details */
    --gradientbg: linear-gradient(135deg, #003459 0%, #F7DBA7 100%);
    --light: #EBEEEF;       /* Neutral 10 - Light sections */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Add smooth scrolling to the page */
html {
    scroll-behavior: smooth;
}

/* Add container max-width for better readability */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* Add section padding */
section {
    padding: 80px 0;
}

.text-primary{
    color: var(--primary) !important;
}

.India Vet Martlogo{
    display: block;
}


[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

.btn {
    text-transform: uppercase;
    font-weight: 700;
    transition: .3s ease-in-out;
    border-radius: 8px;
    padding: 12px 28px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border: none;
}

.btn-primary:hover {
    background-color: #005C99;  /* A vibrant medium blue */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 30px;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .3s ease;
    letter-spacing: 0.5px;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 7px;
        top: -4px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        width: 100%;
        height: 1px;
        top: -1px;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: linear-gradient(rgba(0, 52, 89, 0.85), rgba(0, 52, 89, 0.95)), url(../img/20241008_081428.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

/* Topbar  */
.topbarsection{
     background: rgba(0, 52, 89, 0.7);  /* Highly transparent version of primary color */
}

.text-start h6{
    color: var(--light);
}

.contactdetails h6, .contactdetails span{
    color: var(--dark) !important;
}

.text-start span{
    color: var(--light);
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

/* About Section */
.sectiontitle{
    font-size: 1.3rem;
}

.nav-pills .nav-link{
    background: none;
    border: 0;
    border-radius: false;
    color: var(--dark) !important;
    font-weight: 600;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--light) !important;
    background-color: #446391 !important;
}

/* Service Section */
.service-item {
  background: linear-gradient(145deg, #ffffff 0%, rgba(0, 52, 89, 0.02) 100%);
  border-radius: 15px;
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 52, 89, 0.15);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 52, 89, 0.3);
  background: linear-gradient(145deg, #ffffff 0%, rgba(0, 52, 89, 0.05) 100%);
  border-color: var(--primary-color);
}

.service-item i {
  transition: all 0.3s ease;
}

.service-item:hover i {
  transform: scale(1.1) rotate(5deg);
}

.service-item h5 {
  color: var(--dark-color);
  font-weight: 700;
  transition: color 0.3s ease;
}

.service-item:hover h5 {
  color: var(--primary-color);
}
.product-item {
    padding: 30px;
}

.product-item .btn-action {
    position: absolute;
    width: 100%;
    bottom: -40px;
    left: 0;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .btn-action {
    bottom: -20px;
    opacity: 1;
}

.product-carousel .owl-nav {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.bg-offer {
    /* background: url(../img/hero.jpg) top right no-repeat; */
    background: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%)), url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.team-carousel .owl-nav {
    position: absolute;
    width: 50px;
    height: 160px;
    top: calc(50% - 80px);
    right: 0;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 45px;
    right: 45px;
    bottom: 45px;
    left: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(122, 183, 48, .8);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.bg-testimonial {
    /* background: url(../img/testimonial.jpg) top left no-repeat; */
    background: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%)), url(../img/pexels-fauxels-3184416.jpg) top left no-repeat;
    background-size: cover;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 46px;
    top: calc(50% - 23px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

@media (min-width: 576px) {
    .blog-item .row {
        height: 300px;
    }
}

.blog-item a i {
    position: relative;
    padding-left: 20px;
    transition: .3s;
}

.blog-item a:hover i {
    padding-left: 50px;
}

.blog-item a i::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    top: 50%;
    left: 10px;
    margin-top: -1px;
    background: var(--primary);
    transition: .3s;
}

.blog-item a:hover i::after {
    width: 50px;
}


/* Services */
.service-item {
    background: var(--light);
    transition: .3s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-item i {
    transition: .3s ease-in-out;
}

.service-item:hover i {
    transform: scale(1.1);
    color: var(--accent) !important;
}

.service-item h5 {
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-item p {
    color: var(--dark);
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */

.btn-outline-primary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary:hover {
    color: var(--light);
    border-color: var(--primary);
    background-color: var(--primary);
}

/* Email Link Styles */
a[href^="mailto:"] {
    transition: all 0.3s ease;
}

a[href^="mailto:"]:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}