/* Modern Immigration Consultancy Website - SPVS Global Header */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Global Header Styles */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1f2937 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* Removed Services Dropdown - Using direct Services link */

/* CTA Button */
.cta-header {
    background: #E63946 !important;
    color: white !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    margin-left: 1rem;
}

.cta-header:hover {
    background: #dc2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    position: relative;
    right: 0;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.hamburger {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

.mobile-nav.active {
    right: 0;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu .nav-item {
    margin-bottom: 1rem;
}

.mobile-menu .nav-link {
    color: white;
    text-decoration: none;
    padding: 1rem 0;
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
    padding-left: 1rem;
    color: #fbbf24;
}

/* Removed mobile services submenu - Services link goes directly to services page */

.mobile-cta {
    background: #E63946;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.mobile-cta:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .cta-header {
        padding: 0.5rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Improve mobile hero section */
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
        justify-content: space-between;
    }
    
    .logo img {
        height: 40px;
    }
    
    .mobile-nav {
        max-width: 100%;
        padding: 5rem 1.5rem 2rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.5rem;
    }
    
    .hamburger {
        width: 24px;
    }
    
    /* Improve mobile content */
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* General content responsive styles */
    .container {
        padding: 1rem !important;
    }
    
    .content-section {
        padding: 2rem 1rem !important;
        margin: 1rem 0 !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .section-content {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Service cards responsive */
    .service-card, .services-grid .service-item {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
        padding: 1.5rem 1rem !important;
    }
    
    .services-grid {
        display: block !important;
    }
    
    /* Forms responsive */
    .form-container, .contact-form {
        padding: 1.5rem 1rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
    }
    
    /* Tables responsive */
    .table-responsive {
        overflow-x: auto;
        margin: 1rem 0;
    }
    
    table {
        width: 100%;
        min-width: 600px;
        font-size: 0.9rem !important;
    }
    
    /* Lists responsive */
    ul, ol {
        padding-left: 1.5rem;
    }
    
    li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Buttons responsive */
    .btn, .button, .cta-button {
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        margin: 0.5rem 0 !important;
        text-align: center;
        display: block;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.8)), 
                url('https://images.unsplash.com/photo-1517935706615-2717063c2225?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #ef4444;
    color: white;
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: #f8fafc;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

/* Enhanced About Page Styles */
.about-hero {
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.1);
    z-index: 1;
}

.founder-section .founder-content {
    animation: fadeInUp 0.8s ease-out;
}

.journey-section > div > div:first-child > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-section > div > div:first-child > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.locations-section > div > div:last-child > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.locations-section > div > div:last-child > div:hover {
    transform: translateY(-10px) scale(1.02);
}

.commitment-section ul li {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commitment-section ul li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem !important;
    }
    
    .about-hero .subtitle {
        font-size: 1.1rem !important;
    }
    
    .founder-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }
    
    .founder-text h2 {
        font-size: 2.2rem !important;
    }
    
    .journey-section > div > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .locations-section > div > div:last-child {
        grid-template-columns: 1fr !important;
    }
    
    .commitment-section > div > div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .cta-section h2 {
        font-size: 2.2rem !important;
    }
    
    .cta-section p {
        font-size: 1.1rem !important;
    }
    
    .cta-section > div > div {
        flex-direction: column !important;
        align-items: center;
    }
    
    .cta-section a {
        width: 280px;
        text-align: center;
    }
}

/* Enhanced Home Page Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh !important;
        min-height: 500px !important;
    }
    
    .hero-slider h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-slider .subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-slider .hero-buttons {
        flex-direction: column !important;
        align-items: center;
        gap: 1rem !important;
    }
    
    .hero-slider .hero-buttons a {
        width: 280px !important;
        text-align: center;
    }
    
    .hero-content > div > div:last-child {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-content > div > div:last-child > div {
        margin: 0.5rem !important;
    }
    
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2.2rem !important;
    }
    
    .about-features {
        grid-template-columns: 1fr !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cta-section h2 {
        font-size: 2.5rem !important;
    }
    
    .cta-section > div > div:nth-child(2) {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .cta-section > div > div:nth-child(2) a {
        width: 280px !important;
    }
    
    .cta-section > div > div:last-child {
        gap: 2rem !important;
    }
    
    .cta-section > div > div:last-child > div {
        margin: 1rem 0 !important;
    }
}

/* Slider Animation Enhancements */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

/* Image Gallery Hover Effects */
.about-content img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Button Hover Effects */
.hero-content a:hover,
.about-content a:hover,
.cta-section a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact Page Email Links */
.contact-info a[href^="mailto:"],
.footer-section a[href^="mailto:"] {
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.contact-info a[href^="mailto:"]:hover,
.footer-section a[href^="mailto:"]:hover {
    color: #ef4444 !important;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-section {
    padding: 5rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #ef4444;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-card .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Enhanced Footer */
footer {
    background: #1f2937;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: #ef4444;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ef4444;
}

.company-info {
    max-width: 300px;
}

.company-info img {
    height: 50px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ef4444;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}