/********** Variables **********/
:root {
    --primary: #034218;
    --secondary: #ffc107;
    --tertiary: #d4e208;
    --light: #f0fff4;
    --dark: #120F2D;
    --white: #ffffff;
}

/********** Global Styles **********/
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 0;
    
    
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0;
}

p {
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container-fluid, .container {
    padding-left: 15px;
    padding-right: 15px;
}

/********** Navbar **********/
.navbar {
    background-color: var(--primary) !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar a {
    color: var(--tertiary) !important;
}

.navbar .nav-link:hover {
    color: var(--white) !important;
}

.navbar .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23d4e208' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/********** Buttons **********/
.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: 0.5s;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    border: none;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    text-align: center;
}

.btn-square { width: 36px; height: 36px; }
.btn-sm-square { width: 28px; height: 28px; }
.btn-lg-square { width: 46px; height: 46px; }

/********** Hero Section (Home Page) **********/
.hero-header {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url('../img/carousel-1.jpg') top right no-repeat;
    background-size: cover;
    color: var(--white);
    text-align: center;
    padding: 150px 15px;
}

.hero-header h1 {
    font-size: 3rem;
}

/********** Services & Projects **********/
.service-item {
    position: relative;
    text-align: center;
    padding: 30px;
    border-radius: 5px;
    transition: 0.5s;
    background-color: var(--white);
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 2px 0 0;
    transition: 0.5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

.service-item:hover * {
    color: var(--white) !important;
}

/********** Carousel / Testimonials **********/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 15, 45, .5);
    z-index: 1;
    color: var(--white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 10px;
}

.testimonial-carousel .owl-dot {
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    margin: 0 5px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/********** Blog / Projects Cards **********/
.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}

.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #D34351 #D34351 transparent;
    z-index: -1;
}

/********** Contact Page **********/
.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
}

.map-responsive {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.map-responsive iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.whatsapp-box {
    background-color: #25D366;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.whatsapp-box h4 {
    color: var(--white);
    margin-bottom: 15px;
}

/********** Footer **********/
footer, .footer-links, .social-icons {
    background-color: var(--primary);
    color: var(--white);
}

footer a, .footer-links a {
    color: var(--white);
}

footer a:hover, .footer-links a:hover {
    color: var(--secondary);
}

/********** Back to Top **********/
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/********** Responsive Breakpoints **********/
@media (max-width: 991.98px) {
    .navbar .nav-link { padding: 10px 0; }
    .service-item { padding: 20px; }
}

@media (max-width: 768px) {
    .hero-header h1 { font-size: 2.2rem; }
    .carousel-caption h1 { font-size: 24px; }
    .navbar-brand img { height: 50px; }
    .form-floating > label { font-size: 0.9rem; }
}

@media (max-width: 576px) {
    .hero-header h1 { font-size: 1.8rem; }
    .carousel-caption h1 { font-size: 18px; }
    .btn { font-size: 0.9rem; }
}
/* Add this to your style.css */
.project-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-item:hover {
    transform: translateY(-10px); /* Lifts the card up */
    background-color: #f8f9fa !important; /* Changes background slightly */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; /* Deepens shadow */
}

/* Optional: Make the text-warning link change color when the whole block is hovered */
.project-item:hover .text-warning {
    color: #c47c00 !important;
    text-decoration: underline;
}