/* Modern main navigation styles for index.html */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a2540;
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 24px rgba(0,191,174,0.10);
  margin-bottom: 2.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #00bfae;
}
.logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #00bfae;
  box-shadow: 0 2px 8px rgba(0,191,174,0.10);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 1.1rem;
  border-radius: 12px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-links li a:hover, .nav-links li a.active {
  background: linear-gradient(90deg, #00bfae 0%, #0a2540 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,191,174,0.13);
  text-decoration: none;
}
@media (max-width: 700px) {
  nav {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.7rem 0.5rem;
  }
  .logo {
    font-size: 1.1rem;
    gap: 0.4rem;
  }
  .logo-img {
    height: 28px;
    width: 28px;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .nav-links li a {
    width: 100%;
    text-align: left;
    padding: 0.7rem 1rem;
  }
}
.slider-caption-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10,37,64,0.68);
    color: #fff;
    padding: 2.2rem 2.5rem 1.7rem 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,191,174,0.18);
    min-width: 260px;
    max-width: 80vw;
    z-index: 3;
    animation: fadeInUp 1.1s cubic-bezier(.4,0,.2,1);
    opacity: 0.97;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 30%); }
    to { opacity: 0.97; transform: translate(-50%, -50%); }
}
.slider-slide {
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), filter 0.7s cubic-bezier(.4,0,.2,1);
}
.slider-slide.active {
    filter: brightness(1) blur(0px) scale(1.01);
    animation: slideIn 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes slideIn {
    from { opacity: 0; filter: blur(8px) scale(1.08); }
    to { opacity: 1; filter: blur(0px) scale(1.01); }
}
/* Professional Slider Styles */
.slider-section {
    max-width: 1100px;
    margin: 2rem auto 0 auto;
    padding: 0;
    background: none;
}
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
    min-height: 340px;
}
.slider-slide {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    z-index: 1;
}
.slider-slide.active {
    display: flex;
    opacity: 1;
    z-index: 2;
}
.slider-slide img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 2px 12px rgba(0,191,174,0.10);
}
.slider-caption {
    background: rgba(10,37,64,0.82);
    color: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: 0 0 24px 24px;
    margin-top: -5px;
    box-shadow: 0 2px 8px rgba(0,191,174,0.10);
}
.slider-caption h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}
.slider-caption p {
    font-size: 1.1rem;
    margin: 0;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,37,64,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.slider-arrow.left { left: 18px; }
.slider-arrow.right { right: 18px; }
.slider-arrow:hover { background: #00bfae; color: #fff; }
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.slider-dots .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border: 2px solid #fff;
}
.slider-dots .dot.active {
    background: #00bfae;
    transform: scale(1.18);
    border-color: #00bfae;
}
@media (max-width: 700px) {
    .slider-section { padding: 0; }
    .slider-container { border-radius: 12px; min-height: 180px; }
    .slider-slide img { border-radius: 12px 12px 0 0; max-height: 140px; }
    .slider-caption { border-radius: 0 0 12px 12px; padding: 0.7rem 0.7rem; }
    .slider-caption h2 { font-size: 1.1rem; }
    .slider-caption p { font-size: 0.95rem; }
    .slider-arrow { width: 32px; height: 32px; font-size: 1.3rem; }
    .slider-dots { bottom: 8px; }
    .slider-dots .dot { width: 9px; height: 9px; }
}
/* SAP Technologies Styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6fa;
    color: #222;
}
header {
    background: #0a2540;
    color: #fff;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.logo-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,191,174,0.10);
    background: #fff;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links li a:hover {
    color: #00bfae;
}
.hero {
    background: linear-gradient(120deg, #891049 0%, #0a2540 100%);
    color: #fff;
    padding: 5rem 2rem 3rem 2rem;
    text-align: center;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.3rem;
}
section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.service {
    background: #f0f7fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,191,174,0.08);
    transition: transform 0.2s;
}
.service:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 4px 16px rgba(0,191,174,0.15);
}
.service-img {
    width: 100%;
    max-width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,191,174,0.10);
    transition: transform 0.3s;
}
.service:hover .service-img {
    transform: scale(1.08) rotate(-2deg);
}
.portfolio-intro {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 2rem auto 3rem auto;
    max-width: 900px;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 191, 174, 0.1);
    box-shadow: 0 4px 20px rgba(0, 191, 174, 0.08);
    color: #2c3e50;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bfae 0%, #0a2540 50%, #00bfae 100%);
}

.portfolio-intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 191, 174, 0.15);
    background: linear-gradient(135deg, #f0f8ff 0%, #e0f4ff 100%);
}
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.portfolio-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,191,174,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    min-height: 340px;
}
.portfolio-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,191,174,0.18);
}
.portfolio-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: filter 0.3s;
}
.portfolio-card:hover img {
    filter: brightness(0.92) blur(1px);
}
.portfolio-content {
    padding: 1.2rem 1rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.portfolio-content h3 {
    margin: 0 0 0.5rem 0;
    color: #00bfae;
    font-size: 1.2rem;
}
.portfolio-content p {
    color: #222;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-stack span {
    background: #f0f7fa;
    color: #0a2540;
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0,191,174,0.07);
    transition: background 0.2s, color 0.2s;
}
.portfolio-card:hover .tech-stack span {
    background: #00bfae;
    color: #fff;
}
footer {
    background: #0a2540;
    color: #fff;
    border-radius: 24px 24px 0 0;
    margin-top: 2rem;
    box-shadow: 0 -2px 12px rgba(0,191,174,0.08);
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem 1rem;
    gap: 2rem;
}
.footer-brand {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.footer-links, .footer-contact, .footer-social {
    flex: 1 1 160px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #00bfae;
}
.footer-contact a {
    color: #00bfae;
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}
.footer-social .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}
.footer-social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social .social-icons a:hover {
    background: rgba(0, 191, 174, 0.2);
    border-color: #00bfae;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
}
.footer-social img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}
.footer-social .social-icons a:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2);
}
.footer-bottom {
    text-align: center;
    background: #081c34;
    color: #fff;
    padding: 0.7rem 0 0.2rem 0;
    font-size: 1rem;
    border-radius: 24px 24px 0 0;
    margin-top: 1rem;
}
form#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}
form#contactForm input, form#contactForm textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
form#contactForm button {
    background: #00bfae;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
form#contactForm button:hover {
    background: #0a2540;
}

#formMessage {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
    transition: all 0.3s ease;
}

#formMessage:empty {
    display: none;
}

form#contactForm button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}
.slider {
    position: relative;
    max-width: 700px;
    margin: 2rem auto 2.5rem auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    background: #efe2e2;
}
.slides {
    display: flex;
    flex-direction:column-reverse;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
    width: 700%;
}
.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 340px;
    background: #f4f6fa;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide img {
    width: 100%;
    max-width: 420px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,191,174,0.10);
    animation: slideIn 1s cubic-bezier(.39,.575,.56,1.000);
}
@keyframes slideIn {
    0% { opacity: 0; transform: scale(1.08) translateY(40px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.slide-caption {
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(.39,.575,.56,1.000);
}
.slider-nav {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 18px;
    z-index: 3;
}
.dot {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: 0 6px;
    background: #00bfae;
    border-radius: 50%;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}
.dot.active {
    opacity: 1;
    transform: scale(1.2);
    background: #0a2540;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,37,64,0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s, transform 0.2s;
}
.slider-arrow.left { left: 18px; }
.slider-arrow.right { right: 18px; }
.slider-arrow:hover {
    background: #00bfae;
    transform: translateY(-50%) scale(1.08);
}
.portfolio-profile {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.profile-pic {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00bfae;
    box-shadow: 0 2px 16px rgba(0,191,174,0.13);
    background: #fff;
    transition: transform 0.3s;
}
.profile-pic:hover {
    transform: scale(1.06) rotate(-2deg);
}
.profile-pic-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
}
.profile-pic-large {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00bfae;
    box-shadow: 0 2px 16px rgba(0,191,174,0.13);
    background: #fff;
    margin-bottom: 0.5rem;
}
.account-info {
    margin-bottom: 1.2rem;
    text-align: left;
}
#activityLog {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.2rem;
    color: #0a2540;
}
#activityLog li {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.danger {
    color: #e53935;
}
#editNameMsg, #editEmailMsg, #editPasswordMsg, #profilePicMsg {
    margin-left: 0.7rem;
    font-size: 0.98rem;
}
.companies {
    background: #f4f6fa;
    border-radius: 18px;
    margin: 2rem auto;
    max-width: 1100px;
    padding: 2rem 1rem;
    box-shadow: 0 2px 12px rgba(0,191,174,0.06);
}
.companies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.company-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,191,174,0.08);
    overflow: hidden;
    max-width: 340px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.company-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,191,174,0.13);
}
.company-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}
.company-content {
    padding: 1.2rem 1rem 1rem 1rem;
    text-align: center;
}
.company-link {
    display: inline-block;
    margin-top: 1rem;
    background: #00bfae;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.company-link:hover {
    background: #0a2540;
}
.password-strength {
    font-size: 1rem;
    margin: 0.3rem 0 0.7rem 0;
    font-weight: 600;
    min-height: 1.2em;
    transition: color 0.2s;
}
@media (max-width: 700px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .hero {
        padding: 3rem 1rem 2rem 1rem;
    }
    section {
        padding: 1rem;
    }
    .slider { max-width: 98vw; }
    .slide img { max-width: 98vw; height: 120px; }
    .slide { height: 200px; }
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    .portfolio-card img {
        height: 100px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .footer-brand, .footer-links, .footer-contact, .footer-social {
        align-items: center;
        text-align: center;
    }
    .footer-social .social-icons {
        justify-content: center;
        gap: 0.8rem;
    }
    .footer-social .social-icons a {
        width: 36px;
        height: 36px;
    }
    .footer-social img {
        width: 20px;
        height: 20px;
    }
}
@media (max-width: 900px) {
    .companies-list {
        flex-direction: column;
        align-items: center;
    }
}
