/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617;
    color: #ffffff;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(to right, #22d3ee, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #22d3ee, #9333ea);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.close-icon {
    display: none;
}

.mobile-menu-toggle.active .menu-icon {
    display: none;
}

.mobile-menu-toggle.active .close-icon {
    display: block;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.nav-mobile.active {
    display: flex;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(88, 28, 135, 0.2), rgba(15, 23, 42, 1));
}

.floating-shapes {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.shape {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(48px);
    animation: pulse 4s ease-in-out infinite;
}

.shape-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: #06b6d4;
    animation-delay: 0s;
}

.shape-2 {
    top: 10rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: #a855f7;
    animation-delay: 0.7s;
}

.shape-3 {
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 18rem;
    height: 18rem;
    background-color: #3b82f6;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.sparkles-icon {
    width: 1rem;
    height: 1rem;
    color: #22d3ee;
}

.hero-badge span {
    font-size: 0.875rem;
    color: #d1d5db;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.image-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(147, 51, 234, 0.1));
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: #ffffff;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.btn-primary:hover {
    background: linear-gradient(to right, #0891b2, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-full {
    width: 100%;
}

.btn-hero {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    font-weight: 600;
}

.btn-calendar {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border-radius: 2rem;
}

.arrow-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Section Styles */
section {
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f172a, rgba(30, 58, 138, 0.3), #0f172a);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    order: 1;
}

@media (min-width: 768px) {
    .about-image {
        order: 0;
    }
}

.about-img {
    width: 100%;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.about-text {
    order: 2;
}

@media (min-width: 768px) {
    .about-text {
        order: 1;
    }
}

.about-subtitle {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-description {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* Achievements Section */
.achievements {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .achievements-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.achievement-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    color: #22d3ee;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    color: #a855f7;
}

.achievement-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.achievement-label {
    color: #d1d5db;
    font-size: 1.125rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.services-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f172a, rgba(88, 28, 135, 0.2), #0f172a);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: #ffffff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-description {
    color: #d1d5db;
    line-height: 1.6;
}

/* Compliance Calendar Section */
.compliance-calendar {
    padding: 6rem 0;
}

.compliance-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f172a, rgba(30, 58, 138, 0.3), #0f172a);
}

.compliance-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .compliance-content {
        padding: 3rem;
    }
}

.compliance-intro {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
    text-align: center;
}

.compliance-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: #d1d5db;
    list-style: none;
}

@media (min-width: 768px) {
    .compliance-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 2rem;
    }
}

.compliance-list li {
    display: flex;
    align-items: flex-start;
}

.compliance-list li::before {
    content: '✓';
    color: #22d3ee;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-weight: bold;
}

.compliance-action {
    text-align: center;
}

.calendar-icon {
    margin-right: 0.75rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f172a, rgba(88, 28, 135, 0.2), #0f172a);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
}

.contact-details {
    flex: 1;
}

.contact-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #ffffff;
    font-weight: 600;
}

.office-hours {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
}

.office-hours-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #d1d5db;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.send-icon {
    margin-left: 0.5rem;
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
    z-index: 10;
}

.footer-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f172a, #000000);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #22d3ee;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    margin-top: 2rem;
}


/* Toast Styles */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 420px;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    opacity: 0.9;
}

.toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast:hover .toast-close {
    opacity: 1;
}

.toast-close:hover {
    color: #374151;
    background: rgba(0, 0, 0, 0.05);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .btn-primary {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure images are always visible */
img {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
