/* Reset some default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Overall styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f8fb; /* Light blue background */
    color: #333;
}

/* Header Styling */
header {
    text-align: center;
    padding: 20px;
}

/* Style for Main Family Photo */
.main-photo {
    max-width: 100%;      /* Ensures the image doesn’t exceed the container’s width */
    width: 800px;         /* Sets the preferred width */
    height: auto;         /* Keeps the aspect ratio */
    display: block;
    margin: 20px auto;    /* Centers the image */
    border-radius: 10px;  /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a soft shadow */
}


/* Navigation */
nav ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style-type: none;
    margin: 20px 0;
}

nav a {
    color: #007acc; /* Bright blue */
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #005f99;
}

/* Main Sections */
main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

/* Card Hover Effect */
.card {
    background-color: #fff;
    padding: 20px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.card:hover {
    transform: translateY(-10px) scale(1.05); /* Moves up and slightly enlarges */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Increases shadow on hover */
}

/* Remove default link styles for cards */
.card-link {
    text-decoration: none;
    color: inherit;
}


/* Profile Photos */
.profile-photo {
    width: 100px;              /* Adjust the size as needed */
    height: 100px;
    object-fit: cover;
    border-radius: 30%;        /* Makes the photo circular */
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #007acc;
    color: #fff;
    margin-top: 20px;
    font-size: 0.9em;
}

/* Profile Page Layout */
.profile-details {
    text-align: center;
    padding: 20px;
}

.profile-photo-large {
    width: 150px;             /* Larger profile photo */
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.profile-photo-XL {
    width: 400px;             /* Larger profile photo */
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.additional-links {
    text-align: center;
    margin-top: 20px;
}

.additional-links ul {
    list-style-type: none;
    padding: 0;
}

.additional-links li {
    margin: 10px 0;
}

.additional-links a {
    color: #007acc;
    text-decoration: none;
    font-weight: bold;
}

.additional-links a:hover {
    color: #005f99;
}

.social-media {
    text-align: center;
    margin-top: 20px;
}

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

.social-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

p {
  margin-left: 100px;   /* space on the left */
  margin-right: 100px;  /* space on the right */
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007acc;  /* your bright blue */
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #005f99; /* darker on hover */
    transform: translateY(-2px);
}

/* Optional outline version */
.btn-outline {
    background: transparent;
    color: #007acc;
    border: 2px solid #007acc;
}

.btn-outline:hover {
    background-color: #e6f2fa;
    color: #005f99;
}

/* ----------- IT Page Enhancements ----------- */

/* Container for the IT profile page */
.it-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Headings */
.it-page h1 {
  font-size: 2.5rem;
  color: #007acc;
  text-align: center;
  margin-bottom: 2rem;
}

.it-page h2 {
  font-size: 1.75rem;
  color: #005f99;
  margin: 1.5rem 0 1rem;
}

/* General Paragraphs */
.it-page p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Card sections reused from homepage but expanded width */
.it-page .card {
  width: 100%;
  max-width: 900px;
  padding: 30px;
  margin: 20px auto;
  text-align: left;
}

/* Lists inside IT page */
.it-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.it-page li {
  margin-bottom: 0.5rem;
}

/* Buttons */
.it-page .btn,
.it-page .btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-right: 15px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.it-page .btn {
  background-color: #007acc;
  color: white;
}

.it-page .btn:hover {
  background-color: #005f99;
}

.it-page .btn-outline {
  border: 2px solid #007acc;
  color: #007acc;
  background: transparent;
}

.it-page .btn-outline:hover {
  background-color: #e6f2fa;
}

/* Responsive cleanup */
@media screen and (max-width: 600px) {
  .it-page {
    padding: 20px;
  }

  .it-page h1 {
    font-size: 2rem;
  }

  .it-page p {
    margin-left: 0;
    margin-right: 0;
  }

  .it-page .btn,
  .it-page .btn-outline {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}


