/* Template 2 - Royal Institute Custom Styles Only */
/* Tailwind CSS is loaded globally from dist/tailwind.css */

/* Custom Width Utilities */
.h-34 {
    height: 8rem;
}

.recruiter-left {
    width: 100%;
}

.recruiter-right {
    width: 100%;
}

@media (min-width: 768px) {
    .recruiter-left {
        width: 25%;
    }
    
    .recruiter-right {
        width: 75%;
    }
}
.opacity-30 {
    opacity: .3;
}
/* Decorative Shapes */
.shape-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.5));
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fbbf24, rgba(251,191,36,0.5));
    top: 50%;
    left: 5%;
    animation: float 8s ease-in-out infinite 1s;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.3));
    bottom: 15%;
    right: 20%;
    animation: float 7s ease-in-out infinite 2s;
}

.shape-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
}

.shape-dots-1 {
    top: 20%;
    left: 10%;
}

.shape-dots-2 {
    bottom: 10%;
    right: 15%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.geometric-shape {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
}

.square-shape {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #1e3a8a, transparent);
    transform: rotate(45deg);
    top: 10%;
    right: 5%;
}

.triangle-shape {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(30, 58, 138, 0.1);
    bottom: 10%;
    left: 5%;
    transform: rotate(35deg);
}

.process-connector {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #d1d5db 20%, #d1d5db 80%, transparent);
    z-index: 0;
}

@media (max-width: 768px) {
    .process-connector {
        display: none;
    }
    .shape-circle-1,
    .shape-circle-2,
    .shape-circle-3 {
        width: 150px;
        height: 150px;
    }
}

.footer-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    pointer-events: none;
}

.footer-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.05;
    }
}

/* Hero Section */
.hero-bg {
    background: linear-gradient(rgba(0, 31, 84, 0.85), rgba(0, 31, 84, 0.85)), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&h=800&fit=crop') center/cover;
    background-attachment: fixed;
}

/* Stats Cards */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Trade Cards */
.trade-card {
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.trade-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.trade-card img {
    transition: transform 0.5s ease;
}

.trade-card:hover img {
    transform: scale(1.1);
}

.trade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.trade-card:hover::before {
    transform: scaleX(1);
}

/* Recruiter Logos */
.recruiter-logo {
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
    cursor: pointer;
}

.recruiter-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 25%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e5e7eb, #d1d5db);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.process-step:hover .process-number {
    transform: rotate(360deg) scale(1.1);
}

.process-number {
    transition: transform 0.5s ease;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: #f3f4f6;
    font-family: Georgia, serif;
    z-index: 0;
}

/* Infrastructure Cards */
.infrastructure-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.infrastructure-card:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.infrastructure-card .icon-wrapper {
    transition: all 0.3s ease;
}

.infrastructure-card:hover .icon-wrapper {
    background: #1e3a8a;
}

.infrastructure-card:hover .icon-wrapper i {
    color: #ffffff;
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e3a8a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Header Shadow */
header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Links */
footer a {
    position: relative;
    display: inline-block;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Mobile Menu */
@media (max-width: 768px) {
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav ul li {
        margin: 10px 0;
    }
    .process-step::after {
        top: 92%;
        right: 0;
        transform: rotate(90deg);
    }
    .c-res {
        width: 95%;
        left: 7px;
        padding: 10px;
        bottom: -4rem;
    }
    .c-res1 h2 {
        font-size: 1.25rem;
    }
    .c-res2 li{
        margin: 5px 0;
    }

    .testimonial-card::before {
        font-size: 80px;
    }
}

/* Pulse Animation for CTAs */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

    .pulse-on-hover:hover {
        animation: pulse 0.5s ease;
    }

    /* Gradient Text */
        .gradient-text {
        background: linear-gradient(135deg, #1e3a8a, #3b82f6, #f59e0b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e3a8a, transparent);
    margin: 40px auto;
    max-width: 200px;
}

/* Print Styles */
