/* Professional Home Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(120deg, #e0f7fa, #f0f4f8);
    color: #333;
}

/* Hero Section */
header {
    background: url(../extras/brand-cover.png) no-repeat center center/cover;
    color: #fff;
    padding: 80px 20px 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(to right, black ,purple, yellow, black);
    border-radius: 12px;
}

header p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.95;
    background-color: gray;
    border-radius: 8px;
    color: aqua;
}


.page-links {
    display: flex;
    justify-content: center; /* center links horizontally */
    gap: 20px;               /* space between links */
    margin: 30px 0;          /* spacing from header and content */
    flex-wrap: wrap;          /* wrap on small screens */
}

.page-links a {
    color: #fff;             /* white text */
    background-color: #24a062; /* blue button */
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.page-links a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



/* Container and Cards */
.container {
    max-width: 1200px;
    margin: 40px auto 40px auto; /* remove negative top margin */
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}


.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    width: 320px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.card i {
    font-size: 1em;
    color: #007bff;
    margin-bottom: 15px;
    transition: transform 0.4s;
}

.card:hover i {
    transform: rotate(10deg);
}

.card h2 {
    margin-bottom: 15px;
    font-size: 1.6em;
    color: #1a1a1a;
}

.card p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.card a {
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s;
}

.card a:hover {
    background-color: #0056b3;
}

/* Footer */
/* Make the page fill full height */
html, body {
  height: 100%;
  margin: 0;
}

/* Flex layout to push footer to bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content expands to fill space */
.content {
  flex: 1;
}

/* Footer styling */
footer {
  background-color: #0d1117; /* dark background */
  color: #fff; /* text color */
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
}


