/* ================= HERO ================= */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    margin: 0% 2%;
    border-radius: 20px;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(11, 31, 58, 0.85) 10%,
            rgba(11, 31, 58, 0.65) 40%,
            rgba(11, 31, 58, 0.3) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e5e5e5;
}

.cta a {
    border-radius: 50px;
    color: black;
    font-size: 1rem;
    font-weight: 600;
}

.cta a:nth-child(2) {
    color: white;
}


/* ================= ABOUT SECTION ================= */


.about-section {
    background: #f7f7f7;
    padding: 80px 0;
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Added for responsiveness */
    margin: 1% 2%;
    background: #ffffff3d;
}

/* Left Image */
.about-left {
    width: 50%;
    border-radius: 20px;

}

.about-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;

}

/* Right Content */
.about-right {
    width: 50%;
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tag */
.about-tag {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 38px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (max-width: 991px) {
    #about .grid-2 {
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

    .about-content h2 {
        font-size: 32px;
    }
}

/* Description */
.about-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: #ab9d9d27;
    padding: 4% 3%;
    border-radius: 20px;
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-blue);
}

.highlight-item i {
    color: var(--gold);
    font-size: 18px;
}

/* Button */
.about-btn {
    width: fit-content;
}


.highlight-item span {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 15px;
}

/* ================= SERVICES CARDS ================= */
.service-card {
    padding: 60px 40px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
    text-align: left;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 15px 15px 0 0;
}

.service-card:hover::before {
    width: 100%;
}

.service-card i {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 25px;
    transition: var(--transition);
    display: inline-block;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    color: var(--primary-blue);
}

.service-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-card:hover i {
    transform: scale(1.1) translateY(-5px);
    color: var(--primary-blue);
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.service-link i {
    font-size: 14px;
    margin: 0;
}

.service-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    gap: 15px;
}

/* ================= PORTFOLIO ================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4 / 3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(11, 31, 58, 0.9) 0%,
            rgba(11, 31, 58, 0.4) 60%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.portfolio-overlay p {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* ================= PORTFOLIO SWIPER ================= */

.portfolioSwiper {
    padding: 20px 5px 60px;
}

.portfolioSwiper .swiper-slide {
    height: auto;
}

/* Pagination */
.portfolioSwiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.portfolioSwiper .swiper-pagination-bullet-active {
    background: var(--gold);
}


/* ================= STATS SECTION ================= */
.stats-section {
    background: linear-gradient(105deg, var(--primary-blue) 0%, #102b4a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
}

.stat-item i {
    font-size: 52px;
    color: var(--gold);
    margin-bottom: 18px;
}

.stat-item h3 {
    font-size: 52px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    font-size: 16px;
    color: #000;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ================= CTA SECTION ================= */
.cta-section {
    background: linear-gradient(135deg, #0b1f3a 0%, #1a3a5f 100%);
    text-align: center;
    padding: 120px 0;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541123437800-1bb1317badc2?q=80&w=1600') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* ================= FOOTER ================= */
footer {
    padding: 80px 40px 30px;
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

footer h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
    padding-bottom: 12px;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

footer h3:hover::after {
    width: 70px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 14px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 15px;
}

footer ul li a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.footer-info i {
    color: var(--gold);
    width: 22px;
    font-size: 16px;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-links a {
    color: var(--white);
    font-size: 22px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .portfolio-overlay {
        padding: 30px;
    }

    .portfolio-overlay h4 {
        font-size: 20px;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
    .about-wrapper{
        display: flex;
        flex-direction: column;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .portfolio-item {
        aspect-ratio: 3 / 2;
    }

    .portfolio-overlay {
        padding: 25px;
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(11, 31, 58, 0.8) 0%, transparent 100%);
    }

    .portfolio-overlay h4 {
        font-size: 18px;
    }

    .portfolio-overlay p {
        font-size: 12px;
    }
}

/* ========== ABOUT SECTION RESPONSIVE REFINEMENT ========== */
@media (max-width: 991px) {

    .about-left,
    .about-right {
        width: 100%;
    }

    .about-left {
        height: 400px;
        margin-bottom: 20px;
    }

    .about-right {
        padding: 40px 20px;
    }

    .about-right h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-right h2 {
        font-size: 28px;
    }

    .about-desc {
        font-size: 15px;
    }
}

/* ========== ABOUT SECTION REFINEMENT ========== */
#about .grid-2 {
    align-items: stretch;
}