/* General Styles */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  background-color: #dbdcdd; /* Offwhite background */
  color: #000; /* Black text */
}

.container {
  width: 100%;
  padding: 0 15px; /* Adjust padding as needed */
  margin: 0 auto;
  max-width: 1400px; /* Ensure the container spans the full width */
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Trigger Link */
.sign-in-link {
  font-size: 16px;
  color: #fff; /* White text */
  background-color: #007bff; /* Blue background */
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sign-in-link:hover {
  background-color: #0056b3; /* Darker blue background on hover */
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #fff; /* White background */
  color: #000; /* Black text */
  min-width: 150px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  color: #000; /* Black text */
  padding: 10px 15px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f1f1f1; /* Light grey background on hover */
  color: #007bff; /* Blue text on hover */
}

/* Show Dropdown Content on Hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Navbar Styles */
.navbar {
  background-color: #ffffff; /* White background */
}

.navbar-nav .nav-link {
  color: #000 !important; /* Black text */
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: #007bff; /* Blue line */
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%; /* Full width on hover */
  left: 0;
  background: #007bff; /* Blue line */
}

.navbar-nav .nav-link:hover {
  color: #007bff !important; /* Blue text on hover */
}

.navbar-toggler {
  border-color: #007bff; /* Blue border */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 123, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Dropdown Styles */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-item.dropdown .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 250px; /* Larger dropdown box */
  padding: 10px 20px; /* Add padding */
  border: 1px solid #ddd; /* Light grey border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.dropdown-menu .dropdown-item {
  padding: 10px 15px; /* Add padding */
  color: #000; /* Black text */
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f1f1f1; /* Light grey background on hover */
  color: #007bff; /* Blue text on hover */
}

/* Icons Group */
.icons-group a {
  color: #000 !important; /* Black text */
}

.icons-group a:hover {
  color: #333 !important; /* Darker grey text on hover */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 100px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-icon i {
    font-size: 40px;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 50px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wave-shape {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Contact Info Cards */
.contact-info {
    margin: -50px 0 80px;
    position: relative;
    z-index: 3;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.info-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.info-card .icon::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.info-card .icon i {
    font-size: 28px;
    color: white;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
    font-weight: 600;
}

.info-card p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-main {
    margin-bottom: 80px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-icon i {
    font-size: 32px;
    color: white;
}

.form-header h2 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 2rem;
}

.form-header p {
    color: #4b5563;
    font-size: 1.1rem;
}

.form-floating label {
    color: #4b5563;
    padding-left: 40px;
    font-weight: 500;
}

.form-floating label i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    opacity: 0.8;
}

.form-control {
    border: 2px solid #e5e7eb;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-primary:hover:before {
    left: 100%;
}

/* Contact Features */
.contact-features {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-content h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Media Section */
.social-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
    border-radius: 20px;
}

.social-section h2 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
}

.social-section p {
    color: #4b5563;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    transform: translateY(-5px);
}

/* Custom SweetAlert2 Styles */
.swal2-title {
    color: #1f2937 !important;
    font-size: 1.5rem !important;
}

.swal2-html-container {
    color: #4b5563 !important;
    font-size: 1.1rem !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3) !important;
}

.swal2-popup {
    border-radius: 20px !important;
    padding: 2em !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-form {
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .info-card {
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}