:root {
    --primary-color: #122232;
    --secondry-color: #87CEEB;
    --white: #fff;
    --black: #000;
}

.hero-carousel {
    width: 100%;
    height: 90vh;
    position: relative;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.582) 30%, rgba(0, 0, 0, 0.2));
}

.slide-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 1200px;
    padding: 50px 8%;
}

@keyframes subtleFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title,
.slide-subtitle,
.slide-buttons {
    opacity: 0;
}

.swiper-slide-active .slide-title {
    animation: subtleFadeInUp 1s ease-out 0.2s forwards;
}

.swiper-slide-active .slide-subtitle {
    animation: subtleFadeInUp 1s ease-out 0.4s forwards;
}

.swiper-slide-active .slide-buttons {
    animation: subtleFadeInUp 1s ease-out 0.6s forwards;
}

.slide-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 200px;
    color: var(--secondry-color);
}

.slide-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    max-width: 500px;
    line-height: 1.6;
}

.slide-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondry-color) !important;
    border: none !important;
    color: #1a1a1a !important;
}

.btn-primary:hover {
    background-color: var(--white) !important;
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

.btn-outline {
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
    border-color: #fff;
    transform: scale(1.05);
}


.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* .swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #dc3545;
  color: #fff;
} */

@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        position: static;
        margin: 10px 5px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
    }

    .swiper-container {
        text-align: center;
    }
}


@media (max-width: 768px) {
    .slide-content {
        text-align: center;
        justify-content: center;
        padding: 50px 5%;
    }

    .slide-buttons {
        justify-content: center;
    }

    .slide-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .swiper-button-next,
    .swiper-button-prev {
        height: 40px !important;
        width: 40px !important;
        font-size: 20px !important;
    }
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 30px !important;
}

/* About Us Section Start */

.about-heading {
    color: var(--secondry-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 35px;
}

.about-heading span {
    color: var(--secondry-color);
}


.heading-background{
    background-color: var(--primary-color);
}

.about-button {
    background-color: var(--primary-color);
    padding: 10px;
    border: none;
    color: #fff;
}

/* Existing styles keep */
.about-carousel img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 1s ease-in-out;
}

/* Remove static transform, add animation */
.about-carousel .slick-current img {
    animation: zoomInOut 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


.about-carousel .slick-slide {
    padding: 10px;
}



/* Services Section Start */

.services-section {
    background-color: #1a1a1a;
    padding-top: 1px;
}


.section-header {
    margin-bottom: 50px;
    margin-top: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-decorator {
    width: 70px;
    height: 3px;
    background-color: #ffff;
    margin-top: 10px;
    position: relative;
}

.title-decorator::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* ===== SERVICES GRID - CSS GRID MAGIC ===== */
.services-grid {
    display: grid;
    /* Desktop la 3 column */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* Cards ku naduvula gap */
}

/* ===== SERVICE CARD ===== */
.service-card {
    background-color: transparent;
    text-decoration: none;
    overflow: hidden;
    /* Image zoom aagum pothu clip panna */
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;

    /* Card entry animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered animation (oru oru card ah delay panni varum) */
.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

.card-title {
    color: var(--secondry-color) !important;

}

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: transform 0.5s ease-out;
    border: 2px solid #fff;
    padding: 10px;
}

.card-content {
    padding: 25px 5px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card-title .highlight {
    color: var(--gold);
}

.card-description {
    color: var(--white);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ===== HOVER EFFECTS (Colorful & Creative part) ===== */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(243, 241, 241, 0.3);
}

.service-card:hover .card-image {
    transform: scale(1.08);
    /* Image konjam zoom aagum */
}

.service-card:hover .card-title {
    color: var(--gold);
}

.service-card:hover .card-title .highlight {
    color: var(--text-dark);
}

/* ===== RESPONSIVE MAGIC ===== */
@media (max-width: 992px) {
    .services-grid {
        /* Tablet la 2 column */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        /* Mobile la 1 column */
        grid-template-columns: 1fr;
    }

    .section-header {
        text-align: center;
    }

    .title-decorator {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Animation Keyframes ===== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Contact Details & From Section */

.contact-section {
    background: linear-gradient(to right, #87CEEB, #00008081, #87CEEB);
    padding: 60px 0;
}

.contact-info-box {
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    transition: transform 0.3s ease;
}

.contact-info-box:hover {
    transform: scale(1.05);
}

.contact-info-box h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-box p {
    margin: 0;
    font-size: 16px;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h4 {
    color: #673ab7;
    font-weight: bold;
    margin-bottom: 25px;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 12px;
    box-shadow: none;
    border: 1px solid #ccc;
    transition: border 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #673ab7;
    box-shadow: 0 0 0 0.2rem rgba(103, 58, 183, 0.25);
}

.btn-primary {
    background-color: #673ab7;
    border: none;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #5e35b1;
}

iframe {
    border: none;
    border-radius: 10px;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .contact-info-box {
        margin-bottom: 20px;
    }
}

.custom-div {
    width: 100%;
    /* Adjust size as needed */
    border-bottom: 5px solid;
    /* Border thickness */
    border-image: linear-gradient(to right, skyblue, navy, white, black) 1;
    border-image-slice: 1;
    margin-top: -45px;
}

.contact-heading {
    text-align: center;
    color: var(--primary-color);
    font-size: 30px;
}

.btn-view-all {
    background-color: var(--secondry-color) !important;
    color: var(--primary-color) !important;
    font-weight: bold !important;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-view-all:hover {
    background-color: var(--white) !important;
    /* darker shade on hover */
}



/* About us Section Start */

/* ========== Banner Container (Main banner irukkura idam) ========== */
.banner-container {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.banner-content p {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .banner-container {
        height: 40vh;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}