/* Services Grid Section - First Section Now */
.fd-home-services {
    padding: 50px 0;
    background: linear-gradient(135deg, #E1BEE7 0%, #B39DDB 50%, #C5CAE9 100%);
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}/**
 * FD Immigration Theme - Homepage Specific Styles
 * All classes prefixed with fd-home-
 * 
 * @package FD_Immigration_Theme
 * @since 1.0.0
 */

/* Header Styles */
.fd-home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--fd-glass-bg);
    backdrop-filter: var(--fd-glass-blur);
    border-bottom: 1px solid var(--fd-glass-border);
    transition: var(--fd-transition);
}

.fd-home-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--fd-shadow);
}

.fd-home-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.fd-home-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--fd-black);
    text-decoration: none;
}

.fd-home-logo-img {
    width: 50px;
    height: 50px;
    background: var(--fd-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--fd-shadow);
}

.fd-home-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.fd-home-menu a {
    text-decoration: none;
    color: var(--fd-gray-dark);
    font-weight: 500;
    transition: var(--fd-transition);
    position: relative;
}

.fd-home-menu a:hover {
    color: var(--fd-gold);
}

.fd-home-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fd-primary);
    transition: var(--fd-transition);
}

.fd-home-menu a:hover::after {
    width: 100%;
}

.fd-home-cta-btn {
    background: var(--fd-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--fd-border-radius);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--fd-shadow);
    transition: var(--fd-transition);
    border: none;
    cursor: pointer;
}

.fd-home-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fd-shadow-hover);
}

.fd-home-hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.fd-home-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--fd-gray-dark);
    border-radius: 2px;
    transition: var(--fd-transition);
}

.fd-home-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.fd-home-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.fd-home-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Remove Hero Section - Icons First */
body {
    padding-top: 80px; /* Account for fixed header */
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(-100px); }
}

.fd-home-btn {
    padding: 16px 32px;
    border-radius: var(--fd-border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--fd-transition);
    box-shadow: var(--fd-shadow);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fd-home-btn-primary {
    background: var(--fd-primary);
    color: white;
}

.fd-home-btn-secondary {
    background: var(--fd-glass-bg);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.fd-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--fd-shadow-hover);
}

/* Services Grid Section - First Section Now */
/* Services Grid Section - First Section Now */
.fd-home-services {
    padding: 50px 0;
    background: linear-gradient(135deg, #E1BEE7 0%, #B39DDB 50%, #C5CAE9 100%);
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center; /* Add this line */
}

.fd-home-services-grid-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px 10px;
}

.fd-home-services-grid-desktop {
    display: none;
}

.fd-home-service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px; /* Keeps your original rounded square shape */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--fd-transition);
    position: relative;
    /* The base background colors for your icons will show through */

    /* --- Embossed & Beveled Effect --- */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        /* Outer shadow for depth */
        5px 5px 12px rgba(0, 0, 0, 0.2),
        /* Inner shadow for the top "light catch" */
        inset 1px 2px 2px rgba(255, 255, 255, 0.7),
        /* Inner shadow for the bottom shade */
        inset -2px -2px 5px rgba(0, 0, 0, 0.15);
}

/* --- Glossy Shine Overlay --- */
.fd-home-service-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 50%;

    /* A strong white shine that fades out downwards */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 100%);

    /* Creates the curved highlight effect */
    border-radius: 20px 20px 100px 100px / 20px 20px 30px 30px;
    pointer-events: none; /* Allows clicks to pass through the overlay */
}

/* This pseudo-element creates the "glossy" sheen over the top */
.fd-home-service-icon-wrapper::before {
content: '';
position: absolute;
top: 15%; /* Adjust for the position of the highlight /
left: 15%; / Adjust for the position of the highlight /
width: 70%; / Adjust the size of the highlight /
height: 35%; / Adjust the shape of the highlight /
background: rgba(255, 255, 255, 0.6); / More intense white for the shine /
border-radius: 50%; / Make the highlight rounded /
opacity: 0.7; / Control the intensity of the highlight /
transform: rotate(-45deg); / Angle the highlight for a more dynamic look */
}

.fd-home-service-icon {
    font-size: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.fd-home-service-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--fd-gray-dark);
    text-align: center;
    line-height: 1.2;
}

.fd-home-service-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--fd-transition);
}

.fd-home-service-icon-card:hover {
    transform: translateY(-8px);
}

.fd-home-service-icon-card:hover .fd-home-service-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.fd-container {
    width: 100%;
    max-width: 1200px; /* Standard width, you can adjust this */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;  /* Prevents content from touching screen edges */
    padding-right: 15px; /* Prevents content from touching screen edges */
}

/* Floating Animations */
.floating-1 {
    animation: float1 4s ease-in-out infinite;
}

.floating-2 {
    animation: float2 5s ease-in-out infinite;
    animation-delay: -1s;
}

.floating-3 {
    animation: float3 6s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Service Pricing Section */
.fd-home-pricing {
    padding: 100px 0;
    background: var(--fd-gray-light);
    position: relative;
}

.fd-home-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.fd-home-section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fd-black);
    margin-bottom: 16px;
}

.fd-home-section-title p {
    font-size: 1.2rem;
    color: var(--fd-gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.fd-home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.fd-home-service-card {
    background: white;
    border-radius: var(--fd-border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--fd-shadow);
    transition: var(--fd-transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.fd-home-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--fd-primary);
}

.fd-home-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fd-shadow-hover);
}

.fd-home-service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fd-black);
    margin-bottom: 16px;
}

.fd-home-service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fd-gold);
    margin-bottom: 16px;
}

.fd-home-service-card p {
    color: var(--fd-gray-medium);
    margin-bottom: 24px;
    line-height: 1.6;
}

.fd-home-service-btn {
    background: var(--fd-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--fd-border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--fd-transition);
    display: inline-block;
}

.fd-home-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--fd-shadow);
}

/* Why Choose Us Section */
.fd-home-why-choose {
    padding: 100px 0;
    background: white;
}

.fd-home-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.fd-home-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fd-home-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--fd-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--fd-shadow);
    flex-shrink: 0;
}

.fd-home-feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fd-black);
    margin-bottom: 12px;
}

.fd-home-feature-content p {
    color: var(--fd-gray-medium);
    line-height: 1.6;
}

/* IRCC Data Section */
.fd-home-ircc-data {
    padding: 100px 0;
    background: var(--fd-secondary);
    color: white;
    text-align: center;
}

.fd-home-ircc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.fd-home-ircc-card {
    background: var(--fd-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--fd-glass-border);
    border-radius: var(--fd-border-radius);
    padding: 30px;
    transition: var(--fd-transition);
}

.fd-home-ircc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fd-shadow-hover);
}

.fd-home-ircc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.fd-home-ircc-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fd-gold);
    display: block;
    margin-bottom: 10px;
}

.fd-home-ircc-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.fd-home-contact {
    padding: 100px 0;
    background: var(--fd-gray-light);
}

.fd-home-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fd-home-contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fd-black);
    margin-bottom: 24px;
}

.fd-home-contact-info p {
    font-size: 1.2rem;
    color: var(--fd-gray-medium);
    margin-bottom: 32px;
}

.fd-home-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fd-home-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fd-home-contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--fd-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.fd-home-contact-item-text {
    font-size: 1.1rem;
    color: var(--fd-gray-dark);
}

.fd-home-contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--fd-border-radius);
    box-shadow: var(--fd-shadow);
}

.fd-home-form-group {
    margin-bottom: 24px;
}

.fd-home-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--fd-gray-dark);
}

.fd-home-form-group input,
.fd-home-form-group select,
.fd-home-form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #E9ECEF;
    border-radius: var(--fd-border-radius);
    font-size: 1rem;
    transition: var(--fd-transition);
    font-family: inherit;
}

.fd-home-form-group input:focus,
.fd-home-form-group select:focus,
.fd-home-form-group textarea:focus {
    outline: none;
    border-color: var(--fd-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.fd-home-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.fd-home-footer {
    background: var(--fd-black);
    color: white;
    padding: 60px 0 30px;
}

.fd-home-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.fd-home-footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--fd-gold);
}

.fd-home-footer-section p,
.fd-home-footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.fd-home-footer-section a:hover {
    color: var(--fd-gold);
}

.fd-home-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Glassmorphism effects */
.fd-home-glass {
    background: var(--fd-glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--fd-glass-border);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fd-home-animate {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation */
.fd-home-loading {
    position: relative;
    overflow: hidden;
}

.fd-home-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scroll animations */
.fd-home-scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.fd-home-scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}